Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libfontenc 1.1.3.
      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='libfontenc'
    593 PACKAGE_TARNAME='libfontenc'
    594 PACKAGE_VERSION='1.1.3'
    595 PACKAGE_STRING='libfontenc 1.1.3'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 LINT_FALSE
    641 LINT_TRUE
    642 LINT_FLAGS
    643 LINT
    644 FONTENC_LIBS
    645 FONTENC_CFLAGS
    646 ENCODINGSDIR
    647 FONTROOTDIR
    648 MAN_SUBSTS
    649 XORG_MAN_PAGE
    650 ADMIN_MAN_DIR
    651 DRIVER_MAN_DIR
    652 MISC_MAN_DIR
    653 FILE_MAN_DIR
    654 LIB_MAN_DIR
    655 APP_MAN_DIR
    656 ADMIN_MAN_SUFFIX
    657 DRIVER_MAN_SUFFIX
    658 MISC_MAN_SUFFIX
    659 FILE_MAN_SUFFIX
    660 LIB_MAN_SUFFIX
    661 APP_MAN_SUFFIX
    662 INSTALL_CMD
    663 PKG_CONFIG
    664 CHANGELOG_CMD
    665 STRICT_CFLAGS
    666 CWARNFLAGS
    667 BASE_CFLAGS
    668 CPP
    669 OTOOL64
    670 OTOOL
    671 LIPO
    672 NMEDIT
    673 DSYMUTIL
    674 MANIFEST_TOOL
    675 RANLIB
    676 ac_ct_AR
    677 AR
    678 DLLTOOL
    679 OBJDUMP
    680 LN_S
    681 NM
    682 ac_ct_DUMPBIN
    683 DUMPBIN
    684 LD
    685 FGREP
    686 EGREP
    687 GREP
    688 SED
    689 am__fastdepCC_FALSE
    690 am__fastdepCC_TRUE
    691 CCDEPMODE
    692 am__nodep
    693 AMDEPBACKSLASH
    694 AMDEP_FALSE
    695 AMDEP_TRUE
    696 am__quote
    697 am__include
    698 DEPDIR
    699 OBJEXT
    700 EXEEXT
    701 ac_ct_CC
    702 CPPFLAGS
    703 LDFLAGS
    704 CFLAGS
    705 CC
    706 host_os
    707 host_vendor
    708 host_cpu
    709 host
    710 build_os
    711 build_vendor
    712 build_cpu
    713 build
    714 LIBTOOL
    715 AM_BACKSLASH
    716 AM_DEFAULT_VERBOSITY
    717 AM_DEFAULT_V
    718 AM_V
    719 am__untar
    720 am__tar
    721 AMTAR
    722 am__leading_dot
    723 SET_MAKE
    724 AWK
    725 mkdir_p
    726 MKDIR_P
    727 INSTALL_STRIP_PROGRAM
    728 STRIP
    729 install_sh
    730 MAKEINFO
    731 AUTOHEADER
    732 AUTOMAKE
    733 AUTOCONF
    734 ACLOCAL
    735 VERSION
    736 PACKAGE
    737 CYGPATH_W
    738 am__isrc
    739 INSTALL_DATA
    740 INSTALL_SCRIPT
    741 INSTALL_PROGRAM
    742 target_alias
    743 host_alias
    744 build_alias
    745 LIBS
    746 ECHO_T
    747 ECHO_N
    748 ECHO_C
    749 DEFS
    750 mandir
    751 localedir
    752 libdir
    753 psdir
    754 pdfdir
    755 dvidir
    756 htmldir
    757 infodir
    758 docdir
    759 oldincludedir
    760 includedir
    761 localstatedir
    762 sharedstatedir
    763 sysconfdir
    764 datadir
    765 datarootdir
    766 libexecdir
    767 sbindir
    768 bindir
    769 program_transform_name
    770 prefix
    771 exec_prefix
    772 PACKAGE_URL
    773 PACKAGE_BUGREPORT
    774 PACKAGE_STRING
    775 PACKAGE_VERSION
    776 PACKAGE_TARNAME
    777 PACKAGE_NAME
    778 PATH_SEPARATOR
    779 SHELL'
    780 ac_subst_files=''
    781 ac_user_opts='
    782 enable_option_checking
    783 enable_silent_rules
    784 enable_shared
    785 enable_static
    786 with_pic
    787 enable_fast_install
    788 enable_dependency_tracking
    789 with_gnu_ld
    790 with_sysroot
    791 enable_libtool_lock
    792 enable_selective_werror
    793 enable_strict_compilation
    794 with_fontrootdir
    795 with_encodingsdir
    796 with_lint
    797 '
    798       ac_precious_vars='build_alias
    799 host_alias
    800 target_alias
    801 CC
    802 CFLAGS
    803 LDFLAGS
    804 LIBS
    805 CPPFLAGS
    806 CPP
    807 PKG_CONFIG
    808 FONTENC_CFLAGS
    809 FONTENC_LIBS
    810 LINT
    811 LINT_FLAGS'
    812 
    813 
    814 # Initialize some variables set by options.
    815 ac_init_help=
    816 ac_init_version=false
    817 ac_unrecognized_opts=
    818 ac_unrecognized_sep=
    819 # The variables have the same names as the options, with
    820 # dashes changed to underlines.
    821 cache_file=/dev/null
    822 exec_prefix=NONE
    823 no_create=
    824 no_recursion=
    825 prefix=NONE
    826 program_prefix=NONE
    827 program_suffix=NONE
    828 program_transform_name=s,x,x,
    829 silent=
    830 site=
    831 srcdir=
    832 verbose=
    833 x_includes=NONE
    834 x_libraries=NONE
    835 
    836 # Installation directory options.
    837 # These are left unexpanded so users can "make install exec_prefix=/foo"
    838 # and all the variables that are supposed to be based on exec_prefix
    839 # by default will actually change.
    840 # Use braces instead of parens because sh, perl, etc. also accept them.
    841 # (The list follows the same order as the GNU Coding Standards.)
    842 bindir='${exec_prefix}/bin'
    843 sbindir='${exec_prefix}/sbin'
    844 libexecdir='${exec_prefix}/libexec'
    845 datarootdir='${prefix}/share'
    846 datadir='${datarootdir}'
    847 sysconfdir='${prefix}/etc'
    848 sharedstatedir='${prefix}/com'
    849 localstatedir='${prefix}/var'
    850 includedir='${prefix}/include'
    851 oldincludedir='/usr/include'
    852 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    853 infodir='${datarootdir}/info'
    854 htmldir='${docdir}'
    855 dvidir='${docdir}'
    856 pdfdir='${docdir}'
    857 psdir='${docdir}'
    858 libdir='${exec_prefix}/lib'
    859 localedir='${datarootdir}/locale'
    860 mandir='${datarootdir}/man'
    861 
    862 ac_prev=
    863 ac_dashdash=
    864 for ac_option
    865 do
    866   # If the previous option needs an argument, assign it.
    867   if test -n "$ac_prev"; then
    868     eval $ac_prev=\$ac_option
    869     ac_prev=
    870     continue
    871   fi
    872 
    873   case $ac_option in
    874   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    875   *=)   ac_optarg= ;;
    876   *)    ac_optarg=yes ;;
    877   esac
    878 
    879   # Accept the important Cygnus configure options, so we can diagnose typos.
    880 
    881   case $ac_dashdash$ac_option in
    882   --)
    883     ac_dashdash=yes ;;
    884 
    885   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    886     ac_prev=bindir ;;
    887   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    888     bindir=$ac_optarg ;;
    889 
    890   -build | --build | --buil | --bui | --bu)
    891     ac_prev=build_alias ;;
    892   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    893     build_alias=$ac_optarg ;;
    894 
    895   -cache-file | --cache-file | --cache-fil | --cache-fi \
    896   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    897     ac_prev=cache_file ;;
    898   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    899   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    900     cache_file=$ac_optarg ;;
    901 
    902   --config-cache | -C)
    903     cache_file=config.cache ;;
    904 
    905   -datadir | --datadir | --datadi | --datad)
    906     ac_prev=datadir ;;
    907   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    908     datadir=$ac_optarg ;;
    909 
    910   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    911   | --dataroo | --dataro | --datar)
    912     ac_prev=datarootdir ;;
    913   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    914   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    915     datarootdir=$ac_optarg ;;
    916 
    917   -disable-* | --disable-*)
    918     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    919     # Reject names that are not valid shell variable names.
    920     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    921       as_fn_error $? "invalid feature name: $ac_useropt"
    922     ac_useropt_orig=$ac_useropt
    923     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    924     case $ac_user_opts in
    925       *"
    926 "enable_$ac_useropt"
    927 "*) ;;
    928       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    929 	 ac_unrecognized_sep=', ';;
    930     esac
    931     eval enable_$ac_useropt=no ;;
    932 
    933   -docdir | --docdir | --docdi | --doc | --do)
    934     ac_prev=docdir ;;
    935   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    936     docdir=$ac_optarg ;;
    937 
    938   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    939     ac_prev=dvidir ;;
    940   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    941     dvidir=$ac_optarg ;;
    942 
    943   -enable-* | --enable-*)
    944     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    945     # Reject names that are not valid shell variable names.
    946     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    947       as_fn_error $? "invalid feature name: $ac_useropt"
    948     ac_useropt_orig=$ac_useropt
    949     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    950     case $ac_user_opts in
    951       *"
    952 "enable_$ac_useropt"
    953 "*) ;;
    954       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    955 	 ac_unrecognized_sep=', ';;
    956     esac
    957     eval enable_$ac_useropt=\$ac_optarg ;;
    958 
    959   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    960   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    961   | --exec | --exe | --ex)
    962     ac_prev=exec_prefix ;;
    963   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    964   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    965   | --exec=* | --exe=* | --ex=*)
    966     exec_prefix=$ac_optarg ;;
    967 
    968   -gas | --gas | --ga | --g)
    969     # Obsolete; use --with-gas.
    970     with_gas=yes ;;
    971 
    972   -help | --help | --hel | --he | -h)
    973     ac_init_help=long ;;
    974   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    975     ac_init_help=recursive ;;
    976   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    977     ac_init_help=short ;;
    978 
    979   -host | --host | --hos | --ho)
    980     ac_prev=host_alias ;;
    981   -host=* | --host=* | --hos=* | --ho=*)
    982     host_alias=$ac_optarg ;;
    983 
    984   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    985     ac_prev=htmldir ;;
    986   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    987   | --ht=*)
    988     htmldir=$ac_optarg ;;
    989 
    990   -includedir | --includedir | --includedi | --included | --include \
    991   | --includ | --inclu | --incl | --inc)
    992     ac_prev=includedir ;;
    993   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    994   | --includ=* | --inclu=* | --incl=* | --inc=*)
    995     includedir=$ac_optarg ;;
    996 
    997   -infodir | --infodir | --infodi | --infod | --info | --inf)
    998     ac_prev=infodir ;;
    999   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1000     infodir=$ac_optarg ;;
   1001 
   1002   -libdir | --libdir | --libdi | --libd)
   1003     ac_prev=libdir ;;
   1004   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1005     libdir=$ac_optarg ;;
   1006 
   1007   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1008   | --libexe | --libex | --libe)
   1009     ac_prev=libexecdir ;;
   1010   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1011   | --libexe=* | --libex=* | --libe=*)
   1012     libexecdir=$ac_optarg ;;
   1013 
   1014   -localedir | --localedir | --localedi | --localed | --locale)
   1015     ac_prev=localedir ;;
   1016   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1017     localedir=$ac_optarg ;;
   1018 
   1019   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1020   | --localstate | --localstat | --localsta | --localst | --locals)
   1021     ac_prev=localstatedir ;;
   1022   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1023   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1024     localstatedir=$ac_optarg ;;
   1025 
   1026   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1027     ac_prev=mandir ;;
   1028   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1029     mandir=$ac_optarg ;;
   1030 
   1031   -nfp | --nfp | --nf)
   1032     # Obsolete; use --without-fp.
   1033     with_fp=no ;;
   1034 
   1035   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1036   | --no-cr | --no-c | -n)
   1037     no_create=yes ;;
   1038 
   1039   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1040   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1041     no_recursion=yes ;;
   1042 
   1043   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1044   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1045   | --oldin | --oldi | --old | --ol | --o)
   1046     ac_prev=oldincludedir ;;
   1047   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1048   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1049   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1050     oldincludedir=$ac_optarg ;;
   1051 
   1052   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1053     ac_prev=prefix ;;
   1054   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1055     prefix=$ac_optarg ;;
   1056 
   1057   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1058   | --program-pre | --program-pr | --program-p)
   1059     ac_prev=program_prefix ;;
   1060   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1061   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1062     program_prefix=$ac_optarg ;;
   1063 
   1064   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1065   | --program-suf | --program-su | --program-s)
   1066     ac_prev=program_suffix ;;
   1067   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1068   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1069     program_suffix=$ac_optarg ;;
   1070 
   1071   -program-transform-name | --program-transform-name \
   1072   | --program-transform-nam | --program-transform-na \
   1073   | --program-transform-n | --program-transform- \
   1074   | --program-transform | --program-transfor \
   1075   | --program-transfo | --program-transf \
   1076   | --program-trans | --program-tran \
   1077   | --progr-tra | --program-tr | --program-t)
   1078     ac_prev=program_transform_name ;;
   1079   -program-transform-name=* | --program-transform-name=* \
   1080   | --program-transform-nam=* | --program-transform-na=* \
   1081   | --program-transform-n=* | --program-transform-=* \
   1082   | --program-transform=* | --program-transfor=* \
   1083   | --program-transfo=* | --program-transf=* \
   1084   | --program-trans=* | --program-tran=* \
   1085   | --progr-tra=* | --program-tr=* | --program-t=*)
   1086     program_transform_name=$ac_optarg ;;
   1087 
   1088   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1089     ac_prev=pdfdir ;;
   1090   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1091     pdfdir=$ac_optarg ;;
   1092 
   1093   -psdir | --psdir | --psdi | --psd | --ps)
   1094     ac_prev=psdir ;;
   1095   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1096     psdir=$ac_optarg ;;
   1097 
   1098   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1099   | -silent | --silent | --silen | --sile | --sil)
   1100     silent=yes ;;
   1101 
   1102   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1103     ac_prev=sbindir ;;
   1104   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1105   | --sbi=* | --sb=*)
   1106     sbindir=$ac_optarg ;;
   1107 
   1108   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1109   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1110   | --sharedst | --shareds | --shared | --share | --shar \
   1111   | --sha | --sh)
   1112     ac_prev=sharedstatedir ;;
   1113   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1114   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1115   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1116   | --sha=* | --sh=*)
   1117     sharedstatedir=$ac_optarg ;;
   1118 
   1119   -site | --site | --sit)
   1120     ac_prev=site ;;
   1121   -site=* | --site=* | --sit=*)
   1122     site=$ac_optarg ;;
   1123 
   1124   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1125     ac_prev=srcdir ;;
   1126   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1127     srcdir=$ac_optarg ;;
   1128 
   1129   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1130   | --syscon | --sysco | --sysc | --sys | --sy)
   1131     ac_prev=sysconfdir ;;
   1132   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1133   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1134     sysconfdir=$ac_optarg ;;
   1135 
   1136   -target | --target | --targe | --targ | --tar | --ta | --t)
   1137     ac_prev=target_alias ;;
   1138   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1139     target_alias=$ac_optarg ;;
   1140 
   1141   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1142     verbose=yes ;;
   1143 
   1144   -version | --version | --versio | --versi | --vers | -V)
   1145     ac_init_version=: ;;
   1146 
   1147   -with-* | --with-*)
   1148     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1149     # Reject names that are not valid shell variable names.
   1150     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1151       as_fn_error $? "invalid package name: $ac_useropt"
   1152     ac_useropt_orig=$ac_useropt
   1153     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1154     case $ac_user_opts in
   1155       *"
   1156 "with_$ac_useropt"
   1157 "*) ;;
   1158       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1159 	 ac_unrecognized_sep=', ';;
   1160     esac
   1161     eval with_$ac_useropt=\$ac_optarg ;;
   1162 
   1163   -without-* | --without-*)
   1164     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1165     # Reject names that are not valid shell variable names.
   1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1167       as_fn_error $? "invalid package name: $ac_useropt"
   1168     ac_useropt_orig=$ac_useropt
   1169     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1170     case $ac_user_opts in
   1171       *"
   1172 "with_$ac_useropt"
   1173 "*) ;;
   1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1175 	 ac_unrecognized_sep=', ';;
   1176     esac
   1177     eval with_$ac_useropt=no ;;
   1178 
   1179   --x)
   1180     # Obsolete; use --with-x.
   1181     with_x=yes ;;
   1182 
   1183   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1184   | --x-incl | --x-inc | --x-in | --x-i)
   1185     ac_prev=x_includes ;;
   1186   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1187   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1188     x_includes=$ac_optarg ;;
   1189 
   1190   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1191   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1192     ac_prev=x_libraries ;;
   1193   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1194   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1195     x_libraries=$ac_optarg ;;
   1196 
   1197   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1198 Try \`$0 --help' for more information"
   1199     ;;
   1200 
   1201   *=*)
   1202     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1203     # Reject names that are not valid shell variable names.
   1204     case $ac_envvar in #(
   1205       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1206       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1207     esac
   1208     eval $ac_envvar=\$ac_optarg
   1209     export $ac_envvar ;;
   1210 
   1211   *)
   1212     # FIXME: should be removed in autoconf 3.0.
   1213     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1214     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1215       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1216     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1217     ;;
   1218 
   1219   esac
   1220 done
   1221 
   1222 if test -n "$ac_prev"; then
   1223   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1224   as_fn_error $? "missing argument to $ac_option"
   1225 fi
   1226 
   1227 if test -n "$ac_unrecognized_opts"; then
   1228   case $enable_option_checking in
   1229     no) ;;
   1230     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1231     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1232   esac
   1233 fi
   1234 
   1235 # Check all directory arguments for consistency.
   1236 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1237 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1238 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1239 		libdir localedir mandir
   1240 do
   1241   eval ac_val=\$$ac_var
   1242   # Remove trailing slashes.
   1243   case $ac_val in
   1244     */ )
   1245       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1246       eval $ac_var=\$ac_val;;
   1247   esac
   1248   # Be sure to have absolute directory names.
   1249   case $ac_val in
   1250     [\\/$]* | ?:[\\/]* )  continue;;
   1251     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1252   esac
   1253   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1254 done
   1255 
   1256 # There might be people who depend on the old broken behavior: `$host'
   1257 # used to hold the argument of --host etc.
   1258 # FIXME: To remove some day.
   1259 build=$build_alias
   1260 host=$host_alias
   1261 target=$target_alias
   1262 
   1263 # FIXME: To remove some day.
   1264 if test "x$host_alias" != x; then
   1265   if test "x$build_alias" = x; then
   1266     cross_compiling=maybe
   1267   elif test "x$build_alias" != "x$host_alias"; then
   1268     cross_compiling=yes
   1269   fi
   1270 fi
   1271 
   1272 ac_tool_prefix=
   1273 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1274 
   1275 test "$silent" = yes && exec 6>/dev/null
   1276 
   1277 
   1278 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1279 ac_ls_di=`ls -di .` &&
   1280 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1281   as_fn_error $? "working directory cannot be determined"
   1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1283   as_fn_error $? "pwd does not report name of working directory"
   1284 
   1285 
   1286 # Find the source files, if location was not specified.
   1287 if test -z "$srcdir"; then
   1288   ac_srcdir_defaulted=yes
   1289   # Try the directory containing this script, then the parent directory.
   1290   ac_confdir=`$as_dirname -- "$as_myself" ||
   1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1292 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1293 	 X"$as_myself" : 'X\(//\)$' \| \
   1294 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1295 $as_echo X"$as_myself" |
   1296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  /^X\(\/\/\)[^/].*/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)$/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\).*/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  s/.*/./; q'`
   1313   srcdir=$ac_confdir
   1314   if test ! -r "$srcdir/$ac_unique_file"; then
   1315     srcdir=..
   1316   fi
   1317 else
   1318   ac_srcdir_defaulted=no
   1319 fi
   1320 if test ! -r "$srcdir/$ac_unique_file"; then
   1321   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1322   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1323 fi
   1324 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1325 ac_abs_confdir=`(
   1326 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1327 	pwd)`
   1328 # When building in place, set srcdir=.
   1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1330   srcdir=.
   1331 fi
   1332 # Remove unnecessary trailing slashes from srcdir.
   1333 # Double slashes in file names in object file debugging info
   1334 # mess up M-x gdb in Emacs.
   1335 case $srcdir in
   1336 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1337 esac
   1338 for ac_var in $ac_precious_vars; do
   1339   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1340   eval ac_env_${ac_var}_value=\$${ac_var}
   1341   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1342   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1343 done
   1344 
   1345 #
   1346 # Report the --help message.
   1347 #
   1348 if test "$ac_init_help" = "long"; then
   1349   # Omit some internal or obsolete options to make the list less imposing.
   1350   # This message is too long to be a string in the A/UX 3.1 sh.
   1351   cat <<_ACEOF
   1352 \`configure' configures libfontenc 1.1.3 to adapt to many kinds of systems.
   1353 
   1354 Usage: $0 [OPTION]... [VAR=VALUE]...
   1355 
   1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1357 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1358 
   1359 Defaults for the options are specified in brackets.
   1360 
   1361 Configuration:
   1362   -h, --help              display this help and exit
   1363       --help=short        display options specific to this package
   1364       --help=recursive    display the short help of all the included packages
   1365   -V, --version           display version information and exit
   1366   -q, --quiet, --silent   do not print \`checking ...' messages
   1367       --cache-file=FILE   cache test results in FILE [disabled]
   1368   -C, --config-cache      alias for \`--cache-file=config.cache'
   1369   -n, --no-create         do not create output files
   1370       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1371 
   1372 Installation directories:
   1373   --prefix=PREFIX         install architecture-independent files in PREFIX
   1374                           [$ac_default_prefix]
   1375   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1376                           [PREFIX]
   1377 
   1378 By default, \`make install' will install all the files in
   1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1381 for instance \`--prefix=\$HOME'.
   1382 
   1383 For better control, use the options below.
   1384 
   1385 Fine tuning of the installation directories:
   1386   --bindir=DIR            user executables [EPREFIX/bin]
   1387   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1388   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1389   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1390   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1391   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1392   --libdir=DIR            object code libraries [EPREFIX/lib]
   1393   --includedir=DIR        C header files [PREFIX/include]
   1394   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1395   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1396   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1397   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1398   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1399   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1400   --docdir=DIR            documentation root [DATAROOTDIR/doc/libfontenc]
   1401   --htmldir=DIR           html documentation [DOCDIR]
   1402   --dvidir=DIR            dvi documentation [DOCDIR]
   1403   --pdfdir=DIR            pdf documentation [DOCDIR]
   1404   --psdir=DIR             ps documentation [DOCDIR]
   1405 _ACEOF
   1406 
   1407   cat <<\_ACEOF
   1408 
   1409 Program names:
   1410   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1411   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1412   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1413 
   1414 System types:
   1415   --build=BUILD     configure for building on BUILD [guessed]
   1416   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1417 _ACEOF
   1418 fi
   1419 
   1420 if test -n "$ac_init_help"; then
   1421   case $ac_init_help in
   1422      short | recursive ) echo "Configuration of libfontenc 1.1.3:";;
   1423    esac
   1424   cat <<\_ACEOF
   1425 
   1426 Optional Features:
   1427   --disable-option-checking  ignore unrecognized --enable/--with options
   1428   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1429   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1430   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1431   --disable-silent-rules  verbose build output (undo: "make V=0")
   1432   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1433   --enable-static[=PKGS]  build static libraries [default=yes]
   1434   --enable-fast-install[=PKGS]
   1435                           optimize for fast installation [default=yes]
   1436   --enable-dependency-tracking
   1437                           do not reject slow dependency extractors
   1438   --disable-dependency-tracking
   1439                           speeds up one-time build
   1440   --disable-libtool-lock  avoid locking (might break parallel builds)
   1441   --disable-selective-werror
   1442                           Turn off selective compiler errors. (default:
   1443                           enabled)
   1444   --enable-strict-compilation
   1445                           Enable all warnings from compiler and make them
   1446                           errors (default: disabled)
   1447 
   1448 Optional Packages:
   1449   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1450   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1451   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1452                           both]
   1453   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1454   --with-sysroot=DIR Search for dependent libraries within DIR
   1455                         (or the compiler's sysroot if not specified).
   1456   --with-fontrootdir=DIR  Path to root directory for font files
   1457   --with-encodingsdir=DIR Path to encodings files [FONTROOTDIR/encodings]
   1458   --with-lint             Use a lint-style source code checker (default:
   1459                           disabled)
   1460 
   1461 Some influential environment variables:
   1462   CC          C compiler command
   1463   CFLAGS      C compiler flags
   1464   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1465               nonstandard directory <lib dir>
   1466   LIBS        libraries to pass to the linker, e.g. -l<library>
   1467   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1468               you have headers in a nonstandard directory <include dir>
   1469   CPP         C preprocessor
   1470   PKG_CONFIG  path to pkg-config utility
   1471   FONTENC_CFLAGS
   1472               C compiler flags for FONTENC, overriding pkg-config
   1473   FONTENC_LIBS
   1474               linker flags for FONTENC, overriding pkg-config
   1475   LINT        Path to a lint-style command
   1476   LINT_FLAGS  Flags for the lint-style command
   1477 
   1478 Use these variables to override the choices made by `configure' or to help
   1479 it to find libraries and programs with nonstandard names/locations.
   1480 
   1481 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1482 _ACEOF
   1483 ac_status=$?
   1484 fi
   1485 
   1486 if test "$ac_init_help" = "recursive"; then
   1487   # If there are subdirs, report their specific --help.
   1488   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1489     test -d "$ac_dir" ||
   1490       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1491       continue
   1492     ac_builddir=.
   1493 
   1494 case "$ac_dir" in
   1495 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1496 *)
   1497   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1498   # A ".." for each directory in $ac_dir_suffix.
   1499   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1500   case $ac_top_builddir_sub in
   1501   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1502   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1503   esac ;;
   1504 esac
   1505 ac_abs_top_builddir=$ac_pwd
   1506 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1507 # for backward compatibility:
   1508 ac_top_builddir=$ac_top_build_prefix
   1509 
   1510 case $srcdir in
   1511   .)  # We are building in place.
   1512     ac_srcdir=.
   1513     ac_top_srcdir=$ac_top_builddir_sub
   1514     ac_abs_top_srcdir=$ac_pwd ;;
   1515   [\\/]* | ?:[\\/]* )  # Absolute name.
   1516     ac_srcdir=$srcdir$ac_dir_suffix;
   1517     ac_top_srcdir=$srcdir
   1518     ac_abs_top_srcdir=$srcdir ;;
   1519   *) # Relative name.
   1520     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1521     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1522     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1523 esac
   1524 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1525 
   1526     cd "$ac_dir" || { ac_status=$?; continue; }
   1527     # Check for guested configure.
   1528     if test -f "$ac_srcdir/configure.gnu"; then
   1529       echo &&
   1530       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1531     elif test -f "$ac_srcdir/configure"; then
   1532       echo &&
   1533       $SHELL "$ac_srcdir/configure" --help=recursive
   1534     else
   1535       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1536     fi || ac_status=$?
   1537     cd "$ac_pwd" || { ac_status=$?; break; }
   1538   done
   1539 fi
   1540 
   1541 test -n "$ac_init_help" && exit $ac_status
   1542 if $ac_init_version; then
   1543   cat <<\_ACEOF
   1544 libfontenc configure 1.1.3
   1545 generated by GNU Autoconf 2.69
   1546 
   1547 Copyright (C) 2012 Free Software Foundation, Inc.
   1548 This configure script is free software; the Free Software Foundation
   1549 gives unlimited permission to copy, distribute and modify it.
   1550 _ACEOF
   1551   exit
   1552 fi
   1553 
   1554 ## ------------------------ ##
   1555 ## Autoconf initialization. ##
   1556 ## ------------------------ ##
   1557 
   1558 # ac_fn_c_try_compile LINENO
   1559 # --------------------------
   1560 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1561 ac_fn_c_try_compile ()
   1562 {
   1563   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1564   rm -f conftest.$ac_objext
   1565   if { { ac_try="$ac_compile"
   1566 case "(($ac_try" in
   1567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1568   *) ac_try_echo=$ac_try;;
   1569 esac
   1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1571 $as_echo "$ac_try_echo"; } >&5
   1572   (eval "$ac_compile") 2>conftest.err
   1573   ac_status=$?
   1574   if test -s conftest.err; then
   1575     grep -v '^ *+' conftest.err >conftest.er1
   1576     cat conftest.er1 >&5
   1577     mv -f conftest.er1 conftest.err
   1578   fi
   1579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1580   test $ac_status = 0; } && {
   1581 	 test -z "$ac_c_werror_flag" ||
   1582 	 test ! -s conftest.err
   1583        } && test -s conftest.$ac_objext; then :
   1584   ac_retval=0
   1585 else
   1586   $as_echo "$as_me: failed program was:" >&5
   1587 sed 's/^/| /' conftest.$ac_ext >&5
   1588 
   1589 	ac_retval=1
   1590 fi
   1591   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1592   as_fn_set_status $ac_retval
   1593 
   1594 } # ac_fn_c_try_compile
   1595 
   1596 # ac_fn_c_try_link LINENO
   1597 # -----------------------
   1598 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1599 ac_fn_c_try_link ()
   1600 {
   1601   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1602   rm -f conftest.$ac_objext conftest$ac_exeext
   1603   if { { ac_try="$ac_link"
   1604 case "(($ac_try" in
   1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1606   *) ac_try_echo=$ac_try;;
   1607 esac
   1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1609 $as_echo "$ac_try_echo"; } >&5
   1610   (eval "$ac_link") 2>conftest.err
   1611   ac_status=$?
   1612   if test -s conftest.err; then
   1613     grep -v '^ *+' conftest.err >conftest.er1
   1614     cat conftest.er1 >&5
   1615     mv -f conftest.er1 conftest.err
   1616   fi
   1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1618   test $ac_status = 0; } && {
   1619 	 test -z "$ac_c_werror_flag" ||
   1620 	 test ! -s conftest.err
   1621        } && test -s conftest$ac_exeext && {
   1622 	 test "$cross_compiling" = yes ||
   1623 	 test -x conftest$ac_exeext
   1624        }; then :
   1625   ac_retval=0
   1626 else
   1627   $as_echo "$as_me: failed program was:" >&5
   1628 sed 's/^/| /' conftest.$ac_ext >&5
   1629 
   1630 	ac_retval=1
   1631 fi
   1632   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1633   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1634   # interfere with the next link command; also delete a directory that is
   1635   # left behind by Apple's compiler.  We do this before executing the actions.
   1636   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1638   as_fn_set_status $ac_retval
   1639 
   1640 } # ac_fn_c_try_link
   1641 
   1642 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1643 # -------------------------------------------------------
   1644 # Tests whether HEADER exists and can be compiled using the include files in
   1645 # INCLUDES, setting the cache variable VAR accordingly.
   1646 ac_fn_c_check_header_compile ()
   1647 {
   1648   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1650 $as_echo_n "checking for $2... " >&6; }
   1651 if eval \${$3+:} false; then :
   1652   $as_echo_n "(cached) " >&6
   1653 else
   1654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1655 /* end confdefs.h.  */
   1656 $4
   1657 #include <$2>
   1658 _ACEOF
   1659 if ac_fn_c_try_compile "$LINENO"; then :
   1660   eval "$3=yes"
   1661 else
   1662   eval "$3=no"
   1663 fi
   1664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1665 fi
   1666 eval ac_res=\$$3
   1667 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1668 $as_echo "$ac_res" >&6; }
   1669   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1670 
   1671 } # ac_fn_c_check_header_compile
   1672 
   1673 # ac_fn_c_try_cpp LINENO
   1674 # ----------------------
   1675 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1676 ac_fn_c_try_cpp ()
   1677 {
   1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1679   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1680 case "(($ac_try" in
   1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1682   *) ac_try_echo=$ac_try;;
   1683 esac
   1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1685 $as_echo "$ac_try_echo"; } >&5
   1686   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1687   ac_status=$?
   1688   if test -s conftest.err; then
   1689     grep -v '^ *+' conftest.err >conftest.er1
   1690     cat conftest.er1 >&5
   1691     mv -f conftest.er1 conftest.err
   1692   fi
   1693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1694   test $ac_status = 0; } > conftest.i && {
   1695 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1696 	 test ! -s conftest.err
   1697        }; then :
   1698   ac_retval=0
   1699 else
   1700   $as_echo "$as_me: failed program was:" >&5
   1701 sed 's/^/| /' conftest.$ac_ext >&5
   1702 
   1703     ac_retval=1
   1704 fi
   1705   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1706   as_fn_set_status $ac_retval
   1707 
   1708 } # ac_fn_c_try_cpp
   1709 
   1710 # ac_fn_c_try_run LINENO
   1711 # ----------------------
   1712 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1713 # that executables *can* be run.
   1714 ac_fn_c_try_run ()
   1715 {
   1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1717   if { { ac_try="$ac_link"
   1718 case "(($ac_try" in
   1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1720   *) ac_try_echo=$ac_try;;
   1721 esac
   1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1723 $as_echo "$ac_try_echo"; } >&5
   1724   (eval "$ac_link") 2>&5
   1725   ac_status=$?
   1726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1727   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1728   { { case "(($ac_try" in
   1729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1730   *) ac_try_echo=$ac_try;;
   1731 esac
   1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1733 $as_echo "$ac_try_echo"; } >&5
   1734   (eval "$ac_try") 2>&5
   1735   ac_status=$?
   1736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1737   test $ac_status = 0; }; }; then :
   1738   ac_retval=0
   1739 else
   1740   $as_echo "$as_me: program exited with status $ac_status" >&5
   1741        $as_echo "$as_me: failed program was:" >&5
   1742 sed 's/^/| /' conftest.$ac_ext >&5
   1743 
   1744        ac_retval=$ac_status
   1745 fi
   1746   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1747   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1748   as_fn_set_status $ac_retval
   1749 
   1750 } # ac_fn_c_try_run
   1751 
   1752 # ac_fn_c_check_func LINENO FUNC VAR
   1753 # ----------------------------------
   1754 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1755 ac_fn_c_check_func ()
   1756 {
   1757   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1759 $as_echo_n "checking for $2... " >&6; }
   1760 if eval \${$3+:} false; then :
   1761   $as_echo_n "(cached) " >&6
   1762 else
   1763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1764 /* end confdefs.h.  */
   1765 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1767 #define $2 innocuous_$2
   1768 
   1769 /* System header to define __stub macros and hopefully few prototypes,
   1770     which can conflict with char $2 (); below.
   1771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1772     <limits.h> exists even on freestanding compilers.  */
   1773 
   1774 #ifdef __STDC__
   1775 # include <limits.h>
   1776 #else
   1777 # include <assert.h>
   1778 #endif
   1779 
   1780 #undef $2
   1781 
   1782 /* Override any GCC internal prototype to avoid an error.
   1783    Use char because int might match the return type of a GCC
   1784    builtin and then its argument prototype would still apply.  */
   1785 #ifdef __cplusplus
   1786 extern "C"
   1787 #endif
   1788 char $2 ();
   1789 /* The GNU C library defines this for functions which it implements
   1790     to always fail with ENOSYS.  Some functions are actually named
   1791     something starting with __ and the normal name is an alias.  */
   1792 #if defined __stub_$2 || defined __stub___$2
   1793 choke me
   1794 #endif
   1795 
   1796 int
   1797 main ()
   1798 {
   1799 return $2 ();
   1800   ;
   1801   return 0;
   1802 }
   1803 _ACEOF
   1804 if ac_fn_c_try_link "$LINENO"; then :
   1805   eval "$3=yes"
   1806 else
   1807   eval "$3=no"
   1808 fi
   1809 rm -f core conftest.err conftest.$ac_objext \
   1810     conftest$ac_exeext conftest.$ac_ext
   1811 fi
   1812 eval ac_res=\$$3
   1813 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1814 $as_echo "$ac_res" >&6; }
   1815   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1816 
   1817 } # ac_fn_c_check_func
   1818 
   1819 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1820 # ---------------------------------------------
   1821 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1822 # accordingly.
   1823 ac_fn_c_check_decl ()
   1824 {
   1825   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1826   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1827   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1829 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1830 if eval \${$3+:} false; then :
   1831   $as_echo_n "(cached) " >&6
   1832 else
   1833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1834 /* end confdefs.h.  */
   1835 $4
   1836 int
   1837 main ()
   1838 {
   1839 #ifndef $as_decl_name
   1840 #ifdef __cplusplus
   1841   (void) $as_decl_use;
   1842 #else
   1843   (void) $as_decl_name;
   1844 #endif
   1845 #endif
   1846 
   1847   ;
   1848   return 0;
   1849 }
   1850 _ACEOF
   1851 if ac_fn_c_try_compile "$LINENO"; then :
   1852   eval "$3=yes"
   1853 else
   1854   eval "$3=no"
   1855 fi
   1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1857 fi
   1858 eval ac_res=\$$3
   1859 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1860 $as_echo "$ac_res" >&6; }
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862 
   1863 } # ac_fn_c_check_decl
   1864 
   1865 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1866 # -------------------------------------------------------
   1867 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1868 # the include files in INCLUDES and setting the cache variable VAR
   1869 # accordingly.
   1870 ac_fn_c_check_header_mongrel ()
   1871 {
   1872   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1873   if eval \${$3+:} false; then :
   1874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1875 $as_echo_n "checking for $2... " >&6; }
   1876 if eval \${$3+:} false; then :
   1877   $as_echo_n "(cached) " >&6
   1878 fi
   1879 eval ac_res=\$$3
   1880 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1881 $as_echo "$ac_res" >&6; }
   1882 else
   1883   # Is the header compilable?
   1884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1885 $as_echo_n "checking $2 usability... " >&6; }
   1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1887 /* end confdefs.h.  */
   1888 $4
   1889 #include <$2>
   1890 _ACEOF
   1891 if ac_fn_c_try_compile "$LINENO"; then :
   1892   ac_header_compiler=yes
   1893 else
   1894   ac_header_compiler=no
   1895 fi
   1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1898 $as_echo "$ac_header_compiler" >&6; }
   1899 
   1900 # Is the header present?
   1901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1902 $as_echo_n "checking $2 presence... " >&6; }
   1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1904 /* end confdefs.h.  */
   1905 #include <$2>
   1906 _ACEOF
   1907 if ac_fn_c_try_cpp "$LINENO"; then :
   1908   ac_header_preproc=yes
   1909 else
   1910   ac_header_preproc=no
   1911 fi
   1912 rm -f conftest.err conftest.i conftest.$ac_ext
   1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1914 $as_echo "$ac_header_preproc" >&6; }
   1915 
   1916 # So?  What about this header?
   1917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1918   yes:no: )
   1919     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1920 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1921     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1922 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1923     ;;
   1924   no:yes:* )
   1925     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1926 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1927     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1928 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1929     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1930 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1932 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1934 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1935 ( $as_echo "## ---------------------------------------------------------------------- ##
   1936 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1937 ## ---------------------------------------------------------------------- ##"
   1938      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1939     ;;
   1940 esac
   1941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1942 $as_echo_n "checking for $2... " >&6; }
   1943 if eval \${$3+:} false; then :
   1944   $as_echo_n "(cached) " >&6
   1945 else
   1946   eval "$3=\$ac_header_compiler"
   1947 fi
   1948 eval ac_res=\$$3
   1949 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1950 $as_echo "$ac_res" >&6; }
   1951 fi
   1952   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1953 
   1954 } # ac_fn_c_check_header_mongrel
   1955 cat >config.log <<_ACEOF
   1956 This file contains any messages produced by compilers while
   1957 running configure, to aid debugging if configure makes a mistake.
   1958 
   1959 It was created by libfontenc $as_me 1.1.3, which was
   1960 generated by GNU Autoconf 2.69.  Invocation command line was
   1961 
   1962   $ $0 $@
   1963 
   1964 _ACEOF
   1965 exec 5>>config.log
   1966 {
   1967 cat <<_ASUNAME
   1968 ## --------- ##
   1969 ## Platform. ##
   1970 ## --------- ##
   1971 
   1972 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1973 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1974 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1975 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1976 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1977 
   1978 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1979 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1980 
   1981 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1982 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1983 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1984 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1985 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1986 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1987 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1988 
   1989 _ASUNAME
   1990 
   1991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1992 for as_dir in $PATH
   1993 do
   1994   IFS=$as_save_IFS
   1995   test -z "$as_dir" && as_dir=.
   1996     $as_echo "PATH: $as_dir"
   1997   done
   1998 IFS=$as_save_IFS
   1999 
   2000 } >&5
   2001 
   2002 cat >&5 <<_ACEOF
   2003 
   2004 
   2005 ## ----------- ##
   2006 ## Core tests. ##
   2007 ## ----------- ##
   2008 
   2009 _ACEOF
   2010 
   2011 
   2012 # Keep a trace of the command line.
   2013 # Strip out --no-create and --no-recursion so they do not pile up.
   2014 # Strip out --silent because we don't want to record it for future runs.
   2015 # Also quote any args containing shell meta-characters.
   2016 # Make two passes to allow for proper duplicate-argument suppression.
   2017 ac_configure_args=
   2018 ac_configure_args0=
   2019 ac_configure_args1=
   2020 ac_must_keep_next=false
   2021 for ac_pass in 1 2
   2022 do
   2023   for ac_arg
   2024   do
   2025     case $ac_arg in
   2026     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2027     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2028     | -silent | --silent | --silen | --sile | --sil)
   2029       continue ;;
   2030     *\'*)
   2031       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2032     esac
   2033     case $ac_pass in
   2034     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2035     2)
   2036       as_fn_append ac_configure_args1 " '$ac_arg'"
   2037       if test $ac_must_keep_next = true; then
   2038 	ac_must_keep_next=false # Got value, back to normal.
   2039       else
   2040 	case $ac_arg in
   2041 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2042 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2043 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2044 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2045 	    case "$ac_configure_args0 " in
   2046 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2047 	    esac
   2048 	    ;;
   2049 	  -* ) ac_must_keep_next=true ;;
   2050 	esac
   2051       fi
   2052       as_fn_append ac_configure_args " '$ac_arg'"
   2053       ;;
   2054     esac
   2055   done
   2056 done
   2057 { ac_configure_args0=; unset ac_configure_args0;}
   2058 { ac_configure_args1=; unset ac_configure_args1;}
   2059 
   2060 # When interrupted or exit'd, cleanup temporary files, and complete
   2061 # config.log.  We remove comments because anyway the quotes in there
   2062 # would cause problems or look ugly.
   2063 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2064 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2065 trap 'exit_status=$?
   2066   # Save into config.log some information that might help in debugging.
   2067   {
   2068     echo
   2069 
   2070     $as_echo "## ---------------- ##
   2071 ## Cache variables. ##
   2072 ## ---------------- ##"
   2073     echo
   2074     # The following way of writing the cache mishandles newlines in values,
   2075 (
   2076   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2077     eval ac_val=\$$ac_var
   2078     case $ac_val in #(
   2079     *${as_nl}*)
   2080       case $ac_var in #(
   2081       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2082 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2083       esac
   2084       case $ac_var in #(
   2085       _ | IFS | as_nl) ;; #(
   2086       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2087       *) { eval $ac_var=; unset $ac_var;} ;;
   2088       esac ;;
   2089     esac
   2090   done
   2091   (set) 2>&1 |
   2092     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2093     *${as_nl}ac_space=\ *)
   2094       sed -n \
   2095 	"s/'\''/'\''\\\\'\'''\''/g;
   2096 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2097       ;; #(
   2098     *)
   2099       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2100       ;;
   2101     esac |
   2102     sort
   2103 )
   2104     echo
   2105 
   2106     $as_echo "## ----------------- ##
   2107 ## Output variables. ##
   2108 ## ----------------- ##"
   2109     echo
   2110     for ac_var in $ac_subst_vars
   2111     do
   2112       eval ac_val=\$$ac_var
   2113       case $ac_val in
   2114       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2115       esac
   2116       $as_echo "$ac_var='\''$ac_val'\''"
   2117     done | sort
   2118     echo
   2119 
   2120     if test -n "$ac_subst_files"; then
   2121       $as_echo "## ------------------- ##
   2122 ## File substitutions. ##
   2123 ## ------------------- ##"
   2124       echo
   2125       for ac_var in $ac_subst_files
   2126       do
   2127 	eval ac_val=\$$ac_var
   2128 	case $ac_val in
   2129 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2130 	esac
   2131 	$as_echo "$ac_var='\''$ac_val'\''"
   2132       done | sort
   2133       echo
   2134     fi
   2135 
   2136     if test -s confdefs.h; then
   2137       $as_echo "## ----------- ##
   2138 ## confdefs.h. ##
   2139 ## ----------- ##"
   2140       echo
   2141       cat confdefs.h
   2142       echo
   2143     fi
   2144     test "$ac_signal" != 0 &&
   2145       $as_echo "$as_me: caught signal $ac_signal"
   2146     $as_echo "$as_me: exit $exit_status"
   2147   } >&5
   2148   rm -f core *.core core.conftest.* &&
   2149     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2150     exit $exit_status
   2151 ' 0
   2152 for ac_signal in 1 2 13 15; do
   2153   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2154 done
   2155 ac_signal=0
   2156 
   2157 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2158 rm -f -r conftest* confdefs.h
   2159 
   2160 $as_echo "/* confdefs.h */" > confdefs.h
   2161 
   2162 # Predefined preprocessor variables.
   2163 
   2164 cat >>confdefs.h <<_ACEOF
   2165 #define PACKAGE_NAME "$PACKAGE_NAME"
   2166 _ACEOF
   2167 
   2168 cat >>confdefs.h <<_ACEOF
   2169 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2170 _ACEOF
   2171 
   2172 cat >>confdefs.h <<_ACEOF
   2173 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2174 _ACEOF
   2175 
   2176 cat >>confdefs.h <<_ACEOF
   2177 #define PACKAGE_STRING "$PACKAGE_STRING"
   2178 _ACEOF
   2179 
   2180 cat >>confdefs.h <<_ACEOF
   2181 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2182 _ACEOF
   2183 
   2184 cat >>confdefs.h <<_ACEOF
   2185 #define PACKAGE_URL "$PACKAGE_URL"
   2186 _ACEOF
   2187 
   2188 
   2189 # Let the site file select an alternate cache file if it wants to.
   2190 # Prefer an explicitly selected file to automatically selected ones.
   2191 ac_site_file1=NONE
   2192 ac_site_file2=NONE
   2193 if test -n "$CONFIG_SITE"; then
   2194   # We do not want a PATH search for config.site.
   2195   case $CONFIG_SITE in #((
   2196     -*)  ac_site_file1=./$CONFIG_SITE;;
   2197     */*) ac_site_file1=$CONFIG_SITE;;
   2198     *)   ac_site_file1=./$CONFIG_SITE;;
   2199   esac
   2200 elif test "x$prefix" != xNONE; then
   2201   ac_site_file1=$prefix/share/config.site
   2202   ac_site_file2=$prefix/etc/config.site
   2203 else
   2204   ac_site_file1=$ac_default_prefix/share/config.site
   2205   ac_site_file2=$ac_default_prefix/etc/config.site
   2206 fi
   2207 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2208 do
   2209   test "x$ac_site_file" = xNONE && continue
   2210   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2211     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2212 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2213     sed 's/^/| /' "$ac_site_file" >&5
   2214     . "$ac_site_file" \
   2215       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2217 as_fn_error $? "failed to load site script $ac_site_file
   2218 See \`config.log' for more details" "$LINENO" 5; }
   2219   fi
   2220 done
   2221 
   2222 if test -r "$cache_file"; then
   2223   # Some versions of bash will fail to source /dev/null (special files
   2224   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2225   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2226     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2227 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2228     case $cache_file in
   2229       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2230       *)                      . "./$cache_file";;
   2231     esac
   2232   fi
   2233 else
   2234   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2235 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2236   >$cache_file
   2237 fi
   2238 
   2239 # Check that the precious variables saved in the cache have kept the same
   2240 # value.
   2241 ac_cache_corrupted=false
   2242 for ac_var in $ac_precious_vars; do
   2243   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2244   eval ac_new_set=\$ac_env_${ac_var}_set
   2245   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2246   eval ac_new_val=\$ac_env_${ac_var}_value
   2247   case $ac_old_set,$ac_new_set in
   2248     set,)
   2249       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2250 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2251       ac_cache_corrupted=: ;;
   2252     ,set)
   2253       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2254 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2255       ac_cache_corrupted=: ;;
   2256     ,);;
   2257     *)
   2258       if test "x$ac_old_val" != "x$ac_new_val"; then
   2259 	# differences in whitespace do not lead to failure.
   2260 	ac_old_val_w=`echo x $ac_old_val`
   2261 	ac_new_val_w=`echo x $ac_new_val`
   2262 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2263 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2264 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2265 	  ac_cache_corrupted=:
   2266 	else
   2267 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2268 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2269 	  eval $ac_var=\$ac_old_val
   2270 	fi
   2271 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2272 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2273 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2274 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2275       fi;;
   2276   esac
   2277   # Pass precious variables to config.status.
   2278   if test "$ac_new_set" = set; then
   2279     case $ac_new_val in
   2280     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2281     *) ac_arg=$ac_var=$ac_new_val ;;
   2282     esac
   2283     case " $ac_configure_args " in
   2284       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2285       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2286     esac
   2287   fi
   2288 done
   2289 if $ac_cache_corrupted; then
   2290   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2292   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2293 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2294   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2295 fi
   2296 ## -------------------- ##
   2297 ## Main body of script. ##
   2298 ## -------------------- ##
   2299 
   2300 ac_ext=c
   2301 ac_cpp='$CPP $CPPFLAGS'
   2302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2305 
   2306 
   2307 
   2308 ac_config_headers="$ac_config_headers config.h"
   2309 
   2310 
   2311 # Initialize Automake
   2312 am__api_version='1.15'
   2313 
   2314 ac_aux_dir=
   2315 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2316   if test -f "$ac_dir/install-sh"; then
   2317     ac_aux_dir=$ac_dir
   2318     ac_install_sh="$ac_aux_dir/install-sh -c"
   2319     break
   2320   elif test -f "$ac_dir/install.sh"; then
   2321     ac_aux_dir=$ac_dir
   2322     ac_install_sh="$ac_aux_dir/install.sh -c"
   2323     break
   2324   elif test -f "$ac_dir/shtool"; then
   2325     ac_aux_dir=$ac_dir
   2326     ac_install_sh="$ac_aux_dir/shtool install -c"
   2327     break
   2328   fi
   2329 done
   2330 if test -z "$ac_aux_dir"; then
   2331   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2332 fi
   2333 
   2334 # These three variables are undocumented and unsupported,
   2335 # and are intended to be withdrawn in a future Autoconf release.
   2336 # They can cause serious problems if a builder's source tree is in a directory
   2337 # whose full name contains unusual characters.
   2338 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2339 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2340 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2341 
   2342 
   2343 # Find a good install program.  We prefer a C program (faster),
   2344 # so one script is as good as another.  But avoid the broken or
   2345 # incompatible versions:
   2346 # SysV /etc/install, /usr/sbin/install
   2347 # SunOS /usr/etc/install
   2348 # IRIX /sbin/install
   2349 # AIX /bin/install
   2350 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2354 # OS/2's system install, which has a completely different semantic
   2355 # ./install, which can be erroneously created by make from ./install.sh.
   2356 # Reject install programs that cannot install multiple files.
   2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2358 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2359 if test -z "$INSTALL"; then
   2360 if ${ac_cv_path_install+:} false; then :
   2361   $as_echo_n "(cached) " >&6
   2362 else
   2363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2364 for as_dir in $PATH
   2365 do
   2366   IFS=$as_save_IFS
   2367   test -z "$as_dir" && as_dir=.
   2368     # Account for people who put trailing slashes in PATH elements.
   2369 case $as_dir/ in #((
   2370   ./ | .// | /[cC]/* | \
   2371   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2372   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2373   /usr/ucb/* ) ;;
   2374   *)
   2375     # OSF1 and SCO ODT 3.0 have their own names for install.
   2376     # Don't use installbsd from OSF since it installs stuff as root
   2377     # by default.
   2378     for ac_prog in ginstall scoinst install; do
   2379       for ac_exec_ext in '' $ac_executable_extensions; do
   2380 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2381 	  if test $ac_prog = install &&
   2382 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2383 	    # AIX install.  It has an incompatible calling convention.
   2384 	    :
   2385 	  elif test $ac_prog = install &&
   2386 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2387 	    # program-specific install script used by HP pwplus--don't use.
   2388 	    :
   2389 	  else
   2390 	    rm -rf conftest.one conftest.two conftest.dir
   2391 	    echo one > conftest.one
   2392 	    echo two > conftest.two
   2393 	    mkdir conftest.dir
   2394 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2395 	      test -s conftest.one && test -s conftest.two &&
   2396 	      test -s conftest.dir/conftest.one &&
   2397 	      test -s conftest.dir/conftest.two
   2398 	    then
   2399 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2400 	      break 3
   2401 	    fi
   2402 	  fi
   2403 	fi
   2404       done
   2405     done
   2406     ;;
   2407 esac
   2408 
   2409   done
   2410 IFS=$as_save_IFS
   2411 
   2412 rm -rf conftest.one conftest.two conftest.dir
   2413 
   2414 fi
   2415   if test "${ac_cv_path_install+set}" = set; then
   2416     INSTALL=$ac_cv_path_install
   2417   else
   2418     # As a last resort, use the slow shell script.  Don't cache a
   2419     # value for INSTALL within a source directory, because that will
   2420     # break other packages using the cache if that directory is
   2421     # removed, or if the value is a relative name.
   2422     INSTALL=$ac_install_sh
   2423   fi
   2424 fi
   2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2426 $as_echo "$INSTALL" >&6; }
   2427 
   2428 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2429 # It thinks the first close brace ends the variable substitution.
   2430 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2431 
   2432 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2433 
   2434 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2435 
   2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2437 $as_echo_n "checking whether build environment is sane... " >&6; }
   2438 # Reject unsafe characters in $srcdir or the absolute working directory
   2439 # name.  Accept space and tab only in the latter.
   2440 am_lf='
   2441 '
   2442 case `pwd` in
   2443   *[\\\"\#\$\&\'\`$am_lf]*)
   2444     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2445 esac
   2446 case $srcdir in
   2447   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2448     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2449 esac
   2450 
   2451 # Do 'set' in a subshell so we don't clobber the current shell's
   2452 # arguments.  Must try -L first in case configure is actually a
   2453 # symlink; some systems play weird games with the mod time of symlinks
   2454 # (eg FreeBSD returns the mod time of the symlink's containing
   2455 # directory).
   2456 if (
   2457    am_has_slept=no
   2458    for am_try in 1 2; do
   2459      echo "timestamp, slept: $am_has_slept" > conftest.file
   2460      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2461      if test "$*" = "X"; then
   2462 	# -L didn't work.
   2463 	set X `ls -t "$srcdir/configure" conftest.file`
   2464      fi
   2465      if test "$*" != "X $srcdir/configure conftest.file" \
   2466 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2467 
   2468 	# If neither matched, then we have a broken ls.  This can happen
   2469 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2470 	# broken ls alias from the environment.  This has actually
   2471 	# happened.  Such a system could not be considered "sane".
   2472 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2473   alias in your environment" "$LINENO" 5
   2474      fi
   2475      if test "$2" = conftest.file || test $am_try -eq 2; then
   2476        break
   2477      fi
   2478      # Just in case.
   2479      sleep 1
   2480      am_has_slept=yes
   2481    done
   2482    test "$2" = conftest.file
   2483    )
   2484 then
   2485    # Ok.
   2486    :
   2487 else
   2488    as_fn_error $? "newly created file is older than distributed files!
   2489 Check your system clock" "$LINENO" 5
   2490 fi
   2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2492 $as_echo "yes" >&6; }
   2493 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2494 # generated files are strictly newer.
   2495 am_sleep_pid=
   2496 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2497   ( sleep 1 ) &
   2498   am_sleep_pid=$!
   2499 fi
   2500 
   2501 rm -f conftest.file
   2502 
   2503 test "$program_prefix" != NONE &&
   2504   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2505 # Use a double $ so make ignores it.
   2506 test "$program_suffix" != NONE &&
   2507   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2508 # Double any \ or $.
   2509 # By default was `s,x,x', remove it if useless.
   2510 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2511 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2512 
   2513 # Expand $ac_aux_dir to an absolute path.
   2514 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2515 
   2516 if test x"${MISSING+set}" != xset; then
   2517   case $am_aux_dir in
   2518   *\ * | *\	*)
   2519     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2520   *)
   2521     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2522   esac
   2523 fi
   2524 # Use eval to expand $SHELL
   2525 if eval "$MISSING --is-lightweight"; then
   2526   am_missing_run="$MISSING "
   2527 else
   2528   am_missing_run=
   2529   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2530 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2531 fi
   2532 
   2533 if test x"${install_sh+set}" != xset; then
   2534   case $am_aux_dir in
   2535   *\ * | *\	*)
   2536     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2537   *)
   2538     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2539   esac
   2540 fi
   2541 
   2542 # Installed binaries are usually stripped using 'strip' when the user
   2543 # run "make install-strip".  However 'strip' might not be the right
   2544 # tool to use in cross-compilation environments, therefore Automake
   2545 # will honor the 'STRIP' environment variable to overrule this program.
   2546 if test "$cross_compiling" != no; then
   2547   if test -n "$ac_tool_prefix"; then
   2548   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2549 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2551 $as_echo_n "checking for $ac_word... " >&6; }
   2552 if ${ac_cv_prog_STRIP+:} false; then :
   2553   $as_echo_n "(cached) " >&6
   2554 else
   2555   if test -n "$STRIP"; then
   2556   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2557 else
   2558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2559 for as_dir in $PATH
   2560 do
   2561   IFS=$as_save_IFS
   2562   test -z "$as_dir" && as_dir=.
   2563     for ac_exec_ext in '' $ac_executable_extensions; do
   2564   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2565     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2566     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2567     break 2
   2568   fi
   2569 done
   2570   done
   2571 IFS=$as_save_IFS
   2572 
   2573 fi
   2574 fi
   2575 STRIP=$ac_cv_prog_STRIP
   2576 if test -n "$STRIP"; then
   2577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2578 $as_echo "$STRIP" >&6; }
   2579 else
   2580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2581 $as_echo "no" >&6; }
   2582 fi
   2583 
   2584 
   2585 fi
   2586 if test -z "$ac_cv_prog_STRIP"; then
   2587   ac_ct_STRIP=$STRIP
   2588   # Extract the first word of "strip", so it can be a program name with args.
   2589 set dummy strip; ac_word=$2
   2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2591 $as_echo_n "checking for $ac_word... " >&6; }
   2592 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2593   $as_echo_n "(cached) " >&6
   2594 else
   2595   if test -n "$ac_ct_STRIP"; then
   2596   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2597 else
   2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2599 for as_dir in $PATH
   2600 do
   2601   IFS=$as_save_IFS
   2602   test -z "$as_dir" && as_dir=.
   2603     for ac_exec_ext in '' $ac_executable_extensions; do
   2604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2605     ac_cv_prog_ac_ct_STRIP="strip"
   2606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2607     break 2
   2608   fi
   2609 done
   2610   done
   2611 IFS=$as_save_IFS
   2612 
   2613 fi
   2614 fi
   2615 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2616 if test -n "$ac_ct_STRIP"; then
   2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2618 $as_echo "$ac_ct_STRIP" >&6; }
   2619 else
   2620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2621 $as_echo "no" >&6; }
   2622 fi
   2623 
   2624   if test "x$ac_ct_STRIP" = x; then
   2625     STRIP=":"
   2626   else
   2627     case $cross_compiling:$ac_tool_warned in
   2628 yes:)
   2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2631 ac_tool_warned=yes ;;
   2632 esac
   2633     STRIP=$ac_ct_STRIP
   2634   fi
   2635 else
   2636   STRIP="$ac_cv_prog_STRIP"
   2637 fi
   2638 
   2639 fi
   2640 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2641 
   2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2643 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2644 if test -z "$MKDIR_P"; then
   2645   if ${ac_cv_path_mkdir+:} false; then :
   2646   $as_echo_n "(cached) " >&6
   2647 else
   2648   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2649 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2650 do
   2651   IFS=$as_save_IFS
   2652   test -z "$as_dir" && as_dir=.
   2653     for ac_prog in mkdir gmkdir; do
   2654 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2655 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2656 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2657 	     'mkdir (GNU coreutils) '* | \
   2658 	     'mkdir (coreutils) '* | \
   2659 	     'mkdir (fileutils) '4.1*)
   2660 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2661 	       break 3;;
   2662 	   esac
   2663 	 done
   2664        done
   2665   done
   2666 IFS=$as_save_IFS
   2667 
   2668 fi
   2669 
   2670   test -d ./--version && rmdir ./--version
   2671   if test "${ac_cv_path_mkdir+set}" = set; then
   2672     MKDIR_P="$ac_cv_path_mkdir -p"
   2673   else
   2674     # As a last resort, use the slow shell script.  Don't cache a
   2675     # value for MKDIR_P within a source directory, because that will
   2676     # break other packages using the cache if that directory is
   2677     # removed, or if the value is a relative name.
   2678     MKDIR_P="$ac_install_sh -d"
   2679   fi
   2680 fi
   2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2682 $as_echo "$MKDIR_P" >&6; }
   2683 
   2684 for ac_prog in gawk mawk nawk awk
   2685 do
   2686   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2687 set dummy $ac_prog; ac_word=$2
   2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2689 $as_echo_n "checking for $ac_word... " >&6; }
   2690 if ${ac_cv_prog_AWK+:} false; then :
   2691   $as_echo_n "(cached) " >&6
   2692 else
   2693   if test -n "$AWK"; then
   2694   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2695 else
   2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2697 for as_dir in $PATH
   2698 do
   2699   IFS=$as_save_IFS
   2700   test -z "$as_dir" && as_dir=.
   2701     for ac_exec_ext in '' $ac_executable_extensions; do
   2702   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2703     ac_cv_prog_AWK="$ac_prog"
   2704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2705     break 2
   2706   fi
   2707 done
   2708   done
   2709 IFS=$as_save_IFS
   2710 
   2711 fi
   2712 fi
   2713 AWK=$ac_cv_prog_AWK
   2714 if test -n "$AWK"; then
   2715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2716 $as_echo "$AWK" >&6; }
   2717 else
   2718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2719 $as_echo "no" >&6; }
   2720 fi
   2721 
   2722 
   2723   test -n "$AWK" && break
   2724 done
   2725 
   2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2727 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2728 set x ${MAKE-make}
   2729 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2730 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2731   $as_echo_n "(cached) " >&6
   2732 else
   2733   cat >conftest.make <<\_ACEOF
   2734 SHELL = /bin/sh
   2735 all:
   2736 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2737 _ACEOF
   2738 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2739 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2740   *@@@%%%=?*=@@@%%%*)
   2741     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2742   *)
   2743     eval ac_cv_prog_make_${ac_make}_set=no;;
   2744 esac
   2745 rm -f conftest.make
   2746 fi
   2747 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2749 $as_echo "yes" >&6; }
   2750   SET_MAKE=
   2751 else
   2752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2753 $as_echo "no" >&6; }
   2754   SET_MAKE="MAKE=${MAKE-make}"
   2755 fi
   2756 
   2757 rm -rf .tst 2>/dev/null
   2758 mkdir .tst 2>/dev/null
   2759 if test -d .tst; then
   2760   am__leading_dot=.
   2761 else
   2762   am__leading_dot=_
   2763 fi
   2764 rmdir .tst 2>/dev/null
   2765 
   2766 # Check whether --enable-silent-rules was given.
   2767 if test "${enable_silent_rules+set}" = set; then :
   2768   enableval=$enable_silent_rules;
   2769 fi
   2770 
   2771 case $enable_silent_rules in # (((
   2772   yes) AM_DEFAULT_VERBOSITY=0;;
   2773    no) AM_DEFAULT_VERBOSITY=1;;
   2774     *) AM_DEFAULT_VERBOSITY=1;;
   2775 esac
   2776 am_make=${MAKE-make}
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2778 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2779 if ${am_cv_make_support_nested_variables+:} false; then :
   2780   $as_echo_n "(cached) " >&6
   2781 else
   2782   if $as_echo 'TRUE=$(BAR$(V))
   2783 BAR0=false
   2784 BAR1=true
   2785 V=1
   2786 am__doit:
   2787 	@$(TRUE)
   2788 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2789   am_cv_make_support_nested_variables=yes
   2790 else
   2791   am_cv_make_support_nested_variables=no
   2792 fi
   2793 fi
   2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2795 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2796 if test $am_cv_make_support_nested_variables = yes; then
   2797     AM_V='$(V)'
   2798   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2799 else
   2800   AM_V=$AM_DEFAULT_VERBOSITY
   2801   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2802 fi
   2803 AM_BACKSLASH='\'
   2804 
   2805 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2806   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2807   # is not polluted with repeated "-I."
   2808   am__isrc=' -I$(srcdir)'
   2809   # test to see if srcdir already configured
   2810   if test -f $srcdir/config.status; then
   2811     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2812   fi
   2813 fi
   2814 
   2815 # test whether we have cygpath
   2816 if test -z "$CYGPATH_W"; then
   2817   if (cygpath --version) >/dev/null 2>/dev/null; then
   2818     CYGPATH_W='cygpath -w'
   2819   else
   2820     CYGPATH_W=echo
   2821   fi
   2822 fi
   2823 
   2824 
   2825 # Define the identity of the package.
   2826  PACKAGE='libfontenc'
   2827  VERSION='1.1.3'
   2828 
   2829 
   2830 cat >>confdefs.h <<_ACEOF
   2831 #define PACKAGE "$PACKAGE"
   2832 _ACEOF
   2833 
   2834 
   2835 cat >>confdefs.h <<_ACEOF
   2836 #define VERSION "$VERSION"
   2837 _ACEOF
   2838 
   2839 # Some tools Automake needs.
   2840 
   2841 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2842 
   2843 
   2844 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2845 
   2846 
   2847 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2848 
   2849 
   2850 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2851 
   2852 
   2853 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2854 
   2855 # For better backward compatibility.  To be removed once Automake 1.9.x
   2856 # dies out for good.  For more background, see:
   2857 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2858 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2859 mkdir_p='$(MKDIR_P)'
   2860 
   2861 # We need awk for the "check" target (and possibly the TAP driver).  The
   2862 # system "awk" is bad on some platforms.
   2863 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2864 # in the wild :-(  We should find a proper way to deprecate it ...
   2865 AMTAR='$${TAR-tar}'
   2866 
   2867 
   2868 # We'll loop over all known methods to create a tar archive until one works.
   2869 _am_tools='gnutar  pax cpio none'
   2870 
   2871 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2872 
   2873 
   2874 
   2875 
   2876 
   2877 
   2878 # POSIX will say in a future version that running "rm -f" with no argument
   2879 # is OK; and we want to be able to make that assumption in our Makefile
   2880 # recipes.  So use an aggressive probe to check that the usage we want is
   2881 # actually supported "in the wild" to an acceptable degree.
   2882 # See automake bug#10828.
   2883 # To make any issue more visible, cause the running configure to be aborted
   2884 # by default if the 'rm' program in use doesn't match our expectations; the
   2885 # user can still override this though.
   2886 if rm -f && rm -fr && rm -rf; then : OK; else
   2887   cat >&2 <<'END'
   2888 Oops!
   2889 
   2890 Your 'rm' program seems unable to run without file operands specified
   2891 on the command line, even when the '-f' option is present.  This is contrary
   2892 to the behaviour of most rm programs out there, and not conforming with
   2893 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2894 
   2895 Please tell bug-automake@gnu.org about your system, including the value
   2896 of your $PATH and any error possibly output before this message.  This
   2897 can help us improve future automake versions.
   2898 
   2899 END
   2900   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2901     echo 'Configuration will proceed anyway, since you have set the' >&2
   2902     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2903     echo >&2
   2904   else
   2905     cat >&2 <<'END'
   2906 Aborting the configuration process, to ensure you take notice of the issue.
   2907 
   2908 You can download and install GNU coreutils to get an 'rm' implementation
   2909 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2910 
   2911 If you want to complete the configuration process using your problematic
   2912 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2913 to "yes", and re-run configure.
   2914 
   2915 END
   2916     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2917   fi
   2918 fi
   2919 
   2920 
   2921 # Initialize libtool
   2922 case `pwd` in
   2923   *\ * | *\	*)
   2924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2925 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2926 esac
   2927 
   2928 
   2929 
   2930 macro_version='2.4.2'
   2931 macro_revision='1.3337'
   2932 
   2933 
   2934 
   2935 
   2936 
   2937 
   2938 
   2939 
   2940 
   2941 
   2942 
   2943 
   2944 
   2945 ltmain="$ac_aux_dir/ltmain.sh"
   2946 
   2947 # Make sure we can run config.sub.
   2948 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2949   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2950 
   2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2952 $as_echo_n "checking build system type... " >&6; }
   2953 if ${ac_cv_build+:} false; then :
   2954   $as_echo_n "(cached) " >&6
   2955 else
   2956   ac_build_alias=$build_alias
   2957 test "x$ac_build_alias" = x &&
   2958   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2959 test "x$ac_build_alias" = x &&
   2960   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2961 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2962   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2963 
   2964 fi
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2966 $as_echo "$ac_cv_build" >&6; }
   2967 case $ac_cv_build in
   2968 *-*-*) ;;
   2969 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2970 esac
   2971 build=$ac_cv_build
   2972 ac_save_IFS=$IFS; IFS='-'
   2973 set x $ac_cv_build
   2974 shift
   2975 build_cpu=$1
   2976 build_vendor=$2
   2977 shift; shift
   2978 # Remember, the first character of IFS is used to create $*,
   2979 # except with old shells:
   2980 build_os=$*
   2981 IFS=$ac_save_IFS
   2982 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2983 
   2984 
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2986 $as_echo_n "checking host system type... " >&6; }
   2987 if ${ac_cv_host+:} false; then :
   2988   $as_echo_n "(cached) " >&6
   2989 else
   2990   if test "x$host_alias" = x; then
   2991   ac_cv_host=$ac_cv_build
   2992 else
   2993   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2994     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2995 fi
   2996 
   2997 fi
   2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2999 $as_echo "$ac_cv_host" >&6; }
   3000 case $ac_cv_host in
   3001 *-*-*) ;;
   3002 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3003 esac
   3004 host=$ac_cv_host
   3005 ac_save_IFS=$IFS; IFS='-'
   3006 set x $ac_cv_host
   3007 shift
   3008 host_cpu=$1
   3009 host_vendor=$2
   3010 shift; shift
   3011 # Remember, the first character of IFS is used to create $*,
   3012 # except with old shells:
   3013 host_os=$*
   3014 IFS=$ac_save_IFS
   3015 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3016 
   3017 
   3018 # Backslashify metacharacters that are still active within
   3019 # double-quoted strings.
   3020 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3021 
   3022 # Same as above, but do not quote variable references.
   3023 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3024 
   3025 # Sed substitution to delay expansion of an escaped shell variable in a
   3026 # double_quote_subst'ed string.
   3027 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3028 
   3029 # Sed substitution to delay expansion of an escaped single quote.
   3030 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3031 
   3032 # Sed substitution to avoid accidental globbing in evaled expressions
   3033 no_glob_subst='s/\*/\\\*/g'
   3034 
   3035 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3036 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3037 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3038 
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3040 $as_echo_n "checking how to print strings... " >&6; }
   3041 # Test print first, because it will be a builtin if present.
   3042 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3043    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3044   ECHO='print -r --'
   3045 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3046   ECHO='printf %s\n'
   3047 else
   3048   # Use this function as a fallback that always works.
   3049   func_fallback_echo ()
   3050   {
   3051     eval 'cat <<_LTECHO_EOF
   3052 $1
   3053 _LTECHO_EOF'
   3054   }
   3055   ECHO='func_fallback_echo'
   3056 fi
   3057 
   3058 # func_echo_all arg...
   3059 # Invoke $ECHO with all args, space-separated.
   3060 func_echo_all ()
   3061 {
   3062     $ECHO ""
   3063 }
   3064 
   3065 case "$ECHO" in
   3066   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3067 $as_echo "printf" >&6; } ;;
   3068   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3069 $as_echo "print -r" >&6; } ;;
   3070   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3071 $as_echo "cat" >&6; } ;;
   3072 esac
   3073 
   3074 
   3075 
   3076 
   3077 
   3078 
   3079 
   3080 
   3081 
   3082 
   3083 
   3084 
   3085 
   3086 
   3087 DEPDIR="${am__leading_dot}deps"
   3088 
   3089 ac_config_commands="$ac_config_commands depfiles"
   3090 
   3091 
   3092 am_make=${MAKE-make}
   3093 cat > confinc << 'END'
   3094 am__doit:
   3095 	@echo this is the am__doit target
   3096 .PHONY: am__doit
   3097 END
   3098 # If we don't find an include directive, just comment out the code.
   3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3100 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3101 am__include="#"
   3102 am__quote=
   3103 _am_result=none
   3104 # First try GNU make style include.
   3105 echo "include confinc" > confmf
   3106 # Ignore all kinds of additional output from 'make'.
   3107 case `$am_make -s -f confmf 2> /dev/null` in #(
   3108 *the\ am__doit\ target*)
   3109   am__include=include
   3110   am__quote=
   3111   _am_result=GNU
   3112   ;;
   3113 esac
   3114 # Now try BSD make style include.
   3115 if test "$am__include" = "#"; then
   3116    echo '.include "confinc"' > confmf
   3117    case `$am_make -s -f confmf 2> /dev/null` in #(
   3118    *the\ am__doit\ target*)
   3119      am__include=.include
   3120      am__quote="\""
   3121      _am_result=BSD
   3122      ;;
   3123    esac
   3124 fi
   3125 
   3126 
   3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3128 $as_echo "$_am_result" >&6; }
   3129 rm -f confinc confmf
   3130 
   3131 # Check whether --enable-dependency-tracking was given.
   3132 if test "${enable_dependency_tracking+set}" = set; then :
   3133   enableval=$enable_dependency_tracking;
   3134 fi
   3135 
   3136 if test "x$enable_dependency_tracking" != xno; then
   3137   am_depcomp="$ac_aux_dir/depcomp"
   3138   AMDEPBACKSLASH='\'
   3139   am__nodep='_no'
   3140 fi
   3141  if test "x$enable_dependency_tracking" != xno; then
   3142   AMDEP_TRUE=
   3143   AMDEP_FALSE='#'
   3144 else
   3145   AMDEP_TRUE='#'
   3146   AMDEP_FALSE=
   3147 fi
   3148 
   3149 
   3150 ac_ext=c
   3151 ac_cpp='$CPP $CPPFLAGS'
   3152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3155 if test -n "$ac_tool_prefix"; then
   3156   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3157 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3159 $as_echo_n "checking for $ac_word... " >&6; }
   3160 if ${ac_cv_prog_CC+:} false; then :
   3161   $as_echo_n "(cached) " >&6
   3162 else
   3163   if test -n "$CC"; then
   3164   ac_cv_prog_CC="$CC" # Let the user override the test.
   3165 else
   3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3167 for as_dir in $PATH
   3168 do
   3169   IFS=$as_save_IFS
   3170   test -z "$as_dir" && as_dir=.
   3171     for ac_exec_ext in '' $ac_executable_extensions; do
   3172   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3173     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3175     break 2
   3176   fi
   3177 done
   3178   done
   3179 IFS=$as_save_IFS
   3180 
   3181 fi
   3182 fi
   3183 CC=$ac_cv_prog_CC
   3184 if test -n "$CC"; then
   3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3186 $as_echo "$CC" >&6; }
   3187 else
   3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3189 $as_echo "no" >&6; }
   3190 fi
   3191 
   3192 
   3193 fi
   3194 if test -z "$ac_cv_prog_CC"; then
   3195   ac_ct_CC=$CC
   3196   # Extract the first word of "gcc", so it can be a program name with args.
   3197 set dummy gcc; ac_word=$2
   3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3199 $as_echo_n "checking for $ac_word... " >&6; }
   3200 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3201   $as_echo_n "(cached) " >&6
   3202 else
   3203   if test -n "$ac_ct_CC"; then
   3204   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3205 else
   3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3207 for as_dir in $PATH
   3208 do
   3209   IFS=$as_save_IFS
   3210   test -z "$as_dir" && as_dir=.
   3211     for ac_exec_ext in '' $ac_executable_extensions; do
   3212   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3213     ac_cv_prog_ac_ct_CC="gcc"
   3214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3215     break 2
   3216   fi
   3217 done
   3218   done
   3219 IFS=$as_save_IFS
   3220 
   3221 fi
   3222 fi
   3223 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3224 if test -n "$ac_ct_CC"; then
   3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3226 $as_echo "$ac_ct_CC" >&6; }
   3227 else
   3228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3229 $as_echo "no" >&6; }
   3230 fi
   3231 
   3232   if test "x$ac_ct_CC" = x; then
   3233     CC=""
   3234   else
   3235     case $cross_compiling:$ac_tool_warned in
   3236 yes:)
   3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3238 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3239 ac_tool_warned=yes ;;
   3240 esac
   3241     CC=$ac_ct_CC
   3242   fi
   3243 else
   3244   CC="$ac_cv_prog_CC"
   3245 fi
   3246 
   3247 if test -z "$CC"; then
   3248           if test -n "$ac_tool_prefix"; then
   3249     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3250 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3252 $as_echo_n "checking for $ac_word... " >&6; }
   3253 if ${ac_cv_prog_CC+:} false; then :
   3254   $as_echo_n "(cached) " >&6
   3255 else
   3256   if test -n "$CC"; then
   3257   ac_cv_prog_CC="$CC" # Let the user override the test.
   3258 else
   3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3260 for as_dir in $PATH
   3261 do
   3262   IFS=$as_save_IFS
   3263   test -z "$as_dir" && as_dir=.
   3264     for ac_exec_ext in '' $ac_executable_extensions; do
   3265   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3266     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3268     break 2
   3269   fi
   3270 done
   3271   done
   3272 IFS=$as_save_IFS
   3273 
   3274 fi
   3275 fi
   3276 CC=$ac_cv_prog_CC
   3277 if test -n "$CC"; then
   3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3279 $as_echo "$CC" >&6; }
   3280 else
   3281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3282 $as_echo "no" >&6; }
   3283 fi
   3284 
   3285 
   3286   fi
   3287 fi
   3288 if test -z "$CC"; then
   3289   # Extract the first word of "cc", so it can be a program name with args.
   3290 set dummy cc; ac_word=$2
   3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3292 $as_echo_n "checking for $ac_word... " >&6; }
   3293 if ${ac_cv_prog_CC+:} false; then :
   3294   $as_echo_n "(cached) " >&6
   3295 else
   3296   if test -n "$CC"; then
   3297   ac_cv_prog_CC="$CC" # Let the user override the test.
   3298 else
   3299   ac_prog_rejected=no
   3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3301 for as_dir in $PATH
   3302 do
   3303   IFS=$as_save_IFS
   3304   test -z "$as_dir" && as_dir=.
   3305     for ac_exec_ext in '' $ac_executable_extensions; do
   3306   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3307     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3308        ac_prog_rejected=yes
   3309        continue
   3310      fi
   3311     ac_cv_prog_CC="cc"
   3312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3313     break 2
   3314   fi
   3315 done
   3316   done
   3317 IFS=$as_save_IFS
   3318 
   3319 if test $ac_prog_rejected = yes; then
   3320   # We found a bogon in the path, so make sure we never use it.
   3321   set dummy $ac_cv_prog_CC
   3322   shift
   3323   if test $# != 0; then
   3324     # We chose a different compiler from the bogus one.
   3325     # However, it has the same basename, so the bogon will be chosen
   3326     # first if we set CC to just the basename; use the full file name.
   3327     shift
   3328     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3329   fi
   3330 fi
   3331 fi
   3332 fi
   3333 CC=$ac_cv_prog_CC
   3334 if test -n "$CC"; then
   3335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3336 $as_echo "$CC" >&6; }
   3337 else
   3338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3339 $as_echo "no" >&6; }
   3340 fi
   3341 
   3342 
   3343 fi
   3344 if test -z "$CC"; then
   3345   if test -n "$ac_tool_prefix"; then
   3346   for ac_prog in cl.exe
   3347   do
   3348     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3349 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3351 $as_echo_n "checking for $ac_word... " >&6; }
   3352 if ${ac_cv_prog_CC+:} false; then :
   3353   $as_echo_n "(cached) " >&6
   3354 else
   3355   if test -n "$CC"; then
   3356   ac_cv_prog_CC="$CC" # Let the user override the test.
   3357 else
   3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3359 for as_dir in $PATH
   3360 do
   3361   IFS=$as_save_IFS
   3362   test -z "$as_dir" && as_dir=.
   3363     for ac_exec_ext in '' $ac_executable_extensions; do
   3364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3365     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3367     break 2
   3368   fi
   3369 done
   3370   done
   3371 IFS=$as_save_IFS
   3372 
   3373 fi
   3374 fi
   3375 CC=$ac_cv_prog_CC
   3376 if test -n "$CC"; then
   3377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3378 $as_echo "$CC" >&6; }
   3379 else
   3380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3381 $as_echo "no" >&6; }
   3382 fi
   3383 
   3384 
   3385     test -n "$CC" && break
   3386   done
   3387 fi
   3388 if test -z "$CC"; then
   3389   ac_ct_CC=$CC
   3390   for ac_prog in cl.exe
   3391 do
   3392   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3393 set dummy $ac_prog; ac_word=$2
   3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3395 $as_echo_n "checking for $ac_word... " >&6; }
   3396 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3397   $as_echo_n "(cached) " >&6
   3398 else
   3399   if test -n "$ac_ct_CC"; then
   3400   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3401 else
   3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3403 for as_dir in $PATH
   3404 do
   3405   IFS=$as_save_IFS
   3406   test -z "$as_dir" && as_dir=.
   3407     for ac_exec_ext in '' $ac_executable_extensions; do
   3408   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3409     ac_cv_prog_ac_ct_CC="$ac_prog"
   3410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3411     break 2
   3412   fi
   3413 done
   3414   done
   3415 IFS=$as_save_IFS
   3416 
   3417 fi
   3418 fi
   3419 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3420 if test -n "$ac_ct_CC"; then
   3421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3422 $as_echo "$ac_ct_CC" >&6; }
   3423 else
   3424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3425 $as_echo "no" >&6; }
   3426 fi
   3427 
   3428 
   3429   test -n "$ac_ct_CC" && break
   3430 done
   3431 
   3432   if test "x$ac_ct_CC" = x; then
   3433     CC=""
   3434   else
   3435     case $cross_compiling:$ac_tool_warned in
   3436 yes:)
   3437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3439 ac_tool_warned=yes ;;
   3440 esac
   3441     CC=$ac_ct_CC
   3442   fi
   3443 fi
   3444 
   3445 fi
   3446 
   3447 
   3448 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3450 as_fn_error $? "no acceptable C compiler found in \$PATH
   3451 See \`config.log' for more details" "$LINENO" 5; }
   3452 
   3453 # Provide some information about the compiler.
   3454 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3455 set X $ac_compile
   3456 ac_compiler=$2
   3457 for ac_option in --version -v -V -qversion; do
   3458   { { ac_try="$ac_compiler $ac_option >&5"
   3459 case "(($ac_try" in
   3460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3461   *) ac_try_echo=$ac_try;;
   3462 esac
   3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3464 $as_echo "$ac_try_echo"; } >&5
   3465   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3466   ac_status=$?
   3467   if test -s conftest.err; then
   3468     sed '10a\
   3469 ... rest of stderr output deleted ...
   3470          10q' conftest.err >conftest.er1
   3471     cat conftest.er1 >&5
   3472   fi
   3473   rm -f conftest.er1 conftest.err
   3474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3475   test $ac_status = 0; }
   3476 done
   3477 
   3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3479 /* end confdefs.h.  */
   3480 
   3481 int
   3482 main ()
   3483 {
   3484 
   3485   ;
   3486   return 0;
   3487 }
   3488 _ACEOF
   3489 ac_clean_files_save=$ac_clean_files
   3490 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3491 # Try to create an executable without -o first, disregard a.out.
   3492 # It will help us diagnose broken compilers, and finding out an intuition
   3493 # of exeext.
   3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3495 $as_echo_n "checking whether the C compiler works... " >&6; }
   3496 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3497 
   3498 # The possible output files:
   3499 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3500 
   3501 ac_rmfiles=
   3502 for ac_file in $ac_files
   3503 do
   3504   case $ac_file in
   3505     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3506     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3507   esac
   3508 done
   3509 rm -f $ac_rmfiles
   3510 
   3511 if { { ac_try="$ac_link_default"
   3512 case "(($ac_try" in
   3513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3514   *) ac_try_echo=$ac_try;;
   3515 esac
   3516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3517 $as_echo "$ac_try_echo"; } >&5
   3518   (eval "$ac_link_default") 2>&5
   3519   ac_status=$?
   3520   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3521   test $ac_status = 0; }; then :
   3522   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3523 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3524 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3525 # so that the user can short-circuit this test for compilers unknown to
   3526 # Autoconf.
   3527 for ac_file in $ac_files ''
   3528 do
   3529   test -f "$ac_file" || continue
   3530   case $ac_file in
   3531     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3532 	;;
   3533     [ab].out )
   3534 	# We found the default executable, but exeext='' is most
   3535 	# certainly right.
   3536 	break;;
   3537     *.* )
   3538 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3539 	then :; else
   3540 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3541 	fi
   3542 	# We set ac_cv_exeext here because the later test for it is not
   3543 	# safe: cross compilers may not add the suffix if given an `-o'
   3544 	# argument, so we may need to know it at that point already.
   3545 	# Even if this section looks crufty: it has the advantage of
   3546 	# actually working.
   3547 	break;;
   3548     * )
   3549 	break;;
   3550   esac
   3551 done
   3552 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3553 
   3554 else
   3555   ac_file=''
   3556 fi
   3557 if test -z "$ac_file"; then :
   3558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3559 $as_echo "no" >&6; }
   3560 $as_echo "$as_me: failed program was:" >&5
   3561 sed 's/^/| /' conftest.$ac_ext >&5
   3562 
   3563 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3564 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3565 as_fn_error 77 "C compiler cannot create executables
   3566 See \`config.log' for more details" "$LINENO" 5; }
   3567 else
   3568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3569 $as_echo "yes" >&6; }
   3570 fi
   3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3572 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3574 $as_echo "$ac_file" >&6; }
   3575 ac_exeext=$ac_cv_exeext
   3576 
   3577 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3578 ac_clean_files=$ac_clean_files_save
   3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3580 $as_echo_n "checking for suffix of executables... " >&6; }
   3581 if { { ac_try="$ac_link"
   3582 case "(($ac_try" in
   3583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3584   *) ac_try_echo=$ac_try;;
   3585 esac
   3586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3587 $as_echo "$ac_try_echo"; } >&5
   3588   (eval "$ac_link") 2>&5
   3589   ac_status=$?
   3590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3591   test $ac_status = 0; }; then :
   3592   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3593 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3594 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3595 # `rm'.
   3596 for ac_file in conftest.exe conftest conftest.*; do
   3597   test -f "$ac_file" || continue
   3598   case $ac_file in
   3599     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3600     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3601 	  break;;
   3602     * ) break;;
   3603   esac
   3604 done
   3605 else
   3606   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3608 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3609 See \`config.log' for more details" "$LINENO" 5; }
   3610 fi
   3611 rm -f conftest conftest$ac_cv_exeext
   3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3613 $as_echo "$ac_cv_exeext" >&6; }
   3614 
   3615 rm -f conftest.$ac_ext
   3616 EXEEXT=$ac_cv_exeext
   3617 ac_exeext=$EXEEXT
   3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3619 /* end confdefs.h.  */
   3620 #include <stdio.h>
   3621 int
   3622 main ()
   3623 {
   3624 FILE *f = fopen ("conftest.out", "w");
   3625  return ferror (f) || fclose (f) != 0;
   3626 
   3627   ;
   3628   return 0;
   3629 }
   3630 _ACEOF
   3631 ac_clean_files="$ac_clean_files conftest.out"
   3632 # Check that the compiler produces executables we can run.  If not, either
   3633 # the compiler is broken, or we cross compile.
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3635 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3636 if test "$cross_compiling" != yes; then
   3637   { { ac_try="$ac_link"
   3638 case "(($ac_try" in
   3639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3640   *) ac_try_echo=$ac_try;;
   3641 esac
   3642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3643 $as_echo "$ac_try_echo"; } >&5
   3644   (eval "$ac_link") 2>&5
   3645   ac_status=$?
   3646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3647   test $ac_status = 0; }
   3648   if { ac_try='./conftest$ac_cv_exeext'
   3649   { { case "(($ac_try" in
   3650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3651   *) ac_try_echo=$ac_try;;
   3652 esac
   3653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3654 $as_echo "$ac_try_echo"; } >&5
   3655   (eval "$ac_try") 2>&5
   3656   ac_status=$?
   3657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3658   test $ac_status = 0; }; }; then
   3659     cross_compiling=no
   3660   else
   3661     if test "$cross_compiling" = maybe; then
   3662 	cross_compiling=yes
   3663     else
   3664 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3666 as_fn_error $? "cannot run C compiled programs.
   3667 If you meant to cross compile, use \`--host'.
   3668 See \`config.log' for more details" "$LINENO" 5; }
   3669     fi
   3670   fi
   3671 fi
   3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3673 $as_echo "$cross_compiling" >&6; }
   3674 
   3675 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3676 ac_clean_files=$ac_clean_files_save
   3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3678 $as_echo_n "checking for suffix of object files... " >&6; }
   3679 if ${ac_cv_objext+:} false; then :
   3680   $as_echo_n "(cached) " >&6
   3681 else
   3682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3683 /* end confdefs.h.  */
   3684 
   3685 int
   3686 main ()
   3687 {
   3688 
   3689   ;
   3690   return 0;
   3691 }
   3692 _ACEOF
   3693 rm -f conftest.o conftest.obj
   3694 if { { ac_try="$ac_compile"
   3695 case "(($ac_try" in
   3696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3697   *) ac_try_echo=$ac_try;;
   3698 esac
   3699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3700 $as_echo "$ac_try_echo"; } >&5
   3701   (eval "$ac_compile") 2>&5
   3702   ac_status=$?
   3703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3704   test $ac_status = 0; }; then :
   3705   for ac_file in conftest.o conftest.obj conftest.*; do
   3706   test -f "$ac_file" || continue;
   3707   case $ac_file in
   3708     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3709     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3710        break;;
   3711   esac
   3712 done
   3713 else
   3714   $as_echo "$as_me: failed program was:" >&5
   3715 sed 's/^/| /' conftest.$ac_ext >&5
   3716 
   3717 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3719 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3720 See \`config.log' for more details" "$LINENO" 5; }
   3721 fi
   3722 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3723 fi
   3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3725 $as_echo "$ac_cv_objext" >&6; }
   3726 OBJEXT=$ac_cv_objext
   3727 ac_objext=$OBJEXT
   3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3729 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3730 if ${ac_cv_c_compiler_gnu+:} false; then :
   3731   $as_echo_n "(cached) " >&6
   3732 else
   3733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3734 /* end confdefs.h.  */
   3735 
   3736 int
   3737 main ()
   3738 {
   3739 #ifndef __GNUC__
   3740        choke me
   3741 #endif
   3742 
   3743   ;
   3744   return 0;
   3745 }
   3746 _ACEOF
   3747 if ac_fn_c_try_compile "$LINENO"; then :
   3748   ac_compiler_gnu=yes
   3749 else
   3750   ac_compiler_gnu=no
   3751 fi
   3752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3753 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3754 
   3755 fi
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3757 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3758 if test $ac_compiler_gnu = yes; then
   3759   GCC=yes
   3760 else
   3761   GCC=
   3762 fi
   3763 ac_test_CFLAGS=${CFLAGS+set}
   3764 ac_save_CFLAGS=$CFLAGS
   3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3766 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3767 if ${ac_cv_prog_cc_g+:} false; then :
   3768   $as_echo_n "(cached) " >&6
   3769 else
   3770   ac_save_c_werror_flag=$ac_c_werror_flag
   3771    ac_c_werror_flag=yes
   3772    ac_cv_prog_cc_g=no
   3773    CFLAGS="-g"
   3774    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3775 /* end confdefs.h.  */
   3776 
   3777 int
   3778 main ()
   3779 {
   3780 
   3781   ;
   3782   return 0;
   3783 }
   3784 _ACEOF
   3785 if ac_fn_c_try_compile "$LINENO"; then :
   3786   ac_cv_prog_cc_g=yes
   3787 else
   3788   CFLAGS=""
   3789       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3790 /* end confdefs.h.  */
   3791 
   3792 int
   3793 main ()
   3794 {
   3795 
   3796   ;
   3797   return 0;
   3798 }
   3799 _ACEOF
   3800 if ac_fn_c_try_compile "$LINENO"; then :
   3801 
   3802 else
   3803   ac_c_werror_flag=$ac_save_c_werror_flag
   3804 	 CFLAGS="-g"
   3805 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3806 /* end confdefs.h.  */
   3807 
   3808 int
   3809 main ()
   3810 {
   3811 
   3812   ;
   3813   return 0;
   3814 }
   3815 _ACEOF
   3816 if ac_fn_c_try_compile "$LINENO"; then :
   3817   ac_cv_prog_cc_g=yes
   3818 fi
   3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3820 fi
   3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3822 fi
   3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3824    ac_c_werror_flag=$ac_save_c_werror_flag
   3825 fi
   3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3827 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3828 if test "$ac_test_CFLAGS" = set; then
   3829   CFLAGS=$ac_save_CFLAGS
   3830 elif test $ac_cv_prog_cc_g = yes; then
   3831   if test "$GCC" = yes; then
   3832     CFLAGS="-g -O2"
   3833   else
   3834     CFLAGS="-g"
   3835   fi
   3836 else
   3837   if test "$GCC" = yes; then
   3838     CFLAGS="-O2"
   3839   else
   3840     CFLAGS=
   3841   fi
   3842 fi
   3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3844 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3845 if ${ac_cv_prog_cc_c89+:} false; then :
   3846   $as_echo_n "(cached) " >&6
   3847 else
   3848   ac_cv_prog_cc_c89=no
   3849 ac_save_CC=$CC
   3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3851 /* end confdefs.h.  */
   3852 #include <stdarg.h>
   3853 #include <stdio.h>
   3854 struct stat;
   3855 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3856 struct buf { int x; };
   3857 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3858 static char *e (p, i)
   3859      char **p;
   3860      int i;
   3861 {
   3862   return p[i];
   3863 }
   3864 static char *f (char * (*g) (char **, int), char **p, ...)
   3865 {
   3866   char *s;
   3867   va_list v;
   3868   va_start (v,p);
   3869   s = g (p, va_arg (v,int));
   3870   va_end (v);
   3871   return s;
   3872 }
   3873 
   3874 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3875    function prototypes and stuff, but not '\xHH' hex character constants.
   3876    These don't provoke an error unfortunately, instead are silently treated
   3877    as 'x'.  The following induces an error, until -std is added to get
   3878    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3879    array size at least.  It's necessary to write '\x00'==0 to get something
   3880    that's true only with -std.  */
   3881 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3882 
   3883 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3884    inside strings and character constants.  */
   3885 #define FOO(x) 'x'
   3886 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3887 
   3888 int test (int i, double x);
   3889 struct s1 {int (*f) (int a);};
   3890 struct s2 {int (*f) (double a);};
   3891 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3892 int argc;
   3893 char **argv;
   3894 int
   3895 main ()
   3896 {
   3897 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3898   ;
   3899   return 0;
   3900 }
   3901 _ACEOF
   3902 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3903 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3904 do
   3905   CC="$ac_save_CC $ac_arg"
   3906   if ac_fn_c_try_compile "$LINENO"; then :
   3907   ac_cv_prog_cc_c89=$ac_arg
   3908 fi
   3909 rm -f core conftest.err conftest.$ac_objext
   3910   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3911 done
   3912 rm -f conftest.$ac_ext
   3913 CC=$ac_save_CC
   3914 
   3915 fi
   3916 # AC_CACHE_VAL
   3917 case "x$ac_cv_prog_cc_c89" in
   3918   x)
   3919     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3920 $as_echo "none needed" >&6; } ;;
   3921   xno)
   3922     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3923 $as_echo "unsupported" >&6; } ;;
   3924   *)
   3925     CC="$CC $ac_cv_prog_cc_c89"
   3926     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3927 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3928 esac
   3929 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3930 
   3931 fi
   3932 
   3933 ac_ext=c
   3934 ac_cpp='$CPP $CPPFLAGS'
   3935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3938 
   3939 ac_ext=c
   3940 ac_cpp='$CPP $CPPFLAGS'
   3941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3945 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3946 if ${am_cv_prog_cc_c_o+:} false; then :
   3947   $as_echo_n "(cached) " >&6
   3948 else
   3949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3950 /* end confdefs.h.  */
   3951 
   3952 int
   3953 main ()
   3954 {
   3955 
   3956   ;
   3957   return 0;
   3958 }
   3959 _ACEOF
   3960   # Make sure it works both with $CC and with simple cc.
   3961   # Following AC_PROG_CC_C_O, we do the test twice because some
   3962   # compilers refuse to overwrite an existing .o file with -o,
   3963   # though they will create one.
   3964   am_cv_prog_cc_c_o=yes
   3965   for am_i in 1 2; do
   3966     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3967    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3968    ac_status=$?
   3969    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3970    (exit $ac_status); } \
   3971          && test -f conftest2.$ac_objext; then
   3972       : OK
   3973     else
   3974       am_cv_prog_cc_c_o=no
   3975       break
   3976     fi
   3977   done
   3978   rm -f core conftest*
   3979   unset am_i
   3980 fi
   3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3982 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3983 if test "$am_cv_prog_cc_c_o" != yes; then
   3984    # Losing compiler, so override with the script.
   3985    # FIXME: It is wrong to rewrite CC.
   3986    # But if we don't then we get into trouble of one sort or another.
   3987    # A longer-term fix would be to have automake use am__CC in this case,
   3988    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3989    CC="$am_aux_dir/compile $CC"
   3990 fi
   3991 ac_ext=c
   3992 ac_cpp='$CPP $CPPFLAGS'
   3993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3996 
   3997 
   3998 depcc="$CC"   am_compiler_list=
   3999 
   4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4001 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4002 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4003   $as_echo_n "(cached) " >&6
   4004 else
   4005   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4006   # We make a subdir and do the tests there.  Otherwise we can end up
   4007   # making bogus files that we don't know about and never remove.  For
   4008   # instance it was reported that on HP-UX the gcc test will end up
   4009   # making a dummy file named 'D' -- because '-MD' means "put the output
   4010   # in D".
   4011   rm -rf conftest.dir
   4012   mkdir conftest.dir
   4013   # Copy depcomp to subdir because otherwise we won't find it if we're
   4014   # using a relative directory.
   4015   cp "$am_depcomp" conftest.dir
   4016   cd conftest.dir
   4017   # We will build objects and dependencies in a subdirectory because
   4018   # it helps to detect inapplicable dependency modes.  For instance
   4019   # both Tru64's cc and ICC support -MD to output dependencies as a
   4020   # side effect of compilation, but ICC will put the dependencies in
   4021   # the current directory while Tru64 will put them in the object
   4022   # directory.
   4023   mkdir sub
   4024 
   4025   am_cv_CC_dependencies_compiler_type=none
   4026   if test "$am_compiler_list" = ""; then
   4027      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4028   fi
   4029   am__universal=false
   4030   case " $depcc " in #(
   4031      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4032      esac
   4033 
   4034   for depmode in $am_compiler_list; do
   4035     # Setup a source with many dependencies, because some compilers
   4036     # like to wrap large dependency lists on column 80 (with \), and
   4037     # we should not choose a depcomp mode which is confused by this.
   4038     #
   4039     # We need to recreate these files for each test, as the compiler may
   4040     # overwrite some of them when testing with obscure command lines.
   4041     # This happens at least with the AIX C compiler.
   4042     : > sub/conftest.c
   4043     for i in 1 2 3 4 5 6; do
   4044       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4045       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4046       # Solaris 10 /bin/sh.
   4047       echo '/* dummy */' > sub/conftst$i.h
   4048     done
   4049     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4050 
   4051     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4052     # mode.  It turns out that the SunPro C++ compiler does not properly
   4053     # handle '-M -o', and we need to detect this.  Also, some Intel
   4054     # versions had trouble with output in subdirs.
   4055     am__obj=sub/conftest.${OBJEXT-o}
   4056     am__minus_obj="-o $am__obj"
   4057     case $depmode in
   4058     gcc)
   4059       # This depmode causes a compiler race in universal mode.
   4060       test "$am__universal" = false || continue
   4061       ;;
   4062     nosideeffect)
   4063       # After this tag, mechanisms are not by side-effect, so they'll
   4064       # only be used when explicitly requested.
   4065       if test "x$enable_dependency_tracking" = xyes; then
   4066 	continue
   4067       else
   4068 	break
   4069       fi
   4070       ;;
   4071     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4072       # This compiler won't grok '-c -o', but also, the minuso test has
   4073       # not run yet.  These depmodes are late enough in the game, and
   4074       # so weak that their functioning should not be impacted.
   4075       am__obj=conftest.${OBJEXT-o}
   4076       am__minus_obj=
   4077       ;;
   4078     none) break ;;
   4079     esac
   4080     if depmode=$depmode \
   4081        source=sub/conftest.c object=$am__obj \
   4082        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4083        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4084          >/dev/null 2>conftest.err &&
   4085        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4086        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4087        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4088        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4089       # icc doesn't choke on unknown options, it will just issue warnings
   4090       # or remarks (even with -Werror).  So we grep stderr for any message
   4091       # that says an option was ignored or not supported.
   4092       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4093       #   icc: Command line warning: ignoring option '-M'; no argument required
   4094       # The diagnosis changed in icc 8.0:
   4095       #   icc: Command line remark: option '-MP' not supported
   4096       if (grep 'ignoring option' conftest.err ||
   4097           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4098         am_cv_CC_dependencies_compiler_type=$depmode
   4099         break
   4100       fi
   4101     fi
   4102   done
   4103 
   4104   cd ..
   4105   rm -rf conftest.dir
   4106 else
   4107   am_cv_CC_dependencies_compiler_type=none
   4108 fi
   4109 
   4110 fi
   4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4112 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4113 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4114 
   4115  if
   4116   test "x$enable_dependency_tracking" != xno \
   4117   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4118   am__fastdepCC_TRUE=
   4119   am__fastdepCC_FALSE='#'
   4120 else
   4121   am__fastdepCC_TRUE='#'
   4122   am__fastdepCC_FALSE=
   4123 fi
   4124 
   4125 
   4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4127 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4128 if ${ac_cv_path_SED+:} false; then :
   4129   $as_echo_n "(cached) " >&6
   4130 else
   4131             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4132      for ac_i in 1 2 3 4 5 6 7; do
   4133        ac_script="$ac_script$as_nl$ac_script"
   4134      done
   4135      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4136      { ac_script=; unset ac_script;}
   4137      if test -z "$SED"; then
   4138   ac_path_SED_found=false
   4139   # Loop through the user's path and test for each of PROGNAME-LIST
   4140   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4141 for as_dir in $PATH
   4142 do
   4143   IFS=$as_save_IFS
   4144   test -z "$as_dir" && as_dir=.
   4145     for ac_prog in sed gsed; do
   4146     for ac_exec_ext in '' $ac_executable_extensions; do
   4147       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4148       as_fn_executable_p "$ac_path_SED" || continue
   4149 # Check for GNU ac_path_SED and select it if it is found.
   4150   # Check for GNU $ac_path_SED
   4151 case `"$ac_path_SED" --version 2>&1` in
   4152 *GNU*)
   4153   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4154 *)
   4155   ac_count=0
   4156   $as_echo_n 0123456789 >"conftest.in"
   4157   while :
   4158   do
   4159     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4160     mv "conftest.tmp" "conftest.in"
   4161     cp "conftest.in" "conftest.nl"
   4162     $as_echo '' >> "conftest.nl"
   4163     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4164     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4165     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4166     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4167       # Best one so far, save it but keep looking for a better one
   4168       ac_cv_path_SED="$ac_path_SED"
   4169       ac_path_SED_max=$ac_count
   4170     fi
   4171     # 10*(2^10) chars as input seems more than enough
   4172     test $ac_count -gt 10 && break
   4173   done
   4174   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4175 esac
   4176 
   4177       $ac_path_SED_found && break 3
   4178     done
   4179   done
   4180   done
   4181 IFS=$as_save_IFS
   4182   if test -z "$ac_cv_path_SED"; then
   4183     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4184   fi
   4185 else
   4186   ac_cv_path_SED=$SED
   4187 fi
   4188 
   4189 fi
   4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4191 $as_echo "$ac_cv_path_SED" >&6; }
   4192  SED="$ac_cv_path_SED"
   4193   rm -f conftest.sed
   4194 
   4195 test -z "$SED" && SED=sed
   4196 Xsed="$SED -e 1s/^X//"
   4197 
   4198 
   4199 
   4200 
   4201 
   4202 
   4203 
   4204 
   4205 
   4206 
   4207 
   4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4209 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4210 if ${ac_cv_path_GREP+:} false; then :
   4211   $as_echo_n "(cached) " >&6
   4212 else
   4213   if test -z "$GREP"; then
   4214   ac_path_GREP_found=false
   4215   # Loop through the user's path and test for each of PROGNAME-LIST
   4216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4218 do
   4219   IFS=$as_save_IFS
   4220   test -z "$as_dir" && as_dir=.
   4221     for ac_prog in grep ggrep; do
   4222     for ac_exec_ext in '' $ac_executable_extensions; do
   4223       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4224       as_fn_executable_p "$ac_path_GREP" || continue
   4225 # Check for GNU ac_path_GREP and select it if it is found.
   4226   # Check for GNU $ac_path_GREP
   4227 case `"$ac_path_GREP" --version 2>&1` in
   4228 *GNU*)
   4229   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4230 *)
   4231   ac_count=0
   4232   $as_echo_n 0123456789 >"conftest.in"
   4233   while :
   4234   do
   4235     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4236     mv "conftest.tmp" "conftest.in"
   4237     cp "conftest.in" "conftest.nl"
   4238     $as_echo 'GREP' >> "conftest.nl"
   4239     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4240     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4241     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4242     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4243       # Best one so far, save it but keep looking for a better one
   4244       ac_cv_path_GREP="$ac_path_GREP"
   4245       ac_path_GREP_max=$ac_count
   4246     fi
   4247     # 10*(2^10) chars as input seems more than enough
   4248     test $ac_count -gt 10 && break
   4249   done
   4250   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4251 esac
   4252 
   4253       $ac_path_GREP_found && break 3
   4254     done
   4255   done
   4256   done
   4257 IFS=$as_save_IFS
   4258   if test -z "$ac_cv_path_GREP"; then
   4259     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4260   fi
   4261 else
   4262   ac_cv_path_GREP=$GREP
   4263 fi
   4264 
   4265 fi
   4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4267 $as_echo "$ac_cv_path_GREP" >&6; }
   4268  GREP="$ac_cv_path_GREP"
   4269 
   4270 
   4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4272 $as_echo_n "checking for egrep... " >&6; }
   4273 if ${ac_cv_path_EGREP+:} false; then :
   4274   $as_echo_n "(cached) " >&6
   4275 else
   4276   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4277    then ac_cv_path_EGREP="$GREP -E"
   4278    else
   4279      if test -z "$EGREP"; then
   4280   ac_path_EGREP_found=false
   4281   # Loop through the user's path and test for each of PROGNAME-LIST
   4282   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4283 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4284 do
   4285   IFS=$as_save_IFS
   4286   test -z "$as_dir" && as_dir=.
   4287     for ac_prog in egrep; do
   4288     for ac_exec_ext in '' $ac_executable_extensions; do
   4289       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4290       as_fn_executable_p "$ac_path_EGREP" || continue
   4291 # Check for GNU ac_path_EGREP and select it if it is found.
   4292   # Check for GNU $ac_path_EGREP
   4293 case `"$ac_path_EGREP" --version 2>&1` in
   4294 *GNU*)
   4295   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4296 *)
   4297   ac_count=0
   4298   $as_echo_n 0123456789 >"conftest.in"
   4299   while :
   4300   do
   4301     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4302     mv "conftest.tmp" "conftest.in"
   4303     cp "conftest.in" "conftest.nl"
   4304     $as_echo 'EGREP' >> "conftest.nl"
   4305     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4306     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4307     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4308     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4309       # Best one so far, save it but keep looking for a better one
   4310       ac_cv_path_EGREP="$ac_path_EGREP"
   4311       ac_path_EGREP_max=$ac_count
   4312     fi
   4313     # 10*(2^10) chars as input seems more than enough
   4314     test $ac_count -gt 10 && break
   4315   done
   4316   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4317 esac
   4318 
   4319       $ac_path_EGREP_found && break 3
   4320     done
   4321   done
   4322   done
   4323 IFS=$as_save_IFS
   4324   if test -z "$ac_cv_path_EGREP"; then
   4325     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4326   fi
   4327 else
   4328   ac_cv_path_EGREP=$EGREP
   4329 fi
   4330 
   4331    fi
   4332 fi
   4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4334 $as_echo "$ac_cv_path_EGREP" >&6; }
   4335  EGREP="$ac_cv_path_EGREP"
   4336 
   4337 
   4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4339 $as_echo_n "checking for fgrep... " >&6; }
   4340 if ${ac_cv_path_FGREP+:} false; then :
   4341   $as_echo_n "(cached) " >&6
   4342 else
   4343   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4344    then ac_cv_path_FGREP="$GREP -F"
   4345    else
   4346      if test -z "$FGREP"; then
   4347   ac_path_FGREP_found=false
   4348   # Loop through the user's path and test for each of PROGNAME-LIST
   4349   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4350 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4351 do
   4352   IFS=$as_save_IFS
   4353   test -z "$as_dir" && as_dir=.
   4354     for ac_prog in fgrep; do
   4355     for ac_exec_ext in '' $ac_executable_extensions; do
   4356       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4357       as_fn_executable_p "$ac_path_FGREP" || continue
   4358 # Check for GNU ac_path_FGREP and select it if it is found.
   4359   # Check for GNU $ac_path_FGREP
   4360 case `"$ac_path_FGREP" --version 2>&1` in
   4361 *GNU*)
   4362   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4363 *)
   4364   ac_count=0
   4365   $as_echo_n 0123456789 >"conftest.in"
   4366   while :
   4367   do
   4368     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4369     mv "conftest.tmp" "conftest.in"
   4370     cp "conftest.in" "conftest.nl"
   4371     $as_echo 'FGREP' >> "conftest.nl"
   4372     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4373     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4374     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4375     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4376       # Best one so far, save it but keep looking for a better one
   4377       ac_cv_path_FGREP="$ac_path_FGREP"
   4378       ac_path_FGREP_max=$ac_count
   4379     fi
   4380     # 10*(2^10) chars as input seems more than enough
   4381     test $ac_count -gt 10 && break
   4382   done
   4383   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4384 esac
   4385 
   4386       $ac_path_FGREP_found && break 3
   4387     done
   4388   done
   4389   done
   4390 IFS=$as_save_IFS
   4391   if test -z "$ac_cv_path_FGREP"; then
   4392     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4393   fi
   4394 else
   4395   ac_cv_path_FGREP=$FGREP
   4396 fi
   4397 
   4398    fi
   4399 fi
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4401 $as_echo "$ac_cv_path_FGREP" >&6; }
   4402  FGREP="$ac_cv_path_FGREP"
   4403 
   4404 
   4405 test -z "$GREP" && GREP=grep
   4406 
   4407 
   4408 
   4409 
   4410 
   4411 
   4412 
   4413 
   4414 
   4415 
   4416 
   4417 
   4418 
   4419 
   4420 
   4421 
   4422 
   4423 
   4424 
   4425 # Check whether --with-gnu-ld was given.
   4426 if test "${with_gnu_ld+set}" = set; then :
   4427   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4428 else
   4429   with_gnu_ld=no
   4430 fi
   4431 
   4432 ac_prog=ld
   4433 if test "$GCC" = yes; then
   4434   # Check if gcc -print-prog-name=ld gives a path.
   4435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4436 $as_echo_n "checking for ld used by $CC... " >&6; }
   4437   case $host in
   4438   *-*-mingw*)
   4439     # gcc leaves a trailing carriage return which upsets mingw
   4440     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4441   *)
   4442     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4443   esac
   4444   case $ac_prog in
   4445     # Accept absolute paths.
   4446     [\\/]* | ?:[\\/]*)
   4447       re_direlt='/[^/][^/]*/\.\./'
   4448       # Canonicalize the pathname of ld
   4449       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4450       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4451 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4452       done
   4453       test -z "$LD" && LD="$ac_prog"
   4454       ;;
   4455   "")
   4456     # If it fails, then pretend we aren't using GCC.
   4457     ac_prog=ld
   4458     ;;
   4459   *)
   4460     # If it is relative, then search for the first ld in PATH.
   4461     with_gnu_ld=unknown
   4462     ;;
   4463   esac
   4464 elif test "$with_gnu_ld" = yes; then
   4465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4466 $as_echo_n "checking for GNU ld... " >&6; }
   4467 else
   4468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4469 $as_echo_n "checking for non-GNU ld... " >&6; }
   4470 fi
   4471 if ${lt_cv_path_LD+:} false; then :
   4472   $as_echo_n "(cached) " >&6
   4473 else
   4474   if test -z "$LD"; then
   4475   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4476   for ac_dir in $PATH; do
   4477     IFS="$lt_save_ifs"
   4478     test -z "$ac_dir" && ac_dir=.
   4479     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4480       lt_cv_path_LD="$ac_dir/$ac_prog"
   4481       # Check to see if the program is GNU ld.  I'd rather use --version,
   4482       # but apparently some variants of GNU ld only accept -v.
   4483       # Break only if it was the GNU/non-GNU ld that we prefer.
   4484       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4485       *GNU* | *'with BFD'*)
   4486 	test "$with_gnu_ld" != no && break
   4487 	;;
   4488       *)
   4489 	test "$with_gnu_ld" != yes && break
   4490 	;;
   4491       esac
   4492     fi
   4493   done
   4494   IFS="$lt_save_ifs"
   4495 else
   4496   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4497 fi
   4498 fi
   4499 
   4500 LD="$lt_cv_path_LD"
   4501 if test -n "$LD"; then
   4502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4503 $as_echo "$LD" >&6; }
   4504 else
   4505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4506 $as_echo "no" >&6; }
   4507 fi
   4508 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4510 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4511 if ${lt_cv_prog_gnu_ld+:} false; then :
   4512   $as_echo_n "(cached) " >&6
   4513 else
   4514   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4515 case `$LD -v 2>&1 </dev/null` in
   4516 *GNU* | *'with BFD'*)
   4517   lt_cv_prog_gnu_ld=yes
   4518   ;;
   4519 *)
   4520   lt_cv_prog_gnu_ld=no
   4521   ;;
   4522 esac
   4523 fi
   4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4525 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4526 with_gnu_ld=$lt_cv_prog_gnu_ld
   4527 
   4528 
   4529 
   4530 
   4531 
   4532 
   4533 
   4534 
   4535 
   4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4537 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4538 if ${lt_cv_path_NM+:} false; then :
   4539   $as_echo_n "(cached) " >&6
   4540 else
   4541   if test -n "$NM"; then
   4542   # Let the user override the test.
   4543   lt_cv_path_NM="$NM"
   4544 else
   4545   lt_nm_to_check="${ac_tool_prefix}nm"
   4546   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4547     lt_nm_to_check="$lt_nm_to_check nm"
   4548   fi
   4549   for lt_tmp_nm in $lt_nm_to_check; do
   4550     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4551     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4552       IFS="$lt_save_ifs"
   4553       test -z "$ac_dir" && ac_dir=.
   4554       tmp_nm="$ac_dir/$lt_tmp_nm"
   4555       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4556 	# Check to see if the nm accepts a BSD-compat flag.
   4557 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4558 	#   nm: unknown option "B" ignored
   4559 	# Tru64's nm complains that /dev/null is an invalid object file
   4560 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4561 	*/dev/null* | *'Invalid file or object type'*)
   4562 	  lt_cv_path_NM="$tmp_nm -B"
   4563 	  break
   4564 	  ;;
   4565 	*)
   4566 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4567 	  */dev/null*)
   4568 	    lt_cv_path_NM="$tmp_nm -p"
   4569 	    break
   4570 	    ;;
   4571 	  *)
   4572 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4573 	    continue # so that we can try to find one that supports BSD flags
   4574 	    ;;
   4575 	  esac
   4576 	  ;;
   4577 	esac
   4578       fi
   4579     done
   4580     IFS="$lt_save_ifs"
   4581   done
   4582   : ${lt_cv_path_NM=no}
   4583 fi
   4584 fi
   4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4586 $as_echo "$lt_cv_path_NM" >&6; }
   4587 if test "$lt_cv_path_NM" != "no"; then
   4588   NM="$lt_cv_path_NM"
   4589 else
   4590   # Didn't find any BSD compatible name lister, look for dumpbin.
   4591   if test -n "$DUMPBIN"; then :
   4592     # Let the user override the test.
   4593   else
   4594     if test -n "$ac_tool_prefix"; then
   4595   for ac_prog in dumpbin "link -dump"
   4596   do
   4597     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4600 $as_echo_n "checking for $ac_word... " >&6; }
   4601 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4602   $as_echo_n "(cached) " >&6
   4603 else
   4604   if test -n "$DUMPBIN"; then
   4605   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4606 else
   4607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4608 for as_dir in $PATH
   4609 do
   4610   IFS=$as_save_IFS
   4611   test -z "$as_dir" && as_dir=.
   4612     for ac_exec_ext in '' $ac_executable_extensions; do
   4613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4614     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4616     break 2
   4617   fi
   4618 done
   4619   done
   4620 IFS=$as_save_IFS
   4621 
   4622 fi
   4623 fi
   4624 DUMPBIN=$ac_cv_prog_DUMPBIN
   4625 if test -n "$DUMPBIN"; then
   4626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4627 $as_echo "$DUMPBIN" >&6; }
   4628 else
   4629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4630 $as_echo "no" >&6; }
   4631 fi
   4632 
   4633 
   4634     test -n "$DUMPBIN" && break
   4635   done
   4636 fi
   4637 if test -z "$DUMPBIN"; then
   4638   ac_ct_DUMPBIN=$DUMPBIN
   4639   for ac_prog in dumpbin "link -dump"
   4640 do
   4641   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4642 set dummy $ac_prog; ac_word=$2
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4644 $as_echo_n "checking for $ac_word... " >&6; }
   4645 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4646   $as_echo_n "(cached) " >&6
   4647 else
   4648   if test -n "$ac_ct_DUMPBIN"; then
   4649   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4650 else
   4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4652 for as_dir in $PATH
   4653 do
   4654   IFS=$as_save_IFS
   4655   test -z "$as_dir" && as_dir=.
   4656     for ac_exec_ext in '' $ac_executable_extensions; do
   4657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4658     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4660     break 2
   4661   fi
   4662 done
   4663   done
   4664 IFS=$as_save_IFS
   4665 
   4666 fi
   4667 fi
   4668 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4669 if test -n "$ac_ct_DUMPBIN"; then
   4670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4671 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4672 else
   4673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4674 $as_echo "no" >&6; }
   4675 fi
   4676 
   4677 
   4678   test -n "$ac_ct_DUMPBIN" && break
   4679 done
   4680 
   4681   if test "x$ac_ct_DUMPBIN" = x; then
   4682     DUMPBIN=":"
   4683   else
   4684     case $cross_compiling:$ac_tool_warned in
   4685 yes:)
   4686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4688 ac_tool_warned=yes ;;
   4689 esac
   4690     DUMPBIN=$ac_ct_DUMPBIN
   4691   fi
   4692 fi
   4693 
   4694     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4695     *COFF*)
   4696       DUMPBIN="$DUMPBIN -symbols"
   4697       ;;
   4698     *)
   4699       DUMPBIN=:
   4700       ;;
   4701     esac
   4702   fi
   4703 
   4704   if test "$DUMPBIN" != ":"; then
   4705     NM="$DUMPBIN"
   4706   fi
   4707 fi
   4708 test -z "$NM" && NM=nm
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4716 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4717 if ${lt_cv_nm_interface+:} false; then :
   4718   $as_echo_n "(cached) " >&6
   4719 else
   4720   lt_cv_nm_interface="BSD nm"
   4721   echo "int some_variable = 0;" > conftest.$ac_ext
   4722   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4723   (eval "$ac_compile" 2>conftest.err)
   4724   cat conftest.err >&5
   4725   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4726   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4727   cat conftest.err >&5
   4728   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4729   cat conftest.out >&5
   4730   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4731     lt_cv_nm_interface="MS dumpbin"
   4732   fi
   4733   rm -f conftest*
   4734 fi
   4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4736 $as_echo "$lt_cv_nm_interface" >&6; }
   4737 
   4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4739 $as_echo_n "checking whether ln -s works... " >&6; }
   4740 LN_S=$as_ln_s
   4741 if test "$LN_S" = "ln -s"; then
   4742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4743 $as_echo "yes" >&6; }
   4744 else
   4745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4746 $as_echo "no, using $LN_S" >&6; }
   4747 fi
   4748 
   4749 # find the maximum length of command line arguments
   4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4751 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4752 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4753   $as_echo_n "(cached) " >&6
   4754 else
   4755     i=0
   4756   teststring="ABCD"
   4757 
   4758   case $build_os in
   4759   msdosdjgpp*)
   4760     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4761     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4762     # during glob expansion).  Even if it were fixed, the result of this
   4763     # check would be larger than it should be.
   4764     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4765     ;;
   4766 
   4767   gnu*)
   4768     # Under GNU Hurd, this test is not required because there is
   4769     # no limit to the length of command line arguments.
   4770     # Libtool will interpret -1 as no limit whatsoever
   4771     lt_cv_sys_max_cmd_len=-1;
   4772     ;;
   4773 
   4774   cygwin* | mingw* | cegcc*)
   4775     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4776     # about 5 minutes as the teststring grows exponentially.
   4777     # Worse, since 9x/ME are not pre-emptively multitasking,
   4778     # you end up with a "frozen" computer, even though with patience
   4779     # the test eventually succeeds (with a max line length of 256k).
   4780     # Instead, let's just punt: use the minimum linelength reported by
   4781     # all of the supported platforms: 8192 (on NT/2K/XP).
   4782     lt_cv_sys_max_cmd_len=8192;
   4783     ;;
   4784 
   4785   mint*)
   4786     # On MiNT this can take a long time and run out of memory.
   4787     lt_cv_sys_max_cmd_len=8192;
   4788     ;;
   4789 
   4790   amigaos*)
   4791     # On AmigaOS with pdksh, this test takes hours, literally.
   4792     # So we just punt and use a minimum line length of 8192.
   4793     lt_cv_sys_max_cmd_len=8192;
   4794     ;;
   4795 
   4796   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4797     # This has been around since 386BSD, at least.  Likely further.
   4798     if test -x /sbin/sysctl; then
   4799       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4800     elif test -x /usr/sbin/sysctl; then
   4801       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4802     else
   4803       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4804     fi
   4805     # And add a safety zone
   4806     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4807     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4808     ;;
   4809 
   4810   interix*)
   4811     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4812     lt_cv_sys_max_cmd_len=196608
   4813     ;;
   4814 
   4815   os2*)
   4816     # The test takes a long time on OS/2.
   4817     lt_cv_sys_max_cmd_len=8192
   4818     ;;
   4819 
   4820   osf*)
   4821     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4822     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4823     # nice to cause kernel panics so lets avoid the loop below.
   4824     # First set a reasonable default.
   4825     lt_cv_sys_max_cmd_len=16384
   4826     #
   4827     if test -x /sbin/sysconfig; then
   4828       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4829         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4830       esac
   4831     fi
   4832     ;;
   4833   sco3.2v5*)
   4834     lt_cv_sys_max_cmd_len=102400
   4835     ;;
   4836   sysv5* | sco5v6* | sysv4.2uw2*)
   4837     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4838     if test -n "$kargmax"; then
   4839       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4840     else
   4841       lt_cv_sys_max_cmd_len=32768
   4842     fi
   4843     ;;
   4844   *)
   4845     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4846     if test -n "$lt_cv_sys_max_cmd_len"; then
   4847       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4848       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4849     else
   4850       # Make teststring a little bigger before we do anything with it.
   4851       # a 1K string should be a reasonable start.
   4852       for i in 1 2 3 4 5 6 7 8 ; do
   4853         teststring=$teststring$teststring
   4854       done
   4855       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4856       # If test is not a shell built-in, we'll probably end up computing a
   4857       # maximum length that is only half of the actual maximum length, but
   4858       # we can't tell.
   4859       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4860 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4861 	      test $i != 17 # 1/2 MB should be enough
   4862       do
   4863         i=`expr $i + 1`
   4864         teststring=$teststring$teststring
   4865       done
   4866       # Only check the string length outside the loop.
   4867       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4868       teststring=
   4869       # Add a significant safety factor because C++ compilers can tack on
   4870       # massive amounts of additional arguments before passing them to the
   4871       # linker.  It appears as though 1/2 is a usable value.
   4872       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4873     fi
   4874     ;;
   4875   esac
   4876 
   4877 fi
   4878 
   4879 if test -n $lt_cv_sys_max_cmd_len ; then
   4880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4881 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4882 else
   4883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4884 $as_echo "none" >&6; }
   4885 fi
   4886 max_cmd_len=$lt_cv_sys_max_cmd_len
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 : ${CP="cp -f"}
   4894 : ${MV="mv -f"}
   4895 : ${RM="rm -f"}
   4896 
   4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4898 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4899 # Try some XSI features
   4900 xsi_shell=no
   4901 ( _lt_dummy="a/b/c"
   4902   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4903       = c,a/b,b/c, \
   4904     && eval 'test $(( 1 + 1 )) -eq 2 \
   4905     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4906   && xsi_shell=yes
   4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4908 $as_echo "$xsi_shell" >&6; }
   4909 
   4910 
   4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4912 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4913 lt_shell_append=no
   4914 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4915     >/dev/null 2>&1 \
   4916   && lt_shell_append=yes
   4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4918 $as_echo "$lt_shell_append" >&6; }
   4919 
   4920 
   4921 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4922   lt_unset=unset
   4923 else
   4924   lt_unset=false
   4925 fi
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 # test EBCDIC or ASCII
   4932 case `echo X|tr X '\101'` in
   4933  A) # ASCII based system
   4934     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4935   lt_SP2NL='tr \040 \012'
   4936   lt_NL2SP='tr \015\012 \040\040'
   4937   ;;
   4938  *) # EBCDIC based system
   4939   lt_SP2NL='tr \100 \n'
   4940   lt_NL2SP='tr \r\n \100\100'
   4941   ;;
   4942 esac
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4953 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4954 if ${lt_cv_to_host_file_cmd+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   case $host in
   4958   *-*-mingw* )
   4959     case $build in
   4960       *-*-mingw* ) # actually msys
   4961         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4962         ;;
   4963       *-*-cygwin* )
   4964         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4965         ;;
   4966       * ) # otherwise, assume *nix
   4967         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4968         ;;
   4969     esac
   4970     ;;
   4971   *-*-cygwin* )
   4972     case $build in
   4973       *-*-mingw* ) # actually msys
   4974         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4975         ;;
   4976       *-*-cygwin* )
   4977         lt_cv_to_host_file_cmd=func_convert_file_noop
   4978         ;;
   4979       * ) # otherwise, assume *nix
   4980         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4981         ;;
   4982     esac
   4983     ;;
   4984   * ) # unhandled hosts (and "normal" native builds)
   4985     lt_cv_to_host_file_cmd=func_convert_file_noop
   4986     ;;
   4987 esac
   4988 
   4989 fi
   4990 
   4991 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4993 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5000 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5001 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5002   $as_echo_n "(cached) " >&6
   5003 else
   5004   #assume ordinary cross tools, or native build.
   5005 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5006 case $host in
   5007   *-*-mingw* )
   5008     case $build in
   5009       *-*-mingw* ) # actually msys
   5010         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5011         ;;
   5012     esac
   5013     ;;
   5014 esac
   5015 
   5016 fi
   5017 
   5018 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5020 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5027 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5028 if ${lt_cv_ld_reload_flag+:} false; then :
   5029   $as_echo_n "(cached) " >&6
   5030 else
   5031   lt_cv_ld_reload_flag='-r'
   5032 fi
   5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5034 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5035 reload_flag=$lt_cv_ld_reload_flag
   5036 case $reload_flag in
   5037 "" | " "*) ;;
   5038 *) reload_flag=" $reload_flag" ;;
   5039 esac
   5040 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5041 case $host_os in
   5042   cygwin* | mingw* | pw32* | cegcc*)
   5043     if test "$GCC" != yes; then
   5044       reload_cmds=false
   5045     fi
   5046     ;;
   5047   darwin*)
   5048     if test "$GCC" = yes; then
   5049       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5050     else
   5051       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5052     fi
   5053     ;;
   5054 esac
   5055 
   5056 
   5057 
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 if test -n "$ac_tool_prefix"; then
   5065   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5066 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5068 $as_echo_n "checking for $ac_word... " >&6; }
   5069 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5070   $as_echo_n "(cached) " >&6
   5071 else
   5072   if test -n "$OBJDUMP"; then
   5073   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5074 else
   5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5076 for as_dir in $PATH
   5077 do
   5078   IFS=$as_save_IFS
   5079   test -z "$as_dir" && as_dir=.
   5080     for ac_exec_ext in '' $ac_executable_extensions; do
   5081   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5082     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5083     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5084     break 2
   5085   fi
   5086 done
   5087   done
   5088 IFS=$as_save_IFS
   5089 
   5090 fi
   5091 fi
   5092 OBJDUMP=$ac_cv_prog_OBJDUMP
   5093 if test -n "$OBJDUMP"; then
   5094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5095 $as_echo "$OBJDUMP" >&6; }
   5096 else
   5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5098 $as_echo "no" >&6; }
   5099 fi
   5100 
   5101 
   5102 fi
   5103 if test -z "$ac_cv_prog_OBJDUMP"; then
   5104   ac_ct_OBJDUMP=$OBJDUMP
   5105   # Extract the first word of "objdump", so it can be a program name with args.
   5106 set dummy objdump; ac_word=$2
   5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5108 $as_echo_n "checking for $ac_word... " >&6; }
   5109 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5110   $as_echo_n "(cached) " >&6
   5111 else
   5112   if test -n "$ac_ct_OBJDUMP"; then
   5113   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5114 else
   5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5116 for as_dir in $PATH
   5117 do
   5118   IFS=$as_save_IFS
   5119   test -z "$as_dir" && as_dir=.
   5120     for ac_exec_ext in '' $ac_executable_extensions; do
   5121   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5122     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5124     break 2
   5125   fi
   5126 done
   5127   done
   5128 IFS=$as_save_IFS
   5129 
   5130 fi
   5131 fi
   5132 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5133 if test -n "$ac_ct_OBJDUMP"; then
   5134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5135 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5136 else
   5137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5138 $as_echo "no" >&6; }
   5139 fi
   5140 
   5141   if test "x$ac_ct_OBJDUMP" = x; then
   5142     OBJDUMP="false"
   5143   else
   5144     case $cross_compiling:$ac_tool_warned in
   5145 yes:)
   5146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5148 ac_tool_warned=yes ;;
   5149 esac
   5150     OBJDUMP=$ac_ct_OBJDUMP
   5151   fi
   5152 else
   5153   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5154 fi
   5155 
   5156 test -z "$OBJDUMP" && OBJDUMP=objdump
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5167 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5168 if ${lt_cv_deplibs_check_method+:} false; then :
   5169   $as_echo_n "(cached) " >&6
   5170 else
   5171   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5172 lt_cv_file_magic_test_file=
   5173 lt_cv_deplibs_check_method='unknown'
   5174 # Need to set the preceding variable on all platforms that support
   5175 # interlibrary dependencies.
   5176 # 'none' -- dependencies not supported.
   5177 # `unknown' -- same as none, but documents that we really don't know.
   5178 # 'pass_all' -- all dependencies passed with no checks.
   5179 # 'test_compile' -- check by making test program.
   5180 # 'file_magic [[regex]]' -- check by looking for files in library path
   5181 # which responds to the $file_magic_cmd with a given extended regex.
   5182 # If you have `file' or equivalent on your system and you're not sure
   5183 # whether `pass_all' will *always* work, you probably want this one.
   5184 
   5185 case $host_os in
   5186 aix[4-9]*)
   5187   lt_cv_deplibs_check_method=pass_all
   5188   ;;
   5189 
   5190 beos*)
   5191   lt_cv_deplibs_check_method=pass_all
   5192   ;;
   5193 
   5194 bsdi[45]*)
   5195   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5196   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5197   lt_cv_file_magic_test_file=/shlib/libc.so
   5198   ;;
   5199 
   5200 cygwin*)
   5201   # func_win32_libid is a shell function defined in ltmain.sh
   5202   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5203   lt_cv_file_magic_cmd='func_win32_libid'
   5204   ;;
   5205 
   5206 mingw* | pw32*)
   5207   # Base MSYS/MinGW do not provide the 'file' command needed by
   5208   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5209   # unless we find 'file', for example because we are cross-compiling.
   5210   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5211   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5212     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5213     lt_cv_file_magic_cmd='func_win32_libid'
   5214   else
   5215     # Keep this pattern in sync with the one in func_win32_libid.
   5216     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5217     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5218   fi
   5219   ;;
   5220 
   5221 cegcc*)
   5222   # use the weaker test based on 'objdump'. See mingw*.
   5223   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5224   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5225   ;;
   5226 
   5227 darwin* | rhapsody*)
   5228   lt_cv_deplibs_check_method=pass_all
   5229   ;;
   5230 
   5231 freebsd* | dragonfly*)
   5232   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5233     case $host_cpu in
   5234     i*86 )
   5235       # Not sure whether the presence of OpenBSD here was a mistake.
   5236       # Let's accept both of them until this is cleared up.
   5237       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5238       lt_cv_file_magic_cmd=/usr/bin/file
   5239       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5240       ;;
   5241     esac
   5242   else
   5243     lt_cv_deplibs_check_method=pass_all
   5244   fi
   5245   ;;
   5246 
   5247 gnu*)
   5248   lt_cv_deplibs_check_method=pass_all
   5249   ;;
   5250 
   5251 haiku*)
   5252   lt_cv_deplibs_check_method=pass_all
   5253   ;;
   5254 
   5255 hpux10.20* | hpux11*)
   5256   lt_cv_file_magic_cmd=/usr/bin/file
   5257   case $host_cpu in
   5258   ia64*)
   5259     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5260     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5261     ;;
   5262   hppa*64*)
   5263     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]'
   5264     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5265     ;;
   5266   *)
   5267     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5268     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5269     ;;
   5270   esac
   5271   ;;
   5272 
   5273 interix[3-9]*)
   5274   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5275   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5276   ;;
   5277 
   5278 irix5* | irix6* | nonstopux*)
   5279   case $LD in
   5280   *-32|*"-32 ") libmagic=32-bit;;
   5281   *-n32|*"-n32 ") libmagic=N32;;
   5282   *-64|*"-64 ") libmagic=64-bit;;
   5283   *) libmagic=never-match;;
   5284   esac
   5285   lt_cv_deplibs_check_method=pass_all
   5286   ;;
   5287 
   5288 # This must be glibc/ELF.
   5289 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5290   lt_cv_deplibs_check_method=pass_all
   5291   ;;
   5292 
   5293 netbsd*)
   5294   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5295     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5296   else
   5297     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5298   fi
   5299   ;;
   5300 
   5301 newos6*)
   5302   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5303   lt_cv_file_magic_cmd=/usr/bin/file
   5304   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5305   ;;
   5306 
   5307 *nto* | *qnx*)
   5308   lt_cv_deplibs_check_method=pass_all
   5309   ;;
   5310 
   5311 openbsd*)
   5312   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5313     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5314   else
   5315     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5316   fi
   5317   ;;
   5318 
   5319 osf3* | osf4* | osf5*)
   5320   lt_cv_deplibs_check_method=pass_all
   5321   ;;
   5322 
   5323 rdos*)
   5324   lt_cv_deplibs_check_method=pass_all
   5325   ;;
   5326 
   5327 solaris*)
   5328   lt_cv_deplibs_check_method=pass_all
   5329   ;;
   5330 
   5331 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5332   lt_cv_deplibs_check_method=pass_all
   5333   ;;
   5334 
   5335 sysv4 | sysv4.3*)
   5336   case $host_vendor in
   5337   motorola)
   5338     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]'
   5339     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5340     ;;
   5341   ncr)
   5342     lt_cv_deplibs_check_method=pass_all
   5343     ;;
   5344   sequent)
   5345     lt_cv_file_magic_cmd='/bin/file'
   5346     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5347     ;;
   5348   sni)
   5349     lt_cv_file_magic_cmd='/bin/file'
   5350     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5351     lt_cv_file_magic_test_file=/lib/libc.so
   5352     ;;
   5353   siemens)
   5354     lt_cv_deplibs_check_method=pass_all
   5355     ;;
   5356   pc)
   5357     lt_cv_deplibs_check_method=pass_all
   5358     ;;
   5359   esac
   5360   ;;
   5361 
   5362 tpf*)
   5363   lt_cv_deplibs_check_method=pass_all
   5364   ;;
   5365 esac
   5366 
   5367 fi
   5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5369 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5370 
   5371 file_magic_glob=
   5372 want_nocaseglob=no
   5373 if test "$build" = "$host"; then
   5374   case $host_os in
   5375   mingw* | pw32*)
   5376     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5377       want_nocaseglob=yes
   5378     else
   5379       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5380     fi
   5381     ;;
   5382   esac
   5383 fi
   5384 
   5385 file_magic_cmd=$lt_cv_file_magic_cmd
   5386 deplibs_check_method=$lt_cv_deplibs_check_method
   5387 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 if test -n "$ac_tool_prefix"; then
   5411   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5412 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5414 $as_echo_n "checking for $ac_word... " >&6; }
   5415 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5416   $as_echo_n "(cached) " >&6
   5417 else
   5418   if test -n "$DLLTOOL"; then
   5419   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5420 else
   5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5422 for as_dir in $PATH
   5423 do
   5424   IFS=$as_save_IFS
   5425   test -z "$as_dir" && as_dir=.
   5426     for ac_exec_ext in '' $ac_executable_extensions; do
   5427   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5428     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5430     break 2
   5431   fi
   5432 done
   5433   done
   5434 IFS=$as_save_IFS
   5435 
   5436 fi
   5437 fi
   5438 DLLTOOL=$ac_cv_prog_DLLTOOL
   5439 if test -n "$DLLTOOL"; then
   5440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5441 $as_echo "$DLLTOOL" >&6; }
   5442 else
   5443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5444 $as_echo "no" >&6; }
   5445 fi
   5446 
   5447 
   5448 fi
   5449 if test -z "$ac_cv_prog_DLLTOOL"; then
   5450   ac_ct_DLLTOOL=$DLLTOOL
   5451   # Extract the first word of "dlltool", so it can be a program name with args.
   5452 set dummy dlltool; ac_word=$2
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5454 $as_echo_n "checking for $ac_word... " >&6; }
   5455 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5456   $as_echo_n "(cached) " >&6
   5457 else
   5458   if test -n "$ac_ct_DLLTOOL"; then
   5459   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5460 else
   5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5462 for as_dir in $PATH
   5463 do
   5464   IFS=$as_save_IFS
   5465   test -z "$as_dir" && as_dir=.
   5466     for ac_exec_ext in '' $ac_executable_extensions; do
   5467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5468     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5470     break 2
   5471   fi
   5472 done
   5473   done
   5474 IFS=$as_save_IFS
   5475 
   5476 fi
   5477 fi
   5478 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5479 if test -n "$ac_ct_DLLTOOL"; then
   5480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5481 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5482 else
   5483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5484 $as_echo "no" >&6; }
   5485 fi
   5486 
   5487   if test "x$ac_ct_DLLTOOL" = x; then
   5488     DLLTOOL="false"
   5489   else
   5490     case $cross_compiling:$ac_tool_warned in
   5491 yes:)
   5492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5494 ac_tool_warned=yes ;;
   5495 esac
   5496     DLLTOOL=$ac_ct_DLLTOOL
   5497   fi
   5498 else
   5499   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5500 fi
   5501 
   5502 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5514 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5515 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5516   $as_echo_n "(cached) " >&6
   5517 else
   5518   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5519 
   5520 case $host_os in
   5521 cygwin* | mingw* | pw32* | cegcc*)
   5522   # two different shell functions defined in ltmain.sh
   5523   # decide which to use based on capabilities of $DLLTOOL
   5524   case `$DLLTOOL --help 2>&1` in
   5525   *--identify-strict*)
   5526     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5527     ;;
   5528   *)
   5529     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5530     ;;
   5531   esac
   5532   ;;
   5533 *)
   5534   # fallback: assume linklib IS sharedlib
   5535   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5536   ;;
   5537 esac
   5538 
   5539 fi
   5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5541 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5542 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5543 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 if test -n "$ac_tool_prefix"; then
   5553   for ac_prog in ar
   5554   do
   5555     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5556 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5558 $as_echo_n "checking for $ac_word... " >&6; }
   5559 if ${ac_cv_prog_AR+:} false; then :
   5560   $as_echo_n "(cached) " >&6
   5561 else
   5562   if test -n "$AR"; then
   5563   ac_cv_prog_AR="$AR" # Let the user override the test.
   5564 else
   5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5566 for as_dir in $PATH
   5567 do
   5568   IFS=$as_save_IFS
   5569   test -z "$as_dir" && as_dir=.
   5570     for ac_exec_ext in '' $ac_executable_extensions; do
   5571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5572     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5574     break 2
   5575   fi
   5576 done
   5577   done
   5578 IFS=$as_save_IFS
   5579 
   5580 fi
   5581 fi
   5582 AR=$ac_cv_prog_AR
   5583 if test -n "$AR"; then
   5584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5585 $as_echo "$AR" >&6; }
   5586 else
   5587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5588 $as_echo "no" >&6; }
   5589 fi
   5590 
   5591 
   5592     test -n "$AR" && break
   5593   done
   5594 fi
   5595 if test -z "$AR"; then
   5596   ac_ct_AR=$AR
   5597   for ac_prog in ar
   5598 do
   5599   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5600 set dummy $ac_prog; ac_word=$2
   5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5602 $as_echo_n "checking for $ac_word... " >&6; }
   5603 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5604   $as_echo_n "(cached) " >&6
   5605 else
   5606   if test -n "$ac_ct_AR"; then
   5607   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5608 else
   5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5610 for as_dir in $PATH
   5611 do
   5612   IFS=$as_save_IFS
   5613   test -z "$as_dir" && as_dir=.
   5614     for ac_exec_ext in '' $ac_executable_extensions; do
   5615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5616     ac_cv_prog_ac_ct_AR="$ac_prog"
   5617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5618     break 2
   5619   fi
   5620 done
   5621   done
   5622 IFS=$as_save_IFS
   5623 
   5624 fi
   5625 fi
   5626 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5627 if test -n "$ac_ct_AR"; then
   5628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5629 $as_echo "$ac_ct_AR" >&6; }
   5630 else
   5631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5632 $as_echo "no" >&6; }
   5633 fi
   5634 
   5635 
   5636   test -n "$ac_ct_AR" && break
   5637 done
   5638 
   5639   if test "x$ac_ct_AR" = x; then
   5640     AR="false"
   5641   else
   5642     case $cross_compiling:$ac_tool_warned in
   5643 yes:)
   5644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5646 ac_tool_warned=yes ;;
   5647 esac
   5648     AR=$ac_ct_AR
   5649   fi
   5650 fi
   5651 
   5652 : ${AR=ar}
   5653 : ${AR_FLAGS=cru}
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5666 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5667 if ${lt_cv_ar_at_file+:} false; then :
   5668   $as_echo_n "(cached) " >&6
   5669 else
   5670   lt_cv_ar_at_file=no
   5671    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5672 /* end confdefs.h.  */
   5673 
   5674 int
   5675 main ()
   5676 {
   5677 
   5678   ;
   5679   return 0;
   5680 }
   5681 _ACEOF
   5682 if ac_fn_c_try_compile "$LINENO"; then :
   5683   echo conftest.$ac_objext > conftest.lst
   5684       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5685       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5686   (eval $lt_ar_try) 2>&5
   5687   ac_status=$?
   5688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5689   test $ac_status = 0; }
   5690       if test "$ac_status" -eq 0; then
   5691 	# Ensure the archiver fails upon bogus file names.
   5692 	rm -f conftest.$ac_objext libconftest.a
   5693 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5694   (eval $lt_ar_try) 2>&5
   5695   ac_status=$?
   5696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5697   test $ac_status = 0; }
   5698 	if test "$ac_status" -ne 0; then
   5699           lt_cv_ar_at_file=@
   5700         fi
   5701       fi
   5702       rm -f conftest.* libconftest.a
   5703 
   5704 fi
   5705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5706 
   5707 fi
   5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5709 $as_echo "$lt_cv_ar_at_file" >&6; }
   5710 
   5711 if test "x$lt_cv_ar_at_file" = xno; then
   5712   archiver_list_spec=
   5713 else
   5714   archiver_list_spec=$lt_cv_ar_at_file
   5715 fi
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 if test -n "$ac_tool_prefix"; then
   5724   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5725 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5727 $as_echo_n "checking for $ac_word... " >&6; }
   5728 if ${ac_cv_prog_STRIP+:} false; then :
   5729   $as_echo_n "(cached) " >&6
   5730 else
   5731   if test -n "$STRIP"; then
   5732   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5733 else
   5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5735 for as_dir in $PATH
   5736 do
   5737   IFS=$as_save_IFS
   5738   test -z "$as_dir" && as_dir=.
   5739     for ac_exec_ext in '' $ac_executable_extensions; do
   5740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5741     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5743     break 2
   5744   fi
   5745 done
   5746   done
   5747 IFS=$as_save_IFS
   5748 
   5749 fi
   5750 fi
   5751 STRIP=$ac_cv_prog_STRIP
   5752 if test -n "$STRIP"; then
   5753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5754 $as_echo "$STRIP" >&6; }
   5755 else
   5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5757 $as_echo "no" >&6; }
   5758 fi
   5759 
   5760 
   5761 fi
   5762 if test -z "$ac_cv_prog_STRIP"; then
   5763   ac_ct_STRIP=$STRIP
   5764   # Extract the first word of "strip", so it can be a program name with args.
   5765 set dummy strip; ac_word=$2
   5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5767 $as_echo_n "checking for $ac_word... " >&6; }
   5768 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5769   $as_echo_n "(cached) " >&6
   5770 else
   5771   if test -n "$ac_ct_STRIP"; then
   5772   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5773 else
   5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5775 for as_dir in $PATH
   5776 do
   5777   IFS=$as_save_IFS
   5778   test -z "$as_dir" && as_dir=.
   5779     for ac_exec_ext in '' $ac_executable_extensions; do
   5780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5781     ac_cv_prog_ac_ct_STRIP="strip"
   5782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5783     break 2
   5784   fi
   5785 done
   5786   done
   5787 IFS=$as_save_IFS
   5788 
   5789 fi
   5790 fi
   5791 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5792 if test -n "$ac_ct_STRIP"; then
   5793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5794 $as_echo "$ac_ct_STRIP" >&6; }
   5795 else
   5796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5797 $as_echo "no" >&6; }
   5798 fi
   5799 
   5800   if test "x$ac_ct_STRIP" = x; then
   5801     STRIP=":"
   5802   else
   5803     case $cross_compiling:$ac_tool_warned in
   5804 yes:)
   5805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5807 ac_tool_warned=yes ;;
   5808 esac
   5809     STRIP=$ac_ct_STRIP
   5810   fi
   5811 else
   5812   STRIP="$ac_cv_prog_STRIP"
   5813 fi
   5814 
   5815 test -z "$STRIP" && STRIP=:
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 if test -n "$ac_tool_prefix"; then
   5823   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5824 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5826 $as_echo_n "checking for $ac_word... " >&6; }
   5827 if ${ac_cv_prog_RANLIB+:} false; then :
   5828   $as_echo_n "(cached) " >&6
   5829 else
   5830   if test -n "$RANLIB"; then
   5831   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5832 else
   5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5834 for as_dir in $PATH
   5835 do
   5836   IFS=$as_save_IFS
   5837   test -z "$as_dir" && as_dir=.
   5838     for ac_exec_ext in '' $ac_executable_extensions; do
   5839   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5840     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5842     break 2
   5843   fi
   5844 done
   5845   done
   5846 IFS=$as_save_IFS
   5847 
   5848 fi
   5849 fi
   5850 RANLIB=$ac_cv_prog_RANLIB
   5851 if test -n "$RANLIB"; then
   5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5853 $as_echo "$RANLIB" >&6; }
   5854 else
   5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5856 $as_echo "no" >&6; }
   5857 fi
   5858 
   5859 
   5860 fi
   5861 if test -z "$ac_cv_prog_RANLIB"; then
   5862   ac_ct_RANLIB=$RANLIB
   5863   # Extract the first word of "ranlib", so it can be a program name with args.
   5864 set dummy ranlib; ac_word=$2
   5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5866 $as_echo_n "checking for $ac_word... " >&6; }
   5867 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5868   $as_echo_n "(cached) " >&6
   5869 else
   5870   if test -n "$ac_ct_RANLIB"; then
   5871   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5872 else
   5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5874 for as_dir in $PATH
   5875 do
   5876   IFS=$as_save_IFS
   5877   test -z "$as_dir" && as_dir=.
   5878     for ac_exec_ext in '' $ac_executable_extensions; do
   5879   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5880     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5882     break 2
   5883   fi
   5884 done
   5885   done
   5886 IFS=$as_save_IFS
   5887 
   5888 fi
   5889 fi
   5890 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5891 if test -n "$ac_ct_RANLIB"; then
   5892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5893 $as_echo "$ac_ct_RANLIB" >&6; }
   5894 else
   5895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5896 $as_echo "no" >&6; }
   5897 fi
   5898 
   5899   if test "x$ac_ct_RANLIB" = x; then
   5900     RANLIB=":"
   5901   else
   5902     case $cross_compiling:$ac_tool_warned in
   5903 yes:)
   5904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5905 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5906 ac_tool_warned=yes ;;
   5907 esac
   5908     RANLIB=$ac_ct_RANLIB
   5909   fi
   5910 else
   5911   RANLIB="$ac_cv_prog_RANLIB"
   5912 fi
   5913 
   5914 test -z "$RANLIB" && RANLIB=:
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 # Determine commands to create old-style static archives.
   5922 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5923 old_postinstall_cmds='chmod 644 $oldlib'
   5924 old_postuninstall_cmds=
   5925 
   5926 if test -n "$RANLIB"; then
   5927   case $host_os in
   5928   openbsd*)
   5929     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5930     ;;
   5931   *)
   5932     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5933     ;;
   5934   esac
   5935   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5936 fi
   5937 
   5938 case $host_os in
   5939   darwin*)
   5940     lock_old_archive_extraction=yes ;;
   5941   *)
   5942     lock_old_archive_extraction=no ;;
   5943 esac
   5944 
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 # If no C compiler was specified, use CC.
   5984 LTCC=${LTCC-"$CC"}
   5985 
   5986 # If no C compiler flags were specified, use CFLAGS.
   5987 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5988 
   5989 # Allow CC to be a program name with arguments.
   5990 compiler=$CC
   5991 
   5992 
   5993 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5995 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5996 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5997   $as_echo_n "(cached) " >&6
   5998 else
   5999 
   6000 # These are sane defaults that work on at least a few old systems.
   6001 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6002 
   6003 # Character class describing NM global symbol codes.
   6004 symcode='[BCDEGRST]'
   6005 
   6006 # Regexp to match symbols that can be accessed directly from C.
   6007 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6008 
   6009 # Define system-specific variables.
   6010 case $host_os in
   6011 aix*)
   6012   symcode='[BCDT]'
   6013   ;;
   6014 cygwin* | mingw* | pw32* | cegcc*)
   6015   symcode='[ABCDGISTW]'
   6016   ;;
   6017 hpux*)
   6018   if test "$host_cpu" = ia64; then
   6019     symcode='[ABCDEGRST]'
   6020   fi
   6021   ;;
   6022 irix* | nonstopux*)
   6023   symcode='[BCDEGRST]'
   6024   ;;
   6025 osf*)
   6026   symcode='[BCDEGQRST]'
   6027   ;;
   6028 solaris*)
   6029   symcode='[BDRT]'
   6030   ;;
   6031 sco3.2v5*)
   6032   symcode='[DT]'
   6033   ;;
   6034 sysv4.2uw2*)
   6035   symcode='[DT]'
   6036   ;;
   6037 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6038   symcode='[ABDT]'
   6039   ;;
   6040 sysv4)
   6041   symcode='[DFNSTU]'
   6042   ;;
   6043 esac
   6044 
   6045 # If we're using GNU nm, then use its standard symbol codes.
   6046 case `$NM -V 2>&1` in
   6047 *GNU* | *'with BFD'*)
   6048   symcode='[ABCDGIRSTW]' ;;
   6049 esac
   6050 
   6051 # Transform an extracted symbol line into a proper C declaration.
   6052 # Some systems (esp. on ia64) link data and code symbols differently,
   6053 # so use this general approach.
   6054 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6055 
   6056 # Transform an extracted symbol line into symbol name and symbol address
   6057 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6058 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'"
   6059 
   6060 # Handle CRLF in mingw tool chain
   6061 opt_cr=
   6062 case $build_os in
   6063 mingw*)
   6064   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6065   ;;
   6066 esac
   6067 
   6068 # Try without a prefix underscore, then with it.
   6069 for ac_symprfx in "" "_"; do
   6070 
   6071   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6072   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6073 
   6074   # Write the raw and C identifiers.
   6075   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6076     # Fake it for dumpbin and say T for any non-static function
   6077     # and D for any global variable.
   6078     # Also find C++ and __fastcall symbols from MSVC++,
   6079     # which start with @ or ?.
   6080     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6081 "     {last_section=section; section=\$ 3};"\
   6082 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6083 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6084 "     \$ 0!~/External *\|/{next};"\
   6085 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6086 "     {if(hide[section]) next};"\
   6087 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6088 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6089 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6090 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6091 "     ' prfx=^$ac_symprfx"
   6092   else
   6093     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6094   fi
   6095   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6096 
   6097   # Check to see that the pipe works correctly.
   6098   pipe_works=no
   6099 
   6100   rm -f conftest*
   6101   cat > conftest.$ac_ext <<_LT_EOF
   6102 #ifdef __cplusplus
   6103 extern "C" {
   6104 #endif
   6105 char nm_test_var;
   6106 void nm_test_func(void);
   6107 void nm_test_func(void){}
   6108 #ifdef __cplusplus
   6109 }
   6110 #endif
   6111 int main(){nm_test_var='a';nm_test_func();return(0);}
   6112 _LT_EOF
   6113 
   6114   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6115   (eval $ac_compile) 2>&5
   6116   ac_status=$?
   6117   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6118   test $ac_status = 0; }; then
   6119     # Now try to grab the symbols.
   6120     nlist=conftest.nm
   6121     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6122   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6123   ac_status=$?
   6124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6125   test $ac_status = 0; } && test -s "$nlist"; then
   6126       # Try sorting and uniquifying the output.
   6127       if sort "$nlist" | uniq > "$nlist"T; then
   6128 	mv -f "$nlist"T "$nlist"
   6129       else
   6130 	rm -f "$nlist"T
   6131       fi
   6132 
   6133       # Make sure that we snagged all the symbols we need.
   6134       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6135 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6136 	  cat <<_LT_EOF > conftest.$ac_ext
   6137 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6138 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6139 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6140    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6141 # define LT_DLSYM_CONST
   6142 #elif defined(__osf__)
   6143 /* This system does not cope well with relocations in const data.  */
   6144 # define LT_DLSYM_CONST
   6145 #else
   6146 # define LT_DLSYM_CONST const
   6147 #endif
   6148 
   6149 #ifdef __cplusplus
   6150 extern "C" {
   6151 #endif
   6152 
   6153 _LT_EOF
   6154 	  # Now generate the symbol file.
   6155 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6156 
   6157 	  cat <<_LT_EOF >> conftest.$ac_ext
   6158 
   6159 /* The mapping between symbol names and symbols.  */
   6160 LT_DLSYM_CONST struct {
   6161   const char *name;
   6162   void       *address;
   6163 }
   6164 lt__PROGRAM__LTX_preloaded_symbols[] =
   6165 {
   6166   { "@PROGRAM@", (void *) 0 },
   6167 _LT_EOF
   6168 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6169 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6170   {0, (void *) 0}
   6171 };
   6172 
   6173 /* This works around a problem in FreeBSD linker */
   6174 #ifdef FREEBSD_WORKAROUND
   6175 static const void *lt_preloaded_setup() {
   6176   return lt__PROGRAM__LTX_preloaded_symbols;
   6177 }
   6178 #endif
   6179 
   6180 #ifdef __cplusplus
   6181 }
   6182 #endif
   6183 _LT_EOF
   6184 	  # Now try linking the two files.
   6185 	  mv conftest.$ac_objext conftstm.$ac_objext
   6186 	  lt_globsym_save_LIBS=$LIBS
   6187 	  lt_globsym_save_CFLAGS=$CFLAGS
   6188 	  LIBS="conftstm.$ac_objext"
   6189 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6190 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6191   (eval $ac_link) 2>&5
   6192   ac_status=$?
   6193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6194   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6195 	    pipe_works=yes
   6196 	  fi
   6197 	  LIBS=$lt_globsym_save_LIBS
   6198 	  CFLAGS=$lt_globsym_save_CFLAGS
   6199 	else
   6200 	  echo "cannot find nm_test_func in $nlist" >&5
   6201 	fi
   6202       else
   6203 	echo "cannot find nm_test_var in $nlist" >&5
   6204       fi
   6205     else
   6206       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6207     fi
   6208   else
   6209     echo "$progname: failed program was:" >&5
   6210     cat conftest.$ac_ext >&5
   6211   fi
   6212   rm -rf conftest* conftst*
   6213 
   6214   # Do not use the global_symbol_pipe unless it works.
   6215   if test "$pipe_works" = yes; then
   6216     break
   6217   else
   6218     lt_cv_sys_global_symbol_pipe=
   6219   fi
   6220 done
   6221 
   6222 fi
   6223 
   6224 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6225   lt_cv_sys_global_symbol_to_cdecl=
   6226 fi
   6227 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6229 $as_echo "failed" >&6; }
   6230 else
   6231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6232 $as_echo "ok" >&6; }
   6233 fi
   6234 
   6235 # Response file support.
   6236 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6237   nm_file_list_spec='@'
   6238 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6239   nm_file_list_spec='@'
   6240 fi
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6269 $as_echo_n "checking for sysroot... " >&6; }
   6270 
   6271 # Check whether --with-sysroot was given.
   6272 if test "${with_sysroot+set}" = set; then :
   6273   withval=$with_sysroot;
   6274 else
   6275   with_sysroot=no
   6276 fi
   6277 
   6278 
   6279 lt_sysroot=
   6280 case ${with_sysroot} in #(
   6281  yes)
   6282    if test "$GCC" = yes; then
   6283      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6284    fi
   6285    ;; #(
   6286  /*)
   6287    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6288    ;; #(
   6289  no|'')
   6290    ;; #(
   6291  *)
   6292    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6293 $as_echo "${with_sysroot}" >&6; }
   6294    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6295    ;;
   6296 esac
   6297 
   6298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6299 $as_echo "${lt_sysroot:-no}" >&6; }
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 # Check whether --enable-libtool-lock was given.
   6306 if test "${enable_libtool_lock+set}" = set; then :
   6307   enableval=$enable_libtool_lock;
   6308 fi
   6309 
   6310 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6311 
   6312 # Some flags need to be propagated to the compiler or linker for good
   6313 # libtool support.
   6314 case $host in
   6315 ia64-*-hpux*)
   6316   # Find out which ABI we are using.
   6317   echo 'int i;' > conftest.$ac_ext
   6318   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6319   (eval $ac_compile) 2>&5
   6320   ac_status=$?
   6321   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6322   test $ac_status = 0; }; then
   6323     case `/usr/bin/file conftest.$ac_objext` in
   6324       *ELF-32*)
   6325 	HPUX_IA64_MODE="32"
   6326 	;;
   6327       *ELF-64*)
   6328 	HPUX_IA64_MODE="64"
   6329 	;;
   6330     esac
   6331   fi
   6332   rm -rf conftest*
   6333   ;;
   6334 *-*-irix6*)
   6335   # Find out which ABI we are using.
   6336   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6337   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6338   (eval $ac_compile) 2>&5
   6339   ac_status=$?
   6340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6341   test $ac_status = 0; }; then
   6342     if test "$lt_cv_prog_gnu_ld" = yes; then
   6343       case `/usr/bin/file conftest.$ac_objext` in
   6344 	*32-bit*)
   6345 	  LD="${LD-ld} -melf32bsmip"
   6346 	  ;;
   6347 	*N32*)
   6348 	  LD="${LD-ld} -melf32bmipn32"
   6349 	  ;;
   6350 	*64-bit*)
   6351 	  LD="${LD-ld} -melf64bmip"
   6352 	;;
   6353       esac
   6354     else
   6355       case `/usr/bin/file conftest.$ac_objext` in
   6356 	*32-bit*)
   6357 	  LD="${LD-ld} -32"
   6358 	  ;;
   6359 	*N32*)
   6360 	  LD="${LD-ld} -n32"
   6361 	  ;;
   6362 	*64-bit*)
   6363 	  LD="${LD-ld} -64"
   6364 	  ;;
   6365       esac
   6366     fi
   6367   fi
   6368   rm -rf conftest*
   6369   ;;
   6370 
   6371 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6372 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6373   # Find out which ABI we are using.
   6374   echo 'int i;' > conftest.$ac_ext
   6375   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6376   (eval $ac_compile) 2>&5
   6377   ac_status=$?
   6378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6379   test $ac_status = 0; }; then
   6380     case `/usr/bin/file conftest.o` in
   6381       *32-bit*)
   6382 	case $host in
   6383 	  x86_64-*kfreebsd*-gnu)
   6384 	    LD="${LD-ld} -m elf_i386_fbsd"
   6385 	    ;;
   6386 	  x86_64-*linux*)
   6387 	    LD="${LD-ld} -m elf_i386"
   6388 	    ;;
   6389 	  ppc64-*linux*|powerpc64-*linux*)
   6390 	    LD="${LD-ld} -m elf32ppclinux"
   6391 	    ;;
   6392 	  s390x-*linux*)
   6393 	    LD="${LD-ld} -m elf_s390"
   6394 	    ;;
   6395 	  sparc64-*linux*)
   6396 	    LD="${LD-ld} -m elf32_sparc"
   6397 	    ;;
   6398 	esac
   6399 	;;
   6400       *64-bit*)
   6401 	case $host in
   6402 	  x86_64-*kfreebsd*-gnu)
   6403 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6404 	    ;;
   6405 	  x86_64-*linux*)
   6406 	    LD="${LD-ld} -m elf_x86_64"
   6407 	    ;;
   6408 	  ppc*-*linux*|powerpc*-*linux*)
   6409 	    LD="${LD-ld} -m elf64ppc"
   6410 	    ;;
   6411 	  s390*-*linux*|s390*-*tpf*)
   6412 	    LD="${LD-ld} -m elf64_s390"
   6413 	    ;;
   6414 	  sparc*-*linux*)
   6415 	    LD="${LD-ld} -m elf64_sparc"
   6416 	    ;;
   6417 	esac
   6418 	;;
   6419     esac
   6420   fi
   6421   rm -rf conftest*
   6422   ;;
   6423 
   6424 *-*-sco3.2v5*)
   6425   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6426   SAVE_CFLAGS="$CFLAGS"
   6427   CFLAGS="$CFLAGS -belf"
   6428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6429 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6430 if ${lt_cv_cc_needs_belf+:} false; then :
   6431   $as_echo_n "(cached) " >&6
   6432 else
   6433   ac_ext=c
   6434 ac_cpp='$CPP $CPPFLAGS'
   6435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6438 
   6439      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6440 /* end confdefs.h.  */
   6441 
   6442 int
   6443 main ()
   6444 {
   6445 
   6446   ;
   6447   return 0;
   6448 }
   6449 _ACEOF
   6450 if ac_fn_c_try_link "$LINENO"; then :
   6451   lt_cv_cc_needs_belf=yes
   6452 else
   6453   lt_cv_cc_needs_belf=no
   6454 fi
   6455 rm -f core conftest.err conftest.$ac_objext \
   6456     conftest$ac_exeext conftest.$ac_ext
   6457      ac_ext=c
   6458 ac_cpp='$CPP $CPPFLAGS'
   6459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6462 
   6463 fi
   6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6465 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6466   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6467     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6468     CFLAGS="$SAVE_CFLAGS"
   6469   fi
   6470   ;;
   6471 *-*solaris*)
   6472   # Find out which ABI we are using.
   6473   echo 'int i;' > conftest.$ac_ext
   6474   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6475   (eval $ac_compile) 2>&5
   6476   ac_status=$?
   6477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6478   test $ac_status = 0; }; then
   6479     case `/usr/bin/file conftest.o` in
   6480     *64-bit*)
   6481       case $lt_cv_prog_gnu_ld in
   6482       yes*)
   6483         case $host in
   6484         i?86-*-solaris*)
   6485           LD="${LD-ld} -m elf_x86_64"
   6486           ;;
   6487         sparc*-*-solaris*)
   6488           LD="${LD-ld} -m elf64_sparc"
   6489           ;;
   6490         esac
   6491         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6492         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6493           LD="${LD-ld}_sol2"
   6494         fi
   6495         ;;
   6496       *)
   6497 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6498 	  LD="${LD-ld} -64"
   6499 	fi
   6500 	;;
   6501       esac
   6502       ;;
   6503     esac
   6504   fi
   6505   rm -rf conftest*
   6506   ;;
   6507 esac
   6508 
   6509 need_locks="$enable_libtool_lock"
   6510 
   6511 if test -n "$ac_tool_prefix"; then
   6512   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6513 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6515 $as_echo_n "checking for $ac_word... " >&6; }
   6516 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6517   $as_echo_n "(cached) " >&6
   6518 else
   6519   if test -n "$MANIFEST_TOOL"; then
   6520   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6521 else
   6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6523 for as_dir in $PATH
   6524 do
   6525   IFS=$as_save_IFS
   6526   test -z "$as_dir" && as_dir=.
   6527     for ac_exec_ext in '' $ac_executable_extensions; do
   6528   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6529     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6531     break 2
   6532   fi
   6533 done
   6534   done
   6535 IFS=$as_save_IFS
   6536 
   6537 fi
   6538 fi
   6539 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6540 if test -n "$MANIFEST_TOOL"; then
   6541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6542 $as_echo "$MANIFEST_TOOL" >&6; }
   6543 else
   6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6545 $as_echo "no" >&6; }
   6546 fi
   6547 
   6548 
   6549 fi
   6550 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6551   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6552   # Extract the first word of "mt", so it can be a program name with args.
   6553 set dummy mt; ac_word=$2
   6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6555 $as_echo_n "checking for $ac_word... " >&6; }
   6556 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6557   $as_echo_n "(cached) " >&6
   6558 else
   6559   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6560   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6561 else
   6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6563 for as_dir in $PATH
   6564 do
   6565   IFS=$as_save_IFS
   6566   test -z "$as_dir" && as_dir=.
   6567     for ac_exec_ext in '' $ac_executable_extensions; do
   6568   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6569     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6571     break 2
   6572   fi
   6573 done
   6574   done
   6575 IFS=$as_save_IFS
   6576 
   6577 fi
   6578 fi
   6579 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6580 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6582 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6583 else
   6584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6585 $as_echo "no" >&6; }
   6586 fi
   6587 
   6588   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6589     MANIFEST_TOOL=":"
   6590   else
   6591     case $cross_compiling:$ac_tool_warned in
   6592 yes:)
   6593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6595 ac_tool_warned=yes ;;
   6596 esac
   6597     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6598   fi
   6599 else
   6600   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6601 fi
   6602 
   6603 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6605 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6606 if ${lt_cv_path_mainfest_tool+:} false; then :
   6607   $as_echo_n "(cached) " >&6
   6608 else
   6609   lt_cv_path_mainfest_tool=no
   6610   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6611   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6612   cat conftest.err >&5
   6613   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6614     lt_cv_path_mainfest_tool=yes
   6615   fi
   6616   rm -f conftest*
   6617 fi
   6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6619 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6620 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6621   MANIFEST_TOOL=:
   6622 fi
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 
   6629   case $host_os in
   6630     rhapsody* | darwin*)
   6631     if test -n "$ac_tool_prefix"; then
   6632   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6633 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6635 $as_echo_n "checking for $ac_word... " >&6; }
   6636 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6637   $as_echo_n "(cached) " >&6
   6638 else
   6639   if test -n "$DSYMUTIL"; then
   6640   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6641 else
   6642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6643 for as_dir in $PATH
   6644 do
   6645   IFS=$as_save_IFS
   6646   test -z "$as_dir" && as_dir=.
   6647     for ac_exec_ext in '' $ac_executable_extensions; do
   6648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6649     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6651     break 2
   6652   fi
   6653 done
   6654   done
   6655 IFS=$as_save_IFS
   6656 
   6657 fi
   6658 fi
   6659 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6660 if test -n "$DSYMUTIL"; then
   6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6662 $as_echo "$DSYMUTIL" >&6; }
   6663 else
   6664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6665 $as_echo "no" >&6; }
   6666 fi
   6667 
   6668 
   6669 fi
   6670 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6671   ac_ct_DSYMUTIL=$DSYMUTIL
   6672   # Extract the first word of "dsymutil", so it can be a program name with args.
   6673 set dummy dsymutil; ac_word=$2
   6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6675 $as_echo_n "checking for $ac_word... " >&6; }
   6676 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6677   $as_echo_n "(cached) " >&6
   6678 else
   6679   if test -n "$ac_ct_DSYMUTIL"; then
   6680   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6681 else
   6682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6683 for as_dir in $PATH
   6684 do
   6685   IFS=$as_save_IFS
   6686   test -z "$as_dir" && as_dir=.
   6687     for ac_exec_ext in '' $ac_executable_extensions; do
   6688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6689     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6691     break 2
   6692   fi
   6693 done
   6694   done
   6695 IFS=$as_save_IFS
   6696 
   6697 fi
   6698 fi
   6699 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6700 if test -n "$ac_ct_DSYMUTIL"; then
   6701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6702 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6703 else
   6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6705 $as_echo "no" >&6; }
   6706 fi
   6707 
   6708   if test "x$ac_ct_DSYMUTIL" = x; then
   6709     DSYMUTIL=":"
   6710   else
   6711     case $cross_compiling:$ac_tool_warned in
   6712 yes:)
   6713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6715 ac_tool_warned=yes ;;
   6716 esac
   6717     DSYMUTIL=$ac_ct_DSYMUTIL
   6718   fi
   6719 else
   6720   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6721 fi
   6722 
   6723     if test -n "$ac_tool_prefix"; then
   6724   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6725 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6727 $as_echo_n "checking for $ac_word... " >&6; }
   6728 if ${ac_cv_prog_NMEDIT+:} false; then :
   6729   $as_echo_n "(cached) " >&6
   6730 else
   6731   if test -n "$NMEDIT"; then
   6732   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6733 else
   6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6735 for as_dir in $PATH
   6736 do
   6737   IFS=$as_save_IFS
   6738   test -z "$as_dir" && as_dir=.
   6739     for ac_exec_ext in '' $ac_executable_extensions; do
   6740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6741     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6743     break 2
   6744   fi
   6745 done
   6746   done
   6747 IFS=$as_save_IFS
   6748 
   6749 fi
   6750 fi
   6751 NMEDIT=$ac_cv_prog_NMEDIT
   6752 if test -n "$NMEDIT"; then
   6753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6754 $as_echo "$NMEDIT" >&6; }
   6755 else
   6756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6757 $as_echo "no" >&6; }
   6758 fi
   6759 
   6760 
   6761 fi
   6762 if test -z "$ac_cv_prog_NMEDIT"; then
   6763   ac_ct_NMEDIT=$NMEDIT
   6764   # Extract the first word of "nmedit", so it can be a program name with args.
   6765 set dummy nmedit; ac_word=$2
   6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6767 $as_echo_n "checking for $ac_word... " >&6; }
   6768 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6769   $as_echo_n "(cached) " >&6
   6770 else
   6771   if test -n "$ac_ct_NMEDIT"; then
   6772   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6773 else
   6774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6775 for as_dir in $PATH
   6776 do
   6777   IFS=$as_save_IFS
   6778   test -z "$as_dir" && as_dir=.
   6779     for ac_exec_ext in '' $ac_executable_extensions; do
   6780   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6781     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6783     break 2
   6784   fi
   6785 done
   6786   done
   6787 IFS=$as_save_IFS
   6788 
   6789 fi
   6790 fi
   6791 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6792 if test -n "$ac_ct_NMEDIT"; then
   6793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6794 $as_echo "$ac_ct_NMEDIT" >&6; }
   6795 else
   6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6797 $as_echo "no" >&6; }
   6798 fi
   6799 
   6800   if test "x$ac_ct_NMEDIT" = x; then
   6801     NMEDIT=":"
   6802   else
   6803     case $cross_compiling:$ac_tool_warned in
   6804 yes:)
   6805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6807 ac_tool_warned=yes ;;
   6808 esac
   6809     NMEDIT=$ac_ct_NMEDIT
   6810   fi
   6811 else
   6812   NMEDIT="$ac_cv_prog_NMEDIT"
   6813 fi
   6814 
   6815     if test -n "$ac_tool_prefix"; then
   6816   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6817 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6819 $as_echo_n "checking for $ac_word... " >&6; }
   6820 if ${ac_cv_prog_LIPO+:} false; then :
   6821   $as_echo_n "(cached) " >&6
   6822 else
   6823   if test -n "$LIPO"; then
   6824   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6825 else
   6826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6827 for as_dir in $PATH
   6828 do
   6829   IFS=$as_save_IFS
   6830   test -z "$as_dir" && as_dir=.
   6831     for ac_exec_ext in '' $ac_executable_extensions; do
   6832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6833     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6835     break 2
   6836   fi
   6837 done
   6838   done
   6839 IFS=$as_save_IFS
   6840 
   6841 fi
   6842 fi
   6843 LIPO=$ac_cv_prog_LIPO
   6844 if test -n "$LIPO"; then
   6845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6846 $as_echo "$LIPO" >&6; }
   6847 else
   6848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6849 $as_echo "no" >&6; }
   6850 fi
   6851 
   6852 
   6853 fi
   6854 if test -z "$ac_cv_prog_LIPO"; then
   6855   ac_ct_LIPO=$LIPO
   6856   # Extract the first word of "lipo", so it can be a program name with args.
   6857 set dummy lipo; ac_word=$2
   6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6859 $as_echo_n "checking for $ac_word... " >&6; }
   6860 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6861   $as_echo_n "(cached) " >&6
   6862 else
   6863   if test -n "$ac_ct_LIPO"; then
   6864   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6865 else
   6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6867 for as_dir in $PATH
   6868 do
   6869   IFS=$as_save_IFS
   6870   test -z "$as_dir" && as_dir=.
   6871     for ac_exec_ext in '' $ac_executable_extensions; do
   6872   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6873     ac_cv_prog_ac_ct_LIPO="lipo"
   6874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6875     break 2
   6876   fi
   6877 done
   6878   done
   6879 IFS=$as_save_IFS
   6880 
   6881 fi
   6882 fi
   6883 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6884 if test -n "$ac_ct_LIPO"; then
   6885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6886 $as_echo "$ac_ct_LIPO" >&6; }
   6887 else
   6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6889 $as_echo "no" >&6; }
   6890 fi
   6891 
   6892   if test "x$ac_ct_LIPO" = x; then
   6893     LIPO=":"
   6894   else
   6895     case $cross_compiling:$ac_tool_warned in
   6896 yes:)
   6897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6899 ac_tool_warned=yes ;;
   6900 esac
   6901     LIPO=$ac_ct_LIPO
   6902   fi
   6903 else
   6904   LIPO="$ac_cv_prog_LIPO"
   6905 fi
   6906 
   6907     if test -n "$ac_tool_prefix"; then
   6908   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6909 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6911 $as_echo_n "checking for $ac_word... " >&6; }
   6912 if ${ac_cv_prog_OTOOL+:} false; then :
   6913   $as_echo_n "(cached) " >&6
   6914 else
   6915   if test -n "$OTOOL"; then
   6916   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6917 else
   6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6919 for as_dir in $PATH
   6920 do
   6921   IFS=$as_save_IFS
   6922   test -z "$as_dir" && as_dir=.
   6923     for ac_exec_ext in '' $ac_executable_extensions; do
   6924   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6925     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6927     break 2
   6928   fi
   6929 done
   6930   done
   6931 IFS=$as_save_IFS
   6932 
   6933 fi
   6934 fi
   6935 OTOOL=$ac_cv_prog_OTOOL
   6936 if test -n "$OTOOL"; then
   6937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6938 $as_echo "$OTOOL" >&6; }
   6939 else
   6940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6941 $as_echo "no" >&6; }
   6942 fi
   6943 
   6944 
   6945 fi
   6946 if test -z "$ac_cv_prog_OTOOL"; then
   6947   ac_ct_OTOOL=$OTOOL
   6948   # Extract the first word of "otool", so it can be a program name with args.
   6949 set dummy otool; ac_word=$2
   6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6951 $as_echo_n "checking for $ac_word... " >&6; }
   6952 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6953   $as_echo_n "(cached) " >&6
   6954 else
   6955   if test -n "$ac_ct_OTOOL"; then
   6956   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6957 else
   6958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6959 for as_dir in $PATH
   6960 do
   6961   IFS=$as_save_IFS
   6962   test -z "$as_dir" && as_dir=.
   6963     for ac_exec_ext in '' $ac_executable_extensions; do
   6964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6965     ac_cv_prog_ac_ct_OTOOL="otool"
   6966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6967     break 2
   6968   fi
   6969 done
   6970   done
   6971 IFS=$as_save_IFS
   6972 
   6973 fi
   6974 fi
   6975 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6976 if test -n "$ac_ct_OTOOL"; then
   6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6978 $as_echo "$ac_ct_OTOOL" >&6; }
   6979 else
   6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6981 $as_echo "no" >&6; }
   6982 fi
   6983 
   6984   if test "x$ac_ct_OTOOL" = x; then
   6985     OTOOL=":"
   6986   else
   6987     case $cross_compiling:$ac_tool_warned in
   6988 yes:)
   6989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6991 ac_tool_warned=yes ;;
   6992 esac
   6993     OTOOL=$ac_ct_OTOOL
   6994   fi
   6995 else
   6996   OTOOL="$ac_cv_prog_OTOOL"
   6997 fi
   6998 
   6999     if test -n "$ac_tool_prefix"; then
   7000   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7001 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7003 $as_echo_n "checking for $ac_word... " >&6; }
   7004 if ${ac_cv_prog_OTOOL64+:} false; then :
   7005   $as_echo_n "(cached) " >&6
   7006 else
   7007   if test -n "$OTOOL64"; then
   7008   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7009 else
   7010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7011 for as_dir in $PATH
   7012 do
   7013   IFS=$as_save_IFS
   7014   test -z "$as_dir" && as_dir=.
   7015     for ac_exec_ext in '' $ac_executable_extensions; do
   7016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7017     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7019     break 2
   7020   fi
   7021 done
   7022   done
   7023 IFS=$as_save_IFS
   7024 
   7025 fi
   7026 fi
   7027 OTOOL64=$ac_cv_prog_OTOOL64
   7028 if test -n "$OTOOL64"; then
   7029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7030 $as_echo "$OTOOL64" >&6; }
   7031 else
   7032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7033 $as_echo "no" >&6; }
   7034 fi
   7035 
   7036 
   7037 fi
   7038 if test -z "$ac_cv_prog_OTOOL64"; then
   7039   ac_ct_OTOOL64=$OTOOL64
   7040   # Extract the first word of "otool64", so it can be a program name with args.
   7041 set dummy otool64; ac_word=$2
   7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7043 $as_echo_n "checking for $ac_word... " >&6; }
   7044 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7045   $as_echo_n "(cached) " >&6
   7046 else
   7047   if test -n "$ac_ct_OTOOL64"; then
   7048   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7049 else
   7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7051 for as_dir in $PATH
   7052 do
   7053   IFS=$as_save_IFS
   7054   test -z "$as_dir" && as_dir=.
   7055     for ac_exec_ext in '' $ac_executable_extensions; do
   7056   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7057     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7059     break 2
   7060   fi
   7061 done
   7062   done
   7063 IFS=$as_save_IFS
   7064 
   7065 fi
   7066 fi
   7067 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7068 if test -n "$ac_ct_OTOOL64"; then
   7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7070 $as_echo "$ac_ct_OTOOL64" >&6; }
   7071 else
   7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7073 $as_echo "no" >&6; }
   7074 fi
   7075 
   7076   if test "x$ac_ct_OTOOL64" = x; then
   7077     OTOOL64=":"
   7078   else
   7079     case $cross_compiling:$ac_tool_warned in
   7080 yes:)
   7081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7083 ac_tool_warned=yes ;;
   7084 esac
   7085     OTOOL64=$ac_ct_OTOOL64
   7086   fi
   7087 else
   7088   OTOOL64="$ac_cv_prog_OTOOL64"
   7089 fi
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7118 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7119 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7120   $as_echo_n "(cached) " >&6
   7121 else
   7122   lt_cv_apple_cc_single_mod=no
   7123       if test -z "${LT_MULTI_MODULE}"; then
   7124 	# By default we will add the -single_module flag. You can override
   7125 	# by either setting the environment variable LT_MULTI_MODULE
   7126 	# non-empty at configure time, or by adding -multi_module to the
   7127 	# link flags.
   7128 	rm -rf libconftest.dylib*
   7129 	echo "int foo(void){return 1;}" > conftest.c
   7130 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7131 -dynamiclib -Wl,-single_module conftest.c" >&5
   7132 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7133 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7134         _lt_result=$?
   7135 	# If there is a non-empty error log, and "single_module"
   7136 	# appears in it, assume the flag caused a linker warning
   7137         if test -s conftest.err && $GREP single_module conftest.err; then
   7138 	  cat conftest.err >&5
   7139 	# Otherwise, if the output was created with a 0 exit code from
   7140 	# the compiler, it worked.
   7141 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7142 	  lt_cv_apple_cc_single_mod=yes
   7143 	else
   7144 	  cat conftest.err >&5
   7145 	fi
   7146 	rm -rf libconftest.dylib*
   7147 	rm -f conftest.*
   7148       fi
   7149 fi
   7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7151 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7152 
   7153     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7154 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7155 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7156   $as_echo_n "(cached) " >&6
   7157 else
   7158   lt_cv_ld_exported_symbols_list=no
   7159       save_LDFLAGS=$LDFLAGS
   7160       echo "_main" > conftest.sym
   7161       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7162       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7163 /* end confdefs.h.  */
   7164 
   7165 int
   7166 main ()
   7167 {
   7168 
   7169   ;
   7170   return 0;
   7171 }
   7172 _ACEOF
   7173 if ac_fn_c_try_link "$LINENO"; then :
   7174   lt_cv_ld_exported_symbols_list=yes
   7175 else
   7176   lt_cv_ld_exported_symbols_list=no
   7177 fi
   7178 rm -f core conftest.err conftest.$ac_objext \
   7179     conftest$ac_exeext conftest.$ac_ext
   7180 	LDFLAGS="$save_LDFLAGS"
   7181 
   7182 fi
   7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7184 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7185 
   7186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7187 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7188 if ${lt_cv_ld_force_load+:} false; then :
   7189   $as_echo_n "(cached) " >&6
   7190 else
   7191   lt_cv_ld_force_load=no
   7192       cat > conftest.c << _LT_EOF
   7193 int forced_loaded() { return 2;}
   7194 _LT_EOF
   7195       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7196       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7197       echo "$AR cru libconftest.a conftest.o" >&5
   7198       $AR cru libconftest.a conftest.o 2>&5
   7199       echo "$RANLIB libconftest.a" >&5
   7200       $RANLIB libconftest.a 2>&5
   7201       cat > conftest.c << _LT_EOF
   7202 int main() { return 0;}
   7203 _LT_EOF
   7204       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7205       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7206       _lt_result=$?
   7207       if test -s conftest.err && $GREP force_load conftest.err; then
   7208 	cat conftest.err >&5
   7209       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7210 	lt_cv_ld_force_load=yes
   7211       else
   7212 	cat conftest.err >&5
   7213       fi
   7214         rm -f conftest.err libconftest.a conftest conftest.c
   7215         rm -rf conftest.dSYM
   7216 
   7217 fi
   7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7219 $as_echo "$lt_cv_ld_force_load" >&6; }
   7220     case $host_os in
   7221     rhapsody* | darwin1.[012])
   7222       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7223     darwin1.*)
   7224       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7225     darwin*) # darwin 5.x on
   7226       # if running on 10.5 or later, the deployment target defaults
   7227       # to the OS version, if on x86, and 10.4, the deployment
   7228       # target defaults to 10.4. Don't you love it?
   7229       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7230 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7231 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7232 	10.[012]*)
   7233 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7234 	10.*)
   7235 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7236       esac
   7237     ;;
   7238   esac
   7239     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7240       _lt_dar_single_mod='$single_module'
   7241     fi
   7242     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7243       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7244     else
   7245       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7246     fi
   7247     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7248       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7249     else
   7250       _lt_dsymutil=
   7251     fi
   7252     ;;
   7253   esac
   7254 
   7255 ac_ext=c
   7256 ac_cpp='$CPP $CPPFLAGS'
   7257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7261 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7262 # On Suns, sometimes $CPP names a directory.
   7263 if test -n "$CPP" && test -d "$CPP"; then
   7264   CPP=
   7265 fi
   7266 if test -z "$CPP"; then
   7267   if ${ac_cv_prog_CPP+:} false; then :
   7268   $as_echo_n "(cached) " >&6
   7269 else
   7270       # Double quotes because CPP needs to be expanded
   7271     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7272     do
   7273       ac_preproc_ok=false
   7274 for ac_c_preproc_warn_flag in '' yes
   7275 do
   7276   # Use a header file that comes with gcc, so configuring glibc
   7277   # with a fresh cross-compiler works.
   7278   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7279   # <limits.h> exists even on freestanding compilers.
   7280   # On the NeXT, cc -E runs the code through the compiler's parser,
   7281   # not just through cpp. "Syntax error" is here to catch this case.
   7282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7283 /* end confdefs.h.  */
   7284 #ifdef __STDC__
   7285 # include <limits.h>
   7286 #else
   7287 # include <assert.h>
   7288 #endif
   7289 		     Syntax error
   7290 _ACEOF
   7291 if ac_fn_c_try_cpp "$LINENO"; then :
   7292 
   7293 else
   7294   # Broken: fails on valid input.
   7295 continue
   7296 fi
   7297 rm -f conftest.err conftest.i conftest.$ac_ext
   7298 
   7299   # OK, works on sane cases.  Now check whether nonexistent headers
   7300   # can be detected and how.
   7301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7302 /* end confdefs.h.  */
   7303 #include <ac_nonexistent.h>
   7304 _ACEOF
   7305 if ac_fn_c_try_cpp "$LINENO"; then :
   7306   # Broken: success on invalid input.
   7307 continue
   7308 else
   7309   # Passes both tests.
   7310 ac_preproc_ok=:
   7311 break
   7312 fi
   7313 rm -f conftest.err conftest.i conftest.$ac_ext
   7314 
   7315 done
   7316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7317 rm -f conftest.i conftest.err conftest.$ac_ext
   7318 if $ac_preproc_ok; then :
   7319   break
   7320 fi
   7321 
   7322     done
   7323     ac_cv_prog_CPP=$CPP
   7324 
   7325 fi
   7326   CPP=$ac_cv_prog_CPP
   7327 else
   7328   ac_cv_prog_CPP=$CPP
   7329 fi
   7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7331 $as_echo "$CPP" >&6; }
   7332 ac_preproc_ok=false
   7333 for ac_c_preproc_warn_flag in '' yes
   7334 do
   7335   # Use a header file that comes with gcc, so configuring glibc
   7336   # with a fresh cross-compiler works.
   7337   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7338   # <limits.h> exists even on freestanding compilers.
   7339   # On the NeXT, cc -E runs the code through the compiler's parser,
   7340   # not just through cpp. "Syntax error" is here to catch this case.
   7341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 #ifdef __STDC__
   7344 # include <limits.h>
   7345 #else
   7346 # include <assert.h>
   7347 #endif
   7348 		     Syntax error
   7349 _ACEOF
   7350 if ac_fn_c_try_cpp "$LINENO"; then :
   7351 
   7352 else
   7353   # Broken: fails on valid input.
   7354 continue
   7355 fi
   7356 rm -f conftest.err conftest.i conftest.$ac_ext
   7357 
   7358   # OK, works on sane cases.  Now check whether nonexistent headers
   7359   # can be detected and how.
   7360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7361 /* end confdefs.h.  */
   7362 #include <ac_nonexistent.h>
   7363 _ACEOF
   7364 if ac_fn_c_try_cpp "$LINENO"; then :
   7365   # Broken: success on invalid input.
   7366 continue
   7367 else
   7368   # Passes both tests.
   7369 ac_preproc_ok=:
   7370 break
   7371 fi
   7372 rm -f conftest.err conftest.i conftest.$ac_ext
   7373 
   7374 done
   7375 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7376 rm -f conftest.i conftest.err conftest.$ac_ext
   7377 if $ac_preproc_ok; then :
   7378 
   7379 else
   7380   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7382 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7383 See \`config.log' for more details" "$LINENO" 5; }
   7384 fi
   7385 
   7386 ac_ext=c
   7387 ac_cpp='$CPP $CPPFLAGS'
   7388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7391 
   7392 
   7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7394 $as_echo_n "checking for ANSI C header files... " >&6; }
   7395 if ${ac_cv_header_stdc+:} false; then :
   7396   $as_echo_n "(cached) " >&6
   7397 else
   7398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7399 /* end confdefs.h.  */
   7400 #include <stdlib.h>
   7401 #include <stdarg.h>
   7402 #include <string.h>
   7403 #include <float.h>
   7404 
   7405 int
   7406 main ()
   7407 {
   7408 
   7409   ;
   7410   return 0;
   7411 }
   7412 _ACEOF
   7413 if ac_fn_c_try_compile "$LINENO"; then :
   7414   ac_cv_header_stdc=yes
   7415 else
   7416   ac_cv_header_stdc=no
   7417 fi
   7418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7419 
   7420 if test $ac_cv_header_stdc = yes; then
   7421   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7423 /* end confdefs.h.  */
   7424 #include <string.h>
   7425 
   7426 _ACEOF
   7427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7428   $EGREP "memchr" >/dev/null 2>&1; then :
   7429 
   7430 else
   7431   ac_cv_header_stdc=no
   7432 fi
   7433 rm -f conftest*
   7434 
   7435 fi
   7436 
   7437 if test $ac_cv_header_stdc = yes; then
   7438   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7440 /* end confdefs.h.  */
   7441 #include <stdlib.h>
   7442 
   7443 _ACEOF
   7444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7445   $EGREP "free" >/dev/null 2>&1; then :
   7446 
   7447 else
   7448   ac_cv_header_stdc=no
   7449 fi
   7450 rm -f conftest*
   7451 
   7452 fi
   7453 
   7454 if test $ac_cv_header_stdc = yes; then
   7455   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7456   if test "$cross_compiling" = yes; then :
   7457   :
   7458 else
   7459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7460 /* end confdefs.h.  */
   7461 #include <ctype.h>
   7462 #include <stdlib.h>
   7463 #if ((' ' & 0x0FF) == 0x020)
   7464 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7465 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7466 #else
   7467 # define ISLOWER(c) \
   7468 		   (('a' <= (c) && (c) <= 'i') \
   7469 		     || ('j' <= (c) && (c) <= 'r') \
   7470 		     || ('s' <= (c) && (c) <= 'z'))
   7471 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7472 #endif
   7473 
   7474 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7475 int
   7476 main ()
   7477 {
   7478   int i;
   7479   for (i = 0; i < 256; i++)
   7480     if (XOR (islower (i), ISLOWER (i))
   7481 	|| toupper (i) != TOUPPER (i))
   7482       return 2;
   7483   return 0;
   7484 }
   7485 _ACEOF
   7486 if ac_fn_c_try_run "$LINENO"; then :
   7487 
   7488 else
   7489   ac_cv_header_stdc=no
   7490 fi
   7491 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7492   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7493 fi
   7494 
   7495 fi
   7496 fi
   7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7498 $as_echo "$ac_cv_header_stdc" >&6; }
   7499 if test $ac_cv_header_stdc = yes; then
   7500 
   7501 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7502 
   7503 fi
   7504 
   7505 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7506 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7507 		  inttypes.h stdint.h unistd.h
   7508 do :
   7509   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7510 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7511 "
   7512 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7513   cat >>confdefs.h <<_ACEOF
   7514 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7515 _ACEOF
   7516 
   7517 fi
   7518 
   7519 done
   7520 
   7521 
   7522 for ac_header in dlfcn.h
   7523 do :
   7524   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7525 "
   7526 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7527   cat >>confdefs.h <<_ACEOF
   7528 #define HAVE_DLFCN_H 1
   7529 _ACEOF
   7530 
   7531 fi
   7532 
   7533 done
   7534 
   7535 
   7536 
   7537 
   7538 
   7539 # Set options
   7540 
   7541 
   7542 
   7543         enable_dlopen=no
   7544 
   7545 
   7546   enable_win32_dll=no
   7547 
   7548 
   7549             # Check whether --enable-shared was given.
   7550 if test "${enable_shared+set}" = set; then :
   7551   enableval=$enable_shared; p=${PACKAGE-default}
   7552     case $enableval in
   7553     yes) enable_shared=yes ;;
   7554     no) enable_shared=no ;;
   7555     *)
   7556       enable_shared=no
   7557       # Look at the argument we got.  We use all the common list separators.
   7558       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7559       for pkg in $enableval; do
   7560 	IFS="$lt_save_ifs"
   7561 	if test "X$pkg" = "X$p"; then
   7562 	  enable_shared=yes
   7563 	fi
   7564       done
   7565       IFS="$lt_save_ifs"
   7566       ;;
   7567     esac
   7568 else
   7569   enable_shared=yes
   7570 fi
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580   # Check whether --enable-static was given.
   7581 if test "${enable_static+set}" = set; then :
   7582   enableval=$enable_static; p=${PACKAGE-default}
   7583     case $enableval in
   7584     yes) enable_static=yes ;;
   7585     no) enable_static=no ;;
   7586     *)
   7587      enable_static=no
   7588       # Look at the argument we got.  We use all the common list separators.
   7589       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7590       for pkg in $enableval; do
   7591 	IFS="$lt_save_ifs"
   7592 	if test "X$pkg" = "X$p"; then
   7593 	  enable_static=yes
   7594 	fi
   7595       done
   7596       IFS="$lt_save_ifs"
   7597       ;;
   7598     esac
   7599 else
   7600   enable_static=yes
   7601 fi
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 # Check whether --with-pic was given.
   7613 if test "${with_pic+set}" = set; then :
   7614   withval=$with_pic; lt_p=${PACKAGE-default}
   7615     case $withval in
   7616     yes|no) pic_mode=$withval ;;
   7617     *)
   7618       pic_mode=default
   7619       # Look at the argument we got.  We use all the common list separators.
   7620       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7621       for lt_pkg in $withval; do
   7622 	IFS="$lt_save_ifs"
   7623 	if test "X$lt_pkg" = "X$lt_p"; then
   7624 	  pic_mode=yes
   7625 	fi
   7626       done
   7627       IFS="$lt_save_ifs"
   7628       ;;
   7629     esac
   7630 else
   7631   pic_mode=default
   7632 fi
   7633 
   7634 
   7635 test -z "$pic_mode" && pic_mode=default
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643   # Check whether --enable-fast-install was given.
   7644 if test "${enable_fast_install+set}" = set; then :
   7645   enableval=$enable_fast_install; p=${PACKAGE-default}
   7646     case $enableval in
   7647     yes) enable_fast_install=yes ;;
   7648     no) enable_fast_install=no ;;
   7649     *)
   7650       enable_fast_install=no
   7651       # Look at the argument we got.  We use all the common list separators.
   7652       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7653       for pkg in $enableval; do
   7654 	IFS="$lt_save_ifs"
   7655 	if test "X$pkg" = "X$p"; then
   7656 	  enable_fast_install=yes
   7657 	fi
   7658       done
   7659       IFS="$lt_save_ifs"
   7660       ;;
   7661     esac
   7662 else
   7663   enable_fast_install=yes
   7664 fi
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 # This can be used to rebuild libtool when needed
   7677 LIBTOOL_DEPS="$ltmain"
   7678 
   7679 # Always use our own libtool.
   7680 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 test -z "$LN_S" && LN_S="ln -s"
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 if test -n "${ZSH_VERSION+set}" ; then
   7727    setopt NO_GLOB_SUBST
   7728 fi
   7729 
   7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7731 $as_echo_n "checking for objdir... " >&6; }
   7732 if ${lt_cv_objdir+:} false; then :
   7733   $as_echo_n "(cached) " >&6
   7734 else
   7735   rm -f .libs 2>/dev/null
   7736 mkdir .libs 2>/dev/null
   7737 if test -d .libs; then
   7738   lt_cv_objdir=.libs
   7739 else
   7740   # MS-DOS does not allow filenames that begin with a dot.
   7741   lt_cv_objdir=_libs
   7742 fi
   7743 rmdir .libs 2>/dev/null
   7744 fi
   7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7746 $as_echo "$lt_cv_objdir" >&6; }
   7747 objdir=$lt_cv_objdir
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 cat >>confdefs.h <<_ACEOF
   7754 #define LT_OBJDIR "$lt_cv_objdir/"
   7755 _ACEOF
   7756 
   7757 
   7758 
   7759 
   7760 case $host_os in
   7761 aix3*)
   7762   # AIX sometimes has problems with the GCC collect2 program.  For some
   7763   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7764   # vanish in a puff of smoke.
   7765   if test "X${COLLECT_NAMES+set}" != Xset; then
   7766     COLLECT_NAMES=
   7767     export COLLECT_NAMES
   7768   fi
   7769   ;;
   7770 esac
   7771 
   7772 # Global variables:
   7773 ofile=libtool
   7774 can_build_shared=yes
   7775 
   7776 # All known linkers require a `.a' archive for static linking (except MSVC,
   7777 # which needs '.lib').
   7778 libext=a
   7779 
   7780 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7781 
   7782 old_CC="$CC"
   7783 old_CFLAGS="$CFLAGS"
   7784 
   7785 # Set sane defaults for various variables
   7786 test -z "$CC" && CC=cc
   7787 test -z "$LTCC" && LTCC=$CC
   7788 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7789 test -z "$LD" && LD=ld
   7790 test -z "$ac_objext" && ac_objext=o
   7791 
   7792 for cc_temp in $compiler""; do
   7793   case $cc_temp in
   7794     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7795     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7796     \-*) ;;
   7797     *) break;;
   7798   esac
   7799 done
   7800 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7801 
   7802 
   7803 # Only perform the check for file, if the check method requires it
   7804 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7805 case $deplibs_check_method in
   7806 file_magic*)
   7807   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7808     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7809 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7810 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7811   $as_echo_n "(cached) " >&6
   7812 else
   7813   case $MAGIC_CMD in
   7814 [\\/*] |  ?:[\\/]*)
   7815   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7816   ;;
   7817 *)
   7818   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7819   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7820   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7821   for ac_dir in $ac_dummy; do
   7822     IFS="$lt_save_ifs"
   7823     test -z "$ac_dir" && ac_dir=.
   7824     if test -f $ac_dir/${ac_tool_prefix}file; then
   7825       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7826       if test -n "$file_magic_test_file"; then
   7827 	case $deplibs_check_method in
   7828 	"file_magic "*)
   7829 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7830 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7831 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7832 	    $EGREP "$file_magic_regex" > /dev/null; then
   7833 	    :
   7834 	  else
   7835 	    cat <<_LT_EOF 1>&2
   7836 
   7837 *** Warning: the command libtool uses to detect shared libraries,
   7838 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7839 *** The result is that libtool may fail to recognize shared libraries
   7840 *** as such.  This will affect the creation of libtool libraries that
   7841 *** depend on shared libraries, but programs linked with such libtool
   7842 *** libraries will work regardless of this problem.  Nevertheless, you
   7843 *** may want to report the problem to your system manager and/or to
   7844 *** bug-libtool@gnu.org
   7845 
   7846 _LT_EOF
   7847 	  fi ;;
   7848 	esac
   7849       fi
   7850       break
   7851     fi
   7852   done
   7853   IFS="$lt_save_ifs"
   7854   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7855   ;;
   7856 esac
   7857 fi
   7858 
   7859 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7860 if test -n "$MAGIC_CMD"; then
   7861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7862 $as_echo "$MAGIC_CMD" >&6; }
   7863 else
   7864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7865 $as_echo "no" >&6; }
   7866 fi
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7873   if test -n "$ac_tool_prefix"; then
   7874     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7875 $as_echo_n "checking for file... " >&6; }
   7876 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7877   $as_echo_n "(cached) " >&6
   7878 else
   7879   case $MAGIC_CMD in
   7880 [\\/*] |  ?:[\\/]*)
   7881   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7882   ;;
   7883 *)
   7884   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7885   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7886   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7887   for ac_dir in $ac_dummy; do
   7888     IFS="$lt_save_ifs"
   7889     test -z "$ac_dir" && ac_dir=.
   7890     if test -f $ac_dir/file; then
   7891       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7892       if test -n "$file_magic_test_file"; then
   7893 	case $deplibs_check_method in
   7894 	"file_magic "*)
   7895 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7896 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7897 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7898 	    $EGREP "$file_magic_regex" > /dev/null; then
   7899 	    :
   7900 	  else
   7901 	    cat <<_LT_EOF 1>&2
   7902 
   7903 *** Warning: the command libtool uses to detect shared libraries,
   7904 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7905 *** The result is that libtool may fail to recognize shared libraries
   7906 *** as such.  This will affect the creation of libtool libraries that
   7907 *** depend on shared libraries, but programs linked with such libtool
   7908 *** libraries will work regardless of this problem.  Nevertheless, you
   7909 *** may want to report the problem to your system manager and/or to
   7910 *** bug-libtool@gnu.org
   7911 
   7912 _LT_EOF
   7913 	  fi ;;
   7914 	esac
   7915       fi
   7916       break
   7917     fi
   7918   done
   7919   IFS="$lt_save_ifs"
   7920   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7921   ;;
   7922 esac
   7923 fi
   7924 
   7925 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7926 if test -n "$MAGIC_CMD"; then
   7927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7928 $as_echo "$MAGIC_CMD" >&6; }
   7929 else
   7930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7931 $as_echo "no" >&6; }
   7932 fi
   7933 
   7934 
   7935   else
   7936     MAGIC_CMD=:
   7937   fi
   7938 fi
   7939 
   7940   fi
   7941   ;;
   7942 esac
   7943 
   7944 # Use C for the default configuration in the libtool script
   7945 
   7946 lt_save_CC="$CC"
   7947 ac_ext=c
   7948 ac_cpp='$CPP $CPPFLAGS'
   7949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7952 
   7953 
   7954 # Source file extension for C test sources.
   7955 ac_ext=c
   7956 
   7957 # Object file extension for compiled C test sources.
   7958 objext=o
   7959 objext=$objext
   7960 
   7961 # Code to be used in simple compile tests
   7962 lt_simple_compile_test_code="int some_variable = 0;"
   7963 
   7964 # Code to be used in simple link tests
   7965 lt_simple_link_test_code='int main(){return(0);}'
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 # If no C compiler was specified, use CC.
   7974 LTCC=${LTCC-"$CC"}
   7975 
   7976 # If no C compiler flags were specified, use CFLAGS.
   7977 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7978 
   7979 # Allow CC to be a program name with arguments.
   7980 compiler=$CC
   7981 
   7982 # Save the default compiler, since it gets overwritten when the other
   7983 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7984 compiler_DEFAULT=$CC
   7985 
   7986 # save warnings/boilerplate of simple test code
   7987 ac_outfile=conftest.$ac_objext
   7988 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7989 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7990 _lt_compiler_boilerplate=`cat conftest.err`
   7991 $RM conftest*
   7992 
   7993 ac_outfile=conftest.$ac_objext
   7994 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7995 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7996 _lt_linker_boilerplate=`cat conftest.err`
   7997 $RM -r conftest*
   7998 
   7999 
   8000 if test -n "$compiler"; then
   8001 
   8002 lt_prog_compiler_no_builtin_flag=
   8003 
   8004 if test "$GCC" = yes; then
   8005   case $cc_basename in
   8006   nvcc*)
   8007     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8008   *)
   8009     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8010   esac
   8011 
   8012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8013 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8014 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8015   $as_echo_n "(cached) " >&6
   8016 else
   8017   lt_cv_prog_compiler_rtti_exceptions=no
   8018    ac_outfile=conftest.$ac_objext
   8019    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8020    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8021    # Insert the option either (1) after the last *FLAGS variable, or
   8022    # (2) before a word containing "conftest.", or (3) at the end.
   8023    # Note that $ac_compile itself does not contain backslashes and begins
   8024    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8025    # The option is referenced via a variable to avoid confusing sed.
   8026    lt_compile=`echo "$ac_compile" | $SED \
   8027    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8028    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8029    -e 's:$: $lt_compiler_flag:'`
   8030    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8031    (eval "$lt_compile" 2>conftest.err)
   8032    ac_status=$?
   8033    cat conftest.err >&5
   8034    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8035    if (exit $ac_status) && test -s "$ac_outfile"; then
   8036      # The compiler can only warn and ignore the option if not recognized
   8037      # So say no if there are warnings other than the usual output.
   8038      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8039      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8040      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8041        lt_cv_prog_compiler_rtti_exceptions=yes
   8042      fi
   8043    fi
   8044    $RM conftest*
   8045 
   8046 fi
   8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8048 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8049 
   8050 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8051     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8052 else
   8053     :
   8054 fi
   8055 
   8056 fi
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063   lt_prog_compiler_wl=
   8064 lt_prog_compiler_pic=
   8065 lt_prog_compiler_static=
   8066 
   8067 
   8068   if test "$GCC" = yes; then
   8069     lt_prog_compiler_wl='-Wl,'
   8070     lt_prog_compiler_static='-static'
   8071 
   8072     case $host_os in
   8073       aix*)
   8074       # All AIX code is PIC.
   8075       if test "$host_cpu" = ia64; then
   8076 	# AIX 5 now supports IA64 processor
   8077 	lt_prog_compiler_static='-Bstatic'
   8078       fi
   8079       ;;
   8080 
   8081     amigaos*)
   8082       case $host_cpu in
   8083       powerpc)
   8084             # see comment about AmigaOS4 .so support
   8085             lt_prog_compiler_pic='-fPIC'
   8086         ;;
   8087       m68k)
   8088             # FIXME: we need at least 68020 code to build shared libraries, but
   8089             # adding the `-m68020' flag to GCC prevents building anything better,
   8090             # like `-m68040'.
   8091             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8092         ;;
   8093       esac
   8094       ;;
   8095 
   8096     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8097       # PIC is the default for these OSes.
   8098       ;;
   8099 
   8100     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8101       # This hack is so that the source file can tell whether it is being
   8102       # built for inclusion in a dll (and should export symbols for example).
   8103       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8104       # (--disable-auto-import) libraries
   8105       lt_prog_compiler_pic='-DDLL_EXPORT'
   8106       ;;
   8107 
   8108     darwin* | rhapsody*)
   8109       # PIC is the default on this platform
   8110       # Common symbols not allowed in MH_DYLIB files
   8111       lt_prog_compiler_pic='-fno-common'
   8112       ;;
   8113 
   8114     haiku*)
   8115       # PIC is the default for Haiku.
   8116       # The "-static" flag exists, but is broken.
   8117       lt_prog_compiler_static=
   8118       ;;
   8119 
   8120     hpux*)
   8121       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8122       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8123       # sets the default TLS model and affects inlining.
   8124       case $host_cpu in
   8125       hppa*64*)
   8126 	# +Z the default
   8127 	;;
   8128       *)
   8129 	lt_prog_compiler_pic='-fPIC'
   8130 	;;
   8131       esac
   8132       ;;
   8133 
   8134     interix[3-9]*)
   8135       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8136       # Instead, we relocate shared libraries at runtime.
   8137       ;;
   8138 
   8139     msdosdjgpp*)
   8140       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8141       # on systems that don't support them.
   8142       lt_prog_compiler_can_build_shared=no
   8143       enable_shared=no
   8144       ;;
   8145 
   8146     *nto* | *qnx*)
   8147       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8148       # it will coredump.
   8149       lt_prog_compiler_pic='-fPIC -shared'
   8150       ;;
   8151 
   8152     sysv4*MP*)
   8153       if test -d /usr/nec; then
   8154 	lt_prog_compiler_pic=-Kconform_pic
   8155       fi
   8156       ;;
   8157 
   8158     *)
   8159       lt_prog_compiler_pic='-fPIC'
   8160       ;;
   8161     esac
   8162 
   8163     case $cc_basename in
   8164     nvcc*) # Cuda Compiler Driver 2.2
   8165       lt_prog_compiler_wl='-Xlinker '
   8166       if test -n "$lt_prog_compiler_pic"; then
   8167         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8168       fi
   8169       ;;
   8170     esac
   8171   else
   8172     # PORTME Check for flag to pass linker flags through the system compiler.
   8173     case $host_os in
   8174     aix*)
   8175       lt_prog_compiler_wl='-Wl,'
   8176       if test "$host_cpu" = ia64; then
   8177 	# AIX 5 now supports IA64 processor
   8178 	lt_prog_compiler_static='-Bstatic'
   8179       else
   8180 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8181       fi
   8182       ;;
   8183 
   8184     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8185       # This hack is so that the source file can tell whether it is being
   8186       # built for inclusion in a dll (and should export symbols for example).
   8187       lt_prog_compiler_pic='-DDLL_EXPORT'
   8188       ;;
   8189 
   8190     hpux9* | hpux10* | hpux11*)
   8191       lt_prog_compiler_wl='-Wl,'
   8192       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8193       # not for PA HP-UX.
   8194       case $host_cpu in
   8195       hppa*64*|ia64*)
   8196 	# +Z the default
   8197 	;;
   8198       *)
   8199 	lt_prog_compiler_pic='+Z'
   8200 	;;
   8201       esac
   8202       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8203       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8204       ;;
   8205 
   8206     irix5* | irix6* | nonstopux*)
   8207       lt_prog_compiler_wl='-Wl,'
   8208       # PIC (with -KPIC) is the default.
   8209       lt_prog_compiler_static='-non_shared'
   8210       ;;
   8211 
   8212     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8213       case $cc_basename in
   8214       # old Intel for x86_64 which still supported -KPIC.
   8215       ecc*)
   8216 	lt_prog_compiler_wl='-Wl,'
   8217 	lt_prog_compiler_pic='-KPIC'
   8218 	lt_prog_compiler_static='-static'
   8219         ;;
   8220       # icc used to be incompatible with GCC.
   8221       # ICC 10 doesn't accept -KPIC any more.
   8222       icc* | ifort*)
   8223 	lt_prog_compiler_wl='-Wl,'
   8224 	lt_prog_compiler_pic='-fPIC'
   8225 	lt_prog_compiler_static='-static'
   8226         ;;
   8227       # Lahey Fortran 8.1.
   8228       lf95*)
   8229 	lt_prog_compiler_wl='-Wl,'
   8230 	lt_prog_compiler_pic='--shared'
   8231 	lt_prog_compiler_static='--static'
   8232 	;;
   8233       nagfor*)
   8234 	# NAG Fortran compiler
   8235 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8236 	lt_prog_compiler_pic='-PIC'
   8237 	lt_prog_compiler_static='-Bstatic'
   8238 	;;
   8239       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8240         # Portland Group compilers (*not* the Pentium gcc compiler,
   8241 	# which looks to be a dead project)
   8242 	lt_prog_compiler_wl='-Wl,'
   8243 	lt_prog_compiler_pic='-fpic'
   8244 	lt_prog_compiler_static='-Bstatic'
   8245         ;;
   8246       ccc*)
   8247         lt_prog_compiler_wl='-Wl,'
   8248         # All Alpha code is PIC.
   8249         lt_prog_compiler_static='-non_shared'
   8250         ;;
   8251       xl* | bgxl* | bgf* | mpixl*)
   8252 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8253 	lt_prog_compiler_wl='-Wl,'
   8254 	lt_prog_compiler_pic='-qpic'
   8255 	lt_prog_compiler_static='-qstaticlink'
   8256 	;;
   8257       *)
   8258 	case `$CC -V 2>&1 | sed 5q` in
   8259 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8260 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8261 	  lt_prog_compiler_pic='-KPIC'
   8262 	  lt_prog_compiler_static='-Bstatic'
   8263 	  lt_prog_compiler_wl=''
   8264 	  ;;
   8265 	*Sun\ F* | *Sun*Fortran*)
   8266 	  lt_prog_compiler_pic='-KPIC'
   8267 	  lt_prog_compiler_static='-Bstatic'
   8268 	  lt_prog_compiler_wl='-Qoption ld '
   8269 	  ;;
   8270 	*Sun\ C*)
   8271 	  # Sun C 5.9
   8272 	  lt_prog_compiler_pic='-KPIC'
   8273 	  lt_prog_compiler_static='-Bstatic'
   8274 	  lt_prog_compiler_wl='-Wl,'
   8275 	  ;;
   8276         *Intel*\ [CF]*Compiler*)
   8277 	  lt_prog_compiler_wl='-Wl,'
   8278 	  lt_prog_compiler_pic='-fPIC'
   8279 	  lt_prog_compiler_static='-static'
   8280 	  ;;
   8281 	*Portland\ Group*)
   8282 	  lt_prog_compiler_wl='-Wl,'
   8283 	  lt_prog_compiler_pic='-fpic'
   8284 	  lt_prog_compiler_static='-Bstatic'
   8285 	  ;;
   8286 	esac
   8287 	;;
   8288       esac
   8289       ;;
   8290 
   8291     newsos6)
   8292       lt_prog_compiler_pic='-KPIC'
   8293       lt_prog_compiler_static='-Bstatic'
   8294       ;;
   8295 
   8296     *nto* | *qnx*)
   8297       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8298       # it will coredump.
   8299       lt_prog_compiler_pic='-fPIC -shared'
   8300       ;;
   8301 
   8302     osf3* | osf4* | osf5*)
   8303       lt_prog_compiler_wl='-Wl,'
   8304       # All OSF/1 code is PIC.
   8305       lt_prog_compiler_static='-non_shared'
   8306       ;;
   8307 
   8308     rdos*)
   8309       lt_prog_compiler_static='-non_shared'
   8310       ;;
   8311 
   8312     solaris*)
   8313       lt_prog_compiler_pic='-KPIC'
   8314       lt_prog_compiler_static='-Bstatic'
   8315       case $cc_basename in
   8316       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8317 	lt_prog_compiler_wl='-Qoption ld ';;
   8318       *)
   8319 	lt_prog_compiler_wl='-Wl,';;
   8320       esac
   8321       ;;
   8322 
   8323     sunos4*)
   8324       lt_prog_compiler_wl='-Qoption ld '
   8325       lt_prog_compiler_pic='-PIC'
   8326       lt_prog_compiler_static='-Bstatic'
   8327       ;;
   8328 
   8329     sysv4 | sysv4.2uw2* | sysv4.3*)
   8330       lt_prog_compiler_wl='-Wl,'
   8331       lt_prog_compiler_pic='-KPIC'
   8332       lt_prog_compiler_static='-Bstatic'
   8333       ;;
   8334 
   8335     sysv4*MP*)
   8336       if test -d /usr/nec ;then
   8337 	lt_prog_compiler_pic='-Kconform_pic'
   8338 	lt_prog_compiler_static='-Bstatic'
   8339       fi
   8340       ;;
   8341 
   8342     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8343       lt_prog_compiler_wl='-Wl,'
   8344       lt_prog_compiler_pic='-KPIC'
   8345       lt_prog_compiler_static='-Bstatic'
   8346       ;;
   8347 
   8348     unicos*)
   8349       lt_prog_compiler_wl='-Wl,'
   8350       lt_prog_compiler_can_build_shared=no
   8351       ;;
   8352 
   8353     uts4*)
   8354       lt_prog_compiler_pic='-pic'
   8355       lt_prog_compiler_static='-Bstatic'
   8356       ;;
   8357 
   8358     *)
   8359       lt_prog_compiler_can_build_shared=no
   8360       ;;
   8361     esac
   8362   fi
   8363 
   8364 case $host_os in
   8365   # For platforms which do not support PIC, -DPIC is meaningless:
   8366   *djgpp*)
   8367     lt_prog_compiler_pic=
   8368     ;;
   8369   *)
   8370     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8371     ;;
   8372 esac
   8373 
   8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8375 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8376 if ${lt_cv_prog_compiler_pic+:} false; then :
   8377   $as_echo_n "(cached) " >&6
   8378 else
   8379   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8380 fi
   8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8382 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8383 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8384 
   8385 #
   8386 # Check to make sure the PIC flag actually works.
   8387 #
   8388 if test -n "$lt_prog_compiler_pic"; then
   8389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8390 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8391 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8392   $as_echo_n "(cached) " >&6
   8393 else
   8394   lt_cv_prog_compiler_pic_works=no
   8395    ac_outfile=conftest.$ac_objext
   8396    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8397    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8398    # Insert the option either (1) after the last *FLAGS variable, or
   8399    # (2) before a word containing "conftest.", or (3) at the end.
   8400    # Note that $ac_compile itself does not contain backslashes and begins
   8401    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8402    # The option is referenced via a variable to avoid confusing sed.
   8403    lt_compile=`echo "$ac_compile" | $SED \
   8404    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8405    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8406    -e 's:$: $lt_compiler_flag:'`
   8407    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8408    (eval "$lt_compile" 2>conftest.err)
   8409    ac_status=$?
   8410    cat conftest.err >&5
   8411    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8412    if (exit $ac_status) && test -s "$ac_outfile"; then
   8413      # The compiler can only warn and ignore the option if not recognized
   8414      # So say no if there are warnings other than the usual output.
   8415      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8416      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8417      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8418        lt_cv_prog_compiler_pic_works=yes
   8419      fi
   8420    fi
   8421    $RM conftest*
   8422 
   8423 fi
   8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8425 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8426 
   8427 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8428     case $lt_prog_compiler_pic in
   8429      "" | " "*) ;;
   8430      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8431      esac
   8432 else
   8433     lt_prog_compiler_pic=
   8434      lt_prog_compiler_can_build_shared=no
   8435 fi
   8436 
   8437 fi
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 #
   8450 # Check to make sure the static flag actually works.
   8451 #
   8452 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8454 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8455 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8456   $as_echo_n "(cached) " >&6
   8457 else
   8458   lt_cv_prog_compiler_static_works=no
   8459    save_LDFLAGS="$LDFLAGS"
   8460    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8461    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8462    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8463      # The linker can only warn and ignore the option if not recognized
   8464      # So say no if there are warnings
   8465      if test -s conftest.err; then
   8466        # Append any errors to the config.log.
   8467        cat conftest.err 1>&5
   8468        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8469        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8470        if diff conftest.exp conftest.er2 >/dev/null; then
   8471          lt_cv_prog_compiler_static_works=yes
   8472        fi
   8473      else
   8474        lt_cv_prog_compiler_static_works=yes
   8475      fi
   8476    fi
   8477    $RM -r conftest*
   8478    LDFLAGS="$save_LDFLAGS"
   8479 
   8480 fi
   8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8482 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8483 
   8484 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8485     :
   8486 else
   8487     lt_prog_compiler_static=
   8488 fi
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8497 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8498 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8499   $as_echo_n "(cached) " >&6
   8500 else
   8501   lt_cv_prog_compiler_c_o=no
   8502    $RM -r conftest 2>/dev/null
   8503    mkdir conftest
   8504    cd conftest
   8505    mkdir out
   8506    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8507 
   8508    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8509    # Insert the option either (1) after the last *FLAGS variable, or
   8510    # (2) before a word containing "conftest.", or (3) at the end.
   8511    # Note that $ac_compile itself does not contain backslashes and begins
   8512    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8513    lt_compile=`echo "$ac_compile" | $SED \
   8514    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8515    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8516    -e 's:$: $lt_compiler_flag:'`
   8517    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8518    (eval "$lt_compile" 2>out/conftest.err)
   8519    ac_status=$?
   8520    cat out/conftest.err >&5
   8521    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8522    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8523    then
   8524      # The compiler can only warn and ignore the option if not recognized
   8525      # So say no if there are warnings
   8526      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8527      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8528      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8529        lt_cv_prog_compiler_c_o=yes
   8530      fi
   8531    fi
   8532    chmod u+w . 2>&5
   8533    $RM conftest*
   8534    # SGI C++ compiler will create directory out/ii_files/ for
   8535    # template instantiation
   8536    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8537    $RM out/* && rmdir out
   8538    cd ..
   8539    $RM -r conftest
   8540    $RM conftest*
   8541 
   8542 fi
   8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8544 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8552 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8553 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8554   $as_echo_n "(cached) " >&6
   8555 else
   8556   lt_cv_prog_compiler_c_o=no
   8557    $RM -r conftest 2>/dev/null
   8558    mkdir conftest
   8559    cd conftest
   8560    mkdir out
   8561    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8562 
   8563    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8564    # Insert the option either (1) after the last *FLAGS variable, or
   8565    # (2) before a word containing "conftest.", or (3) at the end.
   8566    # Note that $ac_compile itself does not contain backslashes and begins
   8567    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8568    lt_compile=`echo "$ac_compile" | $SED \
   8569    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8570    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8571    -e 's:$: $lt_compiler_flag:'`
   8572    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8573    (eval "$lt_compile" 2>out/conftest.err)
   8574    ac_status=$?
   8575    cat out/conftest.err >&5
   8576    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8577    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8578    then
   8579      # The compiler can only warn and ignore the option if not recognized
   8580      # So say no if there are warnings
   8581      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8582      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8583      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8584        lt_cv_prog_compiler_c_o=yes
   8585      fi
   8586    fi
   8587    chmod u+w . 2>&5
   8588    $RM conftest*
   8589    # SGI C++ compiler will create directory out/ii_files/ for
   8590    # template instantiation
   8591    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8592    $RM out/* && rmdir out
   8593    cd ..
   8594    $RM -r conftest
   8595    $RM conftest*
   8596 
   8597 fi
   8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8599 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8600 
   8601 
   8602 
   8603 
   8604 hard_links="nottested"
   8605 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8606   # do not overwrite the value of need_locks provided by the user
   8607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8608 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8609   hard_links=yes
   8610   $RM conftest*
   8611   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8612   touch conftest.a
   8613   ln conftest.a conftest.b 2>&5 || hard_links=no
   8614   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8616 $as_echo "$hard_links" >&6; }
   8617   if test "$hard_links" = no; then
   8618     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8619 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8620     need_locks=warn
   8621   fi
   8622 else
   8623   need_locks=no
   8624 fi
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8632 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8633 
   8634   runpath_var=
   8635   allow_undefined_flag=
   8636   always_export_symbols=no
   8637   archive_cmds=
   8638   archive_expsym_cmds=
   8639   compiler_needs_object=no
   8640   enable_shared_with_static_runtimes=no
   8641   export_dynamic_flag_spec=
   8642   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8643   hardcode_automatic=no
   8644   hardcode_direct=no
   8645   hardcode_direct_absolute=no
   8646   hardcode_libdir_flag_spec=
   8647   hardcode_libdir_separator=
   8648   hardcode_minus_L=no
   8649   hardcode_shlibpath_var=unsupported
   8650   inherit_rpath=no
   8651   link_all_deplibs=unknown
   8652   module_cmds=
   8653   module_expsym_cmds=
   8654   old_archive_from_new_cmds=
   8655   old_archive_from_expsyms_cmds=
   8656   thread_safe_flag_spec=
   8657   whole_archive_flag_spec=
   8658   # include_expsyms should be a list of space-separated symbols to be *always*
   8659   # included in the symbol list
   8660   include_expsyms=
   8661   # exclude_expsyms can be an extended regexp of symbols to exclude
   8662   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8663   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8664   # as well as any symbol that contains `d'.
   8665   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8666   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8667   # platforms (ab)use it in PIC code, but their linkers get confused if
   8668   # the symbol is explicitly referenced.  Since portable code cannot
   8669   # rely on this symbol name, it's probably fine to never include it in
   8670   # preloaded symbol tables.
   8671   # Exclude shared library initialization/finalization symbols.
   8672   extract_expsyms_cmds=
   8673 
   8674   case $host_os in
   8675   cygwin* | mingw* | pw32* | cegcc*)
   8676     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8677     # When not using gcc, we currently assume that we are using
   8678     # Microsoft Visual C++.
   8679     if test "$GCC" != yes; then
   8680       with_gnu_ld=no
   8681     fi
   8682     ;;
   8683   interix*)
   8684     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8685     with_gnu_ld=yes
   8686     ;;
   8687   openbsd*)
   8688     with_gnu_ld=no
   8689     ;;
   8690   esac
   8691 
   8692   ld_shlibs=yes
   8693 
   8694   # On some targets, GNU ld is compatible enough with the native linker
   8695   # that we're better off using the native interface for both.
   8696   lt_use_gnu_ld_interface=no
   8697   if test "$with_gnu_ld" = yes; then
   8698     case $host_os in
   8699       aix*)
   8700 	# The AIX port of GNU ld has always aspired to compatibility
   8701 	# with the native linker.  However, as the warning in the GNU ld
   8702 	# block says, versions before 2.19.5* couldn't really create working
   8703 	# shared libraries, regardless of the interface used.
   8704 	case `$LD -v 2>&1` in
   8705 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8706 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8707 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8708 	  *)
   8709 	    lt_use_gnu_ld_interface=yes
   8710 	    ;;
   8711 	esac
   8712 	;;
   8713       *)
   8714 	lt_use_gnu_ld_interface=yes
   8715 	;;
   8716     esac
   8717   fi
   8718 
   8719   if test "$lt_use_gnu_ld_interface" = yes; then
   8720     # If archive_cmds runs LD, not CC, wlarc should be empty
   8721     wlarc='${wl}'
   8722 
   8723     # Set some defaults for GNU ld with shared library support. These
   8724     # are reset later if shared libraries are not supported. Putting them
   8725     # here allows them to be overridden if necessary.
   8726     runpath_var=LD_RUN_PATH
   8727     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8728     export_dynamic_flag_spec='${wl}--export-dynamic'
   8729     # ancient GNU ld didn't support --whole-archive et. al.
   8730     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8731       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8732     else
   8733       whole_archive_flag_spec=
   8734     fi
   8735     supports_anon_versioning=no
   8736     case `$LD -v 2>&1` in
   8737       *GNU\ gold*) supports_anon_versioning=yes ;;
   8738       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8739       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8740       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8741       *\ 2.11.*) ;; # other 2.11 versions
   8742       *) supports_anon_versioning=yes ;;
   8743     esac
   8744 
   8745     # See if GNU ld supports shared libraries.
   8746     case $host_os in
   8747     aix[3-9]*)
   8748       # On AIX/PPC, the GNU linker is very broken
   8749       if test "$host_cpu" != ia64; then
   8750 	ld_shlibs=no
   8751 	cat <<_LT_EOF 1>&2
   8752 
   8753 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8754 *** to be unable to reliably create shared libraries on AIX.
   8755 *** Therefore, libtool is disabling shared libraries support.  If you
   8756 *** really care for shared libraries, you may want to install binutils
   8757 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8758 *** You will then need to restart the configuration process.
   8759 
   8760 _LT_EOF
   8761       fi
   8762       ;;
   8763 
   8764     amigaos*)
   8765       case $host_cpu in
   8766       powerpc)
   8767             # see comment about AmigaOS4 .so support
   8768             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8769             archive_expsym_cmds=''
   8770         ;;
   8771       m68k)
   8772             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)'
   8773             hardcode_libdir_flag_spec='-L$libdir'
   8774             hardcode_minus_L=yes
   8775         ;;
   8776       esac
   8777       ;;
   8778 
   8779     beos*)
   8780       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8781 	allow_undefined_flag=unsupported
   8782 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8783 	# support --undefined.  This deserves some investigation.  FIXME
   8784 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8785       else
   8786 	ld_shlibs=no
   8787       fi
   8788       ;;
   8789 
   8790     cygwin* | mingw* | pw32* | cegcc*)
   8791       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8792       # as there is no search path for DLLs.
   8793       hardcode_libdir_flag_spec='-L$libdir'
   8794       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8795       allow_undefined_flag=unsupported
   8796       always_export_symbols=no
   8797       enable_shared_with_static_runtimes=yes
   8798       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'
   8799       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8800 
   8801       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8802         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8803 	# If the export-symbols file already is a .def file (1st line
   8804 	# is EXPORTS), use it as is; otherwise, prepend...
   8805 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8806 	  cp $export_symbols $output_objdir/$soname.def;
   8807 	else
   8808 	  echo EXPORTS > $output_objdir/$soname.def;
   8809 	  cat $export_symbols >> $output_objdir/$soname.def;
   8810 	fi~
   8811 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8812       else
   8813 	ld_shlibs=no
   8814       fi
   8815       ;;
   8816 
   8817     haiku*)
   8818       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8819       link_all_deplibs=yes
   8820       ;;
   8821 
   8822     interix[3-9]*)
   8823       hardcode_direct=no
   8824       hardcode_shlibpath_var=no
   8825       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8826       export_dynamic_flag_spec='${wl}-E'
   8827       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8828       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8829       # default) and relocated if they conflict, which is a slow very memory
   8830       # consuming and fragmenting process.  To avoid this, we pick a random,
   8831       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8832       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8833       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8834       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'
   8835       ;;
   8836 
   8837     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8838       tmp_diet=no
   8839       if test "$host_os" = linux-dietlibc; then
   8840 	case $cc_basename in
   8841 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8842 	esac
   8843       fi
   8844       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8845 	 && test "$tmp_diet" = no
   8846       then
   8847 	tmp_addflag=' $pic_flag'
   8848 	tmp_sharedflag='-shared'
   8849 	case $cc_basename,$host_cpu in
   8850         pgcc*)				# Portland Group C compiler
   8851 	  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'
   8852 	  tmp_addflag=' $pic_flag'
   8853 	  ;;
   8854 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8855 					# Portland Group f77 and f90 compilers
   8856 	  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'
   8857 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8858 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8859 	  tmp_addflag=' -i_dynamic' ;;
   8860 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8861 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8862 	ifc* | ifort*)			# Intel Fortran compiler
   8863 	  tmp_addflag=' -nofor_main' ;;
   8864 	lf95*)				# Lahey Fortran 8.1
   8865 	  whole_archive_flag_spec=
   8866 	  tmp_sharedflag='--shared' ;;
   8867 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8868 	  tmp_sharedflag='-qmkshrobj'
   8869 	  tmp_addflag= ;;
   8870 	nvcc*)	# Cuda Compiler Driver 2.2
   8871 	  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'
   8872 	  compiler_needs_object=yes
   8873 	  ;;
   8874 	esac
   8875 	case `$CC -V 2>&1 | sed 5q` in
   8876 	*Sun\ C*)			# Sun C 5.9
   8877 	  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'
   8878 	  compiler_needs_object=yes
   8879 	  tmp_sharedflag='-G' ;;
   8880 	*Sun\ F*)			# Sun Fortran 8.3
   8881 	  tmp_sharedflag='-G' ;;
   8882 	esac
   8883 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8884 
   8885         if test "x$supports_anon_versioning" = xyes; then
   8886           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8887 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8888 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8889 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8890         fi
   8891 
   8892 	case $cc_basename in
   8893 	xlf* | bgf* | bgxlf* | mpixlf*)
   8894 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8895 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8896 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8897 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8898 	  if test "x$supports_anon_versioning" = xyes; then
   8899 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8900 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8901 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8902 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8903 	  fi
   8904 	  ;;
   8905 	esac
   8906       else
   8907         ld_shlibs=no
   8908       fi
   8909       ;;
   8910 
   8911     netbsd*)
   8912       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8913 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8914 	wlarc=
   8915       else
   8916 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8917 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8918       fi
   8919       ;;
   8920 
   8921     solaris*)
   8922       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8923 	ld_shlibs=no
   8924 	cat <<_LT_EOF 1>&2
   8925 
   8926 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8927 *** create shared libraries on Solaris systems.  Therefore, libtool
   8928 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8929 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8930 *** your PATH or compiler configuration so that the native linker is
   8931 *** used, and then restart.
   8932 
   8933 _LT_EOF
   8934       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8935 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8936 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8937       else
   8938 	ld_shlibs=no
   8939       fi
   8940       ;;
   8941 
   8942     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8943       case `$LD -v 2>&1` in
   8944         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8945 	ld_shlibs=no
   8946 	cat <<_LT_EOF 1>&2
   8947 
   8948 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8949 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8950 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8951 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8952 *** your PATH or compiler configuration so that the native linker is
   8953 *** used, and then restart.
   8954 
   8955 _LT_EOF
   8956 	;;
   8957 	*)
   8958 	  # For security reasons, it is highly recommended that you always
   8959 	  # use absolute paths for naming shared libraries, and exclude the
   8960 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8961 	  # requires that you compile everything twice, which is a pain.
   8962 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8963 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8964 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8965 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8966 	  else
   8967 	    ld_shlibs=no
   8968 	  fi
   8969 	;;
   8970       esac
   8971       ;;
   8972 
   8973     sunos4*)
   8974       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8975       wlarc=
   8976       hardcode_direct=yes
   8977       hardcode_shlibpath_var=no
   8978       ;;
   8979 
   8980     *)
   8981       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8982 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8983 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8984       else
   8985 	ld_shlibs=no
   8986       fi
   8987       ;;
   8988     esac
   8989 
   8990     if test "$ld_shlibs" = no; then
   8991       runpath_var=
   8992       hardcode_libdir_flag_spec=
   8993       export_dynamic_flag_spec=
   8994       whole_archive_flag_spec=
   8995     fi
   8996   else
   8997     # PORTME fill in a description of your system's linker (not GNU ld)
   8998     case $host_os in
   8999     aix3*)
   9000       allow_undefined_flag=unsupported
   9001       always_export_symbols=yes
   9002       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'
   9003       # Note: this linker hardcodes the directories in LIBPATH if there
   9004       # are no directories specified by -L.
   9005       hardcode_minus_L=yes
   9006       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9007 	# Neither direct hardcoding nor static linking is supported with a
   9008 	# broken collect2.
   9009 	hardcode_direct=unsupported
   9010       fi
   9011       ;;
   9012 
   9013     aix[4-9]*)
   9014       if test "$host_cpu" = ia64; then
   9015 	# On IA64, the linker does run time linking by default, so we don't
   9016 	# have to do anything special.
   9017 	aix_use_runtimelinking=no
   9018 	exp_sym_flag='-Bexport'
   9019 	no_entry_flag=""
   9020       else
   9021 	# If we're using GNU nm, then we don't want the "-C" option.
   9022 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9023 	# Also, AIX nm treats weak defined symbols like other global
   9024 	# defined symbols, whereas GNU nm marks them as "W".
   9025 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9026 	  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'
   9027 	else
   9028 	  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'
   9029 	fi
   9030 	aix_use_runtimelinking=no
   9031 
   9032 	# Test if we are trying to use run time linking or normal
   9033 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9034 	# need to do runtime linking.
   9035 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9036 	  for ld_flag in $LDFLAGS; do
   9037 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9038 	    aix_use_runtimelinking=yes
   9039 	    break
   9040 	  fi
   9041 	  done
   9042 	  ;;
   9043 	esac
   9044 
   9045 	exp_sym_flag='-bexport'
   9046 	no_entry_flag='-bnoentry'
   9047       fi
   9048 
   9049       # When large executables or shared objects are built, AIX ld can
   9050       # have problems creating the table of contents.  If linking a library
   9051       # or program results in "error TOC overflow" add -mminimal-toc to
   9052       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9053       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9054 
   9055       archive_cmds=''
   9056       hardcode_direct=yes
   9057       hardcode_direct_absolute=yes
   9058       hardcode_libdir_separator=':'
   9059       link_all_deplibs=yes
   9060       file_list_spec='${wl}-f,'
   9061 
   9062       if test "$GCC" = yes; then
   9063 	case $host_os in aix4.[012]|aix4.[012].*)
   9064 	# We only want to do this on AIX 4.2 and lower, the check
   9065 	# below for broken collect2 doesn't work under 4.3+
   9066 	  collect2name=`${CC} -print-prog-name=collect2`
   9067 	  if test -f "$collect2name" &&
   9068 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9069 	  then
   9070 	  # We have reworked collect2
   9071 	  :
   9072 	  else
   9073 	  # We have old collect2
   9074 	  hardcode_direct=unsupported
   9075 	  # It fails to find uninstalled libraries when the uninstalled
   9076 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9077 	  # to unsupported forces relinking
   9078 	  hardcode_minus_L=yes
   9079 	  hardcode_libdir_flag_spec='-L$libdir'
   9080 	  hardcode_libdir_separator=
   9081 	  fi
   9082 	  ;;
   9083 	esac
   9084 	shared_flag='-shared'
   9085 	if test "$aix_use_runtimelinking" = yes; then
   9086 	  shared_flag="$shared_flag "'${wl}-G'
   9087 	fi
   9088       else
   9089 	# not using gcc
   9090 	if test "$host_cpu" = ia64; then
   9091 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9092 	# chokes on -Wl,-G. The following line is correct:
   9093 	  shared_flag='-G'
   9094 	else
   9095 	  if test "$aix_use_runtimelinking" = yes; then
   9096 	    shared_flag='${wl}-G'
   9097 	  else
   9098 	    shared_flag='${wl}-bM:SRE'
   9099 	  fi
   9100 	fi
   9101       fi
   9102 
   9103       export_dynamic_flag_spec='${wl}-bexpall'
   9104       # It seems that -bexpall does not export symbols beginning with
   9105       # underscore (_), so it is better to generate a list of symbols to export.
   9106       always_export_symbols=yes
   9107       if test "$aix_use_runtimelinking" = yes; then
   9108 	# Warning - without using the other runtime loading flags (-brtl),
   9109 	# -berok will link without error, but may produce a broken library.
   9110 	allow_undefined_flag='-berok'
   9111         # Determine the default libpath from the value encoded in an
   9112         # empty executable.
   9113         if test "${lt_cv_aix_libpath+set}" = set; then
   9114   aix_libpath=$lt_cv_aix_libpath
   9115 else
   9116   if ${lt_cv_aix_libpath_+:} false; then :
   9117   $as_echo_n "(cached) " >&6
   9118 else
   9119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9120 /* end confdefs.h.  */
   9121 
   9122 int
   9123 main ()
   9124 {
   9125 
   9126   ;
   9127   return 0;
   9128 }
   9129 _ACEOF
   9130 if ac_fn_c_try_link "$LINENO"; then :
   9131 
   9132   lt_aix_libpath_sed='
   9133       /Import File Strings/,/^$/ {
   9134 	  /^0/ {
   9135 	      s/^0  *\([^ ]*\) *$/\1/
   9136 	      p
   9137 	  }
   9138       }'
   9139   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9140   # Check for a 64-bit object if we didn't find anything.
   9141   if test -z "$lt_cv_aix_libpath_"; then
   9142     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9143   fi
   9144 fi
   9145 rm -f core conftest.err conftest.$ac_objext \
   9146     conftest$ac_exeext conftest.$ac_ext
   9147   if test -z "$lt_cv_aix_libpath_"; then
   9148     lt_cv_aix_libpath_="/usr/lib:/lib"
   9149   fi
   9150 
   9151 fi
   9152 
   9153   aix_libpath=$lt_cv_aix_libpath_
   9154 fi
   9155 
   9156         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9157         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"
   9158       else
   9159 	if test "$host_cpu" = ia64; then
   9160 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9161 	  allow_undefined_flag="-z nodefs"
   9162 	  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"
   9163 	else
   9164 	 # Determine the default libpath from the value encoded in an
   9165 	 # empty executable.
   9166 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9167   aix_libpath=$lt_cv_aix_libpath
   9168 else
   9169   if ${lt_cv_aix_libpath_+:} false; then :
   9170   $as_echo_n "(cached) " >&6
   9171 else
   9172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9173 /* end confdefs.h.  */
   9174 
   9175 int
   9176 main ()
   9177 {
   9178 
   9179   ;
   9180   return 0;
   9181 }
   9182 _ACEOF
   9183 if ac_fn_c_try_link "$LINENO"; then :
   9184 
   9185   lt_aix_libpath_sed='
   9186       /Import File Strings/,/^$/ {
   9187 	  /^0/ {
   9188 	      s/^0  *\([^ ]*\) *$/\1/
   9189 	      p
   9190 	  }
   9191       }'
   9192   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9193   # Check for a 64-bit object if we didn't find anything.
   9194   if test -z "$lt_cv_aix_libpath_"; then
   9195     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9196   fi
   9197 fi
   9198 rm -f core conftest.err conftest.$ac_objext \
   9199     conftest$ac_exeext conftest.$ac_ext
   9200   if test -z "$lt_cv_aix_libpath_"; then
   9201     lt_cv_aix_libpath_="/usr/lib:/lib"
   9202   fi
   9203 
   9204 fi
   9205 
   9206   aix_libpath=$lt_cv_aix_libpath_
   9207 fi
   9208 
   9209 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9210 	  # Warning - without using the other run time loading flags,
   9211 	  # -berok will link without error, but may produce a broken library.
   9212 	  no_undefined_flag=' ${wl}-bernotok'
   9213 	  allow_undefined_flag=' ${wl}-berok'
   9214 	  if test "$with_gnu_ld" = yes; then
   9215 	    # We only use this code for GNU lds that support --whole-archive.
   9216 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9217 	  else
   9218 	    # Exported symbols can be pulled into shared objects from archives
   9219 	    whole_archive_flag_spec='$convenience'
   9220 	  fi
   9221 	  archive_cmds_need_lc=yes
   9222 	  # This is similar to how AIX traditionally builds its shared libraries.
   9223 	  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'
   9224 	fi
   9225       fi
   9226       ;;
   9227 
   9228     amigaos*)
   9229       case $host_cpu in
   9230       powerpc)
   9231             # see comment about AmigaOS4 .so support
   9232             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9233             archive_expsym_cmds=''
   9234         ;;
   9235       m68k)
   9236             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)'
   9237             hardcode_libdir_flag_spec='-L$libdir'
   9238             hardcode_minus_L=yes
   9239         ;;
   9240       esac
   9241       ;;
   9242 
   9243     bsdi[45]*)
   9244       export_dynamic_flag_spec=-rdynamic
   9245       ;;
   9246 
   9247     cygwin* | mingw* | pw32* | cegcc*)
   9248       # When not using gcc, we currently assume that we are using
   9249       # Microsoft Visual C++.
   9250       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9251       # no search path for DLLs.
   9252       case $cc_basename in
   9253       cl*)
   9254 	# Native MSVC
   9255 	hardcode_libdir_flag_spec=' '
   9256 	allow_undefined_flag=unsupported
   9257 	always_export_symbols=yes
   9258 	file_list_spec='@'
   9259 	# Tell ltmain to make .lib files, not .a files.
   9260 	libext=lib
   9261 	# Tell ltmain to make .dll files, not .so files.
   9262 	shrext_cmds=".dll"
   9263 	# FIXME: Setting linknames here is a bad hack.
   9264 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9265 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9266 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9267 	  else
   9268 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9269 	  fi~
   9270 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9271 	  linknames='
   9272 	# The linker will not automatically build a static lib if we build a DLL.
   9273 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9274 	enable_shared_with_static_runtimes=yes
   9275 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9276 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9277 	# Don't use ranlib
   9278 	old_postinstall_cmds='chmod 644 $oldlib'
   9279 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9280 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9281 	  case $lt_outputfile in
   9282 	    *.exe|*.EXE) ;;
   9283 	    *)
   9284 	      lt_outputfile="$lt_outputfile.exe"
   9285 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9286 	      ;;
   9287 	  esac~
   9288 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9289 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9290 	    $RM "$lt_outputfile.manifest";
   9291 	  fi'
   9292 	;;
   9293       *)
   9294 	# Assume MSVC wrapper
   9295 	hardcode_libdir_flag_spec=' '
   9296 	allow_undefined_flag=unsupported
   9297 	# Tell ltmain to make .lib files, not .a files.
   9298 	libext=lib
   9299 	# Tell ltmain to make .dll files, not .so files.
   9300 	shrext_cmds=".dll"
   9301 	# FIXME: Setting linknames here is a bad hack.
   9302 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9303 	# The linker will automatically build a .lib file if we build a DLL.
   9304 	old_archive_from_new_cmds='true'
   9305 	# FIXME: Should let the user specify the lib program.
   9306 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9307 	enable_shared_with_static_runtimes=yes
   9308 	;;
   9309       esac
   9310       ;;
   9311 
   9312     darwin* | rhapsody*)
   9313 
   9314 
   9315   archive_cmds_need_lc=no
   9316   hardcode_direct=no
   9317   hardcode_automatic=yes
   9318   hardcode_shlibpath_var=unsupported
   9319   if test "$lt_cv_ld_force_load" = "yes"; then
   9320     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\"`'
   9321 
   9322   else
   9323     whole_archive_flag_spec=''
   9324   fi
   9325   link_all_deplibs=yes
   9326   allow_undefined_flag="$_lt_dar_allow_undefined"
   9327   case $cc_basename in
   9328      ifort*) _lt_dar_can_shared=yes ;;
   9329      *) _lt_dar_can_shared=$GCC ;;
   9330   esac
   9331   if test "$_lt_dar_can_shared" = "yes"; then
   9332     output_verbose_link_cmd=func_echo_all
   9333     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9334     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9335     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}"
   9336     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}"
   9337 
   9338   else
   9339   ld_shlibs=no
   9340   fi
   9341 
   9342       ;;
   9343 
   9344     dgux*)
   9345       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9346       hardcode_libdir_flag_spec='-L$libdir'
   9347       hardcode_shlibpath_var=no
   9348       ;;
   9349 
   9350     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9351     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9352     # does not break anything, and helps significantly (at the cost of a little
   9353     # extra space).
   9354     freebsd2.2*)
   9355       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9356       hardcode_libdir_flag_spec='-R$libdir'
   9357       hardcode_direct=yes
   9358       hardcode_shlibpath_var=no
   9359       ;;
   9360 
   9361     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9362     freebsd2.*)
   9363       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9364       hardcode_direct=yes
   9365       hardcode_minus_L=yes
   9366       hardcode_shlibpath_var=no
   9367       ;;
   9368 
   9369     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9370     freebsd* | dragonfly*)
   9371       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9372       hardcode_libdir_flag_spec='-R$libdir'
   9373       hardcode_direct=yes
   9374       hardcode_shlibpath_var=no
   9375       ;;
   9376 
   9377     hpux9*)
   9378       if test "$GCC" = yes; then
   9379 	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'
   9380       else
   9381 	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'
   9382       fi
   9383       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9384       hardcode_libdir_separator=:
   9385       hardcode_direct=yes
   9386 
   9387       # hardcode_minus_L: Not really in the search PATH,
   9388       # but as the default location of the library.
   9389       hardcode_minus_L=yes
   9390       export_dynamic_flag_spec='${wl}-E'
   9391       ;;
   9392 
   9393     hpux10*)
   9394       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9395 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9396       else
   9397 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9398       fi
   9399       if test "$with_gnu_ld" = no; then
   9400 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9401 	hardcode_libdir_separator=:
   9402 	hardcode_direct=yes
   9403 	hardcode_direct_absolute=yes
   9404 	export_dynamic_flag_spec='${wl}-E'
   9405 	# hardcode_minus_L: Not really in the search PATH,
   9406 	# but as the default location of the library.
   9407 	hardcode_minus_L=yes
   9408       fi
   9409       ;;
   9410 
   9411     hpux11*)
   9412       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9413 	case $host_cpu in
   9414 	hppa*64*)
   9415 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9416 	  ;;
   9417 	ia64*)
   9418 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9419 	  ;;
   9420 	*)
   9421 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9422 	  ;;
   9423 	esac
   9424       else
   9425 	case $host_cpu in
   9426 	hppa*64*)
   9427 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9428 	  ;;
   9429 	ia64*)
   9430 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9431 	  ;;
   9432 	*)
   9433 
   9434 	  # Older versions of the 11.00 compiler do not understand -b yet
   9435 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9436 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9437 $as_echo_n "checking if $CC understands -b... " >&6; }
   9438 if ${lt_cv_prog_compiler__b+:} false; then :
   9439   $as_echo_n "(cached) " >&6
   9440 else
   9441   lt_cv_prog_compiler__b=no
   9442    save_LDFLAGS="$LDFLAGS"
   9443    LDFLAGS="$LDFLAGS -b"
   9444    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9445    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9446      # The linker can only warn and ignore the option if not recognized
   9447      # So say no if there are warnings
   9448      if test -s conftest.err; then
   9449        # Append any errors to the config.log.
   9450        cat conftest.err 1>&5
   9451        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9452        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9453        if diff conftest.exp conftest.er2 >/dev/null; then
   9454          lt_cv_prog_compiler__b=yes
   9455        fi
   9456      else
   9457        lt_cv_prog_compiler__b=yes
   9458      fi
   9459    fi
   9460    $RM -r conftest*
   9461    LDFLAGS="$save_LDFLAGS"
   9462 
   9463 fi
   9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9465 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9466 
   9467 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9468     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9469 else
   9470     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9471 fi
   9472 
   9473 	  ;;
   9474 	esac
   9475       fi
   9476       if test "$with_gnu_ld" = no; then
   9477 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9478 	hardcode_libdir_separator=:
   9479 
   9480 	case $host_cpu in
   9481 	hppa*64*|ia64*)
   9482 	  hardcode_direct=no
   9483 	  hardcode_shlibpath_var=no
   9484 	  ;;
   9485 	*)
   9486 	  hardcode_direct=yes
   9487 	  hardcode_direct_absolute=yes
   9488 	  export_dynamic_flag_spec='${wl}-E'
   9489 
   9490 	  # hardcode_minus_L: Not really in the search PATH,
   9491 	  # but as the default location of the library.
   9492 	  hardcode_minus_L=yes
   9493 	  ;;
   9494 	esac
   9495       fi
   9496       ;;
   9497 
   9498     irix5* | irix6* | nonstopux*)
   9499       if test "$GCC" = yes; then
   9500 	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'
   9501 	# Try to use the -exported_symbol ld option, if it does not
   9502 	# work, assume that -exports_file does not work either and
   9503 	# implicitly export all symbols.
   9504 	# This should be the same for all languages, so no per-tag cache variable.
   9505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9506 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9507 if ${lt_cv_irix_exported_symbol+:} false; then :
   9508   $as_echo_n "(cached) " >&6
   9509 else
   9510   save_LDFLAGS="$LDFLAGS"
   9511 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9512 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9513 /* end confdefs.h.  */
   9514 int foo (void) { return 0; }
   9515 _ACEOF
   9516 if ac_fn_c_try_link "$LINENO"; then :
   9517   lt_cv_irix_exported_symbol=yes
   9518 else
   9519   lt_cv_irix_exported_symbol=no
   9520 fi
   9521 rm -f core conftest.err conftest.$ac_objext \
   9522     conftest$ac_exeext conftest.$ac_ext
   9523            LDFLAGS="$save_LDFLAGS"
   9524 fi
   9525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9526 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9527 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9528           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'
   9529 	fi
   9530       else
   9531 	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'
   9532 	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'
   9533       fi
   9534       archive_cmds_need_lc='no'
   9535       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9536       hardcode_libdir_separator=:
   9537       inherit_rpath=yes
   9538       link_all_deplibs=yes
   9539       ;;
   9540 
   9541     netbsd*)
   9542       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9543 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9544       else
   9545 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9546       fi
   9547       hardcode_libdir_flag_spec='-R$libdir'
   9548       hardcode_direct=yes
   9549       hardcode_shlibpath_var=no
   9550       ;;
   9551 
   9552     newsos6)
   9553       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9554       hardcode_direct=yes
   9555       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9556       hardcode_libdir_separator=:
   9557       hardcode_shlibpath_var=no
   9558       ;;
   9559 
   9560     *nto* | *qnx*)
   9561       ;;
   9562 
   9563     openbsd*)
   9564       if test -f /usr/libexec/ld.so; then
   9565 	hardcode_direct=yes
   9566 	hardcode_shlibpath_var=no
   9567 	hardcode_direct_absolute=yes
   9568 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9569 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9570 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9571 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9572 	  export_dynamic_flag_spec='${wl}-E'
   9573 	else
   9574 	  case $host_os in
   9575 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9576 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9577 	     hardcode_libdir_flag_spec='-R$libdir'
   9578 	     ;;
   9579 	   *)
   9580 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9581 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9582 	     ;;
   9583 	  esac
   9584 	fi
   9585       else
   9586 	ld_shlibs=no
   9587       fi
   9588       ;;
   9589 
   9590     os2*)
   9591       hardcode_libdir_flag_spec='-L$libdir'
   9592       hardcode_minus_L=yes
   9593       allow_undefined_flag=unsupported
   9594       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'
   9595       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9596       ;;
   9597 
   9598     osf3*)
   9599       if test "$GCC" = yes; then
   9600 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9601 	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'
   9602       else
   9603 	allow_undefined_flag=' -expect_unresolved \*'
   9604 	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'
   9605       fi
   9606       archive_cmds_need_lc='no'
   9607       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9608       hardcode_libdir_separator=:
   9609       ;;
   9610 
   9611     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9612       if test "$GCC" = yes; then
   9613 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9614 	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'
   9615 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9616       else
   9617 	allow_undefined_flag=' -expect_unresolved \*'
   9618 	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'
   9619 	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~
   9620 	$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'
   9621 
   9622 	# Both c and cxx compiler support -rpath directly
   9623 	hardcode_libdir_flag_spec='-rpath $libdir'
   9624       fi
   9625       archive_cmds_need_lc='no'
   9626       hardcode_libdir_separator=:
   9627       ;;
   9628 
   9629     solaris*)
   9630       no_undefined_flag=' -z defs'
   9631       if test "$GCC" = yes; then
   9632 	wlarc='${wl}'
   9633 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9634 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9635 	  $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'
   9636       else
   9637 	case `$CC -V 2>&1` in
   9638 	*"Compilers 5.0"*)
   9639 	  wlarc=''
   9640 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9641 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9642 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9643 	  ;;
   9644 	*)
   9645 	  wlarc='${wl}'
   9646 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9647 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9648 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9649 	  ;;
   9650 	esac
   9651       fi
   9652       hardcode_libdir_flag_spec='-R$libdir'
   9653       hardcode_shlibpath_var=no
   9654       case $host_os in
   9655       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9656       *)
   9657 	# The compiler driver will combine and reorder linker options,
   9658 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9659 	# but is careful enough not to reorder.
   9660 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9661 	if test "$GCC" = yes; then
   9662 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9663 	else
   9664 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9665 	fi
   9666 	;;
   9667       esac
   9668       link_all_deplibs=yes
   9669       ;;
   9670 
   9671     sunos4*)
   9672       if test "x$host_vendor" = xsequent; then
   9673 	# Use $CC to link under sequent, because it throws in some extra .o
   9674 	# files that make .init and .fini sections work.
   9675 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9676       else
   9677 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9678       fi
   9679       hardcode_libdir_flag_spec='-L$libdir'
   9680       hardcode_direct=yes
   9681       hardcode_minus_L=yes
   9682       hardcode_shlibpath_var=no
   9683       ;;
   9684 
   9685     sysv4)
   9686       case $host_vendor in
   9687 	sni)
   9688 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9689 	  hardcode_direct=yes # is this really true???
   9690 	;;
   9691 	siemens)
   9692 	  ## LD is ld it makes a PLAMLIB
   9693 	  ## CC just makes a GrossModule.
   9694 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9695 	  reload_cmds='$CC -r -o $output$reload_objs'
   9696 	  hardcode_direct=no
   9697         ;;
   9698 	motorola)
   9699 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9700 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9701 	;;
   9702       esac
   9703       runpath_var='LD_RUN_PATH'
   9704       hardcode_shlibpath_var=no
   9705       ;;
   9706 
   9707     sysv4.3*)
   9708       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9709       hardcode_shlibpath_var=no
   9710       export_dynamic_flag_spec='-Bexport'
   9711       ;;
   9712 
   9713     sysv4*MP*)
   9714       if test -d /usr/nec; then
   9715 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9716 	hardcode_shlibpath_var=no
   9717 	runpath_var=LD_RUN_PATH
   9718 	hardcode_runpath_var=yes
   9719 	ld_shlibs=yes
   9720       fi
   9721       ;;
   9722 
   9723     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9724       no_undefined_flag='${wl}-z,text'
   9725       archive_cmds_need_lc=no
   9726       hardcode_shlibpath_var=no
   9727       runpath_var='LD_RUN_PATH'
   9728 
   9729       if test "$GCC" = yes; then
   9730 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9731 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9732       else
   9733 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9734 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9735       fi
   9736       ;;
   9737 
   9738     sysv5* | sco3.2v5* | sco5v6*)
   9739       # Note: We can NOT use -z defs as we might desire, because we do not
   9740       # link with -lc, and that would cause any symbols used from libc to
   9741       # always be unresolved, which means just about no library would
   9742       # ever link correctly.  If we're not using GNU ld we use -z text
   9743       # though, which does catch some bad symbols but isn't as heavy-handed
   9744       # as -z defs.
   9745       no_undefined_flag='${wl}-z,text'
   9746       allow_undefined_flag='${wl}-z,nodefs'
   9747       archive_cmds_need_lc=no
   9748       hardcode_shlibpath_var=no
   9749       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9750       hardcode_libdir_separator=':'
   9751       link_all_deplibs=yes
   9752       export_dynamic_flag_spec='${wl}-Bexport'
   9753       runpath_var='LD_RUN_PATH'
   9754 
   9755       if test "$GCC" = yes; then
   9756 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9757 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9758       else
   9759 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9760 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9761       fi
   9762       ;;
   9763 
   9764     uts4*)
   9765       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9766       hardcode_libdir_flag_spec='-L$libdir'
   9767       hardcode_shlibpath_var=no
   9768       ;;
   9769 
   9770     *)
   9771       ld_shlibs=no
   9772       ;;
   9773     esac
   9774 
   9775     if test x$host_vendor = xsni; then
   9776       case $host in
   9777       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9778 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9779 	;;
   9780       esac
   9781     fi
   9782   fi
   9783 
   9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9785 $as_echo "$ld_shlibs" >&6; }
   9786 test "$ld_shlibs" = no && can_build_shared=no
   9787 
   9788 with_gnu_ld=$with_gnu_ld
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 #
   9805 # Do we need to explicitly link libc?
   9806 #
   9807 case "x$archive_cmds_need_lc" in
   9808 x|xyes)
   9809   # Assume -lc should be added
   9810   archive_cmds_need_lc=yes
   9811 
   9812   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9813     case $archive_cmds in
   9814     *'~'*)
   9815       # FIXME: we may have to deal with multi-command sequences.
   9816       ;;
   9817     '$CC '*)
   9818       # Test whether the compiler implicitly links with -lc since on some
   9819       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9820       # to ld, don't add -lc before -lgcc.
   9821       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9822 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9823 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9824   $as_echo_n "(cached) " >&6
   9825 else
   9826   $RM conftest*
   9827 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9828 
   9829 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9830   (eval $ac_compile) 2>&5
   9831   ac_status=$?
   9832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9833   test $ac_status = 0; } 2>conftest.err; then
   9834 	  soname=conftest
   9835 	  lib=conftest
   9836 	  libobjs=conftest.$ac_objext
   9837 	  deplibs=
   9838 	  wl=$lt_prog_compiler_wl
   9839 	  pic_flag=$lt_prog_compiler_pic
   9840 	  compiler_flags=-v
   9841 	  linker_flags=-v
   9842 	  verstring=
   9843 	  output_objdir=.
   9844 	  libname=conftest
   9845 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9846 	  allow_undefined_flag=
   9847 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9848   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9849   ac_status=$?
   9850   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9851   test $ac_status = 0; }
   9852 	  then
   9853 	    lt_cv_archive_cmds_need_lc=no
   9854 	  else
   9855 	    lt_cv_archive_cmds_need_lc=yes
   9856 	  fi
   9857 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9858 	else
   9859 	  cat conftest.err 1>&5
   9860 	fi
   9861 	$RM conftest*
   9862 
   9863 fi
   9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9865 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9866       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9867       ;;
   9868     esac
   9869   fi
   9870   ;;
   9871 esac
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10025 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10026 
   10027 if test "$GCC" = yes; then
   10028   case $host_os in
   10029     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10030     *) lt_awk_arg="/^libraries:/" ;;
   10031   esac
   10032   case $host_os in
   10033     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10034     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10035   esac
   10036   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10037   case $lt_search_path_spec in
   10038   *\;*)
   10039     # if the path contains ";" then we assume it to be the separator
   10040     # otherwise default to the standard path separator (i.e. ":") - it is
   10041     # assumed that no part of a normal pathname contains ";" but that should
   10042     # okay in the real world where ";" in dirpaths is itself problematic.
   10043     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10044     ;;
   10045   *)
   10046     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10047     ;;
   10048   esac
   10049   # Ok, now we have the path, separated by spaces, we can step through it
   10050   # and add multilib dir if necessary.
   10051   lt_tmp_lt_search_path_spec=
   10052   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10053   for lt_sys_path in $lt_search_path_spec; do
   10054     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10055       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10056     else
   10057       test -d "$lt_sys_path" && \
   10058 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10059     fi
   10060   done
   10061   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10062 BEGIN {RS=" "; FS="/|\n";} {
   10063   lt_foo="";
   10064   lt_count=0;
   10065   for (lt_i = NF; lt_i > 0; lt_i--) {
   10066     if ($lt_i != "" && $lt_i != ".") {
   10067       if ($lt_i == "..") {
   10068         lt_count++;
   10069       } else {
   10070         if (lt_count == 0) {
   10071           lt_foo="/" $lt_i lt_foo;
   10072         } else {
   10073           lt_count--;
   10074         }
   10075       }
   10076     }
   10077   }
   10078   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10079   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10080 }'`
   10081   # AWK program above erroneously prepends '/' to C:/dos/paths
   10082   # for these hosts.
   10083   case $host_os in
   10084     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10085       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10086   esac
   10087   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10088 else
   10089   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10090 fi
   10091 library_names_spec=
   10092 libname_spec='lib$name'
   10093 soname_spec=
   10094 shrext_cmds=".so"
   10095 postinstall_cmds=
   10096 postuninstall_cmds=
   10097 finish_cmds=
   10098 finish_eval=
   10099 shlibpath_var=
   10100 shlibpath_overrides_runpath=unknown
   10101 version_type=none
   10102 dynamic_linker="$host_os ld.so"
   10103 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10104 need_lib_prefix=unknown
   10105 hardcode_into_libs=no
   10106 
   10107 # when you set need_version to no, make sure it does not cause -set_version
   10108 # flags to be left without arguments
   10109 need_version=unknown
   10110 
   10111 case $host_os in
   10112 aix3*)
   10113   version_type=linux # correct to gnu/linux during the next big refactor
   10114   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10115   shlibpath_var=LIBPATH
   10116 
   10117   # AIX 3 has no versioning support, so we append a major version to the name.
   10118   soname_spec='${libname}${release}${shared_ext}$major'
   10119   ;;
   10120 
   10121 aix[4-9]*)
   10122   version_type=linux # correct to gnu/linux during the next big refactor
   10123   need_lib_prefix=no
   10124   need_version=no
   10125   hardcode_into_libs=yes
   10126   if test "$host_cpu" = ia64; then
   10127     # AIX 5 supports IA64
   10128     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10129     shlibpath_var=LD_LIBRARY_PATH
   10130   else
   10131     # With GCC up to 2.95.x, collect2 would create an import file
   10132     # for dependence libraries.  The import file would start with
   10133     # the line `#! .'.  This would cause the generated library to
   10134     # depend on `.', always an invalid library.  This was fixed in
   10135     # development snapshots of GCC prior to 3.0.
   10136     case $host_os in
   10137       aix4 | aix4.[01] | aix4.[01].*)
   10138       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10139 	   echo ' yes '
   10140 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10141 	:
   10142       else
   10143 	can_build_shared=no
   10144       fi
   10145       ;;
   10146     esac
   10147     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10148     # soname into executable. Probably we can add versioning support to
   10149     # collect2, so additional links can be useful in future.
   10150     if test "$aix_use_runtimelinking" = yes; then
   10151       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10152       # instead of lib<name>.a to let people know that these are not
   10153       # typical AIX shared libraries.
   10154       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10155     else
   10156       # We preserve .a as extension for shared libraries through AIX4.2
   10157       # and later when we are not doing run time linking.
   10158       library_names_spec='${libname}${release}.a $libname.a'
   10159       soname_spec='${libname}${release}${shared_ext}$major'
   10160     fi
   10161     shlibpath_var=LIBPATH
   10162   fi
   10163   ;;
   10164 
   10165 amigaos*)
   10166   case $host_cpu in
   10167   powerpc)
   10168     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10169     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10170     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10171     ;;
   10172   m68k)
   10173     library_names_spec='$libname.ixlibrary $libname.a'
   10174     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10175     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'
   10176     ;;
   10177   esac
   10178   ;;
   10179 
   10180 beos*)
   10181   library_names_spec='${libname}${shared_ext}'
   10182   dynamic_linker="$host_os ld.so"
   10183   shlibpath_var=LIBRARY_PATH
   10184   ;;
   10185 
   10186 bsdi[45]*)
   10187   version_type=linux # correct to gnu/linux during the next big refactor
   10188   need_version=no
   10189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10190   soname_spec='${libname}${release}${shared_ext}$major'
   10191   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10192   shlibpath_var=LD_LIBRARY_PATH
   10193   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10194   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10195   # the default ld.so.conf also contains /usr/contrib/lib and
   10196   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10197   # libtool to hard-code these into programs
   10198   ;;
   10199 
   10200 cygwin* | mingw* | pw32* | cegcc*)
   10201   version_type=windows
   10202   shrext_cmds=".dll"
   10203   need_version=no
   10204   need_lib_prefix=no
   10205 
   10206   case $GCC,$cc_basename in
   10207   yes,*)
   10208     # gcc
   10209     library_names_spec='$libname.dll.a'
   10210     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10211     postinstall_cmds='base_file=`basename \${file}`~
   10212       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10213       dldir=$destdir/`dirname \$dlpath`~
   10214       test -d \$dldir || mkdir -p \$dldir~
   10215       $install_prog $dir/$dlname \$dldir/$dlname~
   10216       chmod a+x \$dldir/$dlname~
   10217       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10218         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10219       fi'
   10220     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10221       dlpath=$dir/\$dldll~
   10222        $RM \$dlpath'
   10223     shlibpath_overrides_runpath=yes
   10224 
   10225     case $host_os in
   10226     cygwin*)
   10227       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10228       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10229 
   10230       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10231       ;;
   10232     mingw* | cegcc*)
   10233       # MinGW DLLs use traditional 'lib' prefix
   10234       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10235       ;;
   10236     pw32*)
   10237       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10238       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10239       ;;
   10240     esac
   10241     dynamic_linker='Win32 ld.exe'
   10242     ;;
   10243 
   10244   *,cl*)
   10245     # Native MSVC
   10246     libname_spec='$name'
   10247     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10248     library_names_spec='${libname}.dll.lib'
   10249 
   10250     case $build_os in
   10251     mingw*)
   10252       sys_lib_search_path_spec=
   10253       lt_save_ifs=$IFS
   10254       IFS=';'
   10255       for lt_path in $LIB
   10256       do
   10257         IFS=$lt_save_ifs
   10258         # Let DOS variable expansion print the short 8.3 style file name.
   10259         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10260         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10261       done
   10262       IFS=$lt_save_ifs
   10263       # Convert to MSYS style.
   10264       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10265       ;;
   10266     cygwin*)
   10267       # Convert to unix form, then to dos form, then back to unix form
   10268       # but this time dos style (no spaces!) so that the unix form looks
   10269       # like /cygdrive/c/PROGRA~1:/cygdr...
   10270       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10271       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10272       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10273       ;;
   10274     *)
   10275       sys_lib_search_path_spec="$LIB"
   10276       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10277         # It is most probably a Windows format PATH.
   10278         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10279       else
   10280         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10281       fi
   10282       # FIXME: find the short name or the path components, as spaces are
   10283       # common. (e.g. "Program Files" -> "PROGRA~1")
   10284       ;;
   10285     esac
   10286 
   10287     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10288     postinstall_cmds='base_file=`basename \${file}`~
   10289       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10290       dldir=$destdir/`dirname \$dlpath`~
   10291       test -d \$dldir || mkdir -p \$dldir~
   10292       $install_prog $dir/$dlname \$dldir/$dlname'
   10293     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10294       dlpath=$dir/\$dldll~
   10295        $RM \$dlpath'
   10296     shlibpath_overrides_runpath=yes
   10297     dynamic_linker='Win32 link.exe'
   10298     ;;
   10299 
   10300   *)
   10301     # Assume MSVC wrapper
   10302     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10303     dynamic_linker='Win32 ld.exe'
   10304     ;;
   10305   esac
   10306   # FIXME: first we should search . and the directory the executable is in
   10307   shlibpath_var=PATH
   10308   ;;
   10309 
   10310 darwin* | rhapsody*)
   10311   dynamic_linker="$host_os dyld"
   10312   version_type=darwin
   10313   need_lib_prefix=no
   10314   need_version=no
   10315   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10316   soname_spec='${libname}${release}${major}$shared_ext'
   10317   shlibpath_overrides_runpath=yes
   10318   shlibpath_var=DYLD_LIBRARY_PATH
   10319   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10320 
   10321   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10322   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10323   ;;
   10324 
   10325 dgux*)
   10326   version_type=linux # correct to gnu/linux during the next big refactor
   10327   need_lib_prefix=no
   10328   need_version=no
   10329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10330   soname_spec='${libname}${release}${shared_ext}$major'
   10331   shlibpath_var=LD_LIBRARY_PATH
   10332   ;;
   10333 
   10334 freebsd* | dragonfly*)
   10335   # DragonFly does not have aout.  When/if they implement a new
   10336   # versioning mechanism, adjust this.
   10337   if test -x /usr/bin/objformat; then
   10338     objformat=`/usr/bin/objformat`
   10339   else
   10340     case $host_os in
   10341     freebsd[23].*) objformat=aout ;;
   10342     *) objformat=elf ;;
   10343     esac
   10344   fi
   10345   version_type=freebsd-$objformat
   10346   case $version_type in
   10347     freebsd-elf*)
   10348       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10349       need_version=no
   10350       need_lib_prefix=no
   10351       ;;
   10352     freebsd-*)
   10353       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10354       need_version=yes
   10355       ;;
   10356   esac
   10357   shlibpath_var=LD_LIBRARY_PATH
   10358   case $host_os in
   10359   freebsd2.*)
   10360     shlibpath_overrides_runpath=yes
   10361     ;;
   10362   freebsd3.[01]* | freebsdelf3.[01]*)
   10363     shlibpath_overrides_runpath=yes
   10364     hardcode_into_libs=yes
   10365     ;;
   10366   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10367   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10368     shlibpath_overrides_runpath=no
   10369     hardcode_into_libs=yes
   10370     ;;
   10371   *) # from 4.6 on, and DragonFly
   10372     shlibpath_overrides_runpath=yes
   10373     hardcode_into_libs=yes
   10374     ;;
   10375   esac
   10376   ;;
   10377 
   10378 gnu*)
   10379   version_type=linux # correct to gnu/linux during the next big refactor
   10380   need_lib_prefix=no
   10381   need_version=no
   10382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10383   soname_spec='${libname}${release}${shared_ext}$major'
   10384   shlibpath_var=LD_LIBRARY_PATH
   10385   shlibpath_overrides_runpath=no
   10386   hardcode_into_libs=yes
   10387   ;;
   10388 
   10389 haiku*)
   10390   version_type=linux # correct to gnu/linux during the next big refactor
   10391   need_lib_prefix=no
   10392   need_version=no
   10393   dynamic_linker="$host_os runtime_loader"
   10394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10395   soname_spec='${libname}${release}${shared_ext}$major'
   10396   shlibpath_var=LIBRARY_PATH
   10397   shlibpath_overrides_runpath=yes
   10398   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10399   hardcode_into_libs=yes
   10400   ;;
   10401 
   10402 hpux9* | hpux10* | hpux11*)
   10403   # Give a soname corresponding to the major version so that dld.sl refuses to
   10404   # link against other versions.
   10405   version_type=sunos
   10406   need_lib_prefix=no
   10407   need_version=no
   10408   case $host_cpu in
   10409   ia64*)
   10410     shrext_cmds='.so'
   10411     hardcode_into_libs=yes
   10412     dynamic_linker="$host_os dld.so"
   10413     shlibpath_var=LD_LIBRARY_PATH
   10414     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10415     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10416     soname_spec='${libname}${release}${shared_ext}$major'
   10417     if test "X$HPUX_IA64_MODE" = X32; then
   10418       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10419     else
   10420       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10421     fi
   10422     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10423     ;;
   10424   hppa*64*)
   10425     shrext_cmds='.sl'
   10426     hardcode_into_libs=yes
   10427     dynamic_linker="$host_os dld.sl"
   10428     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10429     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10430     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10431     soname_spec='${libname}${release}${shared_ext}$major'
   10432     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10433     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10434     ;;
   10435   *)
   10436     shrext_cmds='.sl'
   10437     dynamic_linker="$host_os dld.sl"
   10438     shlibpath_var=SHLIB_PATH
   10439     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10440     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10441     soname_spec='${libname}${release}${shared_ext}$major'
   10442     ;;
   10443   esac
   10444   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10445   postinstall_cmds='chmod 555 $lib'
   10446   # or fails outright, so override atomically:
   10447   install_override_mode=555
   10448   ;;
   10449 
   10450 interix[3-9]*)
   10451   version_type=linux # correct to gnu/linux during the next big refactor
   10452   need_lib_prefix=no
   10453   need_version=no
   10454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10455   soname_spec='${libname}${release}${shared_ext}$major'
   10456   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10457   shlibpath_var=LD_LIBRARY_PATH
   10458   shlibpath_overrides_runpath=no
   10459   hardcode_into_libs=yes
   10460   ;;
   10461 
   10462 irix5* | irix6* | nonstopux*)
   10463   case $host_os in
   10464     nonstopux*) version_type=nonstopux ;;
   10465     *)
   10466 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10467 		version_type=linux # correct to gnu/linux during the next big refactor
   10468 	else
   10469 		version_type=irix
   10470 	fi ;;
   10471   esac
   10472   need_lib_prefix=no
   10473   need_version=no
   10474   soname_spec='${libname}${release}${shared_ext}$major'
   10475   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10476   case $host_os in
   10477   irix5* | nonstopux*)
   10478     libsuff= shlibsuff=
   10479     ;;
   10480   *)
   10481     case $LD in # libtool.m4 will add one of these switches to LD
   10482     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10483       libsuff= shlibsuff= libmagic=32-bit;;
   10484     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10485       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10486     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10487       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10488     *) libsuff= shlibsuff= libmagic=never-match;;
   10489     esac
   10490     ;;
   10491   esac
   10492   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10493   shlibpath_overrides_runpath=no
   10494   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10495   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10496   hardcode_into_libs=yes
   10497   ;;
   10498 
   10499 # No shared lib support for Linux oldld, aout, or coff.
   10500 linux*oldld* | linux*aout* | linux*coff*)
   10501   dynamic_linker=no
   10502   ;;
   10503 
   10504 # This must be glibc/ELF.
   10505 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10506   version_type=linux # correct to gnu/linux during the next big refactor
   10507   need_lib_prefix=no
   10508   need_version=no
   10509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10510   soname_spec='${libname}${release}${shared_ext}$major'
   10511   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10512   shlibpath_var=LD_LIBRARY_PATH
   10513   shlibpath_overrides_runpath=no
   10514 
   10515   # Some binutils ld are patched to set DT_RUNPATH
   10516   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10517   $as_echo_n "(cached) " >&6
   10518 else
   10519   lt_cv_shlibpath_overrides_runpath=no
   10520     save_LDFLAGS=$LDFLAGS
   10521     save_libdir=$libdir
   10522     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10523 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10524     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10525 /* end confdefs.h.  */
   10526 
   10527 int
   10528 main ()
   10529 {
   10530 
   10531   ;
   10532   return 0;
   10533 }
   10534 _ACEOF
   10535 if ac_fn_c_try_link "$LINENO"; then :
   10536   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10537   lt_cv_shlibpath_overrides_runpath=yes
   10538 fi
   10539 fi
   10540 rm -f core conftest.err conftest.$ac_objext \
   10541     conftest$ac_exeext conftest.$ac_ext
   10542     LDFLAGS=$save_LDFLAGS
   10543     libdir=$save_libdir
   10544 
   10545 fi
   10546 
   10547   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10548 
   10549   # This implies no fast_install, which is unacceptable.
   10550   # Some rework will be needed to allow for fast_install
   10551   # before this can be enabled.
   10552   hardcode_into_libs=yes
   10553 
   10554   # Append ld.so.conf contents to the search path
   10555   if test -f /etc/ld.so.conf; then
   10556     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' ' '`
   10557     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10558   fi
   10559 
   10560   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10561   # powerpc, because MkLinux only supported shared libraries with the
   10562   # GNU dynamic linker.  Since this was broken with cross compilers,
   10563   # most powerpc-linux boxes support dynamic linking these days and
   10564   # people can always --disable-shared, the test was removed, and we
   10565   # assume the GNU/Linux dynamic linker is in use.
   10566   dynamic_linker='GNU/Linux ld.so'
   10567   ;;
   10568 
   10569 netbsd*)
   10570   version_type=sunos
   10571   need_lib_prefix=no
   10572   need_version=no
   10573   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10574     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10575     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10576     dynamic_linker='NetBSD (a.out) ld.so'
   10577   else
   10578     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10579     soname_spec='${libname}${release}${shared_ext}$major'
   10580     dynamic_linker='NetBSD ld.elf_so'
   10581   fi
   10582   shlibpath_var=LD_LIBRARY_PATH
   10583   shlibpath_overrides_runpath=yes
   10584   hardcode_into_libs=yes
   10585   ;;
   10586 
   10587 newsos6)
   10588   version_type=linux # correct to gnu/linux during the next big refactor
   10589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10590   shlibpath_var=LD_LIBRARY_PATH
   10591   shlibpath_overrides_runpath=yes
   10592   ;;
   10593 
   10594 *nto* | *qnx*)
   10595   version_type=qnx
   10596   need_lib_prefix=no
   10597   need_version=no
   10598   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10599   soname_spec='${libname}${release}${shared_ext}$major'
   10600   shlibpath_var=LD_LIBRARY_PATH
   10601   shlibpath_overrides_runpath=no
   10602   hardcode_into_libs=yes
   10603   dynamic_linker='ldqnx.so'
   10604   ;;
   10605 
   10606 openbsd*)
   10607   version_type=sunos
   10608   sys_lib_dlsearch_path_spec="/usr/lib"
   10609   need_lib_prefix=no
   10610   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10611   case $host_os in
   10612     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10613     *)				need_version=no  ;;
   10614   esac
   10615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10616   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10617   shlibpath_var=LD_LIBRARY_PATH
   10618   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10619     case $host_os in
   10620       openbsd2.[89] | openbsd2.[89].*)
   10621 	shlibpath_overrides_runpath=no
   10622 	;;
   10623       *)
   10624 	shlibpath_overrides_runpath=yes
   10625 	;;
   10626       esac
   10627   else
   10628     shlibpath_overrides_runpath=yes
   10629   fi
   10630   ;;
   10631 
   10632 os2*)
   10633   libname_spec='$name'
   10634   shrext_cmds=".dll"
   10635   need_lib_prefix=no
   10636   library_names_spec='$libname${shared_ext} $libname.a'
   10637   dynamic_linker='OS/2 ld.exe'
   10638   shlibpath_var=LIBPATH
   10639   ;;
   10640 
   10641 osf3* | osf4* | osf5*)
   10642   version_type=osf
   10643   need_lib_prefix=no
   10644   need_version=no
   10645   soname_spec='${libname}${release}${shared_ext}$major'
   10646   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10647   shlibpath_var=LD_LIBRARY_PATH
   10648   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10649   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10650   ;;
   10651 
   10652 rdos*)
   10653   dynamic_linker=no
   10654   ;;
   10655 
   10656 solaris*)
   10657   version_type=linux # correct to gnu/linux during the next big refactor
   10658   need_lib_prefix=no
   10659   need_version=no
   10660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10661   soname_spec='${libname}${release}${shared_ext}$major'
   10662   shlibpath_var=LD_LIBRARY_PATH
   10663   shlibpath_overrides_runpath=yes
   10664   hardcode_into_libs=yes
   10665   # ldd complains unless libraries are executable
   10666   postinstall_cmds='chmod +x $lib'
   10667   ;;
   10668 
   10669 sunos4*)
   10670   version_type=sunos
   10671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10672   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10673   shlibpath_var=LD_LIBRARY_PATH
   10674   shlibpath_overrides_runpath=yes
   10675   if test "$with_gnu_ld" = yes; then
   10676     need_lib_prefix=no
   10677   fi
   10678   need_version=yes
   10679   ;;
   10680 
   10681 sysv4 | sysv4.3*)
   10682   version_type=linux # correct to gnu/linux during the next big refactor
   10683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10684   soname_spec='${libname}${release}${shared_ext}$major'
   10685   shlibpath_var=LD_LIBRARY_PATH
   10686   case $host_vendor in
   10687     sni)
   10688       shlibpath_overrides_runpath=no
   10689       need_lib_prefix=no
   10690       runpath_var=LD_RUN_PATH
   10691       ;;
   10692     siemens)
   10693       need_lib_prefix=no
   10694       ;;
   10695     motorola)
   10696       need_lib_prefix=no
   10697       need_version=no
   10698       shlibpath_overrides_runpath=no
   10699       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10700       ;;
   10701   esac
   10702   ;;
   10703 
   10704 sysv4*MP*)
   10705   if test -d /usr/nec ;then
   10706     version_type=linux # correct to gnu/linux during the next big refactor
   10707     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10708     soname_spec='$libname${shared_ext}.$major'
   10709     shlibpath_var=LD_LIBRARY_PATH
   10710   fi
   10711   ;;
   10712 
   10713 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10714   version_type=freebsd-elf
   10715   need_lib_prefix=no
   10716   need_version=no
   10717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10718   soname_spec='${libname}${release}${shared_ext}$major'
   10719   shlibpath_var=LD_LIBRARY_PATH
   10720   shlibpath_overrides_runpath=yes
   10721   hardcode_into_libs=yes
   10722   if test "$with_gnu_ld" = yes; then
   10723     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10724   else
   10725     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10726     case $host_os in
   10727       sco3.2v5*)
   10728         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10729 	;;
   10730     esac
   10731   fi
   10732   sys_lib_dlsearch_path_spec='/usr/lib'
   10733   ;;
   10734 
   10735 tpf*)
   10736   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10737   version_type=linux # correct to gnu/linux during the next big refactor
   10738   need_lib_prefix=no
   10739   need_version=no
   10740   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10741   shlibpath_var=LD_LIBRARY_PATH
   10742   shlibpath_overrides_runpath=no
   10743   hardcode_into_libs=yes
   10744   ;;
   10745 
   10746 uts4*)
   10747   version_type=linux # correct to gnu/linux during the next big refactor
   10748   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10749   soname_spec='${libname}${release}${shared_ext}$major'
   10750   shlibpath_var=LD_LIBRARY_PATH
   10751   ;;
   10752 
   10753 *)
   10754   dynamic_linker=no
   10755   ;;
   10756 esac
   10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10758 $as_echo "$dynamic_linker" >&6; }
   10759 test "$dynamic_linker" = no && can_build_shared=no
   10760 
   10761 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10762 if test "$GCC" = yes; then
   10763   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10764 fi
   10765 
   10766 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10767   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10768 fi
   10769 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10770   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10771 fi
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10865 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10866 hardcode_action=
   10867 if test -n "$hardcode_libdir_flag_spec" ||
   10868    test -n "$runpath_var" ||
   10869    test "X$hardcode_automatic" = "Xyes" ; then
   10870 
   10871   # We can hardcode non-existent directories.
   10872   if test "$hardcode_direct" != no &&
   10873      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10874      # have to relink, otherwise we might link with an installed library
   10875      # when we should be linking with a yet-to-be-installed one
   10876      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10877      test "$hardcode_minus_L" != no; then
   10878     # Linking always hardcodes the temporary library directory.
   10879     hardcode_action=relink
   10880   else
   10881     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10882     hardcode_action=immediate
   10883   fi
   10884 else
   10885   # We cannot hardcode anything, or else we can only hardcode existing
   10886   # directories.
   10887   hardcode_action=unsupported
   10888 fi
   10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10890 $as_echo "$hardcode_action" >&6; }
   10891 
   10892 if test "$hardcode_action" = relink ||
   10893    test "$inherit_rpath" = yes; then
   10894   # Fast installation is not supported
   10895   enable_fast_install=no
   10896 elif test "$shlibpath_overrides_runpath" = yes ||
   10897      test "$enable_shared" = no; then
   10898   # Fast installation is not necessary
   10899   enable_fast_install=needless
   10900 fi
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907   if test "x$enable_dlopen" != xyes; then
   10908   enable_dlopen=unknown
   10909   enable_dlopen_self=unknown
   10910   enable_dlopen_self_static=unknown
   10911 else
   10912   lt_cv_dlopen=no
   10913   lt_cv_dlopen_libs=
   10914 
   10915   case $host_os in
   10916   beos*)
   10917     lt_cv_dlopen="load_add_on"
   10918     lt_cv_dlopen_libs=
   10919     lt_cv_dlopen_self=yes
   10920     ;;
   10921 
   10922   mingw* | pw32* | cegcc*)
   10923     lt_cv_dlopen="LoadLibrary"
   10924     lt_cv_dlopen_libs=
   10925     ;;
   10926 
   10927   cygwin*)
   10928     lt_cv_dlopen="dlopen"
   10929     lt_cv_dlopen_libs=
   10930     ;;
   10931 
   10932   darwin*)
   10933   # if libdl is installed we need to link against it
   10934     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10935 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10936 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10937   $as_echo_n "(cached) " >&6
   10938 else
   10939   ac_check_lib_save_LIBS=$LIBS
   10940 LIBS="-ldl  $LIBS"
   10941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10942 /* end confdefs.h.  */
   10943 
   10944 /* Override any GCC internal prototype to avoid an error.
   10945    Use char because int might match the return type of a GCC
   10946    builtin and then its argument prototype would still apply.  */
   10947 #ifdef __cplusplus
   10948 extern "C"
   10949 #endif
   10950 char dlopen ();
   10951 int
   10952 main ()
   10953 {
   10954 return dlopen ();
   10955   ;
   10956   return 0;
   10957 }
   10958 _ACEOF
   10959 if ac_fn_c_try_link "$LINENO"; then :
   10960   ac_cv_lib_dl_dlopen=yes
   10961 else
   10962   ac_cv_lib_dl_dlopen=no
   10963 fi
   10964 rm -f core conftest.err conftest.$ac_objext \
   10965     conftest$ac_exeext conftest.$ac_ext
   10966 LIBS=$ac_check_lib_save_LIBS
   10967 fi
   10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10969 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10970 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10971   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10972 else
   10973 
   10974     lt_cv_dlopen="dyld"
   10975     lt_cv_dlopen_libs=
   10976     lt_cv_dlopen_self=yes
   10977 
   10978 fi
   10979 
   10980     ;;
   10981 
   10982   *)
   10983     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10984 if test "x$ac_cv_func_shl_load" = xyes; then :
   10985   lt_cv_dlopen="shl_load"
   10986 else
   10987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10988 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10989 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10990   $as_echo_n "(cached) " >&6
   10991 else
   10992   ac_check_lib_save_LIBS=$LIBS
   10993 LIBS="-ldld  $LIBS"
   10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10995 /* end confdefs.h.  */
   10996 
   10997 /* Override any GCC internal prototype to avoid an error.
   10998    Use char because int might match the return type of a GCC
   10999    builtin and then its argument prototype would still apply.  */
   11000 #ifdef __cplusplus
   11001 extern "C"
   11002 #endif
   11003 char shl_load ();
   11004 int
   11005 main ()
   11006 {
   11007 return shl_load ();
   11008   ;
   11009   return 0;
   11010 }
   11011 _ACEOF
   11012 if ac_fn_c_try_link "$LINENO"; then :
   11013   ac_cv_lib_dld_shl_load=yes
   11014 else
   11015   ac_cv_lib_dld_shl_load=no
   11016 fi
   11017 rm -f core conftest.err conftest.$ac_objext \
   11018     conftest$ac_exeext conftest.$ac_ext
   11019 LIBS=$ac_check_lib_save_LIBS
   11020 fi
   11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11022 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11023 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11024   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11025 else
   11026   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11027 if test "x$ac_cv_func_dlopen" = xyes; then :
   11028   lt_cv_dlopen="dlopen"
   11029 else
   11030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11031 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11032 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11033   $as_echo_n "(cached) " >&6
   11034 else
   11035   ac_check_lib_save_LIBS=$LIBS
   11036 LIBS="-ldl  $LIBS"
   11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11038 /* end confdefs.h.  */
   11039 
   11040 /* Override any GCC internal prototype to avoid an error.
   11041    Use char because int might match the return type of a GCC
   11042    builtin and then its argument prototype would still apply.  */
   11043 #ifdef __cplusplus
   11044 extern "C"
   11045 #endif
   11046 char dlopen ();
   11047 int
   11048 main ()
   11049 {
   11050 return dlopen ();
   11051   ;
   11052   return 0;
   11053 }
   11054 _ACEOF
   11055 if ac_fn_c_try_link "$LINENO"; then :
   11056   ac_cv_lib_dl_dlopen=yes
   11057 else
   11058   ac_cv_lib_dl_dlopen=no
   11059 fi
   11060 rm -f core conftest.err conftest.$ac_objext \
   11061     conftest$ac_exeext conftest.$ac_ext
   11062 LIBS=$ac_check_lib_save_LIBS
   11063 fi
   11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11065 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11066 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11067   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11068 else
   11069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11070 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11071 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11072   $as_echo_n "(cached) " >&6
   11073 else
   11074   ac_check_lib_save_LIBS=$LIBS
   11075 LIBS="-lsvld  $LIBS"
   11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11077 /* end confdefs.h.  */
   11078 
   11079 /* Override any GCC internal prototype to avoid an error.
   11080    Use char because int might match the return type of a GCC
   11081    builtin and then its argument prototype would still apply.  */
   11082 #ifdef __cplusplus
   11083 extern "C"
   11084 #endif
   11085 char dlopen ();
   11086 int
   11087 main ()
   11088 {
   11089 return dlopen ();
   11090   ;
   11091   return 0;
   11092 }
   11093 _ACEOF
   11094 if ac_fn_c_try_link "$LINENO"; then :
   11095   ac_cv_lib_svld_dlopen=yes
   11096 else
   11097   ac_cv_lib_svld_dlopen=no
   11098 fi
   11099 rm -f core conftest.err conftest.$ac_objext \
   11100     conftest$ac_exeext conftest.$ac_ext
   11101 LIBS=$ac_check_lib_save_LIBS
   11102 fi
   11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11104 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11105 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11106   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11107 else
   11108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11109 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11110 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11111   $as_echo_n "(cached) " >&6
   11112 else
   11113   ac_check_lib_save_LIBS=$LIBS
   11114 LIBS="-ldld  $LIBS"
   11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11116 /* end confdefs.h.  */
   11117 
   11118 /* Override any GCC internal prototype to avoid an error.
   11119    Use char because int might match the return type of a GCC
   11120    builtin and then its argument prototype would still apply.  */
   11121 #ifdef __cplusplus
   11122 extern "C"
   11123 #endif
   11124 char dld_link ();
   11125 int
   11126 main ()
   11127 {
   11128 return dld_link ();
   11129   ;
   11130   return 0;
   11131 }
   11132 _ACEOF
   11133 if ac_fn_c_try_link "$LINENO"; then :
   11134   ac_cv_lib_dld_dld_link=yes
   11135 else
   11136   ac_cv_lib_dld_dld_link=no
   11137 fi
   11138 rm -f core conftest.err conftest.$ac_objext \
   11139     conftest$ac_exeext conftest.$ac_ext
   11140 LIBS=$ac_check_lib_save_LIBS
   11141 fi
   11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11143 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11144 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11145   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11146 fi
   11147 
   11148 
   11149 fi
   11150 
   11151 
   11152 fi
   11153 
   11154 
   11155 fi
   11156 
   11157 
   11158 fi
   11159 
   11160 
   11161 fi
   11162 
   11163     ;;
   11164   esac
   11165 
   11166   if test "x$lt_cv_dlopen" != xno; then
   11167     enable_dlopen=yes
   11168   else
   11169     enable_dlopen=no
   11170   fi
   11171 
   11172   case $lt_cv_dlopen in
   11173   dlopen)
   11174     save_CPPFLAGS="$CPPFLAGS"
   11175     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11176 
   11177     save_LDFLAGS="$LDFLAGS"
   11178     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11179 
   11180     save_LIBS="$LIBS"
   11181     LIBS="$lt_cv_dlopen_libs $LIBS"
   11182 
   11183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11184 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11185 if ${lt_cv_dlopen_self+:} false; then :
   11186   $as_echo_n "(cached) " >&6
   11187 else
   11188   	  if test "$cross_compiling" = yes; then :
   11189   lt_cv_dlopen_self=cross
   11190 else
   11191   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11192   lt_status=$lt_dlunknown
   11193   cat > conftest.$ac_ext <<_LT_EOF
   11194 #line $LINENO "configure"
   11195 #include "confdefs.h"
   11196 
   11197 #if HAVE_DLFCN_H
   11198 #include <dlfcn.h>
   11199 #endif
   11200 
   11201 #include <stdio.h>
   11202 
   11203 #ifdef RTLD_GLOBAL
   11204 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11205 #else
   11206 #  ifdef DL_GLOBAL
   11207 #    define LT_DLGLOBAL		DL_GLOBAL
   11208 #  else
   11209 #    define LT_DLGLOBAL		0
   11210 #  endif
   11211 #endif
   11212 
   11213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11214    find out it does not work in some platform. */
   11215 #ifndef LT_DLLAZY_OR_NOW
   11216 #  ifdef RTLD_LAZY
   11217 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11218 #  else
   11219 #    ifdef DL_LAZY
   11220 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11221 #    else
   11222 #      ifdef RTLD_NOW
   11223 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11224 #      else
   11225 #        ifdef DL_NOW
   11226 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11227 #        else
   11228 #          define LT_DLLAZY_OR_NOW	0
   11229 #        endif
   11230 #      endif
   11231 #    endif
   11232 #  endif
   11233 #endif
   11234 
   11235 /* When -fvisbility=hidden is used, assume the code has been annotated
   11236    correspondingly for the symbols needed.  */
   11237 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11238 int fnord () __attribute__((visibility("default")));
   11239 #endif
   11240 
   11241 int fnord () { return 42; }
   11242 int main ()
   11243 {
   11244   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11245   int status = $lt_dlunknown;
   11246 
   11247   if (self)
   11248     {
   11249       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11250       else
   11251         {
   11252 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11253           else puts (dlerror ());
   11254 	}
   11255       /* dlclose (self); */
   11256     }
   11257   else
   11258     puts (dlerror ());
   11259 
   11260   return status;
   11261 }
   11262 _LT_EOF
   11263   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11264   (eval $ac_link) 2>&5
   11265   ac_status=$?
   11266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11267   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11268     (./conftest; exit; ) >&5 2>/dev/null
   11269     lt_status=$?
   11270     case x$lt_status in
   11271       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11272       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11273       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11274     esac
   11275   else :
   11276     # compilation failed
   11277     lt_cv_dlopen_self=no
   11278   fi
   11279 fi
   11280 rm -fr conftest*
   11281 
   11282 
   11283 fi
   11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11285 $as_echo "$lt_cv_dlopen_self" >&6; }
   11286 
   11287     if test "x$lt_cv_dlopen_self" = xyes; then
   11288       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11289       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11290 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11291 if ${lt_cv_dlopen_self_static+:} false; then :
   11292   $as_echo_n "(cached) " >&6
   11293 else
   11294   	  if test "$cross_compiling" = yes; then :
   11295   lt_cv_dlopen_self_static=cross
   11296 else
   11297   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11298   lt_status=$lt_dlunknown
   11299   cat > conftest.$ac_ext <<_LT_EOF
   11300 #line $LINENO "configure"
   11301 #include "confdefs.h"
   11302 
   11303 #if HAVE_DLFCN_H
   11304 #include <dlfcn.h>
   11305 #endif
   11306 
   11307 #include <stdio.h>
   11308 
   11309 #ifdef RTLD_GLOBAL
   11310 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11311 #else
   11312 #  ifdef DL_GLOBAL
   11313 #    define LT_DLGLOBAL		DL_GLOBAL
   11314 #  else
   11315 #    define LT_DLGLOBAL		0
   11316 #  endif
   11317 #endif
   11318 
   11319 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11320    find out it does not work in some platform. */
   11321 #ifndef LT_DLLAZY_OR_NOW
   11322 #  ifdef RTLD_LAZY
   11323 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11324 #  else
   11325 #    ifdef DL_LAZY
   11326 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11327 #    else
   11328 #      ifdef RTLD_NOW
   11329 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11330 #      else
   11331 #        ifdef DL_NOW
   11332 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11333 #        else
   11334 #          define LT_DLLAZY_OR_NOW	0
   11335 #        endif
   11336 #      endif
   11337 #    endif
   11338 #  endif
   11339 #endif
   11340 
   11341 /* When -fvisbility=hidden is used, assume the code has been annotated
   11342    correspondingly for the symbols needed.  */
   11343 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11344 int fnord () __attribute__((visibility("default")));
   11345 #endif
   11346 
   11347 int fnord () { return 42; }
   11348 int main ()
   11349 {
   11350   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11351   int status = $lt_dlunknown;
   11352 
   11353   if (self)
   11354     {
   11355       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11356       else
   11357         {
   11358 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11359           else puts (dlerror ());
   11360 	}
   11361       /* dlclose (self); */
   11362     }
   11363   else
   11364     puts (dlerror ());
   11365 
   11366   return status;
   11367 }
   11368 _LT_EOF
   11369   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11370   (eval $ac_link) 2>&5
   11371   ac_status=$?
   11372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11373   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11374     (./conftest; exit; ) >&5 2>/dev/null
   11375     lt_status=$?
   11376     case x$lt_status in
   11377       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11378       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11379       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11380     esac
   11381   else :
   11382     # compilation failed
   11383     lt_cv_dlopen_self_static=no
   11384   fi
   11385 fi
   11386 rm -fr conftest*
   11387 
   11388 
   11389 fi
   11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11391 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11392     fi
   11393 
   11394     CPPFLAGS="$save_CPPFLAGS"
   11395     LDFLAGS="$save_LDFLAGS"
   11396     LIBS="$save_LIBS"
   11397     ;;
   11398   esac
   11399 
   11400   case $lt_cv_dlopen_self in
   11401   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11402   *) enable_dlopen_self=unknown ;;
   11403   esac
   11404 
   11405   case $lt_cv_dlopen_self_static in
   11406   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11407   *) enable_dlopen_self_static=unknown ;;
   11408   esac
   11409 fi
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 striplib=
   11428 old_striplib=
   11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11430 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11431 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11432   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11433   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11435 $as_echo "yes" >&6; }
   11436 else
   11437 # FIXME - insert some real tests, host_os isn't really good enough
   11438   case $host_os in
   11439   darwin*)
   11440     if test -n "$STRIP" ; then
   11441       striplib="$STRIP -x"
   11442       old_striplib="$STRIP -S"
   11443       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11444 $as_echo "yes" >&6; }
   11445     else
   11446       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11447 $as_echo "no" >&6; }
   11448     fi
   11449     ;;
   11450   *)
   11451     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11452 $as_echo "no" >&6; }
   11453     ;;
   11454   esac
   11455 fi
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468   # Report which library types will actually be built
   11469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11470 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11472 $as_echo "$can_build_shared" >&6; }
   11473 
   11474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11475 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11476   test "$can_build_shared" = "no" && enable_shared=no
   11477 
   11478   # On AIX, shared libraries and static libraries use the same namespace, and
   11479   # are all built from PIC.
   11480   case $host_os in
   11481   aix3*)
   11482     test "$enable_shared" = yes && enable_static=no
   11483     if test -n "$RANLIB"; then
   11484       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11485       postinstall_cmds='$RANLIB $lib'
   11486     fi
   11487     ;;
   11488 
   11489   aix[4-9]*)
   11490     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11491       test "$enable_shared" = yes && enable_static=no
   11492     fi
   11493     ;;
   11494   esac
   11495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11496 $as_echo "$enable_shared" >&6; }
   11497 
   11498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11499 $as_echo_n "checking whether to build static libraries... " >&6; }
   11500   # Make sure either enable_shared or enable_static is yes.
   11501   test "$enable_shared" = yes || enable_static=yes
   11502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11503 $as_echo "$enable_static" >&6; }
   11504 
   11505 
   11506 
   11507 
   11508 fi
   11509 ac_ext=c
   11510 ac_cpp='$CPP $CPPFLAGS'
   11511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11514 
   11515 CC="$lt_save_CC"
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531         ac_config_commands="$ac_config_commands libtool"
   11532 
   11533 
   11534 
   11535 
   11536 # Only expand once:
   11537 
   11538 
   11539 
   11540 # Require X.Org macros 1.8 or later
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11553 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11554 if ${ac_cv_prog_cc_c99+:} false; then :
   11555   $as_echo_n "(cached) " >&6
   11556 else
   11557   ac_cv_prog_cc_c99=no
   11558 ac_save_CC=$CC
   11559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11560 /* end confdefs.h.  */
   11561 #include <stdarg.h>
   11562 #include <stdbool.h>
   11563 #include <stdlib.h>
   11564 #include <wchar.h>
   11565 #include <stdio.h>
   11566 
   11567 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11568 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11569 #define showlist(...) puts (#__VA_ARGS__)
   11570 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11571 static void
   11572 test_varargs_macros (void)
   11573 {
   11574   int x = 1234;
   11575   int y = 5678;
   11576   debug ("Flag");
   11577   debug ("X = %d\n", x);
   11578   showlist (The first, second, and third items.);
   11579   report (x>y, "x is %d but y is %d", x, y);
   11580 }
   11581 
   11582 // Check long long types.
   11583 #define BIG64 18446744073709551615ull
   11584 #define BIG32 4294967295ul
   11585 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11586 #if !BIG_OK
   11587   your preprocessor is broken;
   11588 #endif
   11589 #if BIG_OK
   11590 #else
   11591   your preprocessor is broken;
   11592 #endif
   11593 static long long int bignum = -9223372036854775807LL;
   11594 static unsigned long long int ubignum = BIG64;
   11595 
   11596 struct incomplete_array
   11597 {
   11598   int datasize;
   11599   double data[];
   11600 };
   11601 
   11602 struct named_init {
   11603   int number;
   11604   const wchar_t *name;
   11605   double average;
   11606 };
   11607 
   11608 typedef const char *ccp;
   11609 
   11610 static inline int
   11611 test_restrict (ccp restrict text)
   11612 {
   11613   // See if C++-style comments work.
   11614   // Iterate through items via the restricted pointer.
   11615   // Also check for declarations in for loops.
   11616   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11617     continue;
   11618   return 0;
   11619 }
   11620 
   11621 // Check varargs and va_copy.
   11622 static void
   11623 test_varargs (const char *format, ...)
   11624 {
   11625   va_list args;
   11626   va_start (args, format);
   11627   va_list args_copy;
   11628   va_copy (args_copy, args);
   11629 
   11630   const char *str;
   11631   int number;
   11632   float fnumber;
   11633 
   11634   while (*format)
   11635     {
   11636       switch (*format++)
   11637 	{
   11638 	case 's': // string
   11639 	  str = va_arg (args_copy, const char *);
   11640 	  break;
   11641 	case 'd': // int
   11642 	  number = va_arg (args_copy, int);
   11643 	  break;
   11644 	case 'f': // float
   11645 	  fnumber = va_arg (args_copy, double);
   11646 	  break;
   11647 	default:
   11648 	  break;
   11649 	}
   11650     }
   11651   va_end (args_copy);
   11652   va_end (args);
   11653 }
   11654 
   11655 int
   11656 main ()
   11657 {
   11658 
   11659   // Check bool.
   11660   _Bool success = false;
   11661 
   11662   // Check restrict.
   11663   if (test_restrict ("String literal") == 0)
   11664     success = true;
   11665   char *restrict newvar = "Another string";
   11666 
   11667   // Check varargs.
   11668   test_varargs ("s, d' f .", "string", 65, 34.234);
   11669   test_varargs_macros ();
   11670 
   11671   // Check flexible array members.
   11672   struct incomplete_array *ia =
   11673     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11674   ia->datasize = 10;
   11675   for (int i = 0; i < ia->datasize; ++i)
   11676     ia->data[i] = i * 1.234;
   11677 
   11678   // Check named initializers.
   11679   struct named_init ni = {
   11680     .number = 34,
   11681     .name = L"Test wide string",
   11682     .average = 543.34343,
   11683   };
   11684 
   11685   ni.number = 58;
   11686 
   11687   int dynamic_array[ni.number];
   11688   dynamic_array[ni.number - 1] = 543;
   11689 
   11690   // work around unused variable warnings
   11691   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11692 	  || dynamic_array[ni.number - 1] != 543);
   11693 
   11694   ;
   11695   return 0;
   11696 }
   11697 _ACEOF
   11698 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11699 do
   11700   CC="$ac_save_CC $ac_arg"
   11701   if ac_fn_c_try_compile "$LINENO"; then :
   11702   ac_cv_prog_cc_c99=$ac_arg
   11703 fi
   11704 rm -f core conftest.err conftest.$ac_objext
   11705   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11706 done
   11707 rm -f conftest.$ac_ext
   11708 CC=$ac_save_CC
   11709 
   11710 fi
   11711 # AC_CACHE_VAL
   11712 case "x$ac_cv_prog_cc_c99" in
   11713   x)
   11714     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11715 $as_echo "none needed" >&6; } ;;
   11716   xno)
   11717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11718 $as_echo "unsupported" >&6; } ;;
   11719   *)
   11720     CC="$CC $ac_cv_prog_cc_c99"
   11721     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11722 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11723 esac
   11724 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11725 
   11726 fi
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11734 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11735   CLANGCC="yes"
   11736 else
   11737   CLANGCC="no"
   11738 fi
   11739 
   11740 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11741 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11742   INTELCC="yes"
   11743 else
   11744   INTELCC="no"
   11745 fi
   11746 
   11747 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11748 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11749   SUNCC="yes"
   11750 else
   11751   SUNCC="no"
   11752 fi
   11753 
   11754 
   11755 
   11756 
   11757 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11758 	if test -n "$ac_tool_prefix"; then
   11759   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11760 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11762 $as_echo_n "checking for $ac_word... " >&6; }
   11763 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11764   $as_echo_n "(cached) " >&6
   11765 else
   11766   case $PKG_CONFIG in
   11767   [\\/]* | ?:[\\/]*)
   11768   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11769   ;;
   11770   *)
   11771   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11772 for as_dir in $PATH
   11773 do
   11774   IFS=$as_save_IFS
   11775   test -z "$as_dir" && as_dir=.
   11776     for ac_exec_ext in '' $ac_executable_extensions; do
   11777   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11778     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11780     break 2
   11781   fi
   11782 done
   11783   done
   11784 IFS=$as_save_IFS
   11785 
   11786   ;;
   11787 esac
   11788 fi
   11789 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11790 if test -n "$PKG_CONFIG"; then
   11791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11792 $as_echo "$PKG_CONFIG" >&6; }
   11793 else
   11794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11795 $as_echo "no" >&6; }
   11796 fi
   11797 
   11798 
   11799 fi
   11800 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11801   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11802   # Extract the first word of "pkg-config", so it can be a program name with args.
   11803 set dummy pkg-config; ac_word=$2
   11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11805 $as_echo_n "checking for $ac_word... " >&6; }
   11806 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11807   $as_echo_n "(cached) " >&6
   11808 else
   11809   case $ac_pt_PKG_CONFIG in
   11810   [\\/]* | ?:[\\/]*)
   11811   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11812   ;;
   11813   *)
   11814   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11815 for as_dir in $PATH
   11816 do
   11817   IFS=$as_save_IFS
   11818   test -z "$as_dir" && as_dir=.
   11819     for ac_exec_ext in '' $ac_executable_extensions; do
   11820   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11821     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11823     break 2
   11824   fi
   11825 done
   11826   done
   11827 IFS=$as_save_IFS
   11828 
   11829   ;;
   11830 esac
   11831 fi
   11832 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11833 if test -n "$ac_pt_PKG_CONFIG"; then
   11834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11835 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11836 else
   11837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11838 $as_echo "no" >&6; }
   11839 fi
   11840 
   11841   if test "x$ac_pt_PKG_CONFIG" = x; then
   11842     PKG_CONFIG=""
   11843   else
   11844     case $cross_compiling:$ac_tool_warned in
   11845 yes:)
   11846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11848 ac_tool_warned=yes ;;
   11849 esac
   11850     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11851   fi
   11852 else
   11853   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11854 fi
   11855 
   11856 fi
   11857 if test -n "$PKG_CONFIG"; then
   11858 	_pkg_min_version=0.9.0
   11859 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11860 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11861 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11863 $as_echo "yes" >&6; }
   11864 	else
   11865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11866 $as_echo "no" >&6; }
   11867 		PKG_CONFIG=""
   11868 	fi
   11869 
   11870 fi
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 # Check whether --enable-selective-werror was given.
   11877 if test "${enable_selective_werror+set}" = set; then :
   11878   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11879 else
   11880   SELECTIVE_WERROR=yes
   11881 fi
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11888 if test "x$SUNCC" = "xyes"; then
   11889     BASE_CFLAGS="-v"
   11890 else
   11891     BASE_CFLAGS=""
   11892 fi
   11893 
   11894 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 xorg_testset_save_CFLAGS="$CFLAGS"
   11909 
   11910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11913 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11914 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11915   $as_echo_n "(cached) " >&6
   11916 else
   11917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11918 /* end confdefs.h.  */
   11919 int i;
   11920 _ACEOF
   11921 if ac_fn_c_try_compile "$LINENO"; then :
   11922   xorg_cv_cc_flag_unknown_warning_option=yes
   11923 else
   11924   xorg_cv_cc_flag_unknown_warning_option=no
   11925 fi
   11926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11927 fi
   11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11929 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11930 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11931 	CFLAGS="$xorg_testset_save_CFLAGS"
   11932 fi
   11933 
   11934 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11935 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11937 	fi
   11938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11940 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11941 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11942   $as_echo_n "(cached) " >&6
   11943 else
   11944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11945 /* end confdefs.h.  */
   11946 int i;
   11947 _ACEOF
   11948 if ac_fn_c_try_compile "$LINENO"; then :
   11949   xorg_cv_cc_flag_unused_command_line_argument=yes
   11950 else
   11951   xorg_cv_cc_flag_unused_command_line_argument=no
   11952 fi
   11953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11954 fi
   11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11956 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11957 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11958 	CFLAGS="$xorg_testset_save_CFLAGS"
   11959 fi
   11960 
   11961 found="no"
   11962 
   11963 	if test $found = "no" ; then
   11964 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11966 		fi
   11967 
   11968 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11970 		fi
   11971 
   11972 		CFLAGS="$CFLAGS -Wall"
   11973 
   11974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11975 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11976 		cacheid=xorg_cv_cc_flag__Wall
   11977 		if eval \${$cacheid+:} false; then :
   11978   $as_echo_n "(cached) " >&6
   11979 else
   11980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11981 /* end confdefs.h.  */
   11982 int i;
   11983 int
   11984 main ()
   11985 {
   11986 
   11987   ;
   11988   return 0;
   11989 }
   11990 _ACEOF
   11991 if ac_fn_c_try_link "$LINENO"; then :
   11992   eval $cacheid=yes
   11993 else
   11994   eval $cacheid=no
   11995 fi
   11996 rm -f core conftest.err conftest.$ac_objext \
   11997     conftest$ac_exeext conftest.$ac_ext
   11998 fi
   11999 
   12000 
   12001 		CFLAGS="$xorg_testset_save_CFLAGS"
   12002 
   12003 		eval supported=\$$cacheid
   12004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12005 $as_echo "$supported" >&6; }
   12006 		if test "$supported" = "yes" ; then
   12007 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12008 			found="yes"
   12009 		fi
   12010 	fi
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 xorg_testset_save_CFLAGS="$CFLAGS"
   12027 
   12028 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12029 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12031 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12032 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12033   $as_echo_n "(cached) " >&6
   12034 else
   12035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12036 /* end confdefs.h.  */
   12037 int i;
   12038 _ACEOF
   12039 if ac_fn_c_try_compile "$LINENO"; then :
   12040   xorg_cv_cc_flag_unknown_warning_option=yes
   12041 else
   12042   xorg_cv_cc_flag_unknown_warning_option=no
   12043 fi
   12044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12045 fi
   12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12047 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12048 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12049 	CFLAGS="$xorg_testset_save_CFLAGS"
   12050 fi
   12051 
   12052 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12053 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12054 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12055 	fi
   12056 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12058 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12059 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12060   $as_echo_n "(cached) " >&6
   12061 else
   12062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12063 /* end confdefs.h.  */
   12064 int i;
   12065 _ACEOF
   12066 if ac_fn_c_try_compile "$LINENO"; then :
   12067   xorg_cv_cc_flag_unused_command_line_argument=yes
   12068 else
   12069   xorg_cv_cc_flag_unused_command_line_argument=no
   12070 fi
   12071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12072 fi
   12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12074 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12076 	CFLAGS="$xorg_testset_save_CFLAGS"
   12077 fi
   12078 
   12079 found="no"
   12080 
   12081 	if test $found = "no" ; then
   12082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12084 		fi
   12085 
   12086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12088 		fi
   12089 
   12090 		CFLAGS="$CFLAGS -Wpointer-arith"
   12091 
   12092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12093 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12094 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12095 		if eval \${$cacheid+:} false; then :
   12096   $as_echo_n "(cached) " >&6
   12097 else
   12098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12099 /* end confdefs.h.  */
   12100 int i;
   12101 int
   12102 main ()
   12103 {
   12104 
   12105   ;
   12106   return 0;
   12107 }
   12108 _ACEOF
   12109 if ac_fn_c_try_link "$LINENO"; then :
   12110   eval $cacheid=yes
   12111 else
   12112   eval $cacheid=no
   12113 fi
   12114 rm -f core conftest.err conftest.$ac_objext \
   12115     conftest$ac_exeext conftest.$ac_ext
   12116 fi
   12117 
   12118 
   12119 		CFLAGS="$xorg_testset_save_CFLAGS"
   12120 
   12121 		eval supported=\$$cacheid
   12122 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12123 $as_echo "$supported" >&6; }
   12124 		if test "$supported" = "yes" ; then
   12125 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12126 			found="yes"
   12127 		fi
   12128 	fi
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 xorg_testset_save_CFLAGS="$CFLAGS"
   12145 
   12146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12149 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12150 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12151   $as_echo_n "(cached) " >&6
   12152 else
   12153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12154 /* end confdefs.h.  */
   12155 int i;
   12156 _ACEOF
   12157 if ac_fn_c_try_compile "$LINENO"; then :
   12158   xorg_cv_cc_flag_unknown_warning_option=yes
   12159 else
   12160   xorg_cv_cc_flag_unknown_warning_option=no
   12161 fi
   12162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12163 fi
   12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12165 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12167 	CFLAGS="$xorg_testset_save_CFLAGS"
   12168 fi
   12169 
   12170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12173 	fi
   12174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12176 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12177 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12178   $as_echo_n "(cached) " >&6
   12179 else
   12180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12181 /* end confdefs.h.  */
   12182 int i;
   12183 _ACEOF
   12184 if ac_fn_c_try_compile "$LINENO"; then :
   12185   xorg_cv_cc_flag_unused_command_line_argument=yes
   12186 else
   12187   xorg_cv_cc_flag_unused_command_line_argument=no
   12188 fi
   12189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12190 fi
   12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12192 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12194 	CFLAGS="$xorg_testset_save_CFLAGS"
   12195 fi
   12196 
   12197 found="no"
   12198 
   12199 	if test $found = "no" ; then
   12200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12202 		fi
   12203 
   12204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12206 		fi
   12207 
   12208 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12209 
   12210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12211 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12212 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12213 		if eval \${$cacheid+:} false; then :
   12214   $as_echo_n "(cached) " >&6
   12215 else
   12216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12217 /* end confdefs.h.  */
   12218 int i;
   12219 int
   12220 main ()
   12221 {
   12222 
   12223   ;
   12224   return 0;
   12225 }
   12226 _ACEOF
   12227 if ac_fn_c_try_link "$LINENO"; then :
   12228   eval $cacheid=yes
   12229 else
   12230   eval $cacheid=no
   12231 fi
   12232 rm -f core conftest.err conftest.$ac_objext \
   12233     conftest$ac_exeext conftest.$ac_ext
   12234 fi
   12235 
   12236 
   12237 		CFLAGS="$xorg_testset_save_CFLAGS"
   12238 
   12239 		eval supported=\$$cacheid
   12240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12241 $as_echo "$supported" >&6; }
   12242 		if test "$supported" = "yes" ; then
   12243 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12244 			found="yes"
   12245 		fi
   12246 	fi
   12247 
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 
   12259 
   12260 
   12261 
   12262 xorg_testset_save_CFLAGS="$CFLAGS"
   12263 
   12264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12267 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12268 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12269   $as_echo_n "(cached) " >&6
   12270 else
   12271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12272 /* end confdefs.h.  */
   12273 int i;
   12274 _ACEOF
   12275 if ac_fn_c_try_compile "$LINENO"; then :
   12276   xorg_cv_cc_flag_unknown_warning_option=yes
   12277 else
   12278   xorg_cv_cc_flag_unknown_warning_option=no
   12279 fi
   12280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12281 fi
   12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12283 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12285 	CFLAGS="$xorg_testset_save_CFLAGS"
   12286 fi
   12287 
   12288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12291 	fi
   12292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12294 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12295 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12296   $as_echo_n "(cached) " >&6
   12297 else
   12298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12299 /* end confdefs.h.  */
   12300 int i;
   12301 _ACEOF
   12302 if ac_fn_c_try_compile "$LINENO"; then :
   12303   xorg_cv_cc_flag_unused_command_line_argument=yes
   12304 else
   12305   xorg_cv_cc_flag_unused_command_line_argument=no
   12306 fi
   12307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12308 fi
   12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12310 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12312 	CFLAGS="$xorg_testset_save_CFLAGS"
   12313 fi
   12314 
   12315 found="no"
   12316 
   12317 	if test $found = "no" ; then
   12318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12320 		fi
   12321 
   12322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12324 		fi
   12325 
   12326 		CFLAGS="$CFLAGS -Wformat=2"
   12327 
   12328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12329 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12330 		cacheid=xorg_cv_cc_flag__Wformat_2
   12331 		if eval \${$cacheid+:} false; then :
   12332   $as_echo_n "(cached) " >&6
   12333 else
   12334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12335 /* end confdefs.h.  */
   12336 int i;
   12337 int
   12338 main ()
   12339 {
   12340 
   12341   ;
   12342   return 0;
   12343 }
   12344 _ACEOF
   12345 if ac_fn_c_try_link "$LINENO"; then :
   12346   eval $cacheid=yes
   12347 else
   12348   eval $cacheid=no
   12349 fi
   12350 rm -f core conftest.err conftest.$ac_objext \
   12351     conftest$ac_exeext conftest.$ac_ext
   12352 fi
   12353 
   12354 
   12355 		CFLAGS="$xorg_testset_save_CFLAGS"
   12356 
   12357 		eval supported=\$$cacheid
   12358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12359 $as_echo "$supported" >&6; }
   12360 		if test "$supported" = "yes" ; then
   12361 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12362 			found="yes"
   12363 		fi
   12364 	fi
   12365 
   12366 	if test $found = "no" ; then
   12367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12369 		fi
   12370 
   12371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12373 		fi
   12374 
   12375 		CFLAGS="$CFLAGS -Wformat"
   12376 
   12377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12378 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12379 		cacheid=xorg_cv_cc_flag__Wformat
   12380 		if eval \${$cacheid+:} 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 int
   12387 main ()
   12388 {
   12389 
   12390   ;
   12391   return 0;
   12392 }
   12393 _ACEOF
   12394 if ac_fn_c_try_link "$LINENO"; then :
   12395   eval $cacheid=yes
   12396 else
   12397   eval $cacheid=no
   12398 fi
   12399 rm -f core conftest.err conftest.$ac_objext \
   12400     conftest$ac_exeext conftest.$ac_ext
   12401 fi
   12402 
   12403 
   12404 		CFLAGS="$xorg_testset_save_CFLAGS"
   12405 
   12406 		eval supported=\$$cacheid
   12407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12408 $as_echo "$supported" >&6; }
   12409 		if test "$supported" = "yes" ; then
   12410 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12411 			found="yes"
   12412 		fi
   12413 	fi
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 xorg_testset_save_CFLAGS="$CFLAGS"
   12432 
   12433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12436 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12437 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12438   $as_echo_n "(cached) " >&6
   12439 else
   12440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12441 /* end confdefs.h.  */
   12442 int i;
   12443 _ACEOF
   12444 if ac_fn_c_try_compile "$LINENO"; then :
   12445   xorg_cv_cc_flag_unknown_warning_option=yes
   12446 else
   12447   xorg_cv_cc_flag_unknown_warning_option=no
   12448 fi
   12449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12450 fi
   12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12452 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12454 	CFLAGS="$xorg_testset_save_CFLAGS"
   12455 fi
   12456 
   12457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12460 	fi
   12461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12463 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12464 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12465   $as_echo_n "(cached) " >&6
   12466 else
   12467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12468 /* end confdefs.h.  */
   12469 int i;
   12470 _ACEOF
   12471 if ac_fn_c_try_compile "$LINENO"; then :
   12472   xorg_cv_cc_flag_unused_command_line_argument=yes
   12473 else
   12474   xorg_cv_cc_flag_unused_command_line_argument=no
   12475 fi
   12476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12477 fi
   12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12479 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12481 	CFLAGS="$xorg_testset_save_CFLAGS"
   12482 fi
   12483 
   12484 found="no"
   12485 
   12486 	if test $found = "no" ; then
   12487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12489 		fi
   12490 
   12491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12493 		fi
   12494 
   12495 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12496 
   12497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12498 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12499 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12500 		if eval \${$cacheid+:} false; then :
   12501   $as_echo_n "(cached) " >&6
   12502 else
   12503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12504 /* end confdefs.h.  */
   12505 int i;
   12506 int
   12507 main ()
   12508 {
   12509 
   12510   ;
   12511   return 0;
   12512 }
   12513 _ACEOF
   12514 if ac_fn_c_try_link "$LINENO"; then :
   12515   eval $cacheid=yes
   12516 else
   12517   eval $cacheid=no
   12518 fi
   12519 rm -f core conftest.err conftest.$ac_objext \
   12520     conftest$ac_exeext conftest.$ac_ext
   12521 fi
   12522 
   12523 
   12524 		CFLAGS="$xorg_testset_save_CFLAGS"
   12525 
   12526 		eval supported=\$$cacheid
   12527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12528 $as_echo "$supported" >&6; }
   12529 		if test "$supported" = "yes" ; then
   12530 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12531 			found="yes"
   12532 		fi
   12533 	fi
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 xorg_testset_save_CFLAGS="$CFLAGS"
   12550 
   12551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12556   $as_echo_n "(cached) " >&6
   12557 else
   12558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12559 /* end confdefs.h.  */
   12560 int i;
   12561 _ACEOF
   12562 if ac_fn_c_try_compile "$LINENO"; then :
   12563   xorg_cv_cc_flag_unknown_warning_option=yes
   12564 else
   12565   xorg_cv_cc_flag_unknown_warning_option=no
   12566 fi
   12567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12568 fi
   12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12572 	CFLAGS="$xorg_testset_save_CFLAGS"
   12573 fi
   12574 
   12575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12578 	fi
   12579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12583   $as_echo_n "(cached) " >&6
   12584 else
   12585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12586 /* end confdefs.h.  */
   12587 int i;
   12588 _ACEOF
   12589 if ac_fn_c_try_compile "$LINENO"; then :
   12590   xorg_cv_cc_flag_unused_command_line_argument=yes
   12591 else
   12592   xorg_cv_cc_flag_unused_command_line_argument=no
   12593 fi
   12594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12595 fi
   12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12599 	CFLAGS="$xorg_testset_save_CFLAGS"
   12600 fi
   12601 
   12602 found="no"
   12603 
   12604 	if test $found = "no" ; then
   12605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12607 		fi
   12608 
   12609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12611 		fi
   12612 
   12613 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12614 
   12615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12616 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12617 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12618 		if eval \${$cacheid+:} false; then :
   12619   $as_echo_n "(cached) " >&6
   12620 else
   12621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12622 /* end confdefs.h.  */
   12623 int i;
   12624 int
   12625 main ()
   12626 {
   12627 
   12628   ;
   12629   return 0;
   12630 }
   12631 _ACEOF
   12632 if ac_fn_c_try_link "$LINENO"; then :
   12633   eval $cacheid=yes
   12634 else
   12635   eval $cacheid=no
   12636 fi
   12637 rm -f core conftest.err conftest.$ac_objext \
   12638     conftest$ac_exeext conftest.$ac_ext
   12639 fi
   12640 
   12641 
   12642 		CFLAGS="$xorg_testset_save_CFLAGS"
   12643 
   12644 		eval supported=\$$cacheid
   12645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12646 $as_echo "$supported" >&6; }
   12647 		if test "$supported" = "yes" ; then
   12648 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12649 			found="yes"
   12650 		fi
   12651 	fi
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 xorg_testset_save_CFLAGS="$CFLAGS"
   12668 
   12669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12674   $as_echo_n "(cached) " >&6
   12675 else
   12676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12677 /* end confdefs.h.  */
   12678 int i;
   12679 _ACEOF
   12680 if ac_fn_c_try_compile "$LINENO"; then :
   12681   xorg_cv_cc_flag_unknown_warning_option=yes
   12682 else
   12683   xorg_cv_cc_flag_unknown_warning_option=no
   12684 fi
   12685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12686 fi
   12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12690 	CFLAGS="$xorg_testset_save_CFLAGS"
   12691 fi
   12692 
   12693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12696 	fi
   12697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12701   $as_echo_n "(cached) " >&6
   12702 else
   12703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12704 /* end confdefs.h.  */
   12705 int i;
   12706 _ACEOF
   12707 if ac_fn_c_try_compile "$LINENO"; then :
   12708   xorg_cv_cc_flag_unused_command_line_argument=yes
   12709 else
   12710   xorg_cv_cc_flag_unused_command_line_argument=no
   12711 fi
   12712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12713 fi
   12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12717 	CFLAGS="$xorg_testset_save_CFLAGS"
   12718 fi
   12719 
   12720 found="no"
   12721 
   12722 	if test $found = "no" ; then
   12723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12725 		fi
   12726 
   12727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12729 		fi
   12730 
   12731 		CFLAGS="$CFLAGS -Wnested-externs"
   12732 
   12733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12734 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12735 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12736 		if eval \${$cacheid+:} false; then :
   12737   $as_echo_n "(cached) " >&6
   12738 else
   12739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12740 /* end confdefs.h.  */
   12741 int i;
   12742 int
   12743 main ()
   12744 {
   12745 
   12746   ;
   12747   return 0;
   12748 }
   12749 _ACEOF
   12750 if ac_fn_c_try_link "$LINENO"; then :
   12751   eval $cacheid=yes
   12752 else
   12753   eval $cacheid=no
   12754 fi
   12755 rm -f core conftest.err conftest.$ac_objext \
   12756     conftest$ac_exeext conftest.$ac_ext
   12757 fi
   12758 
   12759 
   12760 		CFLAGS="$xorg_testset_save_CFLAGS"
   12761 
   12762 		eval supported=\$$cacheid
   12763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12764 $as_echo "$supported" >&6; }
   12765 		if test "$supported" = "yes" ; then
   12766 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12767 			found="yes"
   12768 		fi
   12769 	fi
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 xorg_testset_save_CFLAGS="$CFLAGS"
   12786 
   12787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12792   $as_echo_n "(cached) " >&6
   12793 else
   12794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12795 /* end confdefs.h.  */
   12796 int i;
   12797 _ACEOF
   12798 if ac_fn_c_try_compile "$LINENO"; then :
   12799   xorg_cv_cc_flag_unknown_warning_option=yes
   12800 else
   12801   xorg_cv_cc_flag_unknown_warning_option=no
   12802 fi
   12803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12804 fi
   12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12808 	CFLAGS="$xorg_testset_save_CFLAGS"
   12809 fi
   12810 
   12811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12814 	fi
   12815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12819   $as_echo_n "(cached) " >&6
   12820 else
   12821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12822 /* end confdefs.h.  */
   12823 int i;
   12824 _ACEOF
   12825 if ac_fn_c_try_compile "$LINENO"; then :
   12826   xorg_cv_cc_flag_unused_command_line_argument=yes
   12827 else
   12828   xorg_cv_cc_flag_unused_command_line_argument=no
   12829 fi
   12830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12831 fi
   12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12835 	CFLAGS="$xorg_testset_save_CFLAGS"
   12836 fi
   12837 
   12838 found="no"
   12839 
   12840 	if test $found = "no" ; then
   12841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12843 		fi
   12844 
   12845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12847 		fi
   12848 
   12849 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12850 
   12851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12852 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12853 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12854 		if eval \${$cacheid+:} false; then :
   12855   $as_echo_n "(cached) " >&6
   12856 else
   12857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12858 /* end confdefs.h.  */
   12859 int i;
   12860 int
   12861 main ()
   12862 {
   12863 
   12864   ;
   12865   return 0;
   12866 }
   12867 _ACEOF
   12868 if ac_fn_c_try_link "$LINENO"; then :
   12869   eval $cacheid=yes
   12870 else
   12871   eval $cacheid=no
   12872 fi
   12873 rm -f core conftest.err conftest.$ac_objext \
   12874     conftest$ac_exeext conftest.$ac_ext
   12875 fi
   12876 
   12877 
   12878 		CFLAGS="$xorg_testset_save_CFLAGS"
   12879 
   12880 		eval supported=\$$cacheid
   12881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12882 $as_echo "$supported" >&6; }
   12883 		if test "$supported" = "yes" ; then
   12884 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12885 			found="yes"
   12886 		fi
   12887 	fi
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 xorg_testset_save_CFLAGS="$CFLAGS"
   12904 
   12905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12910   $as_echo_n "(cached) " >&6
   12911 else
   12912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12913 /* end confdefs.h.  */
   12914 int i;
   12915 _ACEOF
   12916 if ac_fn_c_try_compile "$LINENO"; then :
   12917   xorg_cv_cc_flag_unknown_warning_option=yes
   12918 else
   12919   xorg_cv_cc_flag_unknown_warning_option=no
   12920 fi
   12921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12922 fi
   12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12926 	CFLAGS="$xorg_testset_save_CFLAGS"
   12927 fi
   12928 
   12929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12932 	fi
   12933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12937   $as_echo_n "(cached) " >&6
   12938 else
   12939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12940 /* end confdefs.h.  */
   12941 int i;
   12942 _ACEOF
   12943 if ac_fn_c_try_compile "$LINENO"; then :
   12944   xorg_cv_cc_flag_unused_command_line_argument=yes
   12945 else
   12946   xorg_cv_cc_flag_unused_command_line_argument=no
   12947 fi
   12948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12949 fi
   12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12953 	CFLAGS="$xorg_testset_save_CFLAGS"
   12954 fi
   12955 
   12956 found="no"
   12957 
   12958 	if test $found = "no" ; then
   12959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12961 		fi
   12962 
   12963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12965 		fi
   12966 
   12967 		CFLAGS="$CFLAGS -Wold-style-definition"
   12968 
   12969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12970 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12971 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12972 		if eval \${$cacheid+:} false; then :
   12973   $as_echo_n "(cached) " >&6
   12974 else
   12975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12976 /* end confdefs.h.  */
   12977 int i;
   12978 int
   12979 main ()
   12980 {
   12981 
   12982   ;
   12983   return 0;
   12984 }
   12985 _ACEOF
   12986 if ac_fn_c_try_link "$LINENO"; then :
   12987   eval $cacheid=yes
   12988 else
   12989   eval $cacheid=no
   12990 fi
   12991 rm -f core conftest.err conftest.$ac_objext \
   12992     conftest$ac_exeext conftest.$ac_ext
   12993 fi
   12994 
   12995 
   12996 		CFLAGS="$xorg_testset_save_CFLAGS"
   12997 
   12998 		eval supported=\$$cacheid
   12999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13000 $as_echo "$supported" >&6; }
   13001 		if test "$supported" = "yes" ; then
   13002 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13003 			found="yes"
   13004 		fi
   13005 	fi
   13006 
   13007 	if test $found = "no" ; then
   13008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13010 		fi
   13011 
   13012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13014 		fi
   13015 
   13016 		CFLAGS="$CFLAGS -fd"
   13017 
   13018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13019 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13020 		cacheid=xorg_cv_cc_flag__fd
   13021 		if eval \${$cacheid+:} false; then :
   13022   $as_echo_n "(cached) " >&6
   13023 else
   13024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13025 /* end confdefs.h.  */
   13026 int i;
   13027 int
   13028 main ()
   13029 {
   13030 
   13031   ;
   13032   return 0;
   13033 }
   13034 _ACEOF
   13035 if ac_fn_c_try_link "$LINENO"; then :
   13036   eval $cacheid=yes
   13037 else
   13038   eval $cacheid=no
   13039 fi
   13040 rm -f core conftest.err conftest.$ac_objext \
   13041     conftest$ac_exeext conftest.$ac_ext
   13042 fi
   13043 
   13044 
   13045 		CFLAGS="$xorg_testset_save_CFLAGS"
   13046 
   13047 		eval supported=\$$cacheid
   13048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13049 $as_echo "$supported" >&6; }
   13050 		if test "$supported" = "yes" ; then
   13051 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13052 			found="yes"
   13053 		fi
   13054 	fi
   13055 
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 xorg_testset_save_CFLAGS="$CFLAGS"
   13071 
   13072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13075 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13076 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13077   $as_echo_n "(cached) " >&6
   13078 else
   13079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13080 /* end confdefs.h.  */
   13081 int i;
   13082 _ACEOF
   13083 if ac_fn_c_try_compile "$LINENO"; then :
   13084   xorg_cv_cc_flag_unknown_warning_option=yes
   13085 else
   13086   xorg_cv_cc_flag_unknown_warning_option=no
   13087 fi
   13088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13089 fi
   13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13091 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13093 	CFLAGS="$xorg_testset_save_CFLAGS"
   13094 fi
   13095 
   13096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13099 	fi
   13100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13102 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13103 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13104   $as_echo_n "(cached) " >&6
   13105 else
   13106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13107 /* end confdefs.h.  */
   13108 int i;
   13109 _ACEOF
   13110 if ac_fn_c_try_compile "$LINENO"; then :
   13111   xorg_cv_cc_flag_unused_command_line_argument=yes
   13112 else
   13113   xorg_cv_cc_flag_unused_command_line_argument=no
   13114 fi
   13115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13116 fi
   13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13118 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13120 	CFLAGS="$xorg_testset_save_CFLAGS"
   13121 fi
   13122 
   13123 found="no"
   13124 
   13125 	if test $found = "no" ; then
   13126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13128 		fi
   13129 
   13130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13132 		fi
   13133 
   13134 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13135 
   13136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13137 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13138 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13139 		if eval \${$cacheid+:} false; then :
   13140   $as_echo_n "(cached) " >&6
   13141 else
   13142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13143 /* end confdefs.h.  */
   13144 int i;
   13145 int
   13146 main ()
   13147 {
   13148 
   13149   ;
   13150   return 0;
   13151 }
   13152 _ACEOF
   13153 if ac_fn_c_try_link "$LINENO"; then :
   13154   eval $cacheid=yes
   13155 else
   13156   eval $cacheid=no
   13157 fi
   13158 rm -f core conftest.err conftest.$ac_objext \
   13159     conftest$ac_exeext conftest.$ac_ext
   13160 fi
   13161 
   13162 
   13163 		CFLAGS="$xorg_testset_save_CFLAGS"
   13164 
   13165 		eval supported=\$$cacheid
   13166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13167 $as_echo "$supported" >&6; }
   13168 		if test "$supported" = "yes" ; then
   13169 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13170 			found="yes"
   13171 		fi
   13172 	fi
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 # This chunk adds additional warnings that could catch undesired effects.
   13179 
   13180 
   13181 
   13182 
   13183 
   13184 
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 xorg_testset_save_CFLAGS="$CFLAGS"
   13193 
   13194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13199   $as_echo_n "(cached) " >&6
   13200 else
   13201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13202 /* end confdefs.h.  */
   13203 int i;
   13204 _ACEOF
   13205 if ac_fn_c_try_compile "$LINENO"; then :
   13206   xorg_cv_cc_flag_unknown_warning_option=yes
   13207 else
   13208   xorg_cv_cc_flag_unknown_warning_option=no
   13209 fi
   13210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13211 fi
   13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13215 	CFLAGS="$xorg_testset_save_CFLAGS"
   13216 fi
   13217 
   13218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13221 	fi
   13222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13226   $as_echo_n "(cached) " >&6
   13227 else
   13228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13229 /* end confdefs.h.  */
   13230 int i;
   13231 _ACEOF
   13232 if ac_fn_c_try_compile "$LINENO"; then :
   13233   xorg_cv_cc_flag_unused_command_line_argument=yes
   13234 else
   13235   xorg_cv_cc_flag_unused_command_line_argument=no
   13236 fi
   13237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13238 fi
   13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13242 	CFLAGS="$xorg_testset_save_CFLAGS"
   13243 fi
   13244 
   13245 found="no"
   13246 
   13247 	if test $found = "no" ; then
   13248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13250 		fi
   13251 
   13252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13254 		fi
   13255 
   13256 		CFLAGS="$CFLAGS -Wunused"
   13257 
   13258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13259 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13260 		cacheid=xorg_cv_cc_flag__Wunused
   13261 		if eval \${$cacheid+:} false; then :
   13262   $as_echo_n "(cached) " >&6
   13263 else
   13264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13265 /* end confdefs.h.  */
   13266 int i;
   13267 int
   13268 main ()
   13269 {
   13270 
   13271   ;
   13272   return 0;
   13273 }
   13274 _ACEOF
   13275 if ac_fn_c_try_link "$LINENO"; then :
   13276   eval $cacheid=yes
   13277 else
   13278   eval $cacheid=no
   13279 fi
   13280 rm -f core conftest.err conftest.$ac_objext \
   13281     conftest$ac_exeext conftest.$ac_ext
   13282 fi
   13283 
   13284 
   13285 		CFLAGS="$xorg_testset_save_CFLAGS"
   13286 
   13287 		eval supported=\$$cacheid
   13288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13289 $as_echo "$supported" >&6; }
   13290 		if test "$supported" = "yes" ; then
   13291 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13292 			found="yes"
   13293 		fi
   13294 	fi
   13295 
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 xorg_testset_save_CFLAGS="$CFLAGS"
   13311 
   13312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13315 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13316 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13317   $as_echo_n "(cached) " >&6
   13318 else
   13319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13320 /* end confdefs.h.  */
   13321 int i;
   13322 _ACEOF
   13323 if ac_fn_c_try_compile "$LINENO"; then :
   13324   xorg_cv_cc_flag_unknown_warning_option=yes
   13325 else
   13326   xorg_cv_cc_flag_unknown_warning_option=no
   13327 fi
   13328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13329 fi
   13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13331 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13333 	CFLAGS="$xorg_testset_save_CFLAGS"
   13334 fi
   13335 
   13336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13339 	fi
   13340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13342 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13343 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13344   $as_echo_n "(cached) " >&6
   13345 else
   13346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13347 /* end confdefs.h.  */
   13348 int i;
   13349 _ACEOF
   13350 if ac_fn_c_try_compile "$LINENO"; then :
   13351   xorg_cv_cc_flag_unused_command_line_argument=yes
   13352 else
   13353   xorg_cv_cc_flag_unused_command_line_argument=no
   13354 fi
   13355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13356 fi
   13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13358 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13360 	CFLAGS="$xorg_testset_save_CFLAGS"
   13361 fi
   13362 
   13363 found="no"
   13364 
   13365 	if test $found = "no" ; then
   13366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13368 		fi
   13369 
   13370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13372 		fi
   13373 
   13374 		CFLAGS="$CFLAGS -Wuninitialized"
   13375 
   13376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13377 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13378 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13379 		if eval \${$cacheid+:} false; then :
   13380   $as_echo_n "(cached) " >&6
   13381 else
   13382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13383 /* end confdefs.h.  */
   13384 int i;
   13385 int
   13386 main ()
   13387 {
   13388 
   13389   ;
   13390   return 0;
   13391 }
   13392 _ACEOF
   13393 if ac_fn_c_try_link "$LINENO"; then :
   13394   eval $cacheid=yes
   13395 else
   13396   eval $cacheid=no
   13397 fi
   13398 rm -f core conftest.err conftest.$ac_objext \
   13399     conftest$ac_exeext conftest.$ac_ext
   13400 fi
   13401 
   13402 
   13403 		CFLAGS="$xorg_testset_save_CFLAGS"
   13404 
   13405 		eval supported=\$$cacheid
   13406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13407 $as_echo "$supported" >&6; }
   13408 		if test "$supported" = "yes" ; then
   13409 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13410 			found="yes"
   13411 		fi
   13412 	fi
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 xorg_testset_save_CFLAGS="$CFLAGS"
   13429 
   13430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13435   $as_echo_n "(cached) " >&6
   13436 else
   13437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13438 /* end confdefs.h.  */
   13439 int i;
   13440 _ACEOF
   13441 if ac_fn_c_try_compile "$LINENO"; then :
   13442   xorg_cv_cc_flag_unknown_warning_option=yes
   13443 else
   13444   xorg_cv_cc_flag_unknown_warning_option=no
   13445 fi
   13446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13447 fi
   13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13451 	CFLAGS="$xorg_testset_save_CFLAGS"
   13452 fi
   13453 
   13454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13457 	fi
   13458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13462   $as_echo_n "(cached) " >&6
   13463 else
   13464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13465 /* end confdefs.h.  */
   13466 int i;
   13467 _ACEOF
   13468 if ac_fn_c_try_compile "$LINENO"; then :
   13469   xorg_cv_cc_flag_unused_command_line_argument=yes
   13470 else
   13471   xorg_cv_cc_flag_unused_command_line_argument=no
   13472 fi
   13473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13474 fi
   13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13478 	CFLAGS="$xorg_testset_save_CFLAGS"
   13479 fi
   13480 
   13481 found="no"
   13482 
   13483 	if test $found = "no" ; then
   13484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13486 		fi
   13487 
   13488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13490 		fi
   13491 
   13492 		CFLAGS="$CFLAGS -Wshadow"
   13493 
   13494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13495 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13496 		cacheid=xorg_cv_cc_flag__Wshadow
   13497 		if eval \${$cacheid+:} false; then :
   13498   $as_echo_n "(cached) " >&6
   13499 else
   13500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13501 /* end confdefs.h.  */
   13502 int i;
   13503 int
   13504 main ()
   13505 {
   13506 
   13507   ;
   13508   return 0;
   13509 }
   13510 _ACEOF
   13511 if ac_fn_c_try_link "$LINENO"; then :
   13512   eval $cacheid=yes
   13513 else
   13514   eval $cacheid=no
   13515 fi
   13516 rm -f core conftest.err conftest.$ac_objext \
   13517     conftest$ac_exeext conftest.$ac_ext
   13518 fi
   13519 
   13520 
   13521 		CFLAGS="$xorg_testset_save_CFLAGS"
   13522 
   13523 		eval supported=\$$cacheid
   13524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13525 $as_echo "$supported" >&6; }
   13526 		if test "$supported" = "yes" ; then
   13527 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13528 			found="yes"
   13529 		fi
   13530 	fi
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 xorg_testset_save_CFLAGS="$CFLAGS"
   13547 
   13548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13553   $as_echo_n "(cached) " >&6
   13554 else
   13555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13556 /* end confdefs.h.  */
   13557 int i;
   13558 _ACEOF
   13559 if ac_fn_c_try_compile "$LINENO"; then :
   13560   xorg_cv_cc_flag_unknown_warning_option=yes
   13561 else
   13562   xorg_cv_cc_flag_unknown_warning_option=no
   13563 fi
   13564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13565 fi
   13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13569 	CFLAGS="$xorg_testset_save_CFLAGS"
   13570 fi
   13571 
   13572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13575 	fi
   13576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13580   $as_echo_n "(cached) " >&6
   13581 else
   13582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13583 /* end confdefs.h.  */
   13584 int i;
   13585 _ACEOF
   13586 if ac_fn_c_try_compile "$LINENO"; then :
   13587   xorg_cv_cc_flag_unused_command_line_argument=yes
   13588 else
   13589   xorg_cv_cc_flag_unused_command_line_argument=no
   13590 fi
   13591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13592 fi
   13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13596 	CFLAGS="$xorg_testset_save_CFLAGS"
   13597 fi
   13598 
   13599 found="no"
   13600 
   13601 	if test $found = "no" ; then
   13602 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13604 		fi
   13605 
   13606 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13608 		fi
   13609 
   13610 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13611 
   13612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13613 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13614 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13615 		if eval \${$cacheid+:} false; then :
   13616   $as_echo_n "(cached) " >&6
   13617 else
   13618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13619 /* end confdefs.h.  */
   13620 int i;
   13621 int
   13622 main ()
   13623 {
   13624 
   13625   ;
   13626   return 0;
   13627 }
   13628 _ACEOF
   13629 if ac_fn_c_try_link "$LINENO"; then :
   13630   eval $cacheid=yes
   13631 else
   13632   eval $cacheid=no
   13633 fi
   13634 rm -f core conftest.err conftest.$ac_objext \
   13635     conftest$ac_exeext conftest.$ac_ext
   13636 fi
   13637 
   13638 
   13639 		CFLAGS="$xorg_testset_save_CFLAGS"
   13640 
   13641 		eval supported=\$$cacheid
   13642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13643 $as_echo "$supported" >&6; }
   13644 		if test "$supported" = "yes" ; then
   13645 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13646 			found="yes"
   13647 		fi
   13648 	fi
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 xorg_testset_save_CFLAGS="$CFLAGS"
   13665 
   13666 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13667 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13669 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13670 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13671   $as_echo_n "(cached) " >&6
   13672 else
   13673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13674 /* end confdefs.h.  */
   13675 int i;
   13676 _ACEOF
   13677 if ac_fn_c_try_compile "$LINENO"; then :
   13678   xorg_cv_cc_flag_unknown_warning_option=yes
   13679 else
   13680   xorg_cv_cc_flag_unknown_warning_option=no
   13681 fi
   13682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13683 fi
   13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13685 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13687 	CFLAGS="$xorg_testset_save_CFLAGS"
   13688 fi
   13689 
   13690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13693 	fi
   13694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13695 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13696 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13697 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13698   $as_echo_n "(cached) " >&6
   13699 else
   13700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13701 /* end confdefs.h.  */
   13702 int i;
   13703 _ACEOF
   13704 if ac_fn_c_try_compile "$LINENO"; then :
   13705   xorg_cv_cc_flag_unused_command_line_argument=yes
   13706 else
   13707   xorg_cv_cc_flag_unused_command_line_argument=no
   13708 fi
   13709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13710 fi
   13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13712 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13713 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13714 	CFLAGS="$xorg_testset_save_CFLAGS"
   13715 fi
   13716 
   13717 found="no"
   13718 
   13719 	if test $found = "no" ; then
   13720 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13722 		fi
   13723 
   13724 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13726 		fi
   13727 
   13728 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13729 
   13730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13731 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13732 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13733 		if eval \${$cacheid+:} false; then :
   13734   $as_echo_n "(cached) " >&6
   13735 else
   13736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13737 /* end confdefs.h.  */
   13738 int i;
   13739 int
   13740 main ()
   13741 {
   13742 
   13743   ;
   13744   return 0;
   13745 }
   13746 _ACEOF
   13747 if ac_fn_c_try_link "$LINENO"; then :
   13748   eval $cacheid=yes
   13749 else
   13750   eval $cacheid=no
   13751 fi
   13752 rm -f core conftest.err conftest.$ac_objext \
   13753     conftest$ac_exeext conftest.$ac_ext
   13754 fi
   13755 
   13756 
   13757 		CFLAGS="$xorg_testset_save_CFLAGS"
   13758 
   13759 		eval supported=\$$cacheid
   13760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13761 $as_echo "$supported" >&6; }
   13762 		if test "$supported" = "yes" ; then
   13763 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13764 			found="yes"
   13765 		fi
   13766 	fi
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 xorg_testset_save_CFLAGS="$CFLAGS"
   13783 
   13784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13787 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13788 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13789   $as_echo_n "(cached) " >&6
   13790 else
   13791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13792 /* end confdefs.h.  */
   13793 int i;
   13794 _ACEOF
   13795 if ac_fn_c_try_compile "$LINENO"; then :
   13796   xorg_cv_cc_flag_unknown_warning_option=yes
   13797 else
   13798   xorg_cv_cc_flag_unknown_warning_option=no
   13799 fi
   13800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13801 fi
   13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13803 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13805 	CFLAGS="$xorg_testset_save_CFLAGS"
   13806 fi
   13807 
   13808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13811 	fi
   13812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13814 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13815 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13816   $as_echo_n "(cached) " >&6
   13817 else
   13818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13819 /* end confdefs.h.  */
   13820 int i;
   13821 _ACEOF
   13822 if ac_fn_c_try_compile "$LINENO"; then :
   13823   xorg_cv_cc_flag_unused_command_line_argument=yes
   13824 else
   13825   xorg_cv_cc_flag_unused_command_line_argument=no
   13826 fi
   13827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13828 fi
   13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13830 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13831 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13832 	CFLAGS="$xorg_testset_save_CFLAGS"
   13833 fi
   13834 
   13835 found="no"
   13836 
   13837 	if test $found = "no" ; then
   13838 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13840 		fi
   13841 
   13842 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13844 		fi
   13845 
   13846 		CFLAGS="$CFLAGS -Wredundant-decls"
   13847 
   13848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13849 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13850 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13851 		if eval \${$cacheid+:} false; then :
   13852   $as_echo_n "(cached) " >&6
   13853 else
   13854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13855 /* end confdefs.h.  */
   13856 int i;
   13857 int
   13858 main ()
   13859 {
   13860 
   13861   ;
   13862   return 0;
   13863 }
   13864 _ACEOF
   13865 if ac_fn_c_try_link "$LINENO"; then :
   13866   eval $cacheid=yes
   13867 else
   13868   eval $cacheid=no
   13869 fi
   13870 rm -f core conftest.err conftest.$ac_objext \
   13871     conftest$ac_exeext conftest.$ac_ext
   13872 fi
   13873 
   13874 
   13875 		CFLAGS="$xorg_testset_save_CFLAGS"
   13876 
   13877 		eval supported=\$$cacheid
   13878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13879 $as_echo "$supported" >&6; }
   13880 		if test "$supported" = "yes" ; then
   13881 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13882 			found="yes"
   13883 		fi
   13884 	fi
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 xorg_testset_save_CFLAGS="$CFLAGS"
   13901 
   13902 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13903 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13905 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13906 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13907   $as_echo_n "(cached) " >&6
   13908 else
   13909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13910 /* end confdefs.h.  */
   13911 int i;
   13912 _ACEOF
   13913 if ac_fn_c_try_compile "$LINENO"; then :
   13914   xorg_cv_cc_flag_unknown_warning_option=yes
   13915 else
   13916   xorg_cv_cc_flag_unknown_warning_option=no
   13917 fi
   13918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13919 fi
   13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13921 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13922 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13923 	CFLAGS="$xorg_testset_save_CFLAGS"
   13924 fi
   13925 
   13926 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13927 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13928 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13929 	fi
   13930 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13931 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13932 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13933 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13934   $as_echo_n "(cached) " >&6
   13935 else
   13936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13937 /* end confdefs.h.  */
   13938 int i;
   13939 _ACEOF
   13940 if ac_fn_c_try_compile "$LINENO"; then :
   13941   xorg_cv_cc_flag_unused_command_line_argument=yes
   13942 else
   13943   xorg_cv_cc_flag_unused_command_line_argument=no
   13944 fi
   13945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13946 fi
   13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13948 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13950 	CFLAGS="$xorg_testset_save_CFLAGS"
   13951 fi
   13952 
   13953 found="no"
   13954 
   13955 	if test $found = "no" ; then
   13956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13958 		fi
   13959 
   13960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13962 		fi
   13963 
   13964 		CFLAGS="$CFLAGS -Wlogical-op"
   13965 
   13966 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   13967 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   13968 		cacheid=xorg_cv_cc_flag__Wlogical_op
   13969 		if eval \${$cacheid+:} false; then :
   13970   $as_echo_n "(cached) " >&6
   13971 else
   13972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13973 /* end confdefs.h.  */
   13974 int i;
   13975 int
   13976 main ()
   13977 {
   13978 
   13979   ;
   13980   return 0;
   13981 }
   13982 _ACEOF
   13983 if ac_fn_c_try_link "$LINENO"; then :
   13984   eval $cacheid=yes
   13985 else
   13986   eval $cacheid=no
   13987 fi
   13988 rm -f core conftest.err conftest.$ac_objext \
   13989     conftest$ac_exeext conftest.$ac_ext
   13990 fi
   13991 
   13992 
   13993 		CFLAGS="$xorg_testset_save_CFLAGS"
   13994 
   13995 		eval supported=\$$cacheid
   13996 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13997 $as_echo "$supported" >&6; }
   13998 		if test "$supported" = "yes" ; then
   13999 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14000 			found="yes"
   14001 		fi
   14002 	fi
   14003 
   14004 
   14005 
   14006 # These are currently disabled because they are noisy.  They will be enabled
   14007 # in the future once the codebase is sufficiently modernized to silence
   14008 # them.  For now, I don't want them to drown out the other warnings.
   14009 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14010 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14011 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14012 
   14013 # Turn some warnings into errors, so we don't accidently get successful builds
   14014 # when there are problems that should be fixed.
   14015 
   14016 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 xorg_testset_save_CFLAGS="$CFLAGS"
   14031 
   14032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14035 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14036 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14037   $as_echo_n "(cached) " >&6
   14038 else
   14039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14040 /* end confdefs.h.  */
   14041 int i;
   14042 _ACEOF
   14043 if ac_fn_c_try_compile "$LINENO"; then :
   14044   xorg_cv_cc_flag_unknown_warning_option=yes
   14045 else
   14046   xorg_cv_cc_flag_unknown_warning_option=no
   14047 fi
   14048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14049 fi
   14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14051 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14053 	CFLAGS="$xorg_testset_save_CFLAGS"
   14054 fi
   14055 
   14056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14059 	fi
   14060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14062 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14063 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14064   $as_echo_n "(cached) " >&6
   14065 else
   14066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14067 /* end confdefs.h.  */
   14068 int i;
   14069 _ACEOF
   14070 if ac_fn_c_try_compile "$LINENO"; then :
   14071   xorg_cv_cc_flag_unused_command_line_argument=yes
   14072 else
   14073   xorg_cv_cc_flag_unused_command_line_argument=no
   14074 fi
   14075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14076 fi
   14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14078 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14080 	CFLAGS="$xorg_testset_save_CFLAGS"
   14081 fi
   14082 
   14083 found="no"
   14084 
   14085 	if test $found = "no" ; then
   14086 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14088 		fi
   14089 
   14090 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14092 		fi
   14093 
   14094 		CFLAGS="$CFLAGS -Werror=implicit"
   14095 
   14096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14097 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14098 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14099 		if eval \${$cacheid+:} false; then :
   14100   $as_echo_n "(cached) " >&6
   14101 else
   14102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14103 /* end confdefs.h.  */
   14104 int i;
   14105 int
   14106 main ()
   14107 {
   14108 
   14109   ;
   14110   return 0;
   14111 }
   14112 _ACEOF
   14113 if ac_fn_c_try_link "$LINENO"; then :
   14114   eval $cacheid=yes
   14115 else
   14116   eval $cacheid=no
   14117 fi
   14118 rm -f core conftest.err conftest.$ac_objext \
   14119     conftest$ac_exeext conftest.$ac_ext
   14120 fi
   14121 
   14122 
   14123 		CFLAGS="$xorg_testset_save_CFLAGS"
   14124 
   14125 		eval supported=\$$cacheid
   14126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14127 $as_echo "$supported" >&6; }
   14128 		if test "$supported" = "yes" ; then
   14129 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14130 			found="yes"
   14131 		fi
   14132 	fi
   14133 
   14134 	if test $found = "no" ; then
   14135 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14136 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14137 		fi
   14138 
   14139 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14140 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14141 		fi
   14142 
   14143 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14144 
   14145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14146 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14147 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14148 		if eval \${$cacheid+:} false; then :
   14149   $as_echo_n "(cached) " >&6
   14150 else
   14151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14152 /* end confdefs.h.  */
   14153 int i;
   14154 int
   14155 main ()
   14156 {
   14157 
   14158   ;
   14159   return 0;
   14160 }
   14161 _ACEOF
   14162 if ac_fn_c_try_link "$LINENO"; then :
   14163   eval $cacheid=yes
   14164 else
   14165   eval $cacheid=no
   14166 fi
   14167 rm -f core conftest.err conftest.$ac_objext \
   14168     conftest$ac_exeext conftest.$ac_ext
   14169 fi
   14170 
   14171 
   14172 		CFLAGS="$xorg_testset_save_CFLAGS"
   14173 
   14174 		eval supported=\$$cacheid
   14175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14176 $as_echo "$supported" >&6; }
   14177 		if test "$supported" = "yes" ; then
   14178 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14179 			found="yes"
   14180 		fi
   14181 	fi
   14182 
   14183 
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 xorg_testset_save_CFLAGS="$CFLAGS"
   14198 
   14199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14202 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14203 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14204   $as_echo_n "(cached) " >&6
   14205 else
   14206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14207 /* end confdefs.h.  */
   14208 int i;
   14209 _ACEOF
   14210 if ac_fn_c_try_compile "$LINENO"; then :
   14211   xorg_cv_cc_flag_unknown_warning_option=yes
   14212 else
   14213   xorg_cv_cc_flag_unknown_warning_option=no
   14214 fi
   14215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14216 fi
   14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14218 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14220 	CFLAGS="$xorg_testset_save_CFLAGS"
   14221 fi
   14222 
   14223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14226 	fi
   14227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14229 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14230 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14231   $as_echo_n "(cached) " >&6
   14232 else
   14233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14234 /* end confdefs.h.  */
   14235 int i;
   14236 _ACEOF
   14237 if ac_fn_c_try_compile "$LINENO"; then :
   14238   xorg_cv_cc_flag_unused_command_line_argument=yes
   14239 else
   14240   xorg_cv_cc_flag_unused_command_line_argument=no
   14241 fi
   14242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14243 fi
   14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14245 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14247 	CFLAGS="$xorg_testset_save_CFLAGS"
   14248 fi
   14249 
   14250 found="no"
   14251 
   14252 	if test $found = "no" ; then
   14253 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14255 		fi
   14256 
   14257 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14259 		fi
   14260 
   14261 		CFLAGS="$CFLAGS -Werror=nonnull"
   14262 
   14263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14264 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14265 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14266 		if eval \${$cacheid+:} false; then :
   14267   $as_echo_n "(cached) " >&6
   14268 else
   14269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14270 /* end confdefs.h.  */
   14271 int i;
   14272 int
   14273 main ()
   14274 {
   14275 
   14276   ;
   14277   return 0;
   14278 }
   14279 _ACEOF
   14280 if ac_fn_c_try_link "$LINENO"; then :
   14281   eval $cacheid=yes
   14282 else
   14283   eval $cacheid=no
   14284 fi
   14285 rm -f core conftest.err conftest.$ac_objext \
   14286     conftest$ac_exeext conftest.$ac_ext
   14287 fi
   14288 
   14289 
   14290 		CFLAGS="$xorg_testset_save_CFLAGS"
   14291 
   14292 		eval supported=\$$cacheid
   14293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14294 $as_echo "$supported" >&6; }
   14295 		if test "$supported" = "yes" ; then
   14296 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14297 			found="yes"
   14298 		fi
   14299 	fi
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 xorg_testset_save_CFLAGS="$CFLAGS"
   14316 
   14317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14322   $as_echo_n "(cached) " >&6
   14323 else
   14324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14325 /* end confdefs.h.  */
   14326 int i;
   14327 _ACEOF
   14328 if ac_fn_c_try_compile "$LINENO"; then :
   14329   xorg_cv_cc_flag_unknown_warning_option=yes
   14330 else
   14331   xorg_cv_cc_flag_unknown_warning_option=no
   14332 fi
   14333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14334 fi
   14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14338 	CFLAGS="$xorg_testset_save_CFLAGS"
   14339 fi
   14340 
   14341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14344 	fi
   14345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14349   $as_echo_n "(cached) " >&6
   14350 else
   14351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14352 /* end confdefs.h.  */
   14353 int i;
   14354 _ACEOF
   14355 if ac_fn_c_try_compile "$LINENO"; then :
   14356   xorg_cv_cc_flag_unused_command_line_argument=yes
   14357 else
   14358   xorg_cv_cc_flag_unused_command_line_argument=no
   14359 fi
   14360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14361 fi
   14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14365 	CFLAGS="$xorg_testset_save_CFLAGS"
   14366 fi
   14367 
   14368 found="no"
   14369 
   14370 	if test $found = "no" ; then
   14371 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14373 		fi
   14374 
   14375 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14377 		fi
   14378 
   14379 		CFLAGS="$CFLAGS -Werror=init-self"
   14380 
   14381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14382 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14383 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14384 		if eval \${$cacheid+:} false; then :
   14385   $as_echo_n "(cached) " >&6
   14386 else
   14387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14388 /* end confdefs.h.  */
   14389 int i;
   14390 int
   14391 main ()
   14392 {
   14393 
   14394   ;
   14395   return 0;
   14396 }
   14397 _ACEOF
   14398 if ac_fn_c_try_link "$LINENO"; then :
   14399   eval $cacheid=yes
   14400 else
   14401   eval $cacheid=no
   14402 fi
   14403 rm -f core conftest.err conftest.$ac_objext \
   14404     conftest$ac_exeext conftest.$ac_ext
   14405 fi
   14406 
   14407 
   14408 		CFLAGS="$xorg_testset_save_CFLAGS"
   14409 
   14410 		eval supported=\$$cacheid
   14411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14412 $as_echo "$supported" >&6; }
   14413 		if test "$supported" = "yes" ; then
   14414 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14415 			found="yes"
   14416 		fi
   14417 	fi
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 
   14427 
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 xorg_testset_save_CFLAGS="$CFLAGS"
   14434 
   14435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14438 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14439 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14440   $as_echo_n "(cached) " >&6
   14441 else
   14442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14443 /* end confdefs.h.  */
   14444 int i;
   14445 _ACEOF
   14446 if ac_fn_c_try_compile "$LINENO"; then :
   14447   xorg_cv_cc_flag_unknown_warning_option=yes
   14448 else
   14449   xorg_cv_cc_flag_unknown_warning_option=no
   14450 fi
   14451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14452 fi
   14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14454 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14456 	CFLAGS="$xorg_testset_save_CFLAGS"
   14457 fi
   14458 
   14459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14462 	fi
   14463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14465 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14466 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14467   $as_echo_n "(cached) " >&6
   14468 else
   14469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14470 /* end confdefs.h.  */
   14471 int i;
   14472 _ACEOF
   14473 if ac_fn_c_try_compile "$LINENO"; then :
   14474   xorg_cv_cc_flag_unused_command_line_argument=yes
   14475 else
   14476   xorg_cv_cc_flag_unused_command_line_argument=no
   14477 fi
   14478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14479 fi
   14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14481 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14483 	CFLAGS="$xorg_testset_save_CFLAGS"
   14484 fi
   14485 
   14486 found="no"
   14487 
   14488 	if test $found = "no" ; then
   14489 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14491 		fi
   14492 
   14493 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14495 		fi
   14496 
   14497 		CFLAGS="$CFLAGS -Werror=main"
   14498 
   14499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14500 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14501 		cacheid=xorg_cv_cc_flag__Werror_main
   14502 		if eval \${$cacheid+:} false; then :
   14503   $as_echo_n "(cached) " >&6
   14504 else
   14505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14506 /* end confdefs.h.  */
   14507 int i;
   14508 int
   14509 main ()
   14510 {
   14511 
   14512   ;
   14513   return 0;
   14514 }
   14515 _ACEOF
   14516 if ac_fn_c_try_link "$LINENO"; then :
   14517   eval $cacheid=yes
   14518 else
   14519   eval $cacheid=no
   14520 fi
   14521 rm -f core conftest.err conftest.$ac_objext \
   14522     conftest$ac_exeext conftest.$ac_ext
   14523 fi
   14524 
   14525 
   14526 		CFLAGS="$xorg_testset_save_CFLAGS"
   14527 
   14528 		eval supported=\$$cacheid
   14529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14530 $as_echo "$supported" >&6; }
   14531 		if test "$supported" = "yes" ; then
   14532 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14533 			found="yes"
   14534 		fi
   14535 	fi
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 xorg_testset_save_CFLAGS="$CFLAGS"
   14552 
   14553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14558   $as_echo_n "(cached) " >&6
   14559 else
   14560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14561 /* end confdefs.h.  */
   14562 int i;
   14563 _ACEOF
   14564 if ac_fn_c_try_compile "$LINENO"; then :
   14565   xorg_cv_cc_flag_unknown_warning_option=yes
   14566 else
   14567   xorg_cv_cc_flag_unknown_warning_option=no
   14568 fi
   14569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14570 fi
   14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14574 	CFLAGS="$xorg_testset_save_CFLAGS"
   14575 fi
   14576 
   14577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14580 	fi
   14581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14585   $as_echo_n "(cached) " >&6
   14586 else
   14587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14588 /* end confdefs.h.  */
   14589 int i;
   14590 _ACEOF
   14591 if ac_fn_c_try_compile "$LINENO"; then :
   14592   xorg_cv_cc_flag_unused_command_line_argument=yes
   14593 else
   14594   xorg_cv_cc_flag_unused_command_line_argument=no
   14595 fi
   14596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14597 fi
   14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14601 	CFLAGS="$xorg_testset_save_CFLAGS"
   14602 fi
   14603 
   14604 found="no"
   14605 
   14606 	if test $found = "no" ; then
   14607 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14609 		fi
   14610 
   14611 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14613 		fi
   14614 
   14615 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14616 
   14617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14618 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14619 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14620 		if eval \${$cacheid+:} false; then :
   14621   $as_echo_n "(cached) " >&6
   14622 else
   14623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14624 /* end confdefs.h.  */
   14625 int i;
   14626 int
   14627 main ()
   14628 {
   14629 
   14630   ;
   14631   return 0;
   14632 }
   14633 _ACEOF
   14634 if ac_fn_c_try_link "$LINENO"; then :
   14635   eval $cacheid=yes
   14636 else
   14637   eval $cacheid=no
   14638 fi
   14639 rm -f core conftest.err conftest.$ac_objext \
   14640     conftest$ac_exeext conftest.$ac_ext
   14641 fi
   14642 
   14643 
   14644 		CFLAGS="$xorg_testset_save_CFLAGS"
   14645 
   14646 		eval supported=\$$cacheid
   14647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14648 $as_echo "$supported" >&6; }
   14649 		if test "$supported" = "yes" ; then
   14650 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14651 			found="yes"
   14652 		fi
   14653 	fi
   14654 
   14655 
   14656 
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 xorg_testset_save_CFLAGS="$CFLAGS"
   14670 
   14671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14676   $as_echo_n "(cached) " >&6
   14677 else
   14678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14679 /* end confdefs.h.  */
   14680 int i;
   14681 _ACEOF
   14682 if ac_fn_c_try_compile "$LINENO"; then :
   14683   xorg_cv_cc_flag_unknown_warning_option=yes
   14684 else
   14685   xorg_cv_cc_flag_unknown_warning_option=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14688 fi
   14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14692 	CFLAGS="$xorg_testset_save_CFLAGS"
   14693 fi
   14694 
   14695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14698 	fi
   14699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14703   $as_echo_n "(cached) " >&6
   14704 else
   14705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14706 /* end confdefs.h.  */
   14707 int i;
   14708 _ACEOF
   14709 if ac_fn_c_try_compile "$LINENO"; then :
   14710   xorg_cv_cc_flag_unused_command_line_argument=yes
   14711 else
   14712   xorg_cv_cc_flag_unused_command_line_argument=no
   14713 fi
   14714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14715 fi
   14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14719 	CFLAGS="$xorg_testset_save_CFLAGS"
   14720 fi
   14721 
   14722 found="no"
   14723 
   14724 	if test $found = "no" ; then
   14725 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14727 		fi
   14728 
   14729 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14731 		fi
   14732 
   14733 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14734 
   14735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14736 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14737 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14738 		if eval \${$cacheid+:} false; then :
   14739   $as_echo_n "(cached) " >&6
   14740 else
   14741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14742 /* end confdefs.h.  */
   14743 int i;
   14744 int
   14745 main ()
   14746 {
   14747 
   14748   ;
   14749   return 0;
   14750 }
   14751 _ACEOF
   14752 if ac_fn_c_try_link "$LINENO"; then :
   14753   eval $cacheid=yes
   14754 else
   14755   eval $cacheid=no
   14756 fi
   14757 rm -f core conftest.err conftest.$ac_objext \
   14758     conftest$ac_exeext conftest.$ac_ext
   14759 fi
   14760 
   14761 
   14762 		CFLAGS="$xorg_testset_save_CFLAGS"
   14763 
   14764 		eval supported=\$$cacheid
   14765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14766 $as_echo "$supported" >&6; }
   14767 		if test "$supported" = "yes" ; then
   14768 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14769 			found="yes"
   14770 		fi
   14771 	fi
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 xorg_testset_save_CFLAGS="$CFLAGS"
   14788 
   14789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14792 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14793 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14794   $as_echo_n "(cached) " >&6
   14795 else
   14796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14797 /* end confdefs.h.  */
   14798 int i;
   14799 _ACEOF
   14800 if ac_fn_c_try_compile "$LINENO"; then :
   14801   xorg_cv_cc_flag_unknown_warning_option=yes
   14802 else
   14803   xorg_cv_cc_flag_unknown_warning_option=no
   14804 fi
   14805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14806 fi
   14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14808 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14810 	CFLAGS="$xorg_testset_save_CFLAGS"
   14811 fi
   14812 
   14813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14816 	fi
   14817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14819 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14820 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14821   $as_echo_n "(cached) " >&6
   14822 else
   14823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14824 /* end confdefs.h.  */
   14825 int i;
   14826 _ACEOF
   14827 if ac_fn_c_try_compile "$LINENO"; then :
   14828   xorg_cv_cc_flag_unused_command_line_argument=yes
   14829 else
   14830   xorg_cv_cc_flag_unused_command_line_argument=no
   14831 fi
   14832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14833 fi
   14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14835 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14837 	CFLAGS="$xorg_testset_save_CFLAGS"
   14838 fi
   14839 
   14840 found="no"
   14841 
   14842 	if test $found = "no" ; then
   14843 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14845 		fi
   14846 
   14847 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14849 		fi
   14850 
   14851 		CFLAGS="$CFLAGS -Werror=return-type"
   14852 
   14853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14854 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14855 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14856 		if eval \${$cacheid+:} false; then :
   14857   $as_echo_n "(cached) " >&6
   14858 else
   14859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14860 /* end confdefs.h.  */
   14861 int i;
   14862 int
   14863 main ()
   14864 {
   14865 
   14866   ;
   14867   return 0;
   14868 }
   14869 _ACEOF
   14870 if ac_fn_c_try_link "$LINENO"; then :
   14871   eval $cacheid=yes
   14872 else
   14873   eval $cacheid=no
   14874 fi
   14875 rm -f core conftest.err conftest.$ac_objext \
   14876     conftest$ac_exeext conftest.$ac_ext
   14877 fi
   14878 
   14879 
   14880 		CFLAGS="$xorg_testset_save_CFLAGS"
   14881 
   14882 		eval supported=\$$cacheid
   14883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14884 $as_echo "$supported" >&6; }
   14885 		if test "$supported" = "yes" ; then
   14886 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14887 			found="yes"
   14888 		fi
   14889 	fi
   14890 
   14891 	if test $found = "no" ; then
   14892 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14893 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14894 		fi
   14895 
   14896 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14897 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14898 		fi
   14899 
   14900 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14901 
   14902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14903 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14904 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14905 		if eval \${$cacheid+:} false; then :
   14906   $as_echo_n "(cached) " >&6
   14907 else
   14908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14909 /* end confdefs.h.  */
   14910 int i;
   14911 int
   14912 main ()
   14913 {
   14914 
   14915   ;
   14916   return 0;
   14917 }
   14918 _ACEOF
   14919 if ac_fn_c_try_link "$LINENO"; then :
   14920   eval $cacheid=yes
   14921 else
   14922   eval $cacheid=no
   14923 fi
   14924 rm -f core conftest.err conftest.$ac_objext \
   14925     conftest$ac_exeext conftest.$ac_ext
   14926 fi
   14927 
   14928 
   14929 		CFLAGS="$xorg_testset_save_CFLAGS"
   14930 
   14931 		eval supported=\$$cacheid
   14932 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14933 $as_echo "$supported" >&6; }
   14934 		if test "$supported" = "yes" ; then
   14935 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14936 			found="yes"
   14937 		fi
   14938 	fi
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 xorg_testset_save_CFLAGS="$CFLAGS"
   14955 
   14956 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14957 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14958 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14959 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14960 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14961   $as_echo_n "(cached) " >&6
   14962 else
   14963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14964 /* end confdefs.h.  */
   14965 int i;
   14966 _ACEOF
   14967 if ac_fn_c_try_compile "$LINENO"; then :
   14968   xorg_cv_cc_flag_unknown_warning_option=yes
   14969 else
   14970   xorg_cv_cc_flag_unknown_warning_option=no
   14971 fi
   14972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14973 fi
   14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14975 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14976 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14977 	CFLAGS="$xorg_testset_save_CFLAGS"
   14978 fi
   14979 
   14980 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14981 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14982 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14983 	fi
   14984 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14985 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14986 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14987 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14988   $as_echo_n "(cached) " >&6
   14989 else
   14990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14991 /* end confdefs.h.  */
   14992 int i;
   14993 _ACEOF
   14994 if ac_fn_c_try_compile "$LINENO"; then :
   14995   xorg_cv_cc_flag_unused_command_line_argument=yes
   14996 else
   14997   xorg_cv_cc_flag_unused_command_line_argument=no
   14998 fi
   14999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15000 fi
   15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15002 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15003 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15004 	CFLAGS="$xorg_testset_save_CFLAGS"
   15005 fi
   15006 
   15007 found="no"
   15008 
   15009 	if test $found = "no" ; then
   15010 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15012 		fi
   15013 
   15014 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15016 		fi
   15017 
   15018 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15019 
   15020 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15021 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15022 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15023 		if eval \${$cacheid+:} false; then :
   15024   $as_echo_n "(cached) " >&6
   15025 else
   15026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15027 /* end confdefs.h.  */
   15028 int i;
   15029 int
   15030 main ()
   15031 {
   15032 
   15033   ;
   15034   return 0;
   15035 }
   15036 _ACEOF
   15037 if ac_fn_c_try_link "$LINENO"; then :
   15038   eval $cacheid=yes
   15039 else
   15040   eval $cacheid=no
   15041 fi
   15042 rm -f core conftest.err conftest.$ac_objext \
   15043     conftest$ac_exeext conftest.$ac_ext
   15044 fi
   15045 
   15046 
   15047 		CFLAGS="$xorg_testset_save_CFLAGS"
   15048 
   15049 		eval supported=\$$cacheid
   15050 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15051 $as_echo "$supported" >&6; }
   15052 		if test "$supported" = "yes" ; then
   15053 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15054 			found="yes"
   15055 		fi
   15056 	fi
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 
   15071 
   15072 xorg_testset_save_CFLAGS="$CFLAGS"
   15073 
   15074 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15075 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15076 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15077 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15078 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15079   $as_echo_n "(cached) " >&6
   15080 else
   15081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15082 /* end confdefs.h.  */
   15083 int i;
   15084 _ACEOF
   15085 if ac_fn_c_try_compile "$LINENO"; then :
   15086   xorg_cv_cc_flag_unknown_warning_option=yes
   15087 else
   15088   xorg_cv_cc_flag_unknown_warning_option=no
   15089 fi
   15090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15091 fi
   15092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15093 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15094 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15095 	CFLAGS="$xorg_testset_save_CFLAGS"
   15096 fi
   15097 
   15098 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15099 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15100 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15101 	fi
   15102 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15104 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15105 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15106   $as_echo_n "(cached) " >&6
   15107 else
   15108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15109 /* end confdefs.h.  */
   15110 int i;
   15111 _ACEOF
   15112 if ac_fn_c_try_compile "$LINENO"; then :
   15113   xorg_cv_cc_flag_unused_command_line_argument=yes
   15114 else
   15115   xorg_cv_cc_flag_unused_command_line_argument=no
   15116 fi
   15117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15118 fi
   15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15120 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15121 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15122 	CFLAGS="$xorg_testset_save_CFLAGS"
   15123 fi
   15124 
   15125 found="no"
   15126 
   15127 	if test $found = "no" ; then
   15128 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15129 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15130 		fi
   15131 
   15132 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15133 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15134 		fi
   15135 
   15136 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15137 
   15138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15139 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15140 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15141 		if eval \${$cacheid+:} false; then :
   15142   $as_echo_n "(cached) " >&6
   15143 else
   15144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15145 /* end confdefs.h.  */
   15146 int i;
   15147 int
   15148 main ()
   15149 {
   15150 
   15151   ;
   15152   return 0;
   15153 }
   15154 _ACEOF
   15155 if ac_fn_c_try_link "$LINENO"; then :
   15156   eval $cacheid=yes
   15157 else
   15158   eval $cacheid=no
   15159 fi
   15160 rm -f core conftest.err conftest.$ac_objext \
   15161     conftest$ac_exeext conftest.$ac_ext
   15162 fi
   15163 
   15164 
   15165 		CFLAGS="$xorg_testset_save_CFLAGS"
   15166 
   15167 		eval supported=\$$cacheid
   15168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15169 $as_echo "$supported" >&6; }
   15170 		if test "$supported" = "yes" ; then
   15171 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15172 			found="yes"
   15173 		fi
   15174 	fi
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 xorg_testset_save_CFLAGS="$CFLAGS"
   15191 
   15192 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15193 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15195 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15196 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15197   $as_echo_n "(cached) " >&6
   15198 else
   15199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15200 /* end confdefs.h.  */
   15201 int i;
   15202 _ACEOF
   15203 if ac_fn_c_try_compile "$LINENO"; then :
   15204   xorg_cv_cc_flag_unknown_warning_option=yes
   15205 else
   15206   xorg_cv_cc_flag_unknown_warning_option=no
   15207 fi
   15208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15209 fi
   15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15211 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15213 	CFLAGS="$xorg_testset_save_CFLAGS"
   15214 fi
   15215 
   15216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15219 	fi
   15220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15222 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15223 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15224   $as_echo_n "(cached) " >&6
   15225 else
   15226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15227 /* end confdefs.h.  */
   15228 int i;
   15229 _ACEOF
   15230 if ac_fn_c_try_compile "$LINENO"; then :
   15231   xorg_cv_cc_flag_unused_command_line_argument=yes
   15232 else
   15233   xorg_cv_cc_flag_unused_command_line_argument=no
   15234 fi
   15235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15236 fi
   15237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15238 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15239 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15240 	CFLAGS="$xorg_testset_save_CFLAGS"
   15241 fi
   15242 
   15243 found="no"
   15244 
   15245 	if test $found = "no" ; then
   15246 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15247 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15248 		fi
   15249 
   15250 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15251 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15252 		fi
   15253 
   15254 		CFLAGS="$CFLAGS -Werror=write-strings"
   15255 
   15256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15257 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15258 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15259 		if eval \${$cacheid+:} false; then :
   15260   $as_echo_n "(cached) " >&6
   15261 else
   15262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15263 /* end confdefs.h.  */
   15264 int i;
   15265 int
   15266 main ()
   15267 {
   15268 
   15269   ;
   15270   return 0;
   15271 }
   15272 _ACEOF
   15273 if ac_fn_c_try_link "$LINENO"; then :
   15274   eval $cacheid=yes
   15275 else
   15276   eval $cacheid=no
   15277 fi
   15278 rm -f core conftest.err conftest.$ac_objext \
   15279     conftest$ac_exeext conftest.$ac_ext
   15280 fi
   15281 
   15282 
   15283 		CFLAGS="$xorg_testset_save_CFLAGS"
   15284 
   15285 		eval supported=\$$cacheid
   15286 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15287 $as_echo "$supported" >&6; }
   15288 		if test "$supported" = "yes" ; then
   15289 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15290 			found="yes"
   15291 		fi
   15292 	fi
   15293 
   15294 
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 
   15302 
   15303 
   15304 
   15305 
   15306 
   15307 
   15308 xorg_testset_save_CFLAGS="$CFLAGS"
   15309 
   15310 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15313 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15314 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15315   $as_echo_n "(cached) " >&6
   15316 else
   15317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15318 /* end confdefs.h.  */
   15319 int i;
   15320 _ACEOF
   15321 if ac_fn_c_try_compile "$LINENO"; then :
   15322   xorg_cv_cc_flag_unknown_warning_option=yes
   15323 else
   15324   xorg_cv_cc_flag_unknown_warning_option=no
   15325 fi
   15326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15327 fi
   15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15329 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15330 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15331 	CFLAGS="$xorg_testset_save_CFLAGS"
   15332 fi
   15333 
   15334 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15335 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15337 	fi
   15338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15340 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15341 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15342   $as_echo_n "(cached) " >&6
   15343 else
   15344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15345 /* end confdefs.h.  */
   15346 int i;
   15347 _ACEOF
   15348 if ac_fn_c_try_compile "$LINENO"; then :
   15349   xorg_cv_cc_flag_unused_command_line_argument=yes
   15350 else
   15351   xorg_cv_cc_flag_unused_command_line_argument=no
   15352 fi
   15353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15354 fi
   15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15356 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15358 	CFLAGS="$xorg_testset_save_CFLAGS"
   15359 fi
   15360 
   15361 found="no"
   15362 
   15363 	if test $found = "no" ; then
   15364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15366 		fi
   15367 
   15368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15370 		fi
   15371 
   15372 		CFLAGS="$CFLAGS -Werror=address"
   15373 
   15374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15375 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15376 		cacheid=xorg_cv_cc_flag__Werror_address
   15377 		if eval \${$cacheid+:} false; then :
   15378   $as_echo_n "(cached) " >&6
   15379 else
   15380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15381 /* end confdefs.h.  */
   15382 int i;
   15383 int
   15384 main ()
   15385 {
   15386 
   15387   ;
   15388   return 0;
   15389 }
   15390 _ACEOF
   15391 if ac_fn_c_try_link "$LINENO"; then :
   15392   eval $cacheid=yes
   15393 else
   15394   eval $cacheid=no
   15395 fi
   15396 rm -f core conftest.err conftest.$ac_objext \
   15397     conftest$ac_exeext conftest.$ac_ext
   15398 fi
   15399 
   15400 
   15401 		CFLAGS="$xorg_testset_save_CFLAGS"
   15402 
   15403 		eval supported=\$$cacheid
   15404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15405 $as_echo "$supported" >&6; }
   15406 		if test "$supported" = "yes" ; then
   15407 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15408 			found="yes"
   15409 		fi
   15410 	fi
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 
   15426 xorg_testset_save_CFLAGS="$CFLAGS"
   15427 
   15428 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15429 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15431 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15432 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15433   $as_echo_n "(cached) " >&6
   15434 else
   15435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15436 /* end confdefs.h.  */
   15437 int i;
   15438 _ACEOF
   15439 if ac_fn_c_try_compile "$LINENO"; then :
   15440   xorg_cv_cc_flag_unknown_warning_option=yes
   15441 else
   15442   xorg_cv_cc_flag_unknown_warning_option=no
   15443 fi
   15444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15445 fi
   15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15447 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15449 	CFLAGS="$xorg_testset_save_CFLAGS"
   15450 fi
   15451 
   15452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15455 	fi
   15456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15458 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15459 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15460   $as_echo_n "(cached) " >&6
   15461 else
   15462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15463 /* end confdefs.h.  */
   15464 int i;
   15465 _ACEOF
   15466 if ac_fn_c_try_compile "$LINENO"; then :
   15467   xorg_cv_cc_flag_unused_command_line_argument=yes
   15468 else
   15469   xorg_cv_cc_flag_unused_command_line_argument=no
   15470 fi
   15471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15472 fi
   15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15474 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15475 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15476 	CFLAGS="$xorg_testset_save_CFLAGS"
   15477 fi
   15478 
   15479 found="no"
   15480 
   15481 	if test $found = "no" ; then
   15482 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15483 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15484 		fi
   15485 
   15486 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15487 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15488 		fi
   15489 
   15490 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15491 
   15492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15493 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15494 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15495 		if eval \${$cacheid+:} false; then :
   15496   $as_echo_n "(cached) " >&6
   15497 else
   15498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15499 /* end confdefs.h.  */
   15500 int i;
   15501 int
   15502 main ()
   15503 {
   15504 
   15505   ;
   15506   return 0;
   15507 }
   15508 _ACEOF
   15509 if ac_fn_c_try_link "$LINENO"; then :
   15510   eval $cacheid=yes
   15511 else
   15512   eval $cacheid=no
   15513 fi
   15514 rm -f core conftest.err conftest.$ac_objext \
   15515     conftest$ac_exeext conftest.$ac_ext
   15516 fi
   15517 
   15518 
   15519 		CFLAGS="$xorg_testset_save_CFLAGS"
   15520 
   15521 		eval supported=\$$cacheid
   15522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15523 $as_echo "$supported" >&6; }
   15524 		if test "$supported" = "yes" ; then
   15525 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15526 			found="yes"
   15527 		fi
   15528 	fi
   15529 
   15530 	if test $found = "no" ; then
   15531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15533 		fi
   15534 
   15535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15537 		fi
   15538 
   15539 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15540 
   15541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15542 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15543 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15544 		if eval \${$cacheid+:} false; then :
   15545   $as_echo_n "(cached) " >&6
   15546 else
   15547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15548 /* end confdefs.h.  */
   15549 int i;
   15550 int
   15551 main ()
   15552 {
   15553 
   15554   ;
   15555   return 0;
   15556 }
   15557 _ACEOF
   15558 if ac_fn_c_try_link "$LINENO"; then :
   15559   eval $cacheid=yes
   15560 else
   15561   eval $cacheid=no
   15562 fi
   15563 rm -f core conftest.err conftest.$ac_objext \
   15564     conftest$ac_exeext conftest.$ac_ext
   15565 fi
   15566 
   15567 
   15568 		CFLAGS="$xorg_testset_save_CFLAGS"
   15569 
   15570 		eval supported=\$$cacheid
   15571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15572 $as_echo "$supported" >&6; }
   15573 		if test "$supported" = "yes" ; then
   15574 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15575 			found="yes"
   15576 		fi
   15577 	fi
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 xorg_testset_save_CFLAGS="$CFLAGS"
   15594 
   15595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15598 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15599 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15600   $as_echo_n "(cached) " >&6
   15601 else
   15602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15603 /* end confdefs.h.  */
   15604 int i;
   15605 _ACEOF
   15606 if ac_fn_c_try_compile "$LINENO"; then :
   15607   xorg_cv_cc_flag_unknown_warning_option=yes
   15608 else
   15609   xorg_cv_cc_flag_unknown_warning_option=no
   15610 fi
   15611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15612 fi
   15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15614 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15616 	CFLAGS="$xorg_testset_save_CFLAGS"
   15617 fi
   15618 
   15619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15622 	fi
   15623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15625 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15626 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15627   $as_echo_n "(cached) " >&6
   15628 else
   15629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15630 /* end confdefs.h.  */
   15631 int i;
   15632 _ACEOF
   15633 if ac_fn_c_try_compile "$LINENO"; then :
   15634   xorg_cv_cc_flag_unused_command_line_argument=yes
   15635 else
   15636   xorg_cv_cc_flag_unused_command_line_argument=no
   15637 fi
   15638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15639 fi
   15640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15641 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15643 	CFLAGS="$xorg_testset_save_CFLAGS"
   15644 fi
   15645 
   15646 found="no"
   15647 
   15648 	if test $found = "no" ; then
   15649 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15651 		fi
   15652 
   15653 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15655 		fi
   15656 
   15657 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15658 
   15659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15660 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15661 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15662 		if eval \${$cacheid+:} false; then :
   15663   $as_echo_n "(cached) " >&6
   15664 else
   15665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15666 /* end confdefs.h.  */
   15667 int i;
   15668 int
   15669 main ()
   15670 {
   15671 
   15672   ;
   15673   return 0;
   15674 }
   15675 _ACEOF
   15676 if ac_fn_c_try_link "$LINENO"; then :
   15677   eval $cacheid=yes
   15678 else
   15679   eval $cacheid=no
   15680 fi
   15681 rm -f core conftest.err conftest.$ac_objext \
   15682     conftest$ac_exeext conftest.$ac_ext
   15683 fi
   15684 
   15685 
   15686 		CFLAGS="$xorg_testset_save_CFLAGS"
   15687 
   15688 		eval supported=\$$cacheid
   15689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15690 $as_echo "$supported" >&6; }
   15691 		if test "$supported" = "yes" ; then
   15692 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15693 			found="yes"
   15694 		fi
   15695 	fi
   15696 
   15697  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15698 else
   15699 { $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
   15700 $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;}
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 xorg_testset_save_CFLAGS="$CFLAGS"
   15715 
   15716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15719 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15720 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15721   $as_echo_n "(cached) " >&6
   15722 else
   15723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15724 /* end confdefs.h.  */
   15725 int i;
   15726 _ACEOF
   15727 if ac_fn_c_try_compile "$LINENO"; then :
   15728   xorg_cv_cc_flag_unknown_warning_option=yes
   15729 else
   15730   xorg_cv_cc_flag_unknown_warning_option=no
   15731 fi
   15732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15733 fi
   15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15735 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15737 	CFLAGS="$xorg_testset_save_CFLAGS"
   15738 fi
   15739 
   15740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15743 	fi
   15744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15746 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15747 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15748   $as_echo_n "(cached) " >&6
   15749 else
   15750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15751 /* end confdefs.h.  */
   15752 int i;
   15753 _ACEOF
   15754 if ac_fn_c_try_compile "$LINENO"; then :
   15755   xorg_cv_cc_flag_unused_command_line_argument=yes
   15756 else
   15757   xorg_cv_cc_flag_unused_command_line_argument=no
   15758 fi
   15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15760 fi
   15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15762 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15764 	CFLAGS="$xorg_testset_save_CFLAGS"
   15765 fi
   15766 
   15767 found="no"
   15768 
   15769 	if test $found = "no" ; then
   15770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15772 		fi
   15773 
   15774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15776 		fi
   15777 
   15778 		CFLAGS="$CFLAGS -Wimplicit"
   15779 
   15780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15781 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15782 		cacheid=xorg_cv_cc_flag__Wimplicit
   15783 		if eval \${$cacheid+:} false; then :
   15784   $as_echo_n "(cached) " >&6
   15785 else
   15786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15787 /* end confdefs.h.  */
   15788 int i;
   15789 int
   15790 main ()
   15791 {
   15792 
   15793   ;
   15794   return 0;
   15795 }
   15796 _ACEOF
   15797 if ac_fn_c_try_link "$LINENO"; then :
   15798   eval $cacheid=yes
   15799 else
   15800   eval $cacheid=no
   15801 fi
   15802 rm -f core conftest.err conftest.$ac_objext \
   15803     conftest$ac_exeext conftest.$ac_ext
   15804 fi
   15805 
   15806 
   15807 		CFLAGS="$xorg_testset_save_CFLAGS"
   15808 
   15809 		eval supported=\$$cacheid
   15810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15811 $as_echo "$supported" >&6; }
   15812 		if test "$supported" = "yes" ; then
   15813 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15814 			found="yes"
   15815 		fi
   15816 	fi
   15817 
   15818 
   15819 
   15820 
   15821 
   15822 
   15823 
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 xorg_testset_save_CFLAGS="$CFLAGS"
   15833 
   15834 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15835 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15837 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15838 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15839   $as_echo_n "(cached) " >&6
   15840 else
   15841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15842 /* end confdefs.h.  */
   15843 int i;
   15844 _ACEOF
   15845 if ac_fn_c_try_compile "$LINENO"; then :
   15846   xorg_cv_cc_flag_unknown_warning_option=yes
   15847 else
   15848   xorg_cv_cc_flag_unknown_warning_option=no
   15849 fi
   15850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15851 fi
   15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15853 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15855 	CFLAGS="$xorg_testset_save_CFLAGS"
   15856 fi
   15857 
   15858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15861 	fi
   15862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15864 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15865 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15866   $as_echo_n "(cached) " >&6
   15867 else
   15868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15869 /* end confdefs.h.  */
   15870 int i;
   15871 _ACEOF
   15872 if ac_fn_c_try_compile "$LINENO"; then :
   15873   xorg_cv_cc_flag_unused_command_line_argument=yes
   15874 else
   15875   xorg_cv_cc_flag_unused_command_line_argument=no
   15876 fi
   15877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15878 fi
   15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15880 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15882 	CFLAGS="$xorg_testset_save_CFLAGS"
   15883 fi
   15884 
   15885 found="no"
   15886 
   15887 	if test $found = "no" ; then
   15888 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15890 		fi
   15891 
   15892 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15894 		fi
   15895 
   15896 		CFLAGS="$CFLAGS -Wnonnull"
   15897 
   15898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15899 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15900 		cacheid=xorg_cv_cc_flag__Wnonnull
   15901 		if eval \${$cacheid+:} false; then :
   15902   $as_echo_n "(cached) " >&6
   15903 else
   15904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15905 /* end confdefs.h.  */
   15906 int i;
   15907 int
   15908 main ()
   15909 {
   15910 
   15911   ;
   15912   return 0;
   15913 }
   15914 _ACEOF
   15915 if ac_fn_c_try_link "$LINENO"; then :
   15916   eval $cacheid=yes
   15917 else
   15918   eval $cacheid=no
   15919 fi
   15920 rm -f core conftest.err conftest.$ac_objext \
   15921     conftest$ac_exeext conftest.$ac_ext
   15922 fi
   15923 
   15924 
   15925 		CFLAGS="$xorg_testset_save_CFLAGS"
   15926 
   15927 		eval supported=\$$cacheid
   15928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15929 $as_echo "$supported" >&6; }
   15930 		if test "$supported" = "yes" ; then
   15931 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15932 			found="yes"
   15933 		fi
   15934 	fi
   15935 
   15936 
   15937 
   15938 
   15939 
   15940 
   15941 
   15942 
   15943 
   15944 
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 xorg_testset_save_CFLAGS="$CFLAGS"
   15951 
   15952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15955 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15956 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15957   $as_echo_n "(cached) " >&6
   15958 else
   15959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15960 /* end confdefs.h.  */
   15961 int i;
   15962 _ACEOF
   15963 if ac_fn_c_try_compile "$LINENO"; then :
   15964   xorg_cv_cc_flag_unknown_warning_option=yes
   15965 else
   15966   xorg_cv_cc_flag_unknown_warning_option=no
   15967 fi
   15968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15969 fi
   15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15971 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15973 	CFLAGS="$xorg_testset_save_CFLAGS"
   15974 fi
   15975 
   15976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15979 	fi
   15980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15981 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15982 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15983 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15984   $as_echo_n "(cached) " >&6
   15985 else
   15986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15987 /* end confdefs.h.  */
   15988 int i;
   15989 _ACEOF
   15990 if ac_fn_c_try_compile "$LINENO"; then :
   15991   xorg_cv_cc_flag_unused_command_line_argument=yes
   15992 else
   15993   xorg_cv_cc_flag_unused_command_line_argument=no
   15994 fi
   15995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15996 fi
   15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15998 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15999 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16000 	CFLAGS="$xorg_testset_save_CFLAGS"
   16001 fi
   16002 
   16003 found="no"
   16004 
   16005 	if test $found = "no" ; then
   16006 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16007 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16008 		fi
   16009 
   16010 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16011 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16012 		fi
   16013 
   16014 		CFLAGS="$CFLAGS -Winit-self"
   16015 
   16016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16017 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16018 		cacheid=xorg_cv_cc_flag__Winit_self
   16019 		if eval \${$cacheid+:} false; then :
   16020   $as_echo_n "(cached) " >&6
   16021 else
   16022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16023 /* end confdefs.h.  */
   16024 int i;
   16025 int
   16026 main ()
   16027 {
   16028 
   16029   ;
   16030   return 0;
   16031 }
   16032 _ACEOF
   16033 if ac_fn_c_try_link "$LINENO"; then :
   16034   eval $cacheid=yes
   16035 else
   16036   eval $cacheid=no
   16037 fi
   16038 rm -f core conftest.err conftest.$ac_objext \
   16039     conftest$ac_exeext conftest.$ac_ext
   16040 fi
   16041 
   16042 
   16043 		CFLAGS="$xorg_testset_save_CFLAGS"
   16044 
   16045 		eval supported=\$$cacheid
   16046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16047 $as_echo "$supported" >&6; }
   16048 		if test "$supported" = "yes" ; then
   16049 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16050 			found="yes"
   16051 		fi
   16052 	fi
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 xorg_testset_save_CFLAGS="$CFLAGS"
   16069 
   16070 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16071 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16073 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16074 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16075   $as_echo_n "(cached) " >&6
   16076 else
   16077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16078 /* end confdefs.h.  */
   16079 int i;
   16080 _ACEOF
   16081 if ac_fn_c_try_compile "$LINENO"; then :
   16082   xorg_cv_cc_flag_unknown_warning_option=yes
   16083 else
   16084   xorg_cv_cc_flag_unknown_warning_option=no
   16085 fi
   16086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16087 fi
   16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16089 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16091 	CFLAGS="$xorg_testset_save_CFLAGS"
   16092 fi
   16093 
   16094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16097 	fi
   16098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16099 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16100 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16101 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16102   $as_echo_n "(cached) " >&6
   16103 else
   16104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16105 /* end confdefs.h.  */
   16106 int i;
   16107 _ACEOF
   16108 if ac_fn_c_try_compile "$LINENO"; then :
   16109   xorg_cv_cc_flag_unused_command_line_argument=yes
   16110 else
   16111   xorg_cv_cc_flag_unused_command_line_argument=no
   16112 fi
   16113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16114 fi
   16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16116 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16118 	CFLAGS="$xorg_testset_save_CFLAGS"
   16119 fi
   16120 
   16121 found="no"
   16122 
   16123 	if test $found = "no" ; then
   16124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16126 		fi
   16127 
   16128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16130 		fi
   16131 
   16132 		CFLAGS="$CFLAGS -Wmain"
   16133 
   16134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16135 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16136 		cacheid=xorg_cv_cc_flag__Wmain
   16137 		if eval \${$cacheid+:} false; then :
   16138   $as_echo_n "(cached) " >&6
   16139 else
   16140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16141 /* end confdefs.h.  */
   16142 int i;
   16143 int
   16144 main ()
   16145 {
   16146 
   16147   ;
   16148   return 0;
   16149 }
   16150 _ACEOF
   16151 if ac_fn_c_try_link "$LINENO"; then :
   16152   eval $cacheid=yes
   16153 else
   16154   eval $cacheid=no
   16155 fi
   16156 rm -f core conftest.err conftest.$ac_objext \
   16157     conftest$ac_exeext conftest.$ac_ext
   16158 fi
   16159 
   16160 
   16161 		CFLAGS="$xorg_testset_save_CFLAGS"
   16162 
   16163 		eval supported=\$$cacheid
   16164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16165 $as_echo "$supported" >&6; }
   16166 		if test "$supported" = "yes" ; then
   16167 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16168 			found="yes"
   16169 		fi
   16170 	fi
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 xorg_testset_save_CFLAGS="$CFLAGS"
   16187 
   16188 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16191 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16192 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16193   $as_echo_n "(cached) " >&6
   16194 else
   16195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16196 /* end confdefs.h.  */
   16197 int i;
   16198 _ACEOF
   16199 if ac_fn_c_try_compile "$LINENO"; then :
   16200   xorg_cv_cc_flag_unknown_warning_option=yes
   16201 else
   16202   xorg_cv_cc_flag_unknown_warning_option=no
   16203 fi
   16204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16205 fi
   16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16207 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16208 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16209 	CFLAGS="$xorg_testset_save_CFLAGS"
   16210 fi
   16211 
   16212 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16213 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16215 	fi
   16216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16218 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16219 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16220   $as_echo_n "(cached) " >&6
   16221 else
   16222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16223 /* end confdefs.h.  */
   16224 int i;
   16225 _ACEOF
   16226 if ac_fn_c_try_compile "$LINENO"; then :
   16227   xorg_cv_cc_flag_unused_command_line_argument=yes
   16228 else
   16229   xorg_cv_cc_flag_unused_command_line_argument=no
   16230 fi
   16231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16232 fi
   16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16234 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16235 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16236 	CFLAGS="$xorg_testset_save_CFLAGS"
   16237 fi
   16238 
   16239 found="no"
   16240 
   16241 	if test $found = "no" ; then
   16242 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16244 		fi
   16245 
   16246 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16248 		fi
   16249 
   16250 		CFLAGS="$CFLAGS -Wmissing-braces"
   16251 
   16252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16253 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16254 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16255 		if eval \${$cacheid+:} false; then :
   16256   $as_echo_n "(cached) " >&6
   16257 else
   16258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16259 /* end confdefs.h.  */
   16260 int i;
   16261 int
   16262 main ()
   16263 {
   16264 
   16265   ;
   16266   return 0;
   16267 }
   16268 _ACEOF
   16269 if ac_fn_c_try_link "$LINENO"; then :
   16270   eval $cacheid=yes
   16271 else
   16272   eval $cacheid=no
   16273 fi
   16274 rm -f core conftest.err conftest.$ac_objext \
   16275     conftest$ac_exeext conftest.$ac_ext
   16276 fi
   16277 
   16278 
   16279 		CFLAGS="$xorg_testset_save_CFLAGS"
   16280 
   16281 		eval supported=\$$cacheid
   16282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16283 $as_echo "$supported" >&6; }
   16284 		if test "$supported" = "yes" ; then
   16285 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16286 			found="yes"
   16287 		fi
   16288 	fi
   16289 
   16290 
   16291 
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 xorg_testset_save_CFLAGS="$CFLAGS"
   16305 
   16306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16309 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16310 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16311   $as_echo_n "(cached) " >&6
   16312 else
   16313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16314 /* end confdefs.h.  */
   16315 int i;
   16316 _ACEOF
   16317 if ac_fn_c_try_compile "$LINENO"; then :
   16318   xorg_cv_cc_flag_unknown_warning_option=yes
   16319 else
   16320   xorg_cv_cc_flag_unknown_warning_option=no
   16321 fi
   16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16323 fi
   16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16325 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16327 	CFLAGS="$xorg_testset_save_CFLAGS"
   16328 fi
   16329 
   16330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16333 	fi
   16334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16335 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16336 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16337 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16338   $as_echo_n "(cached) " >&6
   16339 else
   16340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16341 /* end confdefs.h.  */
   16342 int i;
   16343 _ACEOF
   16344 if ac_fn_c_try_compile "$LINENO"; then :
   16345   xorg_cv_cc_flag_unused_command_line_argument=yes
   16346 else
   16347   xorg_cv_cc_flag_unused_command_line_argument=no
   16348 fi
   16349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16350 fi
   16351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16352 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16354 	CFLAGS="$xorg_testset_save_CFLAGS"
   16355 fi
   16356 
   16357 found="no"
   16358 
   16359 	if test $found = "no" ; then
   16360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16362 		fi
   16363 
   16364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16366 		fi
   16367 
   16368 		CFLAGS="$CFLAGS -Wsequence-point"
   16369 
   16370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16371 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16372 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16373 		if eval \${$cacheid+:} false; then :
   16374   $as_echo_n "(cached) " >&6
   16375 else
   16376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16377 /* end confdefs.h.  */
   16378 int i;
   16379 int
   16380 main ()
   16381 {
   16382 
   16383   ;
   16384   return 0;
   16385 }
   16386 _ACEOF
   16387 if ac_fn_c_try_link "$LINENO"; then :
   16388   eval $cacheid=yes
   16389 else
   16390   eval $cacheid=no
   16391 fi
   16392 rm -f core conftest.err conftest.$ac_objext \
   16393     conftest$ac_exeext conftest.$ac_ext
   16394 fi
   16395 
   16396 
   16397 		CFLAGS="$xorg_testset_save_CFLAGS"
   16398 
   16399 		eval supported=\$$cacheid
   16400 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16401 $as_echo "$supported" >&6; }
   16402 		if test "$supported" = "yes" ; then
   16403 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16404 			found="yes"
   16405 		fi
   16406 	fi
   16407 
   16408 
   16409 
   16410 
   16411 
   16412 
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 xorg_testset_save_CFLAGS="$CFLAGS"
   16423 
   16424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16427 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16428 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16429   $as_echo_n "(cached) " >&6
   16430 else
   16431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16432 /* end confdefs.h.  */
   16433 int i;
   16434 _ACEOF
   16435 if ac_fn_c_try_compile "$LINENO"; then :
   16436   xorg_cv_cc_flag_unknown_warning_option=yes
   16437 else
   16438   xorg_cv_cc_flag_unknown_warning_option=no
   16439 fi
   16440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16441 fi
   16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16443 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16444 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16445 	CFLAGS="$xorg_testset_save_CFLAGS"
   16446 fi
   16447 
   16448 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16449 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16450 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16451 	fi
   16452 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16454 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16455 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16456   $as_echo_n "(cached) " >&6
   16457 else
   16458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16459 /* end confdefs.h.  */
   16460 int i;
   16461 _ACEOF
   16462 if ac_fn_c_try_compile "$LINENO"; then :
   16463   xorg_cv_cc_flag_unused_command_line_argument=yes
   16464 else
   16465   xorg_cv_cc_flag_unused_command_line_argument=no
   16466 fi
   16467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16468 fi
   16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16470 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16471 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16472 	CFLAGS="$xorg_testset_save_CFLAGS"
   16473 fi
   16474 
   16475 found="no"
   16476 
   16477 	if test $found = "no" ; then
   16478 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16480 		fi
   16481 
   16482 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16484 		fi
   16485 
   16486 		CFLAGS="$CFLAGS -Wreturn-type"
   16487 
   16488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16489 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16490 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16491 		if eval \${$cacheid+:} false; then :
   16492   $as_echo_n "(cached) " >&6
   16493 else
   16494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16495 /* end confdefs.h.  */
   16496 int i;
   16497 int
   16498 main ()
   16499 {
   16500 
   16501   ;
   16502   return 0;
   16503 }
   16504 _ACEOF
   16505 if ac_fn_c_try_link "$LINENO"; then :
   16506   eval $cacheid=yes
   16507 else
   16508   eval $cacheid=no
   16509 fi
   16510 rm -f core conftest.err conftest.$ac_objext \
   16511     conftest$ac_exeext conftest.$ac_ext
   16512 fi
   16513 
   16514 
   16515 		CFLAGS="$xorg_testset_save_CFLAGS"
   16516 
   16517 		eval supported=\$$cacheid
   16518 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16519 $as_echo "$supported" >&6; }
   16520 		if test "$supported" = "yes" ; then
   16521 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16522 			found="yes"
   16523 		fi
   16524 	fi
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 
   16531 
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 xorg_testset_save_CFLAGS="$CFLAGS"
   16541 
   16542 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16545 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16546 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16547   $as_echo_n "(cached) " >&6
   16548 else
   16549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16550 /* end confdefs.h.  */
   16551 int i;
   16552 _ACEOF
   16553 if ac_fn_c_try_compile "$LINENO"; then :
   16554   xorg_cv_cc_flag_unknown_warning_option=yes
   16555 else
   16556   xorg_cv_cc_flag_unknown_warning_option=no
   16557 fi
   16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16559 fi
   16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16561 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16562 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16563 	CFLAGS="$xorg_testset_save_CFLAGS"
   16564 fi
   16565 
   16566 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16567 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16569 	fi
   16570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16572 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16573 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16574   $as_echo_n "(cached) " >&6
   16575 else
   16576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16577 /* end confdefs.h.  */
   16578 int i;
   16579 _ACEOF
   16580 if ac_fn_c_try_compile "$LINENO"; then :
   16581   xorg_cv_cc_flag_unused_command_line_argument=yes
   16582 else
   16583   xorg_cv_cc_flag_unused_command_line_argument=no
   16584 fi
   16585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16586 fi
   16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16588 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16589 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16590 	CFLAGS="$xorg_testset_save_CFLAGS"
   16591 fi
   16592 
   16593 found="no"
   16594 
   16595 	if test $found = "no" ; then
   16596 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16597 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16598 		fi
   16599 
   16600 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16601 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16602 		fi
   16603 
   16604 		CFLAGS="$CFLAGS -Wtrigraphs"
   16605 
   16606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16607 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16608 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16609 		if eval \${$cacheid+:} false; then :
   16610   $as_echo_n "(cached) " >&6
   16611 else
   16612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16613 /* end confdefs.h.  */
   16614 int i;
   16615 int
   16616 main ()
   16617 {
   16618 
   16619   ;
   16620   return 0;
   16621 }
   16622 _ACEOF
   16623 if ac_fn_c_try_link "$LINENO"; then :
   16624   eval $cacheid=yes
   16625 else
   16626   eval $cacheid=no
   16627 fi
   16628 rm -f core conftest.err conftest.$ac_objext \
   16629     conftest$ac_exeext conftest.$ac_ext
   16630 fi
   16631 
   16632 
   16633 		CFLAGS="$xorg_testset_save_CFLAGS"
   16634 
   16635 		eval supported=\$$cacheid
   16636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16637 $as_echo "$supported" >&6; }
   16638 		if test "$supported" = "yes" ; then
   16639 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16640 			found="yes"
   16641 		fi
   16642 	fi
   16643 
   16644 
   16645 
   16646 
   16647 
   16648 
   16649 
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 xorg_testset_save_CFLAGS="$CFLAGS"
   16659 
   16660 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16661 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16663 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16664 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16665   $as_echo_n "(cached) " >&6
   16666 else
   16667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16668 /* end confdefs.h.  */
   16669 int i;
   16670 _ACEOF
   16671 if ac_fn_c_try_compile "$LINENO"; then :
   16672   xorg_cv_cc_flag_unknown_warning_option=yes
   16673 else
   16674   xorg_cv_cc_flag_unknown_warning_option=no
   16675 fi
   16676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16677 fi
   16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16679 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16680 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16681 	CFLAGS="$xorg_testset_save_CFLAGS"
   16682 fi
   16683 
   16684 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16685 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16686 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16687 	fi
   16688 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16689 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16690 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16691 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16692   $as_echo_n "(cached) " >&6
   16693 else
   16694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16695 /* end confdefs.h.  */
   16696 int i;
   16697 _ACEOF
   16698 if ac_fn_c_try_compile "$LINENO"; then :
   16699   xorg_cv_cc_flag_unused_command_line_argument=yes
   16700 else
   16701   xorg_cv_cc_flag_unused_command_line_argument=no
   16702 fi
   16703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16704 fi
   16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16706 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16707 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16708 	CFLAGS="$xorg_testset_save_CFLAGS"
   16709 fi
   16710 
   16711 found="no"
   16712 
   16713 	if test $found = "no" ; then
   16714 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16715 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16716 		fi
   16717 
   16718 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16719 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16720 		fi
   16721 
   16722 		CFLAGS="$CFLAGS -Warray-bounds"
   16723 
   16724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16725 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16726 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16727 		if eval \${$cacheid+:} false; then :
   16728   $as_echo_n "(cached) " >&6
   16729 else
   16730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16731 /* end confdefs.h.  */
   16732 int i;
   16733 int
   16734 main ()
   16735 {
   16736 
   16737   ;
   16738   return 0;
   16739 }
   16740 _ACEOF
   16741 if ac_fn_c_try_link "$LINENO"; then :
   16742   eval $cacheid=yes
   16743 else
   16744   eval $cacheid=no
   16745 fi
   16746 rm -f core conftest.err conftest.$ac_objext \
   16747     conftest$ac_exeext conftest.$ac_ext
   16748 fi
   16749 
   16750 
   16751 		CFLAGS="$xorg_testset_save_CFLAGS"
   16752 
   16753 		eval supported=\$$cacheid
   16754 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16755 $as_echo "$supported" >&6; }
   16756 		if test "$supported" = "yes" ; then
   16757 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16758 			found="yes"
   16759 		fi
   16760 	fi
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 xorg_testset_save_CFLAGS="$CFLAGS"
   16777 
   16778 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16779 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16781 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16782 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16783   $as_echo_n "(cached) " >&6
   16784 else
   16785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16786 /* end confdefs.h.  */
   16787 int i;
   16788 _ACEOF
   16789 if ac_fn_c_try_compile "$LINENO"; then :
   16790   xorg_cv_cc_flag_unknown_warning_option=yes
   16791 else
   16792   xorg_cv_cc_flag_unknown_warning_option=no
   16793 fi
   16794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16795 fi
   16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16797 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16799 	CFLAGS="$xorg_testset_save_CFLAGS"
   16800 fi
   16801 
   16802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16805 	fi
   16806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16807 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16808 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16809 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16810   $as_echo_n "(cached) " >&6
   16811 else
   16812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16813 /* end confdefs.h.  */
   16814 int i;
   16815 _ACEOF
   16816 if ac_fn_c_try_compile "$LINENO"; then :
   16817   xorg_cv_cc_flag_unused_command_line_argument=yes
   16818 else
   16819   xorg_cv_cc_flag_unused_command_line_argument=no
   16820 fi
   16821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16822 fi
   16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16824 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16825 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16826 	CFLAGS="$xorg_testset_save_CFLAGS"
   16827 fi
   16828 
   16829 found="no"
   16830 
   16831 	if test $found = "no" ; then
   16832 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16833 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16834 		fi
   16835 
   16836 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16837 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16838 		fi
   16839 
   16840 		CFLAGS="$CFLAGS -Wwrite-strings"
   16841 
   16842 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16843 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16844 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16845 		if eval \${$cacheid+:} false; then :
   16846   $as_echo_n "(cached) " >&6
   16847 else
   16848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16849 /* end confdefs.h.  */
   16850 int i;
   16851 int
   16852 main ()
   16853 {
   16854 
   16855   ;
   16856   return 0;
   16857 }
   16858 _ACEOF
   16859 if ac_fn_c_try_link "$LINENO"; then :
   16860   eval $cacheid=yes
   16861 else
   16862   eval $cacheid=no
   16863 fi
   16864 rm -f core conftest.err conftest.$ac_objext \
   16865     conftest$ac_exeext conftest.$ac_ext
   16866 fi
   16867 
   16868 
   16869 		CFLAGS="$xorg_testset_save_CFLAGS"
   16870 
   16871 		eval supported=\$$cacheid
   16872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16873 $as_echo "$supported" >&6; }
   16874 		if test "$supported" = "yes" ; then
   16875 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16876 			found="yes"
   16877 		fi
   16878 	fi
   16879 
   16880 
   16881 
   16882 
   16883 
   16884 
   16885 
   16886 
   16887 
   16888 
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 xorg_testset_save_CFLAGS="$CFLAGS"
   16895 
   16896 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16897 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16899 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16900 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16901   $as_echo_n "(cached) " >&6
   16902 else
   16903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16904 /* end confdefs.h.  */
   16905 int i;
   16906 _ACEOF
   16907 if ac_fn_c_try_compile "$LINENO"; then :
   16908   xorg_cv_cc_flag_unknown_warning_option=yes
   16909 else
   16910   xorg_cv_cc_flag_unknown_warning_option=no
   16911 fi
   16912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16913 fi
   16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16915 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16916 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16917 	CFLAGS="$xorg_testset_save_CFLAGS"
   16918 fi
   16919 
   16920 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16921 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16922 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16923 	fi
   16924 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16926 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16927 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16928   $as_echo_n "(cached) " >&6
   16929 else
   16930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16931 /* end confdefs.h.  */
   16932 int i;
   16933 _ACEOF
   16934 if ac_fn_c_try_compile "$LINENO"; then :
   16935   xorg_cv_cc_flag_unused_command_line_argument=yes
   16936 else
   16937   xorg_cv_cc_flag_unused_command_line_argument=no
   16938 fi
   16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16940 fi
   16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16942 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16944 	CFLAGS="$xorg_testset_save_CFLAGS"
   16945 fi
   16946 
   16947 found="no"
   16948 
   16949 	if test $found = "no" ; then
   16950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16952 		fi
   16953 
   16954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16956 		fi
   16957 
   16958 		CFLAGS="$CFLAGS -Waddress"
   16959 
   16960 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16961 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16962 		cacheid=xorg_cv_cc_flag__Waddress
   16963 		if eval \${$cacheid+:} false; then :
   16964   $as_echo_n "(cached) " >&6
   16965 else
   16966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16967 /* end confdefs.h.  */
   16968 int i;
   16969 int
   16970 main ()
   16971 {
   16972 
   16973   ;
   16974   return 0;
   16975 }
   16976 _ACEOF
   16977 if ac_fn_c_try_link "$LINENO"; then :
   16978   eval $cacheid=yes
   16979 else
   16980   eval $cacheid=no
   16981 fi
   16982 rm -f core conftest.err conftest.$ac_objext \
   16983     conftest$ac_exeext conftest.$ac_ext
   16984 fi
   16985 
   16986 
   16987 		CFLAGS="$xorg_testset_save_CFLAGS"
   16988 
   16989 		eval supported=\$$cacheid
   16990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16991 $as_echo "$supported" >&6; }
   16992 		if test "$supported" = "yes" ; then
   16993 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16994 			found="yes"
   16995 		fi
   16996 	fi
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 xorg_testset_save_CFLAGS="$CFLAGS"
   17013 
   17014 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17015 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17017 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17018 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17019   $as_echo_n "(cached) " >&6
   17020 else
   17021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17022 /* end confdefs.h.  */
   17023 int i;
   17024 _ACEOF
   17025 if ac_fn_c_try_compile "$LINENO"; then :
   17026   xorg_cv_cc_flag_unknown_warning_option=yes
   17027 else
   17028   xorg_cv_cc_flag_unknown_warning_option=no
   17029 fi
   17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17031 fi
   17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17033 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17034 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17035 	CFLAGS="$xorg_testset_save_CFLAGS"
   17036 fi
   17037 
   17038 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17039 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17040 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17041 	fi
   17042 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17044 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17045 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17046   $as_echo_n "(cached) " >&6
   17047 else
   17048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17049 /* end confdefs.h.  */
   17050 int i;
   17051 _ACEOF
   17052 if ac_fn_c_try_compile "$LINENO"; then :
   17053   xorg_cv_cc_flag_unused_command_line_argument=yes
   17054 else
   17055   xorg_cv_cc_flag_unused_command_line_argument=no
   17056 fi
   17057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17058 fi
   17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17060 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17062 	CFLAGS="$xorg_testset_save_CFLAGS"
   17063 fi
   17064 
   17065 found="no"
   17066 
   17067 	if test $found = "no" ; then
   17068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17070 		fi
   17071 
   17072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17074 		fi
   17075 
   17076 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17077 
   17078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17079 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17080 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17081 		if eval \${$cacheid+:} false; then :
   17082   $as_echo_n "(cached) " >&6
   17083 else
   17084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17085 /* end confdefs.h.  */
   17086 int i;
   17087 int
   17088 main ()
   17089 {
   17090 
   17091   ;
   17092   return 0;
   17093 }
   17094 _ACEOF
   17095 if ac_fn_c_try_link "$LINENO"; then :
   17096   eval $cacheid=yes
   17097 else
   17098   eval $cacheid=no
   17099 fi
   17100 rm -f core conftest.err conftest.$ac_objext \
   17101     conftest$ac_exeext conftest.$ac_ext
   17102 fi
   17103 
   17104 
   17105 		CFLAGS="$xorg_testset_save_CFLAGS"
   17106 
   17107 		eval supported=\$$cacheid
   17108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17109 $as_echo "$supported" >&6; }
   17110 		if test "$supported" = "yes" ; then
   17111 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17112 			found="yes"
   17113 		fi
   17114 	fi
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 
   17121 
   17122 
   17123 
   17124 
   17125 
   17126 
   17127 
   17128 
   17129 
   17130 xorg_testset_save_CFLAGS="$CFLAGS"
   17131 
   17132 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17133 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17135 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17136 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17137   $as_echo_n "(cached) " >&6
   17138 else
   17139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17140 /* end confdefs.h.  */
   17141 int i;
   17142 _ACEOF
   17143 if ac_fn_c_try_compile "$LINENO"; then :
   17144   xorg_cv_cc_flag_unknown_warning_option=yes
   17145 else
   17146   xorg_cv_cc_flag_unknown_warning_option=no
   17147 fi
   17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17149 fi
   17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17151 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17152 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17153 	CFLAGS="$xorg_testset_save_CFLAGS"
   17154 fi
   17155 
   17156 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17157 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17158 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17159 	fi
   17160 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17162 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17163 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17164   $as_echo_n "(cached) " >&6
   17165 else
   17166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17167 /* end confdefs.h.  */
   17168 int i;
   17169 _ACEOF
   17170 if ac_fn_c_try_compile "$LINENO"; then :
   17171   xorg_cv_cc_flag_unused_command_line_argument=yes
   17172 else
   17173   xorg_cv_cc_flag_unused_command_line_argument=no
   17174 fi
   17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17176 fi
   17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17178 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17179 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17180 	CFLAGS="$xorg_testset_save_CFLAGS"
   17181 fi
   17182 
   17183 found="no"
   17184 
   17185 	if test $found = "no" ; then
   17186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17188 		fi
   17189 
   17190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17192 		fi
   17193 
   17194 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17195 
   17196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17197 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17198 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17199 		if eval \${$cacheid+:} false; then :
   17200   $as_echo_n "(cached) " >&6
   17201 else
   17202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17203 /* end confdefs.h.  */
   17204 int i;
   17205 int
   17206 main ()
   17207 {
   17208 
   17209   ;
   17210   return 0;
   17211 }
   17212 _ACEOF
   17213 if ac_fn_c_try_link "$LINENO"; then :
   17214   eval $cacheid=yes
   17215 else
   17216   eval $cacheid=no
   17217 fi
   17218 rm -f core conftest.err conftest.$ac_objext \
   17219     conftest$ac_exeext conftest.$ac_ext
   17220 fi
   17221 
   17222 
   17223 		CFLAGS="$xorg_testset_save_CFLAGS"
   17224 
   17225 		eval supported=\$$cacheid
   17226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17227 $as_echo "$supported" >&6; }
   17228 		if test "$supported" = "yes" ; then
   17229 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17230 			found="yes"
   17231 		fi
   17232 	fi
   17233 
   17234 
   17235 fi
   17236 
   17237 
   17238 
   17239 
   17240 
   17241 
   17242 
   17243 		CWARNFLAGS="$BASE_CFLAGS"
   17244 		if  test "x$GCC" = xyes ; then
   17245 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17246 		fi
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 
   17253 
   17254 
   17255 # Check whether --enable-strict-compilation was given.
   17256 if test "${enable_strict_compilation+set}" = set; then :
   17257   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17258 else
   17259   STRICT_COMPILE=no
   17260 fi
   17261 
   17262 
   17263 
   17264 
   17265 
   17266 
   17267 STRICT_CFLAGS=""
   17268 
   17269 
   17270 
   17271 
   17272 
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 xorg_testset_save_CFLAGS="$CFLAGS"
   17282 
   17283 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17284 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17285 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17286 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17287 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17288   $as_echo_n "(cached) " >&6
   17289 else
   17290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17291 /* end confdefs.h.  */
   17292 int i;
   17293 _ACEOF
   17294 if ac_fn_c_try_compile "$LINENO"; then :
   17295   xorg_cv_cc_flag_unknown_warning_option=yes
   17296 else
   17297   xorg_cv_cc_flag_unknown_warning_option=no
   17298 fi
   17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17300 fi
   17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17302 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17303 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17304 	CFLAGS="$xorg_testset_save_CFLAGS"
   17305 fi
   17306 
   17307 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17308 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17309 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17310 	fi
   17311 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17313 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17314 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17315   $as_echo_n "(cached) " >&6
   17316 else
   17317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17318 /* end confdefs.h.  */
   17319 int i;
   17320 _ACEOF
   17321 if ac_fn_c_try_compile "$LINENO"; then :
   17322   xorg_cv_cc_flag_unused_command_line_argument=yes
   17323 else
   17324   xorg_cv_cc_flag_unused_command_line_argument=no
   17325 fi
   17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17327 fi
   17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17329 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17330 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17331 	CFLAGS="$xorg_testset_save_CFLAGS"
   17332 fi
   17333 
   17334 found="no"
   17335 
   17336 	if test $found = "no" ; then
   17337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17339 		fi
   17340 
   17341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17343 		fi
   17344 
   17345 		CFLAGS="$CFLAGS -pedantic"
   17346 
   17347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17348 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17349 		cacheid=xorg_cv_cc_flag__pedantic
   17350 		if eval \${$cacheid+:} false; then :
   17351   $as_echo_n "(cached) " >&6
   17352 else
   17353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17354 /* end confdefs.h.  */
   17355 int i;
   17356 int
   17357 main ()
   17358 {
   17359 
   17360   ;
   17361   return 0;
   17362 }
   17363 _ACEOF
   17364 if ac_fn_c_try_link "$LINENO"; then :
   17365   eval $cacheid=yes
   17366 else
   17367   eval $cacheid=no
   17368 fi
   17369 rm -f core conftest.err conftest.$ac_objext \
   17370     conftest$ac_exeext conftest.$ac_ext
   17371 fi
   17372 
   17373 
   17374 		CFLAGS="$xorg_testset_save_CFLAGS"
   17375 
   17376 		eval supported=\$$cacheid
   17377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17378 $as_echo "$supported" >&6; }
   17379 		if test "$supported" = "yes" ; then
   17380 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17381 			found="yes"
   17382 		fi
   17383 	fi
   17384 
   17385 
   17386 
   17387 
   17388 
   17389 
   17390 
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 
   17397 
   17398 
   17399 xorg_testset_save_CFLAGS="$CFLAGS"
   17400 
   17401 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17402 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17404 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17405 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17406   $as_echo_n "(cached) " >&6
   17407 else
   17408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17409 /* end confdefs.h.  */
   17410 int i;
   17411 _ACEOF
   17412 if ac_fn_c_try_compile "$LINENO"; then :
   17413   xorg_cv_cc_flag_unknown_warning_option=yes
   17414 else
   17415   xorg_cv_cc_flag_unknown_warning_option=no
   17416 fi
   17417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17418 fi
   17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17420 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17422 	CFLAGS="$xorg_testset_save_CFLAGS"
   17423 fi
   17424 
   17425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17428 	fi
   17429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17431 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17432 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17433   $as_echo_n "(cached) " >&6
   17434 else
   17435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17436 /* end confdefs.h.  */
   17437 int i;
   17438 _ACEOF
   17439 if ac_fn_c_try_compile "$LINENO"; then :
   17440   xorg_cv_cc_flag_unused_command_line_argument=yes
   17441 else
   17442   xorg_cv_cc_flag_unused_command_line_argument=no
   17443 fi
   17444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17445 fi
   17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17447 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17449 	CFLAGS="$xorg_testset_save_CFLAGS"
   17450 fi
   17451 
   17452 found="no"
   17453 
   17454 	if test $found = "no" ; then
   17455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17457 		fi
   17458 
   17459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17461 		fi
   17462 
   17463 		CFLAGS="$CFLAGS -Werror"
   17464 
   17465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17466 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17467 		cacheid=xorg_cv_cc_flag__Werror
   17468 		if eval \${$cacheid+:} false; then :
   17469   $as_echo_n "(cached) " >&6
   17470 else
   17471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17472 /* end confdefs.h.  */
   17473 int i;
   17474 int
   17475 main ()
   17476 {
   17477 
   17478   ;
   17479   return 0;
   17480 }
   17481 _ACEOF
   17482 if ac_fn_c_try_link "$LINENO"; then :
   17483   eval $cacheid=yes
   17484 else
   17485   eval $cacheid=no
   17486 fi
   17487 rm -f core conftest.err conftest.$ac_objext \
   17488     conftest$ac_exeext conftest.$ac_ext
   17489 fi
   17490 
   17491 
   17492 		CFLAGS="$xorg_testset_save_CFLAGS"
   17493 
   17494 		eval supported=\$$cacheid
   17495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17496 $as_echo "$supported" >&6; }
   17497 		if test "$supported" = "yes" ; then
   17498 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17499 			found="yes"
   17500 		fi
   17501 	fi
   17502 
   17503 	if test $found = "no" ; then
   17504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17506 		fi
   17507 
   17508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17510 		fi
   17511 
   17512 		CFLAGS="$CFLAGS -errwarn"
   17513 
   17514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17515 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17516 		cacheid=xorg_cv_cc_flag__errwarn
   17517 		if eval \${$cacheid+:} false; then :
   17518   $as_echo_n "(cached) " >&6
   17519 else
   17520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17521 /* end confdefs.h.  */
   17522 int i;
   17523 int
   17524 main ()
   17525 {
   17526 
   17527   ;
   17528   return 0;
   17529 }
   17530 _ACEOF
   17531 if ac_fn_c_try_link "$LINENO"; then :
   17532   eval $cacheid=yes
   17533 else
   17534   eval $cacheid=no
   17535 fi
   17536 rm -f core conftest.err conftest.$ac_objext \
   17537     conftest$ac_exeext conftest.$ac_ext
   17538 fi
   17539 
   17540 
   17541 		CFLAGS="$xorg_testset_save_CFLAGS"
   17542 
   17543 		eval supported=\$$cacheid
   17544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17545 $as_echo "$supported" >&6; }
   17546 		if test "$supported" = "yes" ; then
   17547 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17548 			found="yes"
   17549 		fi
   17550 	fi
   17551 
   17552 
   17553 
   17554 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17555 # activate it with -Werror, so we add it here explicitly.
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 xorg_testset_save_CFLAGS="$CFLAGS"
   17570 
   17571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17574 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17575 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17576   $as_echo_n "(cached) " >&6
   17577 else
   17578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17579 /* end confdefs.h.  */
   17580 int i;
   17581 _ACEOF
   17582 if ac_fn_c_try_compile "$LINENO"; then :
   17583   xorg_cv_cc_flag_unknown_warning_option=yes
   17584 else
   17585   xorg_cv_cc_flag_unknown_warning_option=no
   17586 fi
   17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17588 fi
   17589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17590 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17592 	CFLAGS="$xorg_testset_save_CFLAGS"
   17593 fi
   17594 
   17595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17598 	fi
   17599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17601 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17602 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17603   $as_echo_n "(cached) " >&6
   17604 else
   17605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17606 /* end confdefs.h.  */
   17607 int i;
   17608 _ACEOF
   17609 if ac_fn_c_try_compile "$LINENO"; then :
   17610   xorg_cv_cc_flag_unused_command_line_argument=yes
   17611 else
   17612   xorg_cv_cc_flag_unused_command_line_argument=no
   17613 fi
   17614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17615 fi
   17616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17617 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17619 	CFLAGS="$xorg_testset_save_CFLAGS"
   17620 fi
   17621 
   17622 found="no"
   17623 
   17624 	if test $found = "no" ; then
   17625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17627 		fi
   17628 
   17629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17631 		fi
   17632 
   17633 		CFLAGS="$CFLAGS -Werror=attributes"
   17634 
   17635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17636 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17637 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17638 		if eval \${$cacheid+:} false; then :
   17639   $as_echo_n "(cached) " >&6
   17640 else
   17641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17642 /* end confdefs.h.  */
   17643 int i;
   17644 int
   17645 main ()
   17646 {
   17647 
   17648   ;
   17649   return 0;
   17650 }
   17651 _ACEOF
   17652 if ac_fn_c_try_link "$LINENO"; then :
   17653   eval $cacheid=yes
   17654 else
   17655   eval $cacheid=no
   17656 fi
   17657 rm -f core conftest.err conftest.$ac_objext \
   17658     conftest$ac_exeext conftest.$ac_ext
   17659 fi
   17660 
   17661 
   17662 		CFLAGS="$xorg_testset_save_CFLAGS"
   17663 
   17664 		eval supported=\$$cacheid
   17665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17666 $as_echo "$supported" >&6; }
   17667 		if test "$supported" = "yes" ; then
   17668 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17669 			found="yes"
   17670 		fi
   17671 	fi
   17672 
   17673 
   17674 
   17675 if test "x$STRICT_COMPILE" = "xyes"; then
   17676     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17677     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17678 fi
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 cat >>confdefs.h <<_ACEOF
   17686 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17687 _ACEOF
   17688 
   17689 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17690 	if test "x$PVM" = "x"; then
   17691 		PVM="0"
   17692 	fi
   17693 
   17694 cat >>confdefs.h <<_ACEOF
   17695 #define PACKAGE_VERSION_MINOR $PVM
   17696 _ACEOF
   17697 
   17698 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17699 	if test "x$PVP" = "x"; then
   17700 		PVP="0"
   17701 	fi
   17702 
   17703 cat >>confdefs.h <<_ACEOF
   17704 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17705 _ACEOF
   17706 
   17707 
   17708 
   17709 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17710 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17711 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17712 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17713 
   17714 
   17715 
   17716 
   17717 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17718 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17719 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17720 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17721 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 if test x$APP_MAN_SUFFIX = x    ; then
   17729     APP_MAN_SUFFIX=1
   17730 fi
   17731 if test x$APP_MAN_DIR = x    ; then
   17732     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17733 fi
   17734 
   17735 if test x$LIB_MAN_SUFFIX = x    ; then
   17736     LIB_MAN_SUFFIX=3
   17737 fi
   17738 if test x$LIB_MAN_DIR = x    ; then
   17739     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17740 fi
   17741 
   17742 if test x$FILE_MAN_SUFFIX = x    ; then
   17743     case $host_os in
   17744 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17745 	*)		FILE_MAN_SUFFIX=5  ;;
   17746     esac
   17747 fi
   17748 if test x$FILE_MAN_DIR = x    ; then
   17749     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17750 fi
   17751 
   17752 if test x$MISC_MAN_SUFFIX = x    ; then
   17753     case $host_os in
   17754 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17755 	*)		MISC_MAN_SUFFIX=7  ;;
   17756     esac
   17757 fi
   17758 if test x$MISC_MAN_DIR = x    ; then
   17759     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17760 fi
   17761 
   17762 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17763     case $host_os in
   17764 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17765 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17766     esac
   17767 fi
   17768 if test x$DRIVER_MAN_DIR = x    ; then
   17769     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17770 fi
   17771 
   17772 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17773     case $host_os in
   17774 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17775 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17776     esac
   17777 fi
   17778 if test x$ADMIN_MAN_DIR = x    ; then
   17779     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17780 fi
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 XORG_MAN_PAGE="X Version 11"
   17797 
   17798 MAN_SUBSTS="\
   17799 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17800 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17801 	-e 's|__xservername__|Xorg|g' \
   17802 	-e 's|__xconfigfile__|xorg.conf|g' \
   17803 	-e 's|__projectroot__|\$(prefix)|g' \
   17804 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17805 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17806 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17807 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17808 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17809 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17810 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17811 
   17812 
   17813 
   17814 # Check whether --enable-silent-rules was given.
   17815 if test "${enable_silent_rules+set}" = set; then :
   17816   enableval=$enable_silent_rules;
   17817 fi
   17818 
   17819 case $enable_silent_rules in # (((
   17820   yes) AM_DEFAULT_VERBOSITY=0;;
   17821    no) AM_DEFAULT_VERBOSITY=1;;
   17822     *) AM_DEFAULT_VERBOSITY=0;;
   17823 esac
   17824 am_make=${MAKE-make}
   17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17826 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17827 if ${am_cv_make_support_nested_variables+:} false; then :
   17828   $as_echo_n "(cached) " >&6
   17829 else
   17830   if $as_echo 'TRUE=$(BAR$(V))
   17831 BAR0=false
   17832 BAR1=true
   17833 V=1
   17834 am__doit:
   17835 	@$(TRUE)
   17836 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17837   am_cv_make_support_nested_variables=yes
   17838 else
   17839   am_cv_make_support_nested_variables=no
   17840 fi
   17841 fi
   17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17843 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17844 if test $am_cv_make_support_nested_variables = yes; then
   17845     AM_V='$(V)'
   17846   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17847 else
   17848   AM_V=$AM_DEFAULT_VERBOSITY
   17849   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17850 fi
   17851 AM_BACKSLASH='\'
   17852 
   17853 
   17854 
   17855 # Require X.Org's font util macros 1.1 or later for XORG_FONTROOTDIR
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 
   17862 
   17863 
   17864 
   17865 
   17866 
   17867 
   17868 
   17869 
   17870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for root directory for font files" >&5
   17871 $as_echo_n "checking for root directory for font files... " >&6; }
   17872 
   17873 # Check whether --with-fontrootdir was given.
   17874 if test "${with_fontrootdir+set}" = set; then :
   17875   withval=$with_fontrootdir; FONTROOTDIR="$withval"
   17876 fi
   17877 
   17878 	# if --with-fontrootdir not specified...
   17879 	if test "x${FONTROOTDIR}" = "x"; then
   17880 		FONTROOTDIR=`$PKG_CONFIG --variable=fontrootdir fontutil`
   17881 	fi
   17882 	# ...and if pkg-config didn't find fontdir in fontutil.pc...
   17883 	if test "x${FONTROOTDIR}" = "x"; then
   17884 		FONTROOTDIR="${datadir}/fonts/X11"
   17885 	fi
   17886 
   17887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${FONTROOTDIR}" >&5
   17888 $as_echo "${FONTROOTDIR}" >&6; }
   17889 
   17890 
   17891 
   17892 
   17893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for directory for encodings files" >&5
   17894 $as_echo_n "checking for directory for encodings files... " >&6; }
   17895 
   17896 # Check whether --with-encodingsdir was given.
   17897 if test "${with_encodingsdir+set}" = set; then :
   17898   withval=$with_encodingsdir; ENCODINGSDIR="${withval}"
   17899 else
   17900   ENCODINGSDIR='${FONTROOTDIR}/encodings'
   17901 fi
   17902 
   17903 
   17904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ENCODINGSDIR}" >&5
   17905 $as_echo "${ENCODINGSDIR}" >&6; }
   17906 
   17907 
   17908 # zlib
   17909 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
   17910 if test "x$ac_cv_header_zlib_h" = xyes; then :
   17911 
   17912 else
   17913   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17915 as_fn_error $? "zlib.h is required to compile libfontenc
   17916 See \`config.log' for more details" "$LINENO" 5; }
   17917 fi
   17918 
   17919 
   17920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzclose in -lz" >&5
   17921 $as_echo_n "checking for gzclose in -lz... " >&6; }
   17922 if ${ac_cv_lib_z_gzclose+:} false; then :
   17923   $as_echo_n "(cached) " >&6
   17924 else
   17925   ac_check_lib_save_LIBS=$LIBS
   17926 LIBS="-lz  $LIBS"
   17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17928 /* end confdefs.h.  */
   17929 
   17930 /* Override any GCC internal prototype to avoid an error.
   17931    Use char because int might match the return type of a GCC
   17932    builtin and then its argument prototype would still apply.  */
   17933 #ifdef __cplusplus
   17934 extern "C"
   17935 #endif
   17936 char gzclose ();
   17937 int
   17938 main ()
   17939 {
   17940 return gzclose ();
   17941   ;
   17942   return 0;
   17943 }
   17944 _ACEOF
   17945 if ac_fn_c_try_link "$LINENO"; then :
   17946   ac_cv_lib_z_gzclose=yes
   17947 else
   17948   ac_cv_lib_z_gzclose=no
   17949 fi
   17950 rm -f core conftest.err conftest.$ac_objext \
   17951     conftest$ac_exeext conftest.$ac_ext
   17952 LIBS=$ac_check_lib_save_LIBS
   17953 fi
   17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzclose" >&5
   17955 $as_echo "$ac_cv_lib_z_gzclose" >&6; }
   17956 if test "x$ac_cv_lib_z_gzclose" = xyes; then :
   17957   cat >>confdefs.h <<_ACEOF
   17958 #define HAVE_LIBZ 1
   17959 _ACEOF
   17960 
   17961   LIBS="-lz $LIBS"
   17962 
   17963 else
   17964   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17966 as_fn_error $? "zlib is required to compile libfontenc
   17967 See \`config.log' for more details" "$LINENO" 5; }
   17968 fi
   17969 
   17970 
   17971 # Obtain compiler/linker options for depedencies
   17972 
   17973 pkg_failed=no
   17974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTENC" >&5
   17975 $as_echo_n "checking for FONTENC... " >&6; }
   17976 
   17977 if test -n "$FONTENC_CFLAGS"; then
   17978     pkg_cv_FONTENC_CFLAGS="$FONTENC_CFLAGS"
   17979  elif test -n "$PKG_CONFIG"; then
   17980     if test -n "$PKG_CONFIG" && \
   17981     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   17982   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   17983   ac_status=$?
   17984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17985   test $ac_status = 0; }; then
   17986   pkg_cv_FONTENC_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   17987 else
   17988   pkg_failed=yes
   17989 fi
   17990  else
   17991     pkg_failed=untried
   17992 fi
   17993 if test -n "$FONTENC_LIBS"; then
   17994     pkg_cv_FONTENC_LIBS="$FONTENC_LIBS"
   17995  elif test -n "$PKG_CONFIG"; then
   17996     if test -n "$PKG_CONFIG" && \
   17997     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   17998   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   17999   ac_status=$?
   18000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18001   test $ac_status = 0; }; then
   18002   pkg_cv_FONTENC_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   18003 else
   18004   pkg_failed=yes
   18005 fi
   18006  else
   18007     pkg_failed=untried
   18008 fi
   18009 
   18010 
   18011 
   18012 if test $pkg_failed = yes; then
   18013 
   18014 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18015         _pkg_short_errors_supported=yes
   18016 else
   18017         _pkg_short_errors_supported=no
   18018 fi
   18019         if test $_pkg_short_errors_supported = yes; then
   18020 	        FONTENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   18021         else
   18022 	        FONTENC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   18023         fi
   18024 	# Put the nasty error message in config.log where it belongs
   18025 	echo "$FONTENC_PKG_ERRORS" >&5
   18026 
   18027 	as_fn_error $? "Package requirements (xproto) were not met:
   18028 
   18029 $FONTENC_PKG_ERRORS
   18030 
   18031 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18032 installed software in a non-standard prefix.
   18033 
   18034 Alternatively, you may set the environment variables FONTENC_CFLAGS
   18035 and FONTENC_LIBS to avoid the need to call pkg-config.
   18036 See the pkg-config man page for more details.
   18037 " "$LINENO" 5
   18038 elif test $pkg_failed = untried; then
   18039 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18041 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18042 is in your PATH or set the PKG_CONFIG environment variable to the full
   18043 path to pkg-config.
   18044 
   18045 Alternatively, you may set the environment variables FONTENC_CFLAGS
   18046 and FONTENC_LIBS to avoid the need to call pkg-config.
   18047 See the pkg-config man page for more details.
   18048 
   18049 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18050 See \`config.log' for more details" "$LINENO" 5; }
   18051 else
   18052 	FONTENC_CFLAGS=$pkg_cv_FONTENC_CFLAGS
   18053 	FONTENC_LIBS=$pkg_cv_FONTENC_LIBS
   18054         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18055 $as_echo "yes" >&6; }
   18056 	:
   18057 fi
   18058 
   18059 # Allow checking code with lint, sparse, etc.
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 # Check whether --with-lint was given.
   18066 if test "${with_lint+set}" = set; then :
   18067   withval=$with_lint; use_lint=$withval
   18068 else
   18069   use_lint=no
   18070 fi
   18071 
   18072 
   18073 # Obtain platform specific info like program name and options
   18074 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18075 case $host_os in
   18076   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18077 	lint_name=splint
   18078 	lint_options="-badflag"
   18079 	;;
   18080   *freebsd* | *netbsd*)
   18081 	lint_name=lint
   18082 	lint_options="-u -b"
   18083 	;;
   18084   *solaris*)
   18085 	lint_name=lint
   18086 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18087 	;;
   18088 esac
   18089 
   18090 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18091 if test "x$use_lint" = x"yes" ; then
   18092    # Extract the first word of "$lint_name", so it can be a program name with args.
   18093 set dummy $lint_name; ac_word=$2
   18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18095 $as_echo_n "checking for $ac_word... " >&6; }
   18096 if ${ac_cv_path_LINT+:} false; then :
   18097   $as_echo_n "(cached) " >&6
   18098 else
   18099   case $LINT in
   18100   [\\/]* | ?:[\\/]*)
   18101   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18102   ;;
   18103   *)
   18104   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18105 for as_dir in $PATH
   18106 do
   18107   IFS=$as_save_IFS
   18108   test -z "$as_dir" && as_dir=.
   18109     for ac_exec_ext in '' $ac_executable_extensions; do
   18110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18111     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18113     break 2
   18114   fi
   18115 done
   18116   done
   18117 IFS=$as_save_IFS
   18118 
   18119   ;;
   18120 esac
   18121 fi
   18122 LINT=$ac_cv_path_LINT
   18123 if test -n "$LINT"; then
   18124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18125 $as_echo "$LINT" >&6; }
   18126 else
   18127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18128 $as_echo "no" >&6; }
   18129 fi
   18130 
   18131 
   18132    if test "x$LINT" = "x"; then
   18133         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18134    fi
   18135 elif test "x$use_lint" = x"no" ; then
   18136    if test "x$LINT" != "x"; then
   18137       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18138 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18139    fi
   18140 else
   18141    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18142 fi
   18143 
   18144 # User supplied flags override default flags
   18145 if test "x$LINT_FLAGS" != "x"; then
   18146    lint_options=$LINT_FLAGS
   18147 fi
   18148 
   18149 LINT_FLAGS=$lint_options
   18150 
   18151  if test "x$LINT" != x; then
   18152   LINT_TRUE=
   18153   LINT_FALSE='#'
   18154 else
   18155   LINT_TRUE='#'
   18156   LINT_FALSE=
   18157 fi
   18158 
   18159 
   18160 
   18161 LINT_FLAGS="${LINT_FLAGS} ${FONTENC_CFLAGS}"
   18162 
   18163 ac_config_files="$ac_config_files Makefile src/Makefile fontenc.pc"
   18164 
   18165 cat >confcache <<\_ACEOF
   18166 # This file is a shell script that caches the results of configure
   18167 # tests run on this system so they can be shared between configure
   18168 # scripts and configure runs, see configure's option --config-cache.
   18169 # It is not useful on other systems.  If it contains results you don't
   18170 # want to keep, you may remove or edit it.
   18171 #
   18172 # config.status only pays attention to the cache file if you give it
   18173 # the --recheck option to rerun configure.
   18174 #
   18175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18177 # following values.
   18178 
   18179 _ACEOF
   18180 
   18181 # The following way of writing the cache mishandles newlines in values,
   18182 # but we know of no workaround that is simple, portable, and efficient.
   18183 # So, we kill variables containing newlines.
   18184 # Ultrix sh set writes to stderr and can't be redirected directly,
   18185 # and sets the high bit in the cache file unless we assign to the vars.
   18186 (
   18187   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18188     eval ac_val=\$$ac_var
   18189     case $ac_val in #(
   18190     *${as_nl}*)
   18191       case $ac_var in #(
   18192       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18193 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18194       esac
   18195       case $ac_var in #(
   18196       _ | IFS | as_nl) ;; #(
   18197       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18198       *) { eval $ac_var=; unset $ac_var;} ;;
   18199       esac ;;
   18200     esac
   18201   done
   18202 
   18203   (set) 2>&1 |
   18204     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18205     *${as_nl}ac_space=\ *)
   18206       # `set' does not quote correctly, so add quotes: double-quote
   18207       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18208       sed -n \
   18209 	"s/'/'\\\\''/g;
   18210 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18211       ;; #(
   18212     *)
   18213       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18214       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18215       ;;
   18216     esac |
   18217     sort
   18218 ) |
   18219   sed '
   18220      /^ac_cv_env_/b end
   18221      t clear
   18222      :clear
   18223      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18224      t end
   18225      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18226      :end' >>confcache
   18227 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18228   if test -w "$cache_file"; then
   18229     if test "x$cache_file" != "x/dev/null"; then
   18230       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18231 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18232       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18233 	cat confcache >"$cache_file"
   18234       else
   18235         case $cache_file in #(
   18236         */* | ?:*)
   18237 	  mv -f confcache "$cache_file"$$ &&
   18238 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18239         *)
   18240 	  mv -f confcache "$cache_file" ;;
   18241 	esac
   18242       fi
   18243     fi
   18244   else
   18245     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18246 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18247   fi
   18248 fi
   18249 rm -f confcache
   18250 
   18251 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18252 # Let make expand exec_prefix.
   18253 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18254 
   18255 DEFS=-DHAVE_CONFIG_H
   18256 
   18257 ac_libobjs=
   18258 ac_ltlibobjs=
   18259 U=
   18260 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18261   # 1. Remove the extension, and $U if already installed.
   18262   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18263   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18264   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18265   #    will be set to the directory where LIBOBJS objects are built.
   18266   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18267   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18268 done
   18269 LIBOBJS=$ac_libobjs
   18270 
   18271 LTLIBOBJS=$ac_ltlibobjs
   18272 
   18273 
   18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18275 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18276    if test -n "$am_sleep_pid"; then
   18277      # Hide warnings about reused PIDs.
   18278      wait $am_sleep_pid 2>/dev/null
   18279    fi
   18280    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18281 $as_echo "done" >&6; }
   18282  if test -n "$EXEEXT"; then
   18283   am__EXEEXT_TRUE=
   18284   am__EXEEXT_FALSE='#'
   18285 else
   18286   am__EXEEXT_TRUE='#'
   18287   am__EXEEXT_FALSE=
   18288 fi
   18289 
   18290 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18291   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18293 fi
   18294 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18295   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18297 fi
   18298 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18299   as_fn_error $? "conditional \"LINT\" was never defined.
   18300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18301 fi
   18302 
   18303 : "${CONFIG_STATUS=./config.status}"
   18304 ac_write_fail=0
   18305 ac_clean_files_save=$ac_clean_files
   18306 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18307 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18308 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18309 as_write_fail=0
   18310 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18311 #! $SHELL
   18312 # Generated by $as_me.
   18313 # Run this file to recreate the current configuration.
   18314 # Compiler output produced by configure, useful for debugging
   18315 # configure, is in config.log if it exists.
   18316 
   18317 debug=false
   18318 ac_cs_recheck=false
   18319 ac_cs_silent=false
   18320 
   18321 SHELL=\${CONFIG_SHELL-$SHELL}
   18322 export SHELL
   18323 _ASEOF
   18324 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18325 ## -------------------- ##
   18326 ## M4sh Initialization. ##
   18327 ## -------------------- ##
   18328 
   18329 # Be more Bourne compatible
   18330 DUALCASE=1; export DUALCASE # for MKS sh
   18331 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18332   emulate sh
   18333   NULLCMD=:
   18334   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18335   # is contrary to our usage.  Disable this feature.
   18336   alias -g '${1+"$@"}'='"$@"'
   18337   setopt NO_GLOB_SUBST
   18338 else
   18339   case `(set -o) 2>/dev/null` in #(
   18340   *posix*) :
   18341     set -o posix ;; #(
   18342   *) :
   18343      ;;
   18344 esac
   18345 fi
   18346 
   18347 
   18348 as_nl='
   18349 '
   18350 export as_nl
   18351 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18352 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18354 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18355 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18356 # but without wasting forks for bash or zsh.
   18357 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18358     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18359   as_echo='print -r --'
   18360   as_echo_n='print -rn --'
   18361 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18362   as_echo='printf %s\n'
   18363   as_echo_n='printf %s'
   18364 else
   18365   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18366     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18367     as_echo_n='/usr/ucb/echo -n'
   18368   else
   18369     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18370     as_echo_n_body='eval
   18371       arg=$1;
   18372       case $arg in #(
   18373       *"$as_nl"*)
   18374 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18375 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18376       esac;
   18377       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18378     '
   18379     export as_echo_n_body
   18380     as_echo_n='sh -c $as_echo_n_body as_echo'
   18381   fi
   18382   export as_echo_body
   18383   as_echo='sh -c $as_echo_body as_echo'
   18384 fi
   18385 
   18386 # The user is always right.
   18387 if test "${PATH_SEPARATOR+set}" != set; then
   18388   PATH_SEPARATOR=:
   18389   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18390     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18391       PATH_SEPARATOR=';'
   18392   }
   18393 fi
   18394 
   18395 
   18396 # IFS
   18397 # We need space, tab and new line, in precisely that order.  Quoting is
   18398 # there to prevent editors from complaining about space-tab.
   18399 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18400 # splitting by setting IFS to empty value.)
   18401 IFS=" ""	$as_nl"
   18402 
   18403 # Find who we are.  Look in the path if we contain no directory separator.
   18404 as_myself=
   18405 case $0 in #((
   18406   *[\\/]* ) as_myself=$0 ;;
   18407   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18408 for as_dir in $PATH
   18409 do
   18410   IFS=$as_save_IFS
   18411   test -z "$as_dir" && as_dir=.
   18412     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18413   done
   18414 IFS=$as_save_IFS
   18415 
   18416      ;;
   18417 esac
   18418 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18419 # in which case we are not to be found in the path.
   18420 if test "x$as_myself" = x; then
   18421   as_myself=$0
   18422 fi
   18423 if test ! -f "$as_myself"; then
   18424   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18425   exit 1
   18426 fi
   18427 
   18428 # Unset variables that we do not need and which cause bugs (e.g. in
   18429 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18430 # suppresses any "Segmentation fault" message there.  '((' could
   18431 # trigger a bug in pdksh 5.2.14.
   18432 for as_var in BASH_ENV ENV MAIL MAILPATH
   18433 do eval test x\${$as_var+set} = xset \
   18434   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18435 done
   18436 PS1='$ '
   18437 PS2='> '
   18438 PS4='+ '
   18439 
   18440 # NLS nuisances.
   18441 LC_ALL=C
   18442 export LC_ALL
   18443 LANGUAGE=C
   18444 export LANGUAGE
   18445 
   18446 # CDPATH.
   18447 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18448 
   18449 
   18450 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18451 # ----------------------------------------
   18452 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18453 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18454 # script with STATUS, using 1 if that was 0.
   18455 as_fn_error ()
   18456 {
   18457   as_status=$1; test $as_status -eq 0 && as_status=1
   18458   if test "$4"; then
   18459     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18460     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18461   fi
   18462   $as_echo "$as_me: error: $2" >&2
   18463   as_fn_exit $as_status
   18464 } # as_fn_error
   18465 
   18466 
   18467 # as_fn_set_status STATUS
   18468 # -----------------------
   18469 # Set $? to STATUS, without forking.
   18470 as_fn_set_status ()
   18471 {
   18472   return $1
   18473 } # as_fn_set_status
   18474 
   18475 # as_fn_exit STATUS
   18476 # -----------------
   18477 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18478 as_fn_exit ()
   18479 {
   18480   set +e
   18481   as_fn_set_status $1
   18482   exit $1
   18483 } # as_fn_exit
   18484 
   18485 # as_fn_unset VAR
   18486 # ---------------
   18487 # Portably unset VAR.
   18488 as_fn_unset ()
   18489 {
   18490   { eval $1=; unset $1;}
   18491 }
   18492 as_unset=as_fn_unset
   18493 # as_fn_append VAR VALUE
   18494 # ----------------------
   18495 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18496 # advantage of any shell optimizations that allow amortized linear growth over
   18497 # repeated appends, instead of the typical quadratic growth present in naive
   18498 # implementations.
   18499 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18500   eval 'as_fn_append ()
   18501   {
   18502     eval $1+=\$2
   18503   }'
   18504 else
   18505   as_fn_append ()
   18506   {
   18507     eval $1=\$$1\$2
   18508   }
   18509 fi # as_fn_append
   18510 
   18511 # as_fn_arith ARG...
   18512 # ------------------
   18513 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18514 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18515 # must be portable across $(()) and expr.
   18516 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18517   eval 'as_fn_arith ()
   18518   {
   18519     as_val=$(( $* ))
   18520   }'
   18521 else
   18522   as_fn_arith ()
   18523   {
   18524     as_val=`expr "$@" || test $? -eq 1`
   18525   }
   18526 fi # as_fn_arith
   18527 
   18528 
   18529 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18530    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18531   as_expr=expr
   18532 else
   18533   as_expr=false
   18534 fi
   18535 
   18536 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18537   as_basename=basename
   18538 else
   18539   as_basename=false
   18540 fi
   18541 
   18542 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18543   as_dirname=dirname
   18544 else
   18545   as_dirname=false
   18546 fi
   18547 
   18548 as_me=`$as_basename -- "$0" ||
   18549 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18550 	 X"$0" : 'X\(//\)$' \| \
   18551 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18552 $as_echo X/"$0" |
   18553     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18554 	    s//\1/
   18555 	    q
   18556 	  }
   18557 	  /^X\/\(\/\/\)$/{
   18558 	    s//\1/
   18559 	    q
   18560 	  }
   18561 	  /^X\/\(\/\).*/{
   18562 	    s//\1/
   18563 	    q
   18564 	  }
   18565 	  s/.*/./; q'`
   18566 
   18567 # Avoid depending upon Character Ranges.
   18568 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18569 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18570 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18571 as_cr_digits='0123456789'
   18572 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18573 
   18574 ECHO_C= ECHO_N= ECHO_T=
   18575 case `echo -n x` in #(((((
   18576 -n*)
   18577   case `echo 'xy\c'` in
   18578   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18579   xy)  ECHO_C='\c';;
   18580   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18581        ECHO_T='	';;
   18582   esac;;
   18583 *)
   18584   ECHO_N='-n';;
   18585 esac
   18586 
   18587 rm -f conf$$ conf$$.exe conf$$.file
   18588 if test -d conf$$.dir; then
   18589   rm -f conf$$.dir/conf$$.file
   18590 else
   18591   rm -f conf$$.dir
   18592   mkdir conf$$.dir 2>/dev/null
   18593 fi
   18594 if (echo >conf$$.file) 2>/dev/null; then
   18595   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18596     as_ln_s='ln -s'
   18597     # ... but there are two gotchas:
   18598     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18599     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18600     # In both cases, we have to default to `cp -pR'.
   18601     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18602       as_ln_s='cp -pR'
   18603   elif ln conf$$.file conf$$ 2>/dev/null; then
   18604     as_ln_s=ln
   18605   else
   18606     as_ln_s='cp -pR'
   18607   fi
   18608 else
   18609   as_ln_s='cp -pR'
   18610 fi
   18611 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18612 rmdir conf$$.dir 2>/dev/null
   18613 
   18614 
   18615 # as_fn_mkdir_p
   18616 # -------------
   18617 # Create "$as_dir" as a directory, including parents if necessary.
   18618 as_fn_mkdir_p ()
   18619 {
   18620 
   18621   case $as_dir in #(
   18622   -*) as_dir=./$as_dir;;
   18623   esac
   18624   test -d "$as_dir" || eval $as_mkdir_p || {
   18625     as_dirs=
   18626     while :; do
   18627       case $as_dir in #(
   18628       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18629       *) as_qdir=$as_dir;;
   18630       esac
   18631       as_dirs="'$as_qdir' $as_dirs"
   18632       as_dir=`$as_dirname -- "$as_dir" ||
   18633 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18634 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18635 	 X"$as_dir" : 'X\(//\)$' \| \
   18636 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18637 $as_echo X"$as_dir" |
   18638     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18639 	    s//\1/
   18640 	    q
   18641 	  }
   18642 	  /^X\(\/\/\)[^/].*/{
   18643 	    s//\1/
   18644 	    q
   18645 	  }
   18646 	  /^X\(\/\/\)$/{
   18647 	    s//\1/
   18648 	    q
   18649 	  }
   18650 	  /^X\(\/\).*/{
   18651 	    s//\1/
   18652 	    q
   18653 	  }
   18654 	  s/.*/./; q'`
   18655       test -d "$as_dir" && break
   18656     done
   18657     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18658   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18659 
   18660 
   18661 } # as_fn_mkdir_p
   18662 if mkdir -p . 2>/dev/null; then
   18663   as_mkdir_p='mkdir -p "$as_dir"'
   18664 else
   18665   test -d ./-p && rmdir ./-p
   18666   as_mkdir_p=false
   18667 fi
   18668 
   18669 
   18670 # as_fn_executable_p FILE
   18671 # -----------------------
   18672 # Test if FILE is an executable regular file.
   18673 as_fn_executable_p ()
   18674 {
   18675   test -f "$1" && test -x "$1"
   18676 } # as_fn_executable_p
   18677 as_test_x='test -x'
   18678 as_executable_p=as_fn_executable_p
   18679 
   18680 # Sed expression to map a string onto a valid CPP name.
   18681 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18682 
   18683 # Sed expression to map a string onto a valid variable name.
   18684 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18685 
   18686 
   18687 exec 6>&1
   18688 ## ----------------------------------- ##
   18689 ## Main body of $CONFIG_STATUS script. ##
   18690 ## ----------------------------------- ##
   18691 _ASEOF
   18692 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18693 
   18694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18695 # Save the log message, to keep $0 and so on meaningful, and to
   18696 # report actual input values of CONFIG_FILES etc. instead of their
   18697 # values after options handling.
   18698 ac_log="
   18699 This file was extended by libfontenc $as_me 1.1.3, which was
   18700 generated by GNU Autoconf 2.69.  Invocation command line was
   18701 
   18702   CONFIG_FILES    = $CONFIG_FILES
   18703   CONFIG_HEADERS  = $CONFIG_HEADERS
   18704   CONFIG_LINKS    = $CONFIG_LINKS
   18705   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18706   $ $0 $@
   18707 
   18708 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18709 "
   18710 
   18711 _ACEOF
   18712 
   18713 case $ac_config_files in *"
   18714 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18715 esac
   18716 
   18717 case $ac_config_headers in *"
   18718 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18719 esac
   18720 
   18721 
   18722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18723 # Files that config.status was made for.
   18724 config_files="$ac_config_files"
   18725 config_headers="$ac_config_headers"
   18726 config_commands="$ac_config_commands"
   18727 
   18728 _ACEOF
   18729 
   18730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18731 ac_cs_usage="\
   18732 \`$as_me' instantiates files and other configuration actions
   18733 from templates according to the current configuration.  Unless the files
   18734 and actions are specified as TAGs, all are instantiated by default.
   18735 
   18736 Usage: $0 [OPTION]... [TAG]...
   18737 
   18738   -h, --help       print this help, then exit
   18739   -V, --version    print version number and configuration settings, then exit
   18740       --config     print configuration, then exit
   18741   -q, --quiet, --silent
   18742                    do not print progress messages
   18743   -d, --debug      don't remove temporary files
   18744       --recheck    update $as_me by reconfiguring in the same conditions
   18745       --file=FILE[:TEMPLATE]
   18746                    instantiate the configuration file FILE
   18747       --header=FILE[:TEMPLATE]
   18748                    instantiate the configuration header FILE
   18749 
   18750 Configuration files:
   18751 $config_files
   18752 
   18753 Configuration headers:
   18754 $config_headers
   18755 
   18756 Configuration commands:
   18757 $config_commands
   18758 
   18759 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18760 
   18761 _ACEOF
   18762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18763 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18764 ac_cs_version="\\
   18765 libfontenc config.status 1.1.3
   18766 configured by $0, generated by GNU Autoconf 2.69,
   18767   with options \\"\$ac_cs_config\\"
   18768 
   18769 Copyright (C) 2012 Free Software Foundation, Inc.
   18770 This config.status script is free software; the Free Software Foundation
   18771 gives unlimited permission to copy, distribute and modify it."
   18772 
   18773 ac_pwd='$ac_pwd'
   18774 srcdir='$srcdir'
   18775 INSTALL='$INSTALL'
   18776 MKDIR_P='$MKDIR_P'
   18777 AWK='$AWK'
   18778 test -n "\$AWK" || AWK=awk
   18779 _ACEOF
   18780 
   18781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18782 # The default lists apply if the user does not specify any file.
   18783 ac_need_defaults=:
   18784 while test $# != 0
   18785 do
   18786   case $1 in
   18787   --*=?*)
   18788     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18789     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18790     ac_shift=:
   18791     ;;
   18792   --*=)
   18793     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18794     ac_optarg=
   18795     ac_shift=:
   18796     ;;
   18797   *)
   18798     ac_option=$1
   18799     ac_optarg=$2
   18800     ac_shift=shift
   18801     ;;
   18802   esac
   18803 
   18804   case $ac_option in
   18805   # Handling of the options.
   18806   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18807     ac_cs_recheck=: ;;
   18808   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18809     $as_echo "$ac_cs_version"; exit ;;
   18810   --config | --confi | --conf | --con | --co | --c )
   18811     $as_echo "$ac_cs_config"; exit ;;
   18812   --debug | --debu | --deb | --de | --d | -d )
   18813     debug=: ;;
   18814   --file | --fil | --fi | --f )
   18815     $ac_shift
   18816     case $ac_optarg in
   18817     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18818     '') as_fn_error $? "missing file argument" ;;
   18819     esac
   18820     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18821     ac_need_defaults=false;;
   18822   --header | --heade | --head | --hea )
   18823     $ac_shift
   18824     case $ac_optarg in
   18825     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18826     esac
   18827     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18828     ac_need_defaults=false;;
   18829   --he | --h)
   18830     # Conflict between --help and --header
   18831     as_fn_error $? "ambiguous option: \`$1'
   18832 Try \`$0 --help' for more information.";;
   18833   --help | --hel | -h )
   18834     $as_echo "$ac_cs_usage"; exit ;;
   18835   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18836   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18837     ac_cs_silent=: ;;
   18838 
   18839   # This is an error.
   18840   -*) as_fn_error $? "unrecognized option: \`$1'
   18841 Try \`$0 --help' for more information." ;;
   18842 
   18843   *) as_fn_append ac_config_targets " $1"
   18844      ac_need_defaults=false ;;
   18845 
   18846   esac
   18847   shift
   18848 done
   18849 
   18850 ac_configure_extra_args=
   18851 
   18852 if $ac_cs_silent; then
   18853   exec 6>/dev/null
   18854   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18855 fi
   18856 
   18857 _ACEOF
   18858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18859 if \$ac_cs_recheck; then
   18860   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18861   shift
   18862   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18863   CONFIG_SHELL='$SHELL'
   18864   export CONFIG_SHELL
   18865   exec "\$@"
   18866 fi
   18867 
   18868 _ACEOF
   18869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18870 exec 5>>config.log
   18871 {
   18872   echo
   18873   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18874 ## Running $as_me. ##
   18875 _ASBOX
   18876   $as_echo "$ac_log"
   18877 } >&5
   18878 
   18879 _ACEOF
   18880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18881 #
   18882 # INIT-COMMANDS
   18883 #
   18884 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18885 
   18886 
   18887 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18888 # if CDPATH is set.
   18889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18890 
   18891 sed_quote_subst='$sed_quote_subst'
   18892 double_quote_subst='$double_quote_subst'
   18893 delay_variable_subst='$delay_variable_subst'
   18894 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18895 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18896 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18897 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18898 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18899 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18900 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18901 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18902 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18903 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18904 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18905 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18906 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18907 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18908 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18909 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18910 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18911 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18912 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18913 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18914 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18915 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18916 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18917 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18918 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18919 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18920 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18921 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18922 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18923 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18924 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18925 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18926 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18927 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18928 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18929 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18930 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18931 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18932 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18933 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18934 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18935 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18936 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18937 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18938 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18939 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18940 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18941 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18942 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18943 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18944 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18945 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18946 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18947 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18948 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18949 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18950 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"`'
   18951 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18952 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18953 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18954 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18955 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18956 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18957 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18958 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18959 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18960 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18961 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18962 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18963 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18964 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18965 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18966 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18967 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18968 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18969 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18970 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18971 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18972 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18973 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18974 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18975 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18976 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18977 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18978 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18979 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18980 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18981 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18982 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18983 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18984 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18985 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18986 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18987 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18988 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18989 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18990 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18991 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18992 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18993 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18994 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18995 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18996 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18997 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18998 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18999 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19000 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19001 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19002 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19003 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19004 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19005 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19006 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19007 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19008 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19009 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19010 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19011 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19012 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19013 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19014 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19015 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19016 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19017 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19018 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19019 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19020 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19021 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19022 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19023 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19024 
   19025 LTCC='$LTCC'
   19026 LTCFLAGS='$LTCFLAGS'
   19027 compiler='$compiler_DEFAULT'
   19028 
   19029 # A function that is used when there is no print builtin or printf.
   19030 func_fallback_echo ()
   19031 {
   19032   eval 'cat <<_LTECHO_EOF
   19033 \$1
   19034 _LTECHO_EOF'
   19035 }
   19036 
   19037 # Quote evaled strings.
   19038 for var in SHELL \
   19039 ECHO \
   19040 PATH_SEPARATOR \
   19041 SED \
   19042 GREP \
   19043 EGREP \
   19044 FGREP \
   19045 LD \
   19046 NM \
   19047 LN_S \
   19048 lt_SP2NL \
   19049 lt_NL2SP \
   19050 reload_flag \
   19051 OBJDUMP \
   19052 deplibs_check_method \
   19053 file_magic_cmd \
   19054 file_magic_glob \
   19055 want_nocaseglob \
   19056 DLLTOOL \
   19057 sharedlib_from_linklib_cmd \
   19058 AR \
   19059 AR_FLAGS \
   19060 archiver_list_spec \
   19061 STRIP \
   19062 RANLIB \
   19063 CC \
   19064 CFLAGS \
   19065 compiler \
   19066 lt_cv_sys_global_symbol_pipe \
   19067 lt_cv_sys_global_symbol_to_cdecl \
   19068 lt_cv_sys_global_symbol_to_c_name_address \
   19069 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19070 nm_file_list_spec \
   19071 lt_prog_compiler_no_builtin_flag \
   19072 lt_prog_compiler_pic \
   19073 lt_prog_compiler_wl \
   19074 lt_prog_compiler_static \
   19075 lt_cv_prog_compiler_c_o \
   19076 need_locks \
   19077 MANIFEST_TOOL \
   19078 DSYMUTIL \
   19079 NMEDIT \
   19080 LIPO \
   19081 OTOOL \
   19082 OTOOL64 \
   19083 shrext_cmds \
   19084 export_dynamic_flag_spec \
   19085 whole_archive_flag_spec \
   19086 compiler_needs_object \
   19087 with_gnu_ld \
   19088 allow_undefined_flag \
   19089 no_undefined_flag \
   19090 hardcode_libdir_flag_spec \
   19091 hardcode_libdir_separator \
   19092 exclude_expsyms \
   19093 include_expsyms \
   19094 file_list_spec \
   19095 variables_saved_for_relink \
   19096 libname_spec \
   19097 library_names_spec \
   19098 soname_spec \
   19099 install_override_mode \
   19100 finish_eval \
   19101 old_striplib \
   19102 striplib; do
   19103     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19104     *[\\\\\\\`\\"\\\$]*)
   19105       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19106       ;;
   19107     *)
   19108       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19109       ;;
   19110     esac
   19111 done
   19112 
   19113 # Double-quote double-evaled strings.
   19114 for var in reload_cmds \
   19115 old_postinstall_cmds \
   19116 old_postuninstall_cmds \
   19117 old_archive_cmds \
   19118 extract_expsyms_cmds \
   19119 old_archive_from_new_cmds \
   19120 old_archive_from_expsyms_cmds \
   19121 archive_cmds \
   19122 archive_expsym_cmds \
   19123 module_cmds \
   19124 module_expsym_cmds \
   19125 export_symbols_cmds \
   19126 prelink_cmds \
   19127 postlink_cmds \
   19128 postinstall_cmds \
   19129 postuninstall_cmds \
   19130 finish_cmds \
   19131 sys_lib_search_path_spec \
   19132 sys_lib_dlsearch_path_spec; do
   19133     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19134     *[\\\\\\\`\\"\\\$]*)
   19135       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19136       ;;
   19137     *)
   19138       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19139       ;;
   19140     esac
   19141 done
   19142 
   19143 ac_aux_dir='$ac_aux_dir'
   19144 xsi_shell='$xsi_shell'
   19145 lt_shell_append='$lt_shell_append'
   19146 
   19147 # See if we are running on zsh, and set the options which allow our
   19148 # commands through without removal of \ escapes INIT.
   19149 if test -n "\${ZSH_VERSION+set}" ; then
   19150    setopt NO_GLOB_SUBST
   19151 fi
   19152 
   19153 
   19154     PACKAGE='$PACKAGE'
   19155     VERSION='$VERSION'
   19156     TIMESTAMP='$TIMESTAMP'
   19157     RM='$RM'
   19158     ofile='$ofile'
   19159 
   19160 
   19161 
   19162 
   19163 _ACEOF
   19164 
   19165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19166 
   19167 # Handling of arguments.
   19168 for ac_config_target in $ac_config_targets
   19169 do
   19170   case $ac_config_target in
   19171     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19172     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19173     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19174     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19175     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19176     "fontenc.pc") CONFIG_FILES="$CONFIG_FILES fontenc.pc" ;;
   19177 
   19178   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19179   esac
   19180 done
   19181 
   19182 
   19183 # If the user did not use the arguments to specify the items to instantiate,
   19184 # then the envvar interface is used.  Set only those that are not.
   19185 # We use the long form for the default assignment because of an extremely
   19186 # bizarre bug on SunOS 4.1.3.
   19187 if $ac_need_defaults; then
   19188   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19189   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19190   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19191 fi
   19192 
   19193 # Have a temporary directory for convenience.  Make it in the build tree
   19194 # simply because there is no reason against having it here, and in addition,
   19195 # creating and moving files from /tmp can sometimes cause problems.
   19196 # Hook for its removal unless debugging.
   19197 # Note that there is a small window in which the directory will not be cleaned:
   19198 # after its creation but before its name has been assigned to `$tmp'.
   19199 $debug ||
   19200 {
   19201   tmp= ac_tmp=
   19202   trap 'exit_status=$?
   19203   : "${ac_tmp:=$tmp}"
   19204   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19205 ' 0
   19206   trap 'as_fn_exit 1' 1 2 13 15
   19207 }
   19208 # Create a (secure) tmp directory for tmp files.
   19209 
   19210 {
   19211   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19212   test -d "$tmp"
   19213 }  ||
   19214 {
   19215   tmp=./conf$$-$RANDOM
   19216   (umask 077 && mkdir "$tmp")
   19217 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19218 ac_tmp=$tmp
   19219 
   19220 # Set up the scripts for CONFIG_FILES section.
   19221 # No need to generate them if there are no CONFIG_FILES.
   19222 # This happens for instance with `./config.status config.h'.
   19223 if test -n "$CONFIG_FILES"; then
   19224 
   19225 
   19226 ac_cr=`echo X | tr X '\015'`
   19227 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19228 # But we know of no other shell where ac_cr would be empty at this
   19229 # point, so we can use a bashism as a fallback.
   19230 if test "x$ac_cr" = x; then
   19231   eval ac_cr=\$\'\\r\'
   19232 fi
   19233 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19234 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19235   ac_cs_awk_cr='\\r'
   19236 else
   19237   ac_cs_awk_cr=$ac_cr
   19238 fi
   19239 
   19240 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19241 _ACEOF
   19242 
   19243 
   19244 {
   19245   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19246   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19247   echo "_ACEOF"
   19248 } >conf$$subs.sh ||
   19249   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19250 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19251 ac_delim='%!_!# '
   19252 for ac_last_try in false false false false false :; do
   19253   . ./conf$$subs.sh ||
   19254     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19255 
   19256   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19257   if test $ac_delim_n = $ac_delim_num; then
   19258     break
   19259   elif $ac_last_try; then
   19260     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19261   else
   19262     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19263   fi
   19264 done
   19265 rm -f conf$$subs.sh
   19266 
   19267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19268 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19269 _ACEOF
   19270 sed -n '
   19271 h
   19272 s/^/S["/; s/!.*/"]=/
   19273 p
   19274 g
   19275 s/^[^!]*!//
   19276 :repl
   19277 t repl
   19278 s/'"$ac_delim"'$//
   19279 t delim
   19280 :nl
   19281 h
   19282 s/\(.\{148\}\)..*/\1/
   19283 t more1
   19284 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19285 p
   19286 n
   19287 b repl
   19288 :more1
   19289 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19290 p
   19291 g
   19292 s/.\{148\}//
   19293 t nl
   19294 :delim
   19295 h
   19296 s/\(.\{148\}\)..*/\1/
   19297 t more2
   19298 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19299 p
   19300 b
   19301 :more2
   19302 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19303 p
   19304 g
   19305 s/.\{148\}//
   19306 t delim
   19307 ' <conf$$subs.awk | sed '
   19308 /^[^""]/{
   19309   N
   19310   s/\n//
   19311 }
   19312 ' >>$CONFIG_STATUS || ac_write_fail=1
   19313 rm -f conf$$subs.awk
   19314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19315 _ACAWK
   19316 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19317   for (key in S) S_is_set[key] = 1
   19318   FS = ""
   19319 
   19320 }
   19321 {
   19322   line = $ 0
   19323   nfields = split(line, field, "@")
   19324   substed = 0
   19325   len = length(field[1])
   19326   for (i = 2; i < nfields; i++) {
   19327     key = field[i]
   19328     keylen = length(key)
   19329     if (S_is_set[key]) {
   19330       value = S[key]
   19331       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19332       len += length(value) + length(field[++i])
   19333       substed = 1
   19334     } else
   19335       len += 1 + keylen
   19336   }
   19337 
   19338   print line
   19339 }
   19340 
   19341 _ACAWK
   19342 _ACEOF
   19343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19344 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19345   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19346 else
   19347   cat
   19348 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19349   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19350 _ACEOF
   19351 
   19352 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19353 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19354 # trailing colons and then remove the whole line if VPATH becomes empty
   19355 # (actually we leave an empty line to preserve line numbers).
   19356 if test "x$srcdir" = x.; then
   19357   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19358 h
   19359 s///
   19360 s/^/:/
   19361 s/[	 ]*$/:/
   19362 s/:\$(srcdir):/:/g
   19363 s/:\${srcdir}:/:/g
   19364 s/:@srcdir@:/:/g
   19365 s/^:*//
   19366 s/:*$//
   19367 x
   19368 s/\(=[	 ]*\).*/\1/
   19369 G
   19370 s/\n//
   19371 s/^[^=]*=[	 ]*$//
   19372 }'
   19373 fi
   19374 
   19375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19376 fi # test -n "$CONFIG_FILES"
   19377 
   19378 # Set up the scripts for CONFIG_HEADERS section.
   19379 # No need to generate them if there are no CONFIG_HEADERS.
   19380 # This happens for instance with `./config.status Makefile'.
   19381 if test -n "$CONFIG_HEADERS"; then
   19382 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19383 BEGIN {
   19384 _ACEOF
   19385 
   19386 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19387 # here-document in config.status, that substitutes the proper values into
   19388 # config.h.in to produce config.h.
   19389 
   19390 # Create a delimiter string that does not exist in confdefs.h, to ease
   19391 # handling of long lines.
   19392 ac_delim='%!_!# '
   19393 for ac_last_try in false false :; do
   19394   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19395   if test -z "$ac_tt"; then
   19396     break
   19397   elif $ac_last_try; then
   19398     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19399   else
   19400     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19401   fi
   19402 done
   19403 
   19404 # For the awk script, D is an array of macro values keyed by name,
   19405 # likewise P contains macro parameters if any.  Preserve backslash
   19406 # newline sequences.
   19407 
   19408 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19409 sed -n '
   19410 s/.\{148\}/&'"$ac_delim"'/g
   19411 t rset
   19412 :rset
   19413 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19414 t def
   19415 d
   19416 :def
   19417 s/\\$//
   19418 t bsnl
   19419 s/["\\]/\\&/g
   19420 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19421 D["\1"]=" \3"/p
   19422 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19423 d
   19424 :bsnl
   19425 s/["\\]/\\&/g
   19426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19427 D["\1"]=" \3\\\\\\n"\\/p
   19428 t cont
   19429 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19430 t cont
   19431 d
   19432 :cont
   19433 n
   19434 s/.\{148\}/&'"$ac_delim"'/g
   19435 t clear
   19436 :clear
   19437 s/\\$//
   19438 t bsnlc
   19439 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19440 d
   19441 :bsnlc
   19442 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19443 b cont
   19444 ' <confdefs.h | sed '
   19445 s/'"$ac_delim"'/"\\\
   19446 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19447 
   19448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19449   for (key in D) D_is_set[key] = 1
   19450   FS = ""
   19451 }
   19452 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19453   line = \$ 0
   19454   split(line, arg, " ")
   19455   if (arg[1] == "#") {
   19456     defundef = arg[2]
   19457     mac1 = arg[3]
   19458   } else {
   19459     defundef = substr(arg[1], 2)
   19460     mac1 = arg[2]
   19461   }
   19462   split(mac1, mac2, "(") #)
   19463   macro = mac2[1]
   19464   prefix = substr(line, 1, index(line, defundef) - 1)
   19465   if (D_is_set[macro]) {
   19466     # Preserve the white space surrounding the "#".
   19467     print prefix "define", macro P[macro] D[macro]
   19468     next
   19469   } else {
   19470     # Replace #undef with comments.  This is necessary, for example,
   19471     # in the case of _POSIX_SOURCE, which is predefined and required
   19472     # on some systems where configure will not decide to define it.
   19473     if (defundef == "undef") {
   19474       print "/*", prefix defundef, macro, "*/"
   19475       next
   19476     }
   19477   }
   19478 }
   19479 { print }
   19480 _ACAWK
   19481 _ACEOF
   19482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19483   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19484 fi # test -n "$CONFIG_HEADERS"
   19485 
   19486 
   19487 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19488 shift
   19489 for ac_tag
   19490 do
   19491   case $ac_tag in
   19492   :[FHLC]) ac_mode=$ac_tag; continue;;
   19493   esac
   19494   case $ac_mode$ac_tag in
   19495   :[FHL]*:*);;
   19496   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19497   :[FH]-) ac_tag=-:-;;
   19498   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19499   esac
   19500   ac_save_IFS=$IFS
   19501   IFS=:
   19502   set x $ac_tag
   19503   IFS=$ac_save_IFS
   19504   shift
   19505   ac_file=$1
   19506   shift
   19507 
   19508   case $ac_mode in
   19509   :L) ac_source=$1;;
   19510   :[FH])
   19511     ac_file_inputs=
   19512     for ac_f
   19513     do
   19514       case $ac_f in
   19515       -) ac_f="$ac_tmp/stdin";;
   19516       *) # Look for the file first in the build tree, then in the source tree
   19517 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19518 	 # because $ac_f cannot contain `:'.
   19519 	 test -f "$ac_f" ||
   19520 	   case $ac_f in
   19521 	   [\\/$]*) false;;
   19522 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19523 	   esac ||
   19524 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19525       esac
   19526       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19527       as_fn_append ac_file_inputs " '$ac_f'"
   19528     done
   19529 
   19530     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19531     # use $as_me), people would be surprised to read:
   19532     #    /* config.h.  Generated by config.status.  */
   19533     configure_input='Generated from '`
   19534 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19535 	`' by configure.'
   19536     if test x"$ac_file" != x-; then
   19537       configure_input="$ac_file.  $configure_input"
   19538       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19539 $as_echo "$as_me: creating $ac_file" >&6;}
   19540     fi
   19541     # Neutralize special characters interpreted by sed in replacement strings.
   19542     case $configure_input in #(
   19543     *\&* | *\|* | *\\* )
   19544        ac_sed_conf_input=`$as_echo "$configure_input" |
   19545        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19546     *) ac_sed_conf_input=$configure_input;;
   19547     esac
   19548 
   19549     case $ac_tag in
   19550     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19551       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19552     esac
   19553     ;;
   19554   esac
   19555 
   19556   ac_dir=`$as_dirname -- "$ac_file" ||
   19557 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19558 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19559 	 X"$ac_file" : 'X\(//\)$' \| \
   19560 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19561 $as_echo X"$ac_file" |
   19562     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19563 	    s//\1/
   19564 	    q
   19565 	  }
   19566 	  /^X\(\/\/\)[^/].*/{
   19567 	    s//\1/
   19568 	    q
   19569 	  }
   19570 	  /^X\(\/\/\)$/{
   19571 	    s//\1/
   19572 	    q
   19573 	  }
   19574 	  /^X\(\/\).*/{
   19575 	    s//\1/
   19576 	    q
   19577 	  }
   19578 	  s/.*/./; q'`
   19579   as_dir="$ac_dir"; as_fn_mkdir_p
   19580   ac_builddir=.
   19581 
   19582 case "$ac_dir" in
   19583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19584 *)
   19585   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19586   # A ".." for each directory in $ac_dir_suffix.
   19587   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19588   case $ac_top_builddir_sub in
   19589   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19590   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19591   esac ;;
   19592 esac
   19593 ac_abs_top_builddir=$ac_pwd
   19594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19595 # for backward compatibility:
   19596 ac_top_builddir=$ac_top_build_prefix
   19597 
   19598 case $srcdir in
   19599   .)  # We are building in place.
   19600     ac_srcdir=.
   19601     ac_top_srcdir=$ac_top_builddir_sub
   19602     ac_abs_top_srcdir=$ac_pwd ;;
   19603   [\\/]* | ?:[\\/]* )  # Absolute name.
   19604     ac_srcdir=$srcdir$ac_dir_suffix;
   19605     ac_top_srcdir=$srcdir
   19606     ac_abs_top_srcdir=$srcdir ;;
   19607   *) # Relative name.
   19608     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19609     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19610     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19611 esac
   19612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19613 
   19614 
   19615   case $ac_mode in
   19616   :F)
   19617   #
   19618   # CONFIG_FILE
   19619   #
   19620 
   19621   case $INSTALL in
   19622   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19623   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19624   esac
   19625   ac_MKDIR_P=$MKDIR_P
   19626   case $MKDIR_P in
   19627   [\\/$]* | ?:[\\/]* ) ;;
   19628   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19629   esac
   19630 _ACEOF
   19631 
   19632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19633 # If the template does not know about datarootdir, expand it.
   19634 # FIXME: This hack should be removed a few years after 2.60.
   19635 ac_datarootdir_hack=; ac_datarootdir_seen=
   19636 ac_sed_dataroot='
   19637 /datarootdir/ {
   19638   p
   19639   q
   19640 }
   19641 /@datadir@/p
   19642 /@docdir@/p
   19643 /@infodir@/p
   19644 /@localedir@/p
   19645 /@mandir@/p'
   19646 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19647 *datarootdir*) ac_datarootdir_seen=yes;;
   19648 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19649   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19650 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19651 _ACEOF
   19652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19653   ac_datarootdir_hack='
   19654   s&@datadir@&$datadir&g
   19655   s&@docdir@&$docdir&g
   19656   s&@infodir@&$infodir&g
   19657   s&@localedir@&$localedir&g
   19658   s&@mandir@&$mandir&g
   19659   s&\\\${datarootdir}&$datarootdir&g' ;;
   19660 esac
   19661 _ACEOF
   19662 
   19663 # Neutralize VPATH when `$srcdir' = `.'.
   19664 # Shell code in configure.ac might set extrasub.
   19665 # FIXME: do we really want to maintain this feature?
   19666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19667 ac_sed_extra="$ac_vpsub
   19668 $extrasub
   19669 _ACEOF
   19670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19671 :t
   19672 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19673 s|@configure_input@|$ac_sed_conf_input|;t t
   19674 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19675 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19676 s&@srcdir@&$ac_srcdir&;t t
   19677 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19678 s&@top_srcdir@&$ac_top_srcdir&;t t
   19679 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19680 s&@builddir@&$ac_builddir&;t t
   19681 s&@abs_builddir@&$ac_abs_builddir&;t t
   19682 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19683 s&@INSTALL@&$ac_INSTALL&;t t
   19684 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19685 $ac_datarootdir_hack
   19686 "
   19687 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19688   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19689 
   19690 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19691   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19692   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19693       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19694   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19695 which seems to be undefined.  Please make sure it is defined" >&5
   19696 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19697 which seems to be undefined.  Please make sure it is defined" >&2;}
   19698 
   19699   rm -f "$ac_tmp/stdin"
   19700   case $ac_file in
   19701   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19702   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19703   esac \
   19704   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19705  ;;
   19706   :H)
   19707   #
   19708   # CONFIG_HEADER
   19709   #
   19710   if test x"$ac_file" != x-; then
   19711     {
   19712       $as_echo "/* $configure_input  */" \
   19713       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19714     } >"$ac_tmp/config.h" \
   19715       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19716     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19717       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19718 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19719     else
   19720       rm -f "$ac_file"
   19721       mv "$ac_tmp/config.h" "$ac_file" \
   19722 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19723     fi
   19724   else
   19725     $as_echo "/* $configure_input  */" \
   19726       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19727       || as_fn_error $? "could not create -" "$LINENO" 5
   19728   fi
   19729 # Compute "$ac_file"'s index in $config_headers.
   19730 _am_arg="$ac_file"
   19731 _am_stamp_count=1
   19732 for _am_header in $config_headers :; do
   19733   case $_am_header in
   19734     $_am_arg | $_am_arg:* )
   19735       break ;;
   19736     * )
   19737       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19738   esac
   19739 done
   19740 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19741 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19742 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19743 	 X"$_am_arg" : 'X\(//\)$' \| \
   19744 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19745 $as_echo X"$_am_arg" |
   19746     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19747 	    s//\1/
   19748 	    q
   19749 	  }
   19750 	  /^X\(\/\/\)[^/].*/{
   19751 	    s//\1/
   19752 	    q
   19753 	  }
   19754 	  /^X\(\/\/\)$/{
   19755 	    s//\1/
   19756 	    q
   19757 	  }
   19758 	  /^X\(\/\).*/{
   19759 	    s//\1/
   19760 	    q
   19761 	  }
   19762 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19763  ;;
   19764 
   19765   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19766 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19767  ;;
   19768   esac
   19769 
   19770 
   19771   case $ac_file$ac_mode in
   19772     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19773   # Older Autoconf quotes --file arguments for eval, but not when files
   19774   # are listed without --file.  Let's play safe and only enable the eval
   19775   # if we detect the quoting.
   19776   case $CONFIG_FILES in
   19777   *\'*) eval set x "$CONFIG_FILES" ;;
   19778   *)   set x $CONFIG_FILES ;;
   19779   esac
   19780   shift
   19781   for mf
   19782   do
   19783     # Strip MF so we end up with the name of the file.
   19784     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19785     # Check whether this is an Automake generated Makefile or not.
   19786     # We used to match only the files named 'Makefile.in', but
   19787     # some people rename them; so instead we look at the file content.
   19788     # Grep'ing the first line is not enough: some people post-process
   19789     # each Makefile.in and add a new line on top of each file to say so.
   19790     # Grep'ing the whole file is not good either: AIX grep has a line
   19791     # limit of 2048, but all sed's we know have understand at least 4000.
   19792     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19793       dirpart=`$as_dirname -- "$mf" ||
   19794 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19795 	 X"$mf" : 'X\(//\)[^/]' \| \
   19796 	 X"$mf" : 'X\(//\)$' \| \
   19797 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19798 $as_echo X"$mf" |
   19799     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19800 	    s//\1/
   19801 	    q
   19802 	  }
   19803 	  /^X\(\/\/\)[^/].*/{
   19804 	    s//\1/
   19805 	    q
   19806 	  }
   19807 	  /^X\(\/\/\)$/{
   19808 	    s//\1/
   19809 	    q
   19810 	  }
   19811 	  /^X\(\/\).*/{
   19812 	    s//\1/
   19813 	    q
   19814 	  }
   19815 	  s/.*/./; q'`
   19816     else
   19817       continue
   19818     fi
   19819     # Extract the definition of DEPDIR, am__include, and am__quote
   19820     # from the Makefile without running 'make'.
   19821     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19822     test -z "$DEPDIR" && continue
   19823     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19824     test -z "$am__include" && continue
   19825     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19826     # Find all dependency output files, they are included files with
   19827     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19828     # simplest approach to changing $(DEPDIR) to its actual value in the
   19829     # expansion.
   19830     for file in `sed -n "
   19831       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19832 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19833       # Make sure the directory exists.
   19834       test -f "$dirpart/$file" && continue
   19835       fdir=`$as_dirname -- "$file" ||
   19836 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19837 	 X"$file" : 'X\(//\)[^/]' \| \
   19838 	 X"$file" : 'X\(//\)$' \| \
   19839 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19840 $as_echo X"$file" |
   19841     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19842 	    s//\1/
   19843 	    q
   19844 	  }
   19845 	  /^X\(\/\/\)[^/].*/{
   19846 	    s//\1/
   19847 	    q
   19848 	  }
   19849 	  /^X\(\/\/\)$/{
   19850 	    s//\1/
   19851 	    q
   19852 	  }
   19853 	  /^X\(\/\).*/{
   19854 	    s//\1/
   19855 	    q
   19856 	  }
   19857 	  s/.*/./; q'`
   19858       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19859       # echo "creating $dirpart/$file"
   19860       echo '# dummy' > "$dirpart/$file"
   19861     done
   19862   done
   19863 }
   19864  ;;
   19865     "libtool":C)
   19866 
   19867     # See if we are running on zsh, and set the options which allow our
   19868     # commands through without removal of \ escapes.
   19869     if test -n "${ZSH_VERSION+set}" ; then
   19870       setopt NO_GLOB_SUBST
   19871     fi
   19872 
   19873     cfgfile="${ofile}T"
   19874     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19875     $RM "$cfgfile"
   19876 
   19877     cat <<_LT_EOF >> "$cfgfile"
   19878 #! $SHELL
   19879 
   19880 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19881 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19882 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19883 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19884 #
   19885 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19886 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19887 #                 Foundation, Inc.
   19888 #   Written by Gordon Matzigkeit, 1996
   19889 #
   19890 #   This file is part of GNU Libtool.
   19891 #
   19892 # GNU Libtool is free software; you can redistribute it and/or
   19893 # modify it under the terms of the GNU General Public License as
   19894 # published by the Free Software Foundation; either version 2 of
   19895 # the License, or (at your option) any later version.
   19896 #
   19897 # As a special exception to the GNU General Public License,
   19898 # if you distribute this file as part of a program or library that
   19899 # is built using GNU Libtool, you may include this file under the
   19900 # same distribution terms that you use for the rest of that program.
   19901 #
   19902 # GNU Libtool is distributed in the hope that it will be useful,
   19903 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19904 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19905 # GNU General Public License for more details.
   19906 #
   19907 # You should have received a copy of the GNU General Public License
   19908 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19909 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19910 # obtained by writing to the Free Software Foundation, Inc.,
   19911 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19912 
   19913 
   19914 # The names of the tagged configurations supported by this script.
   19915 available_tags=""
   19916 
   19917 # ### BEGIN LIBTOOL CONFIG
   19918 
   19919 # Which release of libtool.m4 was used?
   19920 macro_version=$macro_version
   19921 macro_revision=$macro_revision
   19922 
   19923 # Whether or not to build shared libraries.
   19924 build_libtool_libs=$enable_shared
   19925 
   19926 # Whether or not to build static libraries.
   19927 build_old_libs=$enable_static
   19928 
   19929 # What type of objects to build.
   19930 pic_mode=$pic_mode
   19931 
   19932 # Whether or not to optimize for fast installation.
   19933 fast_install=$enable_fast_install
   19934 
   19935 # Shell to use when invoking shell scripts.
   19936 SHELL=$lt_SHELL
   19937 
   19938 # An echo program that protects backslashes.
   19939 ECHO=$lt_ECHO
   19940 
   19941 # The PATH separator for the build system.
   19942 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19943 
   19944 # The host system.
   19945 host_alias=$host_alias
   19946 host=$host
   19947 host_os=$host_os
   19948 
   19949 # The build system.
   19950 build_alias=$build_alias
   19951 build=$build
   19952 build_os=$build_os
   19953 
   19954 # A sed program that does not truncate output.
   19955 SED=$lt_SED
   19956 
   19957 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19958 Xsed="\$SED -e 1s/^X//"
   19959 
   19960 # A grep program that handles long lines.
   19961 GREP=$lt_GREP
   19962 
   19963 # An ERE matcher.
   19964 EGREP=$lt_EGREP
   19965 
   19966 # A literal string matcher.
   19967 FGREP=$lt_FGREP
   19968 
   19969 # A BSD- or MS-compatible name lister.
   19970 NM=$lt_NM
   19971 
   19972 # Whether we need soft or hard links.
   19973 LN_S=$lt_LN_S
   19974 
   19975 # What is the maximum length of a command?
   19976 max_cmd_len=$max_cmd_len
   19977 
   19978 # Object file suffix (normally "o").
   19979 objext=$ac_objext
   19980 
   19981 # Executable file suffix (normally "").
   19982 exeext=$exeext
   19983 
   19984 # whether the shell understands "unset".
   19985 lt_unset=$lt_unset
   19986 
   19987 # turn spaces into newlines.
   19988 SP2NL=$lt_lt_SP2NL
   19989 
   19990 # turn newlines into spaces.
   19991 NL2SP=$lt_lt_NL2SP
   19992 
   19993 # convert \$build file names to \$host format.
   19994 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19995 
   19996 # convert \$build files to toolchain format.
   19997 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19998 
   19999 # An object symbol dumper.
   20000 OBJDUMP=$lt_OBJDUMP
   20001 
   20002 # Method to check whether dependent libraries are shared objects.
   20003 deplibs_check_method=$lt_deplibs_check_method
   20004 
   20005 # Command to use when deplibs_check_method = "file_magic".
   20006 file_magic_cmd=$lt_file_magic_cmd
   20007 
   20008 # How to find potential files when deplibs_check_method = "file_magic".
   20009 file_magic_glob=$lt_file_magic_glob
   20010 
   20011 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20012 want_nocaseglob=$lt_want_nocaseglob
   20013 
   20014 # DLL creation program.
   20015 DLLTOOL=$lt_DLLTOOL
   20016 
   20017 # Command to associate shared and link libraries.
   20018 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20019 
   20020 # The archiver.
   20021 AR=$lt_AR
   20022 
   20023 # Flags to create an archive.
   20024 AR_FLAGS=$lt_AR_FLAGS
   20025 
   20026 # How to feed a file listing to the archiver.
   20027 archiver_list_spec=$lt_archiver_list_spec
   20028 
   20029 # A symbol stripping program.
   20030 STRIP=$lt_STRIP
   20031 
   20032 # Commands used to install an old-style archive.
   20033 RANLIB=$lt_RANLIB
   20034 old_postinstall_cmds=$lt_old_postinstall_cmds
   20035 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20036 
   20037 # Whether to use a lock for old archive extraction.
   20038 lock_old_archive_extraction=$lock_old_archive_extraction
   20039 
   20040 # A C compiler.
   20041 LTCC=$lt_CC
   20042 
   20043 # LTCC compiler flags.
   20044 LTCFLAGS=$lt_CFLAGS
   20045 
   20046 # Take the output of nm and produce a listing of raw symbols and C names.
   20047 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20048 
   20049 # Transform the output of nm in a proper C declaration.
   20050 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20051 
   20052 # Transform the output of nm in a C name address pair.
   20053 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20054 
   20055 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20056 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20057 
   20058 # Specify filename containing input files for \$NM.
   20059 nm_file_list_spec=$lt_nm_file_list_spec
   20060 
   20061 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20062 lt_sysroot=$lt_sysroot
   20063 
   20064 # The name of the directory that contains temporary libtool files.
   20065 objdir=$objdir
   20066 
   20067 # Used to examine libraries when file_magic_cmd begins with "file".
   20068 MAGIC_CMD=$MAGIC_CMD
   20069 
   20070 # Must we lock files when doing compilation?
   20071 need_locks=$lt_need_locks
   20072 
   20073 # Manifest tool.
   20074 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20075 
   20076 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20077 DSYMUTIL=$lt_DSYMUTIL
   20078 
   20079 # Tool to change global to local symbols on Mac OS X.
   20080 NMEDIT=$lt_NMEDIT
   20081 
   20082 # Tool to manipulate fat objects and archives on Mac OS X.
   20083 LIPO=$lt_LIPO
   20084 
   20085 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20086 OTOOL=$lt_OTOOL
   20087 
   20088 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20089 OTOOL64=$lt_OTOOL64
   20090 
   20091 # Old archive suffix (normally "a").
   20092 libext=$libext
   20093 
   20094 # Shared library suffix (normally ".so").
   20095 shrext_cmds=$lt_shrext_cmds
   20096 
   20097 # The commands to extract the exported symbol list from a shared archive.
   20098 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20099 
   20100 # Variables whose values should be saved in libtool wrapper scripts and
   20101 # restored at link time.
   20102 variables_saved_for_relink=$lt_variables_saved_for_relink
   20103 
   20104 # Do we need the "lib" prefix for modules?
   20105 need_lib_prefix=$need_lib_prefix
   20106 
   20107 # Do we need a version for libraries?
   20108 need_version=$need_version
   20109 
   20110 # Library versioning type.
   20111 version_type=$version_type
   20112 
   20113 # Shared library runtime path variable.
   20114 runpath_var=$runpath_var
   20115 
   20116 # Shared library path variable.
   20117 shlibpath_var=$shlibpath_var
   20118 
   20119 # Is shlibpath searched before the hard-coded library search path?
   20120 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20121 
   20122 # Format of library name prefix.
   20123 libname_spec=$lt_libname_spec
   20124 
   20125 # List of archive names.  First name is the real one, the rest are links.
   20126 # The last name is the one that the linker finds with -lNAME
   20127 library_names_spec=$lt_library_names_spec
   20128 
   20129 # The coded name of the library, if different from the real name.
   20130 soname_spec=$lt_soname_spec
   20131 
   20132 # Permission mode override for installation of shared libraries.
   20133 install_override_mode=$lt_install_override_mode
   20134 
   20135 # Command to use after installation of a shared archive.
   20136 postinstall_cmds=$lt_postinstall_cmds
   20137 
   20138 # Command to use after uninstallation of a shared archive.
   20139 postuninstall_cmds=$lt_postuninstall_cmds
   20140 
   20141 # Commands used to finish a libtool library installation in a directory.
   20142 finish_cmds=$lt_finish_cmds
   20143 
   20144 # As "finish_cmds", except a single script fragment to be evaled but
   20145 # not shown.
   20146 finish_eval=$lt_finish_eval
   20147 
   20148 # Whether we should hardcode library paths into libraries.
   20149 hardcode_into_libs=$hardcode_into_libs
   20150 
   20151 # Compile-time system search path for libraries.
   20152 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20153 
   20154 # Run-time system search path for libraries.
   20155 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20156 
   20157 # Whether dlopen is supported.
   20158 dlopen_support=$enable_dlopen
   20159 
   20160 # Whether dlopen of programs is supported.
   20161 dlopen_self=$enable_dlopen_self
   20162 
   20163 # Whether dlopen of statically linked programs is supported.
   20164 dlopen_self_static=$enable_dlopen_self_static
   20165 
   20166 # Commands to strip libraries.
   20167 old_striplib=$lt_old_striplib
   20168 striplib=$lt_striplib
   20169 
   20170 
   20171 # The linker used to build libraries.
   20172 LD=$lt_LD
   20173 
   20174 # How to create reloadable object files.
   20175 reload_flag=$lt_reload_flag
   20176 reload_cmds=$lt_reload_cmds
   20177 
   20178 # Commands used to build an old-style archive.
   20179 old_archive_cmds=$lt_old_archive_cmds
   20180 
   20181 # A language specific compiler.
   20182 CC=$lt_compiler
   20183 
   20184 # Is the compiler the GNU compiler?
   20185 with_gcc=$GCC
   20186 
   20187 # Compiler flag to turn off builtin functions.
   20188 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20189 
   20190 # Additional compiler flags for building library objects.
   20191 pic_flag=$lt_lt_prog_compiler_pic
   20192 
   20193 # How to pass a linker flag through the compiler.
   20194 wl=$lt_lt_prog_compiler_wl
   20195 
   20196 # Compiler flag to prevent dynamic linking.
   20197 link_static_flag=$lt_lt_prog_compiler_static
   20198 
   20199 # Does compiler simultaneously support -c and -o options?
   20200 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20201 
   20202 # Whether or not to add -lc for building shared libraries.
   20203 build_libtool_need_lc=$archive_cmds_need_lc
   20204 
   20205 # Whether or not to disallow shared libs when runtime libs are static.
   20206 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20207 
   20208 # Compiler flag to allow reflexive dlopens.
   20209 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20210 
   20211 # Compiler flag to generate shared objects directly from archives.
   20212 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20213 
   20214 # Whether the compiler copes with passing no objects directly.
   20215 compiler_needs_object=$lt_compiler_needs_object
   20216 
   20217 # Create an old-style archive from a shared archive.
   20218 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20219 
   20220 # Create a temporary old-style archive to link instead of a shared archive.
   20221 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20222 
   20223 # Commands used to build a shared archive.
   20224 archive_cmds=$lt_archive_cmds
   20225 archive_expsym_cmds=$lt_archive_expsym_cmds
   20226 
   20227 # Commands used to build a loadable module if different from building
   20228 # a shared archive.
   20229 module_cmds=$lt_module_cmds
   20230 module_expsym_cmds=$lt_module_expsym_cmds
   20231 
   20232 # Whether we are building with GNU ld or not.
   20233 with_gnu_ld=$lt_with_gnu_ld
   20234 
   20235 # Flag that allows shared libraries with undefined symbols to be built.
   20236 allow_undefined_flag=$lt_allow_undefined_flag
   20237 
   20238 # Flag that enforces no undefined symbols.
   20239 no_undefined_flag=$lt_no_undefined_flag
   20240 
   20241 # Flag to hardcode \$libdir into a binary during linking.
   20242 # This must work even if \$libdir does not exist
   20243 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20244 
   20245 # Whether we need a single "-rpath" flag with a separated argument.
   20246 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20247 
   20248 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20249 # DIR into the resulting binary.
   20250 hardcode_direct=$hardcode_direct
   20251 
   20252 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20253 # DIR into the resulting binary and the resulting library dependency is
   20254 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20255 # library is relocated.
   20256 hardcode_direct_absolute=$hardcode_direct_absolute
   20257 
   20258 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20259 # into the resulting binary.
   20260 hardcode_minus_L=$hardcode_minus_L
   20261 
   20262 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20263 # into the resulting binary.
   20264 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20265 
   20266 # Set to "yes" if building a shared library automatically hardcodes DIR
   20267 # into the library and all subsequent libraries and executables linked
   20268 # against it.
   20269 hardcode_automatic=$hardcode_automatic
   20270 
   20271 # Set to yes if linker adds runtime paths of dependent libraries
   20272 # to runtime path list.
   20273 inherit_rpath=$inherit_rpath
   20274 
   20275 # Whether libtool must link a program against all its dependency libraries.
   20276 link_all_deplibs=$link_all_deplibs
   20277 
   20278 # Set to "yes" if exported symbols are required.
   20279 always_export_symbols=$always_export_symbols
   20280 
   20281 # The commands to list exported symbols.
   20282 export_symbols_cmds=$lt_export_symbols_cmds
   20283 
   20284 # Symbols that should not be listed in the preloaded symbols.
   20285 exclude_expsyms=$lt_exclude_expsyms
   20286 
   20287 # Symbols that must always be exported.
   20288 include_expsyms=$lt_include_expsyms
   20289 
   20290 # Commands necessary for linking programs (against libraries) with templates.
   20291 prelink_cmds=$lt_prelink_cmds
   20292 
   20293 # Commands necessary for finishing linking programs.
   20294 postlink_cmds=$lt_postlink_cmds
   20295 
   20296 # Specify filename containing input files.
   20297 file_list_spec=$lt_file_list_spec
   20298 
   20299 # How to hardcode a shared library path into an executable.
   20300 hardcode_action=$hardcode_action
   20301 
   20302 # ### END LIBTOOL CONFIG
   20303 
   20304 _LT_EOF
   20305 
   20306   case $host_os in
   20307   aix3*)
   20308     cat <<\_LT_EOF >> "$cfgfile"
   20309 # AIX sometimes has problems with the GCC collect2 program.  For some
   20310 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20311 # vanish in a puff of smoke.
   20312 if test "X${COLLECT_NAMES+set}" != Xset; then
   20313   COLLECT_NAMES=
   20314   export COLLECT_NAMES
   20315 fi
   20316 _LT_EOF
   20317     ;;
   20318   esac
   20319 
   20320 
   20321 ltmain="$ac_aux_dir/ltmain.sh"
   20322 
   20323 
   20324   # We use sed instead of cat because bash on DJGPP gets confused if
   20325   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20326   # text mode, it properly converts lines to CR/LF.  This bash problem
   20327   # is reportedly fixed, but why not run on old versions too?
   20328   sed '$q' "$ltmain" >> "$cfgfile" \
   20329      || (rm -f "$cfgfile"; exit 1)
   20330 
   20331   if test x"$xsi_shell" = xyes; then
   20332   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20333 func_dirname ()\
   20334 {\
   20335 \    case ${1} in\
   20336 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20337 \      *  ) func_dirname_result="${3}" ;;\
   20338 \    esac\
   20339 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20340   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20341     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20342 test 0 -eq $? || _lt_function_replace_fail=:
   20343 
   20344 
   20345   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20346 func_basename ()\
   20347 {\
   20348 \    func_basename_result="${1##*/}"\
   20349 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20350   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20351     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20352 test 0 -eq $? || _lt_function_replace_fail=:
   20353 
   20354 
   20355   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20356 func_dirname_and_basename ()\
   20357 {\
   20358 \    case ${1} in\
   20359 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20360 \      *  ) func_dirname_result="${3}" ;;\
   20361 \    esac\
   20362 \    func_basename_result="${1##*/}"\
   20363 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20364   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20365     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20366 test 0 -eq $? || _lt_function_replace_fail=:
   20367 
   20368 
   20369   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20370 func_stripname ()\
   20371 {\
   20372 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20373 \    # positional parameters, so assign one to ordinary parameter first.\
   20374 \    func_stripname_result=${3}\
   20375 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20376 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20377 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20378   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20379     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20380 test 0 -eq $? || _lt_function_replace_fail=:
   20381 
   20382 
   20383   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20384 func_split_long_opt ()\
   20385 {\
   20386 \    func_split_long_opt_name=${1%%=*}\
   20387 \    func_split_long_opt_arg=${1#*=}\
   20388 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20389   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20390     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20391 test 0 -eq $? || _lt_function_replace_fail=:
   20392 
   20393 
   20394   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20395 func_split_short_opt ()\
   20396 {\
   20397 \    func_split_short_opt_arg=${1#??}\
   20398 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20399 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20400   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20401     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20402 test 0 -eq $? || _lt_function_replace_fail=:
   20403 
   20404 
   20405   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20406 func_lo2o ()\
   20407 {\
   20408 \    case ${1} in\
   20409 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20410 \      *)    func_lo2o_result=${1} ;;\
   20411 \    esac\
   20412 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20413   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20414     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20415 test 0 -eq $? || _lt_function_replace_fail=:
   20416 
   20417 
   20418   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20419 func_xform ()\
   20420 {\
   20421     func_xform_result=${1%.*}.lo\
   20422 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20423   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20424     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20425 test 0 -eq $? || _lt_function_replace_fail=:
   20426 
   20427 
   20428   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20429 func_arith ()\
   20430 {\
   20431     func_arith_result=$(( $* ))\
   20432 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20433   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20434     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20435 test 0 -eq $? || _lt_function_replace_fail=:
   20436 
   20437 
   20438   sed -e '/^func_len ()$/,/^} # func_len /c\
   20439 func_len ()\
   20440 {\
   20441     func_len_result=${#1}\
   20442 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20443   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20444     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20445 test 0 -eq $? || _lt_function_replace_fail=:
   20446 
   20447 fi
   20448 
   20449 if test x"$lt_shell_append" = xyes; then
   20450   sed -e '/^func_append ()$/,/^} # func_append /c\
   20451 func_append ()\
   20452 {\
   20453     eval "${1}+=\\${2}"\
   20454 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20455   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20456     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20457 test 0 -eq $? || _lt_function_replace_fail=:
   20458 
   20459 
   20460   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20461 func_append_quoted ()\
   20462 {\
   20463 \    func_quote_for_eval "${2}"\
   20464 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20465 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20466   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20467     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20468 test 0 -eq $? || _lt_function_replace_fail=:
   20469 
   20470 
   20471   # Save a `func_append' function call where possible by direct use of '+='
   20472   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20473     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20474       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20475   test 0 -eq $? || _lt_function_replace_fail=:
   20476 else
   20477   # Save a `func_append' function call even when '+=' is not available
   20478   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20479     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20480       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20481   test 0 -eq $? || _lt_function_replace_fail=:
   20482 fi
   20483 
   20484 if test x"$_lt_function_replace_fail" = x":"; then
   20485   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20486 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20487 fi
   20488 
   20489 
   20490    mv -f "$cfgfile" "$ofile" ||
   20491     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20492   chmod +x "$ofile"
   20493 
   20494  ;;
   20495 
   20496   esac
   20497 done # for ac_tag
   20498 
   20499 
   20500 as_fn_exit 0
   20501 _ACEOF
   20502 ac_clean_files=$ac_clean_files_save
   20503 
   20504 test $ac_write_fail = 0 ||
   20505   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20506 
   20507 
   20508 # configure is writing to config.log, and then calls config.status.
   20509 # config.status does its own redirection, appending to config.log.
   20510 # Unfortunately, on DOS this fails, as config.log is still kept open
   20511 # by configure, so config.status won't be able to write to it; its
   20512 # output is simply discarded.  So we exec the FD to /dev/null,
   20513 # effectively closing config.log, so it can be properly (re)opened and
   20514 # appended to by config.status.  When coming back to configure, we
   20515 # need to make the FD available again.
   20516 if test "$no_create" != yes; then
   20517   ac_cs_success=:
   20518   ac_config_status_args=
   20519   test "$silent" = yes &&
   20520     ac_config_status_args="$ac_config_status_args --quiet"
   20521   exec 5>/dev/null
   20522   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20523   exec 5>>config.log
   20524   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20525   # would make configure fail if this is the last instruction.
   20526   $ac_cs_success || as_fn_exit 1
   20527 fi
   20528 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20529   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20530 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20531 fi
   20532 
   20533