Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXpm 3.5.12.
      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='libXpm'
    593 PACKAGE_TARNAME='libXpm'
    594 PACKAGE_VERSION='3.5.12'
    595 PACKAGE_STRING='libXpm 3.5.12'
    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 USE_GETTEXT_FALSE
    641 USE_GETTEXT_TRUE
    642 LOCALEDIR
    643 BUILD_SXPM_FALSE
    644 BUILD_SXPM_TRUE
    645 SXPM_LIBS
    646 SXPM_CFLAGS
    647 XPM_LIBS
    648 XPM_CFLAGS
    649 MAN_SUBSTS
    650 XORG_MAN_PAGE
    651 ADMIN_MAN_DIR
    652 DRIVER_MAN_DIR
    653 MISC_MAN_DIR
    654 FILE_MAN_DIR
    655 LIB_MAN_DIR
    656 APP_MAN_DIR
    657 ADMIN_MAN_SUFFIX
    658 DRIVER_MAN_SUFFIX
    659 MISC_MAN_SUFFIX
    660 FILE_MAN_SUFFIX
    661 LIB_MAN_SUFFIX
    662 APP_MAN_SUFFIX
    663 INSTALL_CMD
    664 PKG_CONFIG_LIBDIR
    665 PKG_CONFIG_PATH
    666 PKG_CONFIG
    667 CHANGELOG_CMD
    668 STRICT_CFLAGS
    669 CWARNFLAGS
    670 BASE_CFLAGS
    671 CPP
    672 OTOOL64
    673 OTOOL
    674 LIPO
    675 NMEDIT
    676 DSYMUTIL
    677 MANIFEST_TOOL
    678 RANLIB
    679 ac_ct_AR
    680 AR
    681 DLLTOOL
    682 OBJDUMP
    683 LN_S
    684 NM
    685 ac_ct_DUMPBIN
    686 DUMPBIN
    687 LD
    688 FGREP
    689 EGREP
    690 GREP
    691 SED
    692 am__fastdepCC_FALSE
    693 am__fastdepCC_TRUE
    694 CCDEPMODE
    695 am__nodep
    696 AMDEPBACKSLASH
    697 AMDEP_FALSE
    698 AMDEP_TRUE
    699 am__quote
    700 am__include
    701 DEPDIR
    702 OBJEXT
    703 EXEEXT
    704 ac_ct_CC
    705 CPPFLAGS
    706 LDFLAGS
    707 CFLAGS
    708 CC
    709 host_os
    710 host_vendor
    711 host_cpu
    712 host
    713 build_os
    714 build_vendor
    715 build_cpu
    716 build
    717 LIBTOOL
    718 AM_BACKSLASH
    719 AM_DEFAULT_VERBOSITY
    720 AM_DEFAULT_V
    721 AM_V
    722 am__untar
    723 am__tar
    724 AMTAR
    725 am__leading_dot
    726 SET_MAKE
    727 AWK
    728 mkdir_p
    729 MKDIR_P
    730 INSTALL_STRIP_PROGRAM
    731 STRIP
    732 install_sh
    733 MAKEINFO
    734 AUTOHEADER
    735 AUTOMAKE
    736 AUTOCONF
    737 ACLOCAL
    738 VERSION
    739 PACKAGE
    740 CYGPATH_W
    741 am__isrc
    742 INSTALL_DATA
    743 INSTALL_SCRIPT
    744 INSTALL_PROGRAM
    745 target_alias
    746 host_alias
    747 build_alias
    748 LIBS
    749 ECHO_T
    750 ECHO_N
    751 ECHO_C
    752 DEFS
    753 mandir
    754 localedir
    755 libdir
    756 psdir
    757 pdfdir
    758 dvidir
    759 htmldir
    760 infodir
    761 docdir
    762 oldincludedir
    763 includedir
    764 localstatedir
    765 sharedstatedir
    766 sysconfdir
    767 datadir
    768 datarootdir
    769 libexecdir
    770 sbindir
    771 bindir
    772 program_transform_name
    773 prefix
    774 exec_prefix
    775 PACKAGE_URL
    776 PACKAGE_BUGREPORT
    777 PACKAGE_STRING
    778 PACKAGE_VERSION
    779 PACKAGE_TARNAME
    780 PACKAGE_NAME
    781 PATH_SEPARATOR
    782 SHELL'
    783 ac_subst_files=''
    784 ac_user_opts='
    785 enable_option_checking
    786 enable_silent_rules
    787 enable_shared
    788 enable_static
    789 with_pic
    790 enable_fast_install
    791 enable_dependency_tracking
    792 with_gnu_ld
    793 with_sysroot
    794 enable_libtool_lock
    795 enable_selective_werror
    796 enable_strict_compilation
    797 with_localedir
    798 enable_stat_zfile
    799 '
    800       ac_precious_vars='build_alias
    801 host_alias
    802 target_alias
    803 CC
    804 CFLAGS
    805 LDFLAGS
    806 LIBS
    807 CPPFLAGS
    808 CPP
    809 PKG_CONFIG
    810 PKG_CONFIG_PATH
    811 PKG_CONFIG_LIBDIR
    812 XPM_CFLAGS
    813 XPM_LIBS
    814 SXPM_CFLAGS
    815 SXPM_LIBS'
    816 
    817 
    818 # Initialize some variables set by options.
    819 ac_init_help=
    820 ac_init_version=false
    821 ac_unrecognized_opts=
    822 ac_unrecognized_sep=
    823 # The variables have the same names as the options, with
    824 # dashes changed to underlines.
    825 cache_file=/dev/null
    826 exec_prefix=NONE
    827 no_create=
    828 no_recursion=
    829 prefix=NONE
    830 program_prefix=NONE
    831 program_suffix=NONE
    832 program_transform_name=s,x,x,
    833 silent=
    834 site=
    835 srcdir=
    836 verbose=
    837 x_includes=NONE
    838 x_libraries=NONE
    839 
    840 # Installation directory options.
    841 # These are left unexpanded so users can "make install exec_prefix=/foo"
    842 # and all the variables that are supposed to be based on exec_prefix
    843 # by default will actually change.
    844 # Use braces instead of parens because sh, perl, etc. also accept them.
    845 # (The list follows the same order as the GNU Coding Standards.)
    846 bindir='${exec_prefix}/bin'
    847 sbindir='${exec_prefix}/sbin'
    848 libexecdir='${exec_prefix}/libexec'
    849 datarootdir='${prefix}/share'
    850 datadir='${datarootdir}'
    851 sysconfdir='${prefix}/etc'
    852 sharedstatedir='${prefix}/com'
    853 localstatedir='${prefix}/var'
    854 includedir='${prefix}/include'
    855 oldincludedir='/usr/include'
    856 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    857 infodir='${datarootdir}/info'
    858 htmldir='${docdir}'
    859 dvidir='${docdir}'
    860 pdfdir='${docdir}'
    861 psdir='${docdir}'
    862 libdir='${exec_prefix}/lib'
    863 localedir='${datarootdir}/locale'
    864 mandir='${datarootdir}/man'
    865 
    866 ac_prev=
    867 ac_dashdash=
    868 for ac_option
    869 do
    870   # If the previous option needs an argument, assign it.
    871   if test -n "$ac_prev"; then
    872     eval $ac_prev=\$ac_option
    873     ac_prev=
    874     continue
    875   fi
    876 
    877   case $ac_option in
    878   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    879   *=)   ac_optarg= ;;
    880   *)    ac_optarg=yes ;;
    881   esac
    882 
    883   # Accept the important Cygnus configure options, so we can diagnose typos.
    884 
    885   case $ac_dashdash$ac_option in
    886   --)
    887     ac_dashdash=yes ;;
    888 
    889   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    890     ac_prev=bindir ;;
    891   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    892     bindir=$ac_optarg ;;
    893 
    894   -build | --build | --buil | --bui | --bu)
    895     ac_prev=build_alias ;;
    896   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    897     build_alias=$ac_optarg ;;
    898 
    899   -cache-file | --cache-file | --cache-fil | --cache-fi \
    900   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    901     ac_prev=cache_file ;;
    902   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    903   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    904     cache_file=$ac_optarg ;;
    905 
    906   --config-cache | -C)
    907     cache_file=config.cache ;;
    908 
    909   -datadir | --datadir | --datadi | --datad)
    910     ac_prev=datadir ;;
    911   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    912     datadir=$ac_optarg ;;
    913 
    914   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    915   | --dataroo | --dataro | --datar)
    916     ac_prev=datarootdir ;;
    917   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    918   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    919     datarootdir=$ac_optarg ;;
    920 
    921   -disable-* | --disable-*)
    922     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    923     # Reject names that are not valid shell variable names.
    924     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    925       as_fn_error $? "invalid feature name: $ac_useropt"
    926     ac_useropt_orig=$ac_useropt
    927     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    928     case $ac_user_opts in
    929       *"
    930 "enable_$ac_useropt"
    931 "*) ;;
    932       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    933 	 ac_unrecognized_sep=', ';;
    934     esac
    935     eval enable_$ac_useropt=no ;;
    936 
    937   -docdir | --docdir | --docdi | --doc | --do)
    938     ac_prev=docdir ;;
    939   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    940     docdir=$ac_optarg ;;
    941 
    942   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    943     ac_prev=dvidir ;;
    944   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    945     dvidir=$ac_optarg ;;
    946 
    947   -enable-* | --enable-*)
    948     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    949     # Reject names that are not valid shell variable names.
    950     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    951       as_fn_error $? "invalid feature name: $ac_useropt"
    952     ac_useropt_orig=$ac_useropt
    953     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    954     case $ac_user_opts in
    955       *"
    956 "enable_$ac_useropt"
    957 "*) ;;
    958       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    959 	 ac_unrecognized_sep=', ';;
    960     esac
    961     eval enable_$ac_useropt=\$ac_optarg ;;
    962 
    963   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    964   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    965   | --exec | --exe | --ex)
    966     ac_prev=exec_prefix ;;
    967   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    968   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    969   | --exec=* | --exe=* | --ex=*)
    970     exec_prefix=$ac_optarg ;;
    971 
    972   -gas | --gas | --ga | --g)
    973     # Obsolete; use --with-gas.
    974     with_gas=yes ;;
    975 
    976   -help | --help | --hel | --he | -h)
    977     ac_init_help=long ;;
    978   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    979     ac_init_help=recursive ;;
    980   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    981     ac_init_help=short ;;
    982 
    983   -host | --host | --hos | --ho)
    984     ac_prev=host_alias ;;
    985   -host=* | --host=* | --hos=* | --ho=*)
    986     host_alias=$ac_optarg ;;
    987 
    988   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    989     ac_prev=htmldir ;;
    990   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    991   | --ht=*)
    992     htmldir=$ac_optarg ;;
    993 
    994   -includedir | --includedir | --includedi | --included | --include \
    995   | --includ | --inclu | --incl | --inc)
    996     ac_prev=includedir ;;
    997   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    998   | --includ=* | --inclu=* | --incl=* | --inc=*)
    999     includedir=$ac_optarg ;;
   1000 
   1001   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1002     ac_prev=infodir ;;
   1003   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1004     infodir=$ac_optarg ;;
   1005 
   1006   -libdir | --libdir | --libdi | --libd)
   1007     ac_prev=libdir ;;
   1008   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1009     libdir=$ac_optarg ;;
   1010 
   1011   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1012   | --libexe | --libex | --libe)
   1013     ac_prev=libexecdir ;;
   1014   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1015   | --libexe=* | --libex=* | --libe=*)
   1016     libexecdir=$ac_optarg ;;
   1017 
   1018   -localedir | --localedir | --localedi | --localed | --locale)
   1019     ac_prev=localedir ;;
   1020   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1021     localedir=$ac_optarg ;;
   1022 
   1023   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1024   | --localstate | --localstat | --localsta | --localst | --locals)
   1025     ac_prev=localstatedir ;;
   1026   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1027   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1028     localstatedir=$ac_optarg ;;
   1029 
   1030   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1031     ac_prev=mandir ;;
   1032   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1033     mandir=$ac_optarg ;;
   1034 
   1035   -nfp | --nfp | --nf)
   1036     # Obsolete; use --without-fp.
   1037     with_fp=no ;;
   1038 
   1039   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1040   | --no-cr | --no-c | -n)
   1041     no_create=yes ;;
   1042 
   1043   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1044   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1045     no_recursion=yes ;;
   1046 
   1047   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1048   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1049   | --oldin | --oldi | --old | --ol | --o)
   1050     ac_prev=oldincludedir ;;
   1051   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1052   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1053   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1054     oldincludedir=$ac_optarg ;;
   1055 
   1056   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1057     ac_prev=prefix ;;
   1058   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1059     prefix=$ac_optarg ;;
   1060 
   1061   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1062   | --program-pre | --program-pr | --program-p)
   1063     ac_prev=program_prefix ;;
   1064   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1065   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1066     program_prefix=$ac_optarg ;;
   1067 
   1068   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1069   | --program-suf | --program-su | --program-s)
   1070     ac_prev=program_suffix ;;
   1071   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1072   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1073     program_suffix=$ac_optarg ;;
   1074 
   1075   -program-transform-name | --program-transform-name \
   1076   | --program-transform-nam | --program-transform-na \
   1077   | --program-transform-n | --program-transform- \
   1078   | --program-transform | --program-transfor \
   1079   | --program-transfo | --program-transf \
   1080   | --program-trans | --program-tran \
   1081   | --progr-tra | --program-tr | --program-t)
   1082     ac_prev=program_transform_name ;;
   1083   -program-transform-name=* | --program-transform-name=* \
   1084   | --program-transform-nam=* | --program-transform-na=* \
   1085   | --program-transform-n=* | --program-transform-=* \
   1086   | --program-transform=* | --program-transfor=* \
   1087   | --program-transfo=* | --program-transf=* \
   1088   | --program-trans=* | --program-tran=* \
   1089   | --progr-tra=* | --program-tr=* | --program-t=*)
   1090     program_transform_name=$ac_optarg ;;
   1091 
   1092   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1093     ac_prev=pdfdir ;;
   1094   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1095     pdfdir=$ac_optarg ;;
   1096 
   1097   -psdir | --psdir | --psdi | --psd | --ps)
   1098     ac_prev=psdir ;;
   1099   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1100     psdir=$ac_optarg ;;
   1101 
   1102   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1103   | -silent | --silent | --silen | --sile | --sil)
   1104     silent=yes ;;
   1105 
   1106   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1107     ac_prev=sbindir ;;
   1108   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1109   | --sbi=* | --sb=*)
   1110     sbindir=$ac_optarg ;;
   1111 
   1112   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1113   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1114   | --sharedst | --shareds | --shared | --share | --shar \
   1115   | --sha | --sh)
   1116     ac_prev=sharedstatedir ;;
   1117   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1118   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1119   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1120   | --sha=* | --sh=*)
   1121     sharedstatedir=$ac_optarg ;;
   1122 
   1123   -site | --site | --sit)
   1124     ac_prev=site ;;
   1125   -site=* | --site=* | --sit=*)
   1126     site=$ac_optarg ;;
   1127 
   1128   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1129     ac_prev=srcdir ;;
   1130   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1131     srcdir=$ac_optarg ;;
   1132 
   1133   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1134   | --syscon | --sysco | --sysc | --sys | --sy)
   1135     ac_prev=sysconfdir ;;
   1136   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1137   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1138     sysconfdir=$ac_optarg ;;
   1139 
   1140   -target | --target | --targe | --targ | --tar | --ta | --t)
   1141     ac_prev=target_alias ;;
   1142   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1143     target_alias=$ac_optarg ;;
   1144 
   1145   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1146     verbose=yes ;;
   1147 
   1148   -version | --version | --versio | --versi | --vers | -V)
   1149     ac_init_version=: ;;
   1150 
   1151   -with-* | --with-*)
   1152     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1153     # Reject names that are not valid shell variable names.
   1154     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1155       as_fn_error $? "invalid package name: $ac_useropt"
   1156     ac_useropt_orig=$ac_useropt
   1157     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1158     case $ac_user_opts in
   1159       *"
   1160 "with_$ac_useropt"
   1161 "*) ;;
   1162       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1163 	 ac_unrecognized_sep=', ';;
   1164     esac
   1165     eval with_$ac_useropt=\$ac_optarg ;;
   1166 
   1167   -without-* | --without-*)
   1168     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1169     # Reject names that are not valid shell variable names.
   1170     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1171       as_fn_error $? "invalid package name: $ac_useropt"
   1172     ac_useropt_orig=$ac_useropt
   1173     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1174     case $ac_user_opts in
   1175       *"
   1176 "with_$ac_useropt"
   1177 "*) ;;
   1178       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1179 	 ac_unrecognized_sep=', ';;
   1180     esac
   1181     eval with_$ac_useropt=no ;;
   1182 
   1183   --x)
   1184     # Obsolete; use --with-x.
   1185     with_x=yes ;;
   1186 
   1187   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1188   | --x-incl | --x-inc | --x-in | --x-i)
   1189     ac_prev=x_includes ;;
   1190   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1191   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1192     x_includes=$ac_optarg ;;
   1193 
   1194   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1195   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1196     ac_prev=x_libraries ;;
   1197   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1198   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1199     x_libraries=$ac_optarg ;;
   1200 
   1201   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1202 Try \`$0 --help' for more information"
   1203     ;;
   1204 
   1205   *=*)
   1206     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1207     # Reject names that are not valid shell variable names.
   1208     case $ac_envvar in #(
   1209       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1210       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1211     esac
   1212     eval $ac_envvar=\$ac_optarg
   1213     export $ac_envvar ;;
   1214 
   1215   *)
   1216     # FIXME: should be removed in autoconf 3.0.
   1217     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1218     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1219       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1220     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1221     ;;
   1222 
   1223   esac
   1224 done
   1225 
   1226 if test -n "$ac_prev"; then
   1227   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1228   as_fn_error $? "missing argument to $ac_option"
   1229 fi
   1230 
   1231 if test -n "$ac_unrecognized_opts"; then
   1232   case $enable_option_checking in
   1233     no) ;;
   1234     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1235     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1236   esac
   1237 fi
   1238 
   1239 # Check all directory arguments for consistency.
   1240 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1241 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1242 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1243 		libdir localedir mandir
   1244 do
   1245   eval ac_val=\$$ac_var
   1246   # Remove trailing slashes.
   1247   case $ac_val in
   1248     */ )
   1249       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1250       eval $ac_var=\$ac_val;;
   1251   esac
   1252   # Be sure to have absolute directory names.
   1253   case $ac_val in
   1254     [\\/$]* | ?:[\\/]* )  continue;;
   1255     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1256   esac
   1257   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1258 done
   1259 
   1260 # There might be people who depend on the old broken behavior: `$host'
   1261 # used to hold the argument of --host etc.
   1262 # FIXME: To remove some day.
   1263 build=$build_alias
   1264 host=$host_alias
   1265 target=$target_alias
   1266 
   1267 # FIXME: To remove some day.
   1268 if test "x$host_alias" != x; then
   1269   if test "x$build_alias" = x; then
   1270     cross_compiling=maybe
   1271   elif test "x$build_alias" != "x$host_alias"; then
   1272     cross_compiling=yes
   1273   fi
   1274 fi
   1275 
   1276 ac_tool_prefix=
   1277 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1278 
   1279 test "$silent" = yes && exec 6>/dev/null
   1280 
   1281 
   1282 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1283 ac_ls_di=`ls -di .` &&
   1284 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1285   as_fn_error $? "working directory cannot be determined"
   1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1287   as_fn_error $? "pwd does not report name of working directory"
   1288 
   1289 
   1290 # Find the source files, if location was not specified.
   1291 if test -z "$srcdir"; then
   1292   ac_srcdir_defaulted=yes
   1293   # Try the directory containing this script, then the parent directory.
   1294   ac_confdir=`$as_dirname -- "$as_myself" ||
   1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1296 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1297 	 X"$as_myself" : 'X\(//\)$' \| \
   1298 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1299 $as_echo X"$as_myself" |
   1300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)[^/].*/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\/\)$/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\).*/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  s/.*/./; q'`
   1317   srcdir=$ac_confdir
   1318   if test ! -r "$srcdir/$ac_unique_file"; then
   1319     srcdir=..
   1320   fi
   1321 else
   1322   ac_srcdir_defaulted=no
   1323 fi
   1324 if test ! -r "$srcdir/$ac_unique_file"; then
   1325   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1326   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1327 fi
   1328 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1329 ac_abs_confdir=`(
   1330 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1331 	pwd)`
   1332 # When building in place, set srcdir=.
   1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1334   srcdir=.
   1335 fi
   1336 # Remove unnecessary trailing slashes from srcdir.
   1337 # Double slashes in file names in object file debugging info
   1338 # mess up M-x gdb in Emacs.
   1339 case $srcdir in
   1340 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1341 esac
   1342 for ac_var in $ac_precious_vars; do
   1343   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1344   eval ac_env_${ac_var}_value=\$${ac_var}
   1345   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1346   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1347 done
   1348 
   1349 #
   1350 # Report the --help message.
   1351 #
   1352 if test "$ac_init_help" = "long"; then
   1353   # Omit some internal or obsolete options to make the list less imposing.
   1354   # This message is too long to be a string in the A/UX 3.1 sh.
   1355   cat <<_ACEOF
   1356 \`configure' configures libXpm 3.5.12 to adapt to many kinds of systems.
   1357 
   1358 Usage: $0 [OPTION]... [VAR=VALUE]...
   1359 
   1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1361 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1362 
   1363 Defaults for the options are specified in brackets.
   1364 
   1365 Configuration:
   1366   -h, --help              display this help and exit
   1367       --help=short        display options specific to this package
   1368       --help=recursive    display the short help of all the included packages
   1369   -V, --version           display version information and exit
   1370   -q, --quiet, --silent   do not print \`checking ...' messages
   1371       --cache-file=FILE   cache test results in FILE [disabled]
   1372   -C, --config-cache      alias for \`--cache-file=config.cache'
   1373   -n, --no-create         do not create output files
   1374       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1375 
   1376 Installation directories:
   1377   --prefix=PREFIX         install architecture-independent files in PREFIX
   1378                           [$ac_default_prefix]
   1379   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1380                           [PREFIX]
   1381 
   1382 By default, \`make install' will install all the files in
   1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1385 for instance \`--prefix=\$HOME'.
   1386 
   1387 For better control, use the options below.
   1388 
   1389 Fine tuning of the installation directories:
   1390   --bindir=DIR            user executables [EPREFIX/bin]
   1391   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1392   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1393   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1394   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1395   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1396   --libdir=DIR            object code libraries [EPREFIX/lib]
   1397   --includedir=DIR        C header files [PREFIX/include]
   1398   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1399   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1400   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1401   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1402   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1403   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1404   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
   1405   --htmldir=DIR           html documentation [DOCDIR]
   1406   --dvidir=DIR            dvi documentation [DOCDIR]
   1407   --pdfdir=DIR            pdf documentation [DOCDIR]
   1408   --psdir=DIR             ps documentation [DOCDIR]
   1409 _ACEOF
   1410 
   1411   cat <<\_ACEOF
   1412 
   1413 Program names:
   1414   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1415   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1416   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1417 
   1418 System types:
   1419   --build=BUILD     configure for building on BUILD [guessed]
   1420   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1421 _ACEOF
   1422 fi
   1423 
   1424 if test -n "$ac_init_help"; then
   1425   case $ac_init_help in
   1426      short | recursive ) echo "Configuration of libXpm 3.5.12:";;
   1427    esac
   1428   cat <<\_ACEOF
   1429 
   1430 Optional Features:
   1431   --disable-option-checking  ignore unrecognized --enable/--with options
   1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1434   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1435   --disable-silent-rules  verbose build output (undo: "make V=0")
   1436   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1437   --enable-static[=PKGS]  build static libraries [default=yes]
   1438   --enable-fast-install[=PKGS]
   1439                           optimize for fast installation [default=yes]
   1440   --enable-dependency-tracking
   1441                           do not reject slow dependency extractors
   1442   --disable-dependency-tracking
   1443                           speeds up one-time build
   1444   --disable-libtool-lock  avoid locking (might break parallel builds)
   1445   --disable-selective-werror
   1446                           Turn off selective compiler errors. (default:
   1447                           enabled)
   1448   --enable-strict-compilation
   1449                           Enable all warnings from compiler and make them
   1450                           errors (default: disabled)
   1451   --enable-stat-zfile     Search for files with .Z & .gz extensions
   1452                           automatically [default=yes]
   1453 
   1454 Optional Packages:
   1455   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1456   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1457   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1458                           both]
   1459   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1460   --with-sysroot=DIR Search for dependent libraries within DIR
   1461                         (or the compiler's sysroot if not specified).
   1462   --with-localedir=<path> Path to install message files in (default:
   1463                           datadir/locale)
   1464 
   1465 Some influential environment variables:
   1466   CC          C compiler command
   1467   CFLAGS      C compiler flags
   1468   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1469               nonstandard directory <lib dir>
   1470   LIBS        libraries to pass to the linker, e.g. -l<library>
   1471   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1472               you have headers in a nonstandard directory <include dir>
   1473   CPP         C preprocessor
   1474   PKG_CONFIG  path to pkg-config utility
   1475   PKG_CONFIG_PATH
   1476               directories to add to pkg-config's search path
   1477   PKG_CONFIG_LIBDIR
   1478               path overriding pkg-config's built-in search path
   1479   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1480   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1481   SXPM_CFLAGS C compiler flags for SXPM, overriding pkg-config
   1482   SXPM_LIBS   linker flags for SXPM, overriding pkg-config
   1483 
   1484 Use these variables to override the choices made by `configure' or to help
   1485 it to find libraries and programs with nonstandard names/locations.
   1486 
   1487 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1488 _ACEOF
   1489 ac_status=$?
   1490 fi
   1491 
   1492 if test "$ac_init_help" = "recursive"; then
   1493   # If there are subdirs, report their specific --help.
   1494   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1495     test -d "$ac_dir" ||
   1496       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1497       continue
   1498     ac_builddir=.
   1499 
   1500 case "$ac_dir" in
   1501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1502 *)
   1503   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1504   # A ".." for each directory in $ac_dir_suffix.
   1505   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1506   case $ac_top_builddir_sub in
   1507   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1508   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1509   esac ;;
   1510 esac
   1511 ac_abs_top_builddir=$ac_pwd
   1512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1513 # for backward compatibility:
   1514 ac_top_builddir=$ac_top_build_prefix
   1515 
   1516 case $srcdir in
   1517   .)  # We are building in place.
   1518     ac_srcdir=.
   1519     ac_top_srcdir=$ac_top_builddir_sub
   1520     ac_abs_top_srcdir=$ac_pwd ;;
   1521   [\\/]* | ?:[\\/]* )  # Absolute name.
   1522     ac_srcdir=$srcdir$ac_dir_suffix;
   1523     ac_top_srcdir=$srcdir
   1524     ac_abs_top_srcdir=$srcdir ;;
   1525   *) # Relative name.
   1526     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1527     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1528     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1529 esac
   1530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1531 
   1532     cd "$ac_dir" || { ac_status=$?; continue; }
   1533     # Check for guested configure.
   1534     if test -f "$ac_srcdir/configure.gnu"; then
   1535       echo &&
   1536       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1537     elif test -f "$ac_srcdir/configure"; then
   1538       echo &&
   1539       $SHELL "$ac_srcdir/configure" --help=recursive
   1540     else
   1541       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1542     fi || ac_status=$?
   1543     cd "$ac_pwd" || { ac_status=$?; break; }
   1544   done
   1545 fi
   1546 
   1547 test -n "$ac_init_help" && exit $ac_status
   1548 if $ac_init_version; then
   1549   cat <<\_ACEOF
   1550 libXpm configure 3.5.12
   1551 generated by GNU Autoconf 2.69
   1552 
   1553 Copyright (C) 2012 Free Software Foundation, Inc.
   1554 This configure script is free software; the Free Software Foundation
   1555 gives unlimited permission to copy, distribute and modify it.
   1556 _ACEOF
   1557   exit
   1558 fi
   1559 
   1560 ## ------------------------ ##
   1561 ## Autoconf initialization. ##
   1562 ## ------------------------ ##
   1563 
   1564 # ac_fn_c_try_compile LINENO
   1565 # --------------------------
   1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1567 ac_fn_c_try_compile ()
   1568 {
   1569   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1570   rm -f conftest.$ac_objext
   1571   if { { ac_try="$ac_compile"
   1572 case "(($ac_try" in
   1573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1574   *) ac_try_echo=$ac_try;;
   1575 esac
   1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1577 $as_echo "$ac_try_echo"; } >&5
   1578   (eval "$ac_compile") 2>conftest.err
   1579   ac_status=$?
   1580   if test -s conftest.err; then
   1581     grep -v '^ *+' conftest.err >conftest.er1
   1582     cat conftest.er1 >&5
   1583     mv -f conftest.er1 conftest.err
   1584   fi
   1585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1586   test $ac_status = 0; } && {
   1587 	 test -z "$ac_c_werror_flag" ||
   1588 	 test ! -s conftest.err
   1589        } && test -s conftest.$ac_objext; then :
   1590   ac_retval=0
   1591 else
   1592   $as_echo "$as_me: failed program was:" >&5
   1593 sed 's/^/| /' conftest.$ac_ext >&5
   1594 
   1595 	ac_retval=1
   1596 fi
   1597   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1598   as_fn_set_status $ac_retval
   1599 
   1600 } # ac_fn_c_try_compile
   1601 
   1602 # ac_fn_c_try_link LINENO
   1603 # -----------------------
   1604 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1605 ac_fn_c_try_link ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   rm -f conftest.$ac_objext conftest$ac_exeext
   1609   if { { ac_try="$ac_link"
   1610 case "(($ac_try" in
   1611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1612   *) ac_try_echo=$ac_try;;
   1613 esac
   1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1615 $as_echo "$ac_try_echo"; } >&5
   1616   (eval "$ac_link") 2>conftest.err
   1617   ac_status=$?
   1618   if test -s conftest.err; then
   1619     grep -v '^ *+' conftest.err >conftest.er1
   1620     cat conftest.er1 >&5
   1621     mv -f conftest.er1 conftest.err
   1622   fi
   1623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1624   test $ac_status = 0; } && {
   1625 	 test -z "$ac_c_werror_flag" ||
   1626 	 test ! -s conftest.err
   1627        } && test -s conftest$ac_exeext && {
   1628 	 test "$cross_compiling" = yes ||
   1629 	 test -x conftest$ac_exeext
   1630        }; then :
   1631   ac_retval=0
   1632 else
   1633   $as_echo "$as_me: failed program was:" >&5
   1634 sed 's/^/| /' conftest.$ac_ext >&5
   1635 
   1636 	ac_retval=1
   1637 fi
   1638   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1639   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1640   # interfere with the next link command; also delete a directory that is
   1641   # left behind by Apple's compiler.  We do this before executing the actions.
   1642   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1644   as_fn_set_status $ac_retval
   1645 
   1646 } # ac_fn_c_try_link
   1647 
   1648 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1649 # -------------------------------------------------------
   1650 # Tests whether HEADER exists and can be compiled using the include files in
   1651 # INCLUDES, setting the cache variable VAR accordingly.
   1652 ac_fn_c_check_header_compile ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1656 $as_echo_n "checking for $2... " >&6; }
   1657 if eval \${$3+:} false; then :
   1658   $as_echo_n "(cached) " >&6
   1659 else
   1660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1661 /* end confdefs.h.  */
   1662 $4
   1663 #include <$2>
   1664 _ACEOF
   1665 if ac_fn_c_try_compile "$LINENO"; then :
   1666   eval "$3=yes"
   1667 else
   1668   eval "$3=no"
   1669 fi
   1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1671 fi
   1672 eval ac_res=\$$3
   1673 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1674 $as_echo "$ac_res" >&6; }
   1675   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1676 
   1677 } # ac_fn_c_check_header_compile
   1678 
   1679 # ac_fn_c_try_cpp LINENO
   1680 # ----------------------
   1681 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1682 ac_fn_c_try_cpp ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1686 case "(($ac_try" in
   1687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1688   *) ac_try_echo=$ac_try;;
   1689 esac
   1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1691 $as_echo "$ac_try_echo"; } >&5
   1692   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1693   ac_status=$?
   1694   if test -s conftest.err; then
   1695     grep -v '^ *+' conftest.err >conftest.er1
   1696     cat conftest.er1 >&5
   1697     mv -f conftest.er1 conftest.err
   1698   fi
   1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; } > conftest.i && {
   1701 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1702 	 test ! -s conftest.err
   1703        }; then :
   1704   ac_retval=0
   1705 else
   1706   $as_echo "$as_me: failed program was:" >&5
   1707 sed 's/^/| /' conftest.$ac_ext >&5
   1708 
   1709     ac_retval=1
   1710 fi
   1711   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1712   as_fn_set_status $ac_retval
   1713 
   1714 } # ac_fn_c_try_cpp
   1715 
   1716 # ac_fn_c_try_run LINENO
   1717 # ----------------------
   1718 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1719 # that executables *can* be run.
   1720 ac_fn_c_try_run ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   if { { ac_try="$ac_link"
   1724 case "(($ac_try" in
   1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1726   *) ac_try_echo=$ac_try;;
   1727 esac
   1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1729 $as_echo "$ac_try_echo"; } >&5
   1730   (eval "$ac_link") 2>&5
   1731   ac_status=$?
   1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1733   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1734   { { case "(($ac_try" in
   1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1736   *) ac_try_echo=$ac_try;;
   1737 esac
   1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1739 $as_echo "$ac_try_echo"; } >&5
   1740   (eval "$ac_try") 2>&5
   1741   ac_status=$?
   1742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1743   test $ac_status = 0; }; }; then :
   1744   ac_retval=0
   1745 else
   1746   $as_echo "$as_me: program exited with status $ac_status" >&5
   1747        $as_echo "$as_me: failed program was:" >&5
   1748 sed 's/^/| /' conftest.$ac_ext >&5
   1749 
   1750        ac_retval=$ac_status
   1751 fi
   1752   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1754   as_fn_set_status $ac_retval
   1755 
   1756 } # ac_fn_c_try_run
   1757 
   1758 # ac_fn_c_check_func LINENO FUNC VAR
   1759 # ----------------------------------
   1760 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1761 ac_fn_c_check_func ()
   1762 {
   1763   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1765 $as_echo_n "checking for $2... " >&6; }
   1766 if eval \${$3+:} false; then :
   1767   $as_echo_n "(cached) " >&6
   1768 else
   1769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1770 /* end confdefs.h.  */
   1771 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1773 #define $2 innocuous_$2
   1774 
   1775 /* System header to define __stub macros and hopefully few prototypes,
   1776     which can conflict with char $2 (); below.
   1777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1778     <limits.h> exists even on freestanding compilers.  */
   1779 
   1780 #ifdef __STDC__
   1781 # include <limits.h>
   1782 #else
   1783 # include <assert.h>
   1784 #endif
   1785 
   1786 #undef $2
   1787 
   1788 /* Override any GCC internal prototype to avoid an error.
   1789    Use char because int might match the return type of a GCC
   1790    builtin and then its argument prototype would still apply.  */
   1791 #ifdef __cplusplus
   1792 extern "C"
   1793 #endif
   1794 char $2 ();
   1795 /* The GNU C library defines this for functions which it implements
   1796     to always fail with ENOSYS.  Some functions are actually named
   1797     something starting with __ and the normal name is an alias.  */
   1798 #if defined __stub_$2 || defined __stub___$2
   1799 choke me
   1800 #endif
   1801 
   1802 int
   1803 main ()
   1804 {
   1805 return $2 ();
   1806   ;
   1807   return 0;
   1808 }
   1809 _ACEOF
   1810 if ac_fn_c_try_link "$LINENO"; then :
   1811   eval "$3=yes"
   1812 else
   1813   eval "$3=no"
   1814 fi
   1815 rm -f core conftest.err conftest.$ac_objext \
   1816     conftest$ac_exeext conftest.$ac_ext
   1817 fi
   1818 eval ac_res=\$$3
   1819 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1820 $as_echo "$ac_res" >&6; }
   1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1822 
   1823 } # ac_fn_c_check_func
   1824 
   1825 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1826 # ---------------------------------------------
   1827 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1828 # accordingly.
   1829 ac_fn_c_check_decl ()
   1830 {
   1831   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1832   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1833   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1835 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1836 if eval \${$3+:} false; then :
   1837   $as_echo_n "(cached) " >&6
   1838 else
   1839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1840 /* end confdefs.h.  */
   1841 $4
   1842 int
   1843 main ()
   1844 {
   1845 #ifndef $as_decl_name
   1846 #ifdef __cplusplus
   1847   (void) $as_decl_use;
   1848 #else
   1849   (void) $as_decl_name;
   1850 #endif
   1851 #endif
   1852 
   1853   ;
   1854   return 0;
   1855 }
   1856 _ACEOF
   1857 if ac_fn_c_try_compile "$LINENO"; then :
   1858   eval "$3=yes"
   1859 else
   1860   eval "$3=no"
   1861 fi
   1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1863 fi
   1864 eval ac_res=\$$3
   1865 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1866 $as_echo "$ac_res" >&6; }
   1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1868 
   1869 } # ac_fn_c_check_decl
   1870 cat >config.log <<_ACEOF
   1871 This file contains any messages produced by compilers while
   1872 running configure, to aid debugging if configure makes a mistake.
   1873 
   1874 It was created by libXpm $as_me 3.5.12, which was
   1875 generated by GNU Autoconf 2.69.  Invocation command line was
   1876 
   1877   $ $0 $@
   1878 
   1879 _ACEOF
   1880 exec 5>>config.log
   1881 {
   1882 cat <<_ASUNAME
   1883 ## --------- ##
   1884 ## Platform. ##
   1885 ## --------- ##
   1886 
   1887 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1888 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1889 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1890 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1891 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1892 
   1893 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1894 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1895 
   1896 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1897 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1898 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1899 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1900 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1901 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1902 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1903 
   1904 _ASUNAME
   1905 
   1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1907 for as_dir in $PATH
   1908 do
   1909   IFS=$as_save_IFS
   1910   test -z "$as_dir" && as_dir=.
   1911     $as_echo "PATH: $as_dir"
   1912   done
   1913 IFS=$as_save_IFS
   1914 
   1915 } >&5
   1916 
   1917 cat >&5 <<_ACEOF
   1918 
   1919 
   1920 ## ----------- ##
   1921 ## Core tests. ##
   1922 ## ----------- ##
   1923 
   1924 _ACEOF
   1925 
   1926 
   1927 # Keep a trace of the command line.
   1928 # Strip out --no-create and --no-recursion so they do not pile up.
   1929 # Strip out --silent because we don't want to record it for future runs.
   1930 # Also quote any args containing shell meta-characters.
   1931 # Make two passes to allow for proper duplicate-argument suppression.
   1932 ac_configure_args=
   1933 ac_configure_args0=
   1934 ac_configure_args1=
   1935 ac_must_keep_next=false
   1936 for ac_pass in 1 2
   1937 do
   1938   for ac_arg
   1939   do
   1940     case $ac_arg in
   1941     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1942     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1943     | -silent | --silent | --silen | --sile | --sil)
   1944       continue ;;
   1945     *\'*)
   1946       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1947     esac
   1948     case $ac_pass in
   1949     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1950     2)
   1951       as_fn_append ac_configure_args1 " '$ac_arg'"
   1952       if test $ac_must_keep_next = true; then
   1953 	ac_must_keep_next=false # Got value, back to normal.
   1954       else
   1955 	case $ac_arg in
   1956 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1957 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1958 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1959 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1960 	    case "$ac_configure_args0 " in
   1961 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1962 	    esac
   1963 	    ;;
   1964 	  -* ) ac_must_keep_next=true ;;
   1965 	esac
   1966       fi
   1967       as_fn_append ac_configure_args " '$ac_arg'"
   1968       ;;
   1969     esac
   1970   done
   1971 done
   1972 { ac_configure_args0=; unset ac_configure_args0;}
   1973 { ac_configure_args1=; unset ac_configure_args1;}
   1974 
   1975 # When interrupted or exit'd, cleanup temporary files, and complete
   1976 # config.log.  We remove comments because anyway the quotes in there
   1977 # would cause problems or look ugly.
   1978 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1979 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1980 trap 'exit_status=$?
   1981   # Save into config.log some information that might help in debugging.
   1982   {
   1983     echo
   1984 
   1985     $as_echo "## ---------------- ##
   1986 ## Cache variables. ##
   1987 ## ---------------- ##"
   1988     echo
   1989     # The following way of writing the cache mishandles newlines in values,
   1990 (
   1991   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1992     eval ac_val=\$$ac_var
   1993     case $ac_val in #(
   1994     *${as_nl}*)
   1995       case $ac_var in #(
   1996       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1997 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1998       esac
   1999       case $ac_var in #(
   2000       _ | IFS | as_nl) ;; #(
   2001       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2002       *) { eval $ac_var=; unset $ac_var;} ;;
   2003       esac ;;
   2004     esac
   2005   done
   2006   (set) 2>&1 |
   2007     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2008     *${as_nl}ac_space=\ *)
   2009       sed -n \
   2010 	"s/'\''/'\''\\\\'\'''\''/g;
   2011 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2012       ;; #(
   2013     *)
   2014       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2015       ;;
   2016     esac |
   2017     sort
   2018 )
   2019     echo
   2020 
   2021     $as_echo "## ----------------- ##
   2022 ## Output variables. ##
   2023 ## ----------------- ##"
   2024     echo
   2025     for ac_var in $ac_subst_vars
   2026     do
   2027       eval ac_val=\$$ac_var
   2028       case $ac_val in
   2029       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2030       esac
   2031       $as_echo "$ac_var='\''$ac_val'\''"
   2032     done | sort
   2033     echo
   2034 
   2035     if test -n "$ac_subst_files"; then
   2036       $as_echo "## ------------------- ##
   2037 ## File substitutions. ##
   2038 ## ------------------- ##"
   2039       echo
   2040       for ac_var in $ac_subst_files
   2041       do
   2042 	eval ac_val=\$$ac_var
   2043 	case $ac_val in
   2044 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2045 	esac
   2046 	$as_echo "$ac_var='\''$ac_val'\''"
   2047       done | sort
   2048       echo
   2049     fi
   2050 
   2051     if test -s confdefs.h; then
   2052       $as_echo "## ----------- ##
   2053 ## confdefs.h. ##
   2054 ## ----------- ##"
   2055       echo
   2056       cat confdefs.h
   2057       echo
   2058     fi
   2059     test "$ac_signal" != 0 &&
   2060       $as_echo "$as_me: caught signal $ac_signal"
   2061     $as_echo "$as_me: exit $exit_status"
   2062   } >&5
   2063   rm -f core *.core core.conftest.* &&
   2064     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2065     exit $exit_status
   2066 ' 0
   2067 for ac_signal in 1 2 13 15; do
   2068   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2069 done
   2070 ac_signal=0
   2071 
   2072 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2073 rm -f -r conftest* confdefs.h
   2074 
   2075 $as_echo "/* confdefs.h */" > confdefs.h
   2076 
   2077 # Predefined preprocessor variables.
   2078 
   2079 cat >>confdefs.h <<_ACEOF
   2080 #define PACKAGE_NAME "$PACKAGE_NAME"
   2081 _ACEOF
   2082 
   2083 cat >>confdefs.h <<_ACEOF
   2084 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2085 _ACEOF
   2086 
   2087 cat >>confdefs.h <<_ACEOF
   2088 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2089 _ACEOF
   2090 
   2091 cat >>confdefs.h <<_ACEOF
   2092 #define PACKAGE_STRING "$PACKAGE_STRING"
   2093 _ACEOF
   2094 
   2095 cat >>confdefs.h <<_ACEOF
   2096 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2097 _ACEOF
   2098 
   2099 cat >>confdefs.h <<_ACEOF
   2100 #define PACKAGE_URL "$PACKAGE_URL"
   2101 _ACEOF
   2102 
   2103 
   2104 # Let the site file select an alternate cache file if it wants to.
   2105 # Prefer an explicitly selected file to automatically selected ones.
   2106 ac_site_file1=NONE
   2107 ac_site_file2=NONE
   2108 if test -n "$CONFIG_SITE"; then
   2109   # We do not want a PATH search for config.site.
   2110   case $CONFIG_SITE in #((
   2111     -*)  ac_site_file1=./$CONFIG_SITE;;
   2112     */*) ac_site_file1=$CONFIG_SITE;;
   2113     *)   ac_site_file1=./$CONFIG_SITE;;
   2114   esac
   2115 elif test "x$prefix" != xNONE; then
   2116   ac_site_file1=$prefix/share/config.site
   2117   ac_site_file2=$prefix/etc/config.site
   2118 else
   2119   ac_site_file1=$ac_default_prefix/share/config.site
   2120   ac_site_file2=$ac_default_prefix/etc/config.site
   2121 fi
   2122 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2123 do
   2124   test "x$ac_site_file" = xNONE && continue
   2125   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2126     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2127 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2128     sed 's/^/| /' "$ac_site_file" >&5
   2129     . "$ac_site_file" \
   2130       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2132 as_fn_error $? "failed to load site script $ac_site_file
   2133 See \`config.log' for more details" "$LINENO" 5; }
   2134   fi
   2135 done
   2136 
   2137 if test -r "$cache_file"; then
   2138   # Some versions of bash will fail to source /dev/null (special files
   2139   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2140   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2141     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2142 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2143     case $cache_file in
   2144       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2145       *)                      . "./$cache_file";;
   2146     esac
   2147   fi
   2148 else
   2149   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2150 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2151   >$cache_file
   2152 fi
   2153 
   2154 # Check that the precious variables saved in the cache have kept the same
   2155 # value.
   2156 ac_cache_corrupted=false
   2157 for ac_var in $ac_precious_vars; do
   2158   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2159   eval ac_new_set=\$ac_env_${ac_var}_set
   2160   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2161   eval ac_new_val=\$ac_env_${ac_var}_value
   2162   case $ac_old_set,$ac_new_set in
   2163     set,)
   2164       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2165 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2166       ac_cache_corrupted=: ;;
   2167     ,set)
   2168       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2169 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2170       ac_cache_corrupted=: ;;
   2171     ,);;
   2172     *)
   2173       if test "x$ac_old_val" != "x$ac_new_val"; then
   2174 	# differences in whitespace do not lead to failure.
   2175 	ac_old_val_w=`echo x $ac_old_val`
   2176 	ac_new_val_w=`echo x $ac_new_val`
   2177 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2178 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2179 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2180 	  ac_cache_corrupted=:
   2181 	else
   2182 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2183 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2184 	  eval $ac_var=\$ac_old_val
   2185 	fi
   2186 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2187 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2188 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2189 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2190       fi;;
   2191   esac
   2192   # Pass precious variables to config.status.
   2193   if test "$ac_new_set" = set; then
   2194     case $ac_new_val in
   2195     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2196     *) ac_arg=$ac_var=$ac_new_val ;;
   2197     esac
   2198     case " $ac_configure_args " in
   2199       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2200       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2201     esac
   2202   fi
   2203 done
   2204 if $ac_cache_corrupted; then
   2205   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2207   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2208 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2209   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2210 fi
   2211 ## -------------------- ##
   2212 ## Main body of script. ##
   2213 ## -------------------- ##
   2214 
   2215 ac_ext=c
   2216 ac_cpp='$CPP $CPPFLAGS'
   2217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2220 
   2221 
   2222 
   2223 ac_config_headers="$ac_config_headers config.h"
   2224 
   2225 
   2226 
   2227 # Initialize Automake
   2228 am__api_version='1.14'
   2229 
   2230 ac_aux_dir=
   2231 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2232   if test -f "$ac_dir/install-sh"; then
   2233     ac_aux_dir=$ac_dir
   2234     ac_install_sh="$ac_aux_dir/install-sh -c"
   2235     break
   2236   elif test -f "$ac_dir/install.sh"; then
   2237     ac_aux_dir=$ac_dir
   2238     ac_install_sh="$ac_aux_dir/install.sh -c"
   2239     break
   2240   elif test -f "$ac_dir/shtool"; then
   2241     ac_aux_dir=$ac_dir
   2242     ac_install_sh="$ac_aux_dir/shtool install -c"
   2243     break
   2244   fi
   2245 done
   2246 if test -z "$ac_aux_dir"; then
   2247   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2248 fi
   2249 
   2250 # These three variables are undocumented and unsupported,
   2251 # and are intended to be withdrawn in a future Autoconf release.
   2252 # They can cause serious problems if a builder's source tree is in a directory
   2253 # whose full name contains unusual characters.
   2254 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2255 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2256 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2257 
   2258 
   2259 # Find a good install program.  We prefer a C program (faster),
   2260 # so one script is as good as another.  But avoid the broken or
   2261 # incompatible versions:
   2262 # SysV /etc/install, /usr/sbin/install
   2263 # SunOS /usr/etc/install
   2264 # IRIX /sbin/install
   2265 # AIX /bin/install
   2266 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2267 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2268 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2269 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2270 # OS/2's system install, which has a completely different semantic
   2271 # ./install, which can be erroneously created by make from ./install.sh.
   2272 # Reject install programs that cannot install multiple files.
   2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2274 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2275 if test -z "$INSTALL"; then
   2276 if ${ac_cv_path_install+:} false; then :
   2277   $as_echo_n "(cached) " >&6
   2278 else
   2279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280 for as_dir in $PATH
   2281 do
   2282   IFS=$as_save_IFS
   2283   test -z "$as_dir" && as_dir=.
   2284     # Account for people who put trailing slashes in PATH elements.
   2285 case $as_dir/ in #((
   2286   ./ | .// | /[cC]/* | \
   2287   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2288   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2289   /usr/ucb/* ) ;;
   2290   *)
   2291     # OSF1 and SCO ODT 3.0 have their own names for install.
   2292     # Don't use installbsd from OSF since it installs stuff as root
   2293     # by default.
   2294     for ac_prog in ginstall scoinst install; do
   2295       for ac_exec_ext in '' $ac_executable_extensions; do
   2296 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2297 	  if test $ac_prog = install &&
   2298 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2299 	    # AIX install.  It has an incompatible calling convention.
   2300 	    :
   2301 	  elif test $ac_prog = install &&
   2302 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2303 	    # program-specific install script used by HP pwplus--don't use.
   2304 	    :
   2305 	  else
   2306 	    rm -rf conftest.one conftest.two conftest.dir
   2307 	    echo one > conftest.one
   2308 	    echo two > conftest.two
   2309 	    mkdir conftest.dir
   2310 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2311 	      test -s conftest.one && test -s conftest.two &&
   2312 	      test -s conftest.dir/conftest.one &&
   2313 	      test -s conftest.dir/conftest.two
   2314 	    then
   2315 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2316 	      break 3
   2317 	    fi
   2318 	  fi
   2319 	fi
   2320       done
   2321     done
   2322     ;;
   2323 esac
   2324 
   2325   done
   2326 IFS=$as_save_IFS
   2327 
   2328 rm -rf conftest.one conftest.two conftest.dir
   2329 
   2330 fi
   2331   if test "${ac_cv_path_install+set}" = set; then
   2332     INSTALL=$ac_cv_path_install
   2333   else
   2334     # As a last resort, use the slow shell script.  Don't cache a
   2335     # value for INSTALL within a source directory, because that will
   2336     # break other packages using the cache if that directory is
   2337     # removed, or if the value is a relative name.
   2338     INSTALL=$ac_install_sh
   2339   fi
   2340 fi
   2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2342 $as_echo "$INSTALL" >&6; }
   2343 
   2344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2345 # It thinks the first close brace ends the variable substitution.
   2346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2347 
   2348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2349 
   2350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2351 
   2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2353 $as_echo_n "checking whether build environment is sane... " >&6; }
   2354 # Reject unsafe characters in $srcdir or the absolute working directory
   2355 # name.  Accept space and tab only in the latter.
   2356 am_lf='
   2357 '
   2358 case `pwd` in
   2359   *[\\\"\#\$\&\'\`$am_lf]*)
   2360     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2361 esac
   2362 case $srcdir in
   2363   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2364     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2365 esac
   2366 
   2367 # Do 'set' in a subshell so we don't clobber the current shell's
   2368 # arguments.  Must try -L first in case configure is actually a
   2369 # symlink; some systems play weird games with the mod time of symlinks
   2370 # (eg FreeBSD returns the mod time of the symlink's containing
   2371 # directory).
   2372 if (
   2373    am_has_slept=no
   2374    for am_try in 1 2; do
   2375      echo "timestamp, slept: $am_has_slept" > conftest.file
   2376      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2377      if test "$*" = "X"; then
   2378 	# -L didn't work.
   2379 	set X `ls -t "$srcdir/configure" conftest.file`
   2380      fi
   2381      if test "$*" != "X $srcdir/configure conftest.file" \
   2382 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2383 
   2384 	# If neither matched, then we have a broken ls.  This can happen
   2385 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2386 	# broken ls alias from the environment.  This has actually
   2387 	# happened.  Such a system could not be considered "sane".
   2388 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2389   alias in your environment" "$LINENO" 5
   2390      fi
   2391      if test "$2" = conftest.file || test $am_try -eq 2; then
   2392        break
   2393      fi
   2394      # Just in case.
   2395      sleep 1
   2396      am_has_slept=yes
   2397    done
   2398    test "$2" = conftest.file
   2399    )
   2400 then
   2401    # Ok.
   2402    :
   2403 else
   2404    as_fn_error $? "newly created file is older than distributed files!
   2405 Check your system clock" "$LINENO" 5
   2406 fi
   2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2408 $as_echo "yes" >&6; }
   2409 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2410 # generated files are strictly newer.
   2411 am_sleep_pid=
   2412 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2413   ( sleep 1 ) &
   2414   am_sleep_pid=$!
   2415 fi
   2416 
   2417 rm -f conftest.file
   2418 
   2419 test "$program_prefix" != NONE &&
   2420   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2421 # Use a double $ so make ignores it.
   2422 test "$program_suffix" != NONE &&
   2423   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2424 # Double any \ or $.
   2425 # By default was `s,x,x', remove it if useless.
   2426 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2427 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2428 
   2429 # expand $ac_aux_dir to an absolute path
   2430 am_aux_dir=`cd $ac_aux_dir && pwd`
   2431 
   2432 if test x"${MISSING+set}" != xset; then
   2433   case $am_aux_dir in
   2434   *\ * | *\	*)
   2435     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2436   *)
   2437     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2438   esac
   2439 fi
   2440 # Use eval to expand $SHELL
   2441 if eval "$MISSING --is-lightweight"; then
   2442   am_missing_run="$MISSING "
   2443 else
   2444   am_missing_run=
   2445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2446 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2447 fi
   2448 
   2449 if test x"${install_sh}" != xset; then
   2450   case $am_aux_dir in
   2451   *\ * | *\	*)
   2452     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2453   *)
   2454     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2455   esac
   2456 fi
   2457 
   2458 # Installed binaries are usually stripped using 'strip' when the user
   2459 # run "make install-strip".  However 'strip' might not be the right
   2460 # tool to use in cross-compilation environments, therefore Automake
   2461 # will honor the 'STRIP' environment variable to overrule this program.
   2462 if test "$cross_compiling" != no; then
   2463   if test -n "$ac_tool_prefix"; then
   2464   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2465 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2467 $as_echo_n "checking for $ac_word... " >&6; }
   2468 if ${ac_cv_prog_STRIP+:} false; then :
   2469   $as_echo_n "(cached) " >&6
   2470 else
   2471   if test -n "$STRIP"; then
   2472   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2473 else
   2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2475 for as_dir in $PATH
   2476 do
   2477   IFS=$as_save_IFS
   2478   test -z "$as_dir" && as_dir=.
   2479     for ac_exec_ext in '' $ac_executable_extensions; do
   2480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2481     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2483     break 2
   2484   fi
   2485 done
   2486   done
   2487 IFS=$as_save_IFS
   2488 
   2489 fi
   2490 fi
   2491 STRIP=$ac_cv_prog_STRIP
   2492 if test -n "$STRIP"; then
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2494 $as_echo "$STRIP" >&6; }
   2495 else
   2496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2497 $as_echo "no" >&6; }
   2498 fi
   2499 
   2500 
   2501 fi
   2502 if test -z "$ac_cv_prog_STRIP"; then
   2503   ac_ct_STRIP=$STRIP
   2504   # Extract the first word of "strip", so it can be a program name with args.
   2505 set dummy strip; ac_word=$2
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2507 $as_echo_n "checking for $ac_word... " >&6; }
   2508 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2509   $as_echo_n "(cached) " >&6
   2510 else
   2511   if test -n "$ac_ct_STRIP"; then
   2512   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2513 else
   2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2515 for as_dir in $PATH
   2516 do
   2517   IFS=$as_save_IFS
   2518   test -z "$as_dir" && as_dir=.
   2519     for ac_exec_ext in '' $ac_executable_extensions; do
   2520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2521     ac_cv_prog_ac_ct_STRIP="strip"
   2522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2523     break 2
   2524   fi
   2525 done
   2526   done
   2527 IFS=$as_save_IFS
   2528 
   2529 fi
   2530 fi
   2531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2532 if test -n "$ac_ct_STRIP"; then
   2533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2534 $as_echo "$ac_ct_STRIP" >&6; }
   2535 else
   2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2537 $as_echo "no" >&6; }
   2538 fi
   2539 
   2540   if test "x$ac_ct_STRIP" = x; then
   2541     STRIP=":"
   2542   else
   2543     case $cross_compiling:$ac_tool_warned in
   2544 yes:)
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2547 ac_tool_warned=yes ;;
   2548 esac
   2549     STRIP=$ac_ct_STRIP
   2550   fi
   2551 else
   2552   STRIP="$ac_cv_prog_STRIP"
   2553 fi
   2554 
   2555 fi
   2556 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2557 
   2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2559 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2560 if test -z "$MKDIR_P"; then
   2561   if ${ac_cv_path_mkdir+:} false; then :
   2562   $as_echo_n "(cached) " >&6
   2563 else
   2564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2565 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2566 do
   2567   IFS=$as_save_IFS
   2568   test -z "$as_dir" && as_dir=.
   2569     for ac_prog in mkdir gmkdir; do
   2570 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2571 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2572 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2573 	     'mkdir (GNU coreutils) '* | \
   2574 	     'mkdir (coreutils) '* | \
   2575 	     'mkdir (fileutils) '4.1*)
   2576 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2577 	       break 3;;
   2578 	   esac
   2579 	 done
   2580        done
   2581   done
   2582 IFS=$as_save_IFS
   2583 
   2584 fi
   2585 
   2586   test -d ./--version && rmdir ./--version
   2587   if test "${ac_cv_path_mkdir+set}" = set; then
   2588     MKDIR_P="$ac_cv_path_mkdir -p"
   2589   else
   2590     # As a last resort, use the slow shell script.  Don't cache a
   2591     # value for MKDIR_P within a source directory, because that will
   2592     # break other packages using the cache if that directory is
   2593     # removed, or if the value is a relative name.
   2594     MKDIR_P="$ac_install_sh -d"
   2595   fi
   2596 fi
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2598 $as_echo "$MKDIR_P" >&6; }
   2599 
   2600 for ac_prog in gawk mawk nawk awk
   2601 do
   2602   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2603 set dummy $ac_prog; ac_word=$2
   2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2605 $as_echo_n "checking for $ac_word... " >&6; }
   2606 if ${ac_cv_prog_AWK+:} false; then :
   2607   $as_echo_n "(cached) " >&6
   2608 else
   2609   if test -n "$AWK"; then
   2610   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2611 else
   2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2613 for as_dir in $PATH
   2614 do
   2615   IFS=$as_save_IFS
   2616   test -z "$as_dir" && as_dir=.
   2617     for ac_exec_ext in '' $ac_executable_extensions; do
   2618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2619     ac_cv_prog_AWK="$ac_prog"
   2620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2621     break 2
   2622   fi
   2623 done
   2624   done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 fi
   2629 AWK=$ac_cv_prog_AWK
   2630 if test -n "$AWK"; then
   2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2632 $as_echo "$AWK" >&6; }
   2633 else
   2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2635 $as_echo "no" >&6; }
   2636 fi
   2637 
   2638 
   2639   test -n "$AWK" && break
   2640 done
   2641 
   2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2643 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2644 set x ${MAKE-make}
   2645 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2646 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2647   $as_echo_n "(cached) " >&6
   2648 else
   2649   cat >conftest.make <<\_ACEOF
   2650 SHELL = /bin/sh
   2651 all:
   2652 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2653 _ACEOF
   2654 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2655 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2656   *@@@%%%=?*=@@@%%%*)
   2657     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2658   *)
   2659     eval ac_cv_prog_make_${ac_make}_set=no;;
   2660 esac
   2661 rm -f conftest.make
   2662 fi
   2663 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2665 $as_echo "yes" >&6; }
   2666   SET_MAKE=
   2667 else
   2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2669 $as_echo "no" >&6; }
   2670   SET_MAKE="MAKE=${MAKE-make}"
   2671 fi
   2672 
   2673 rm -rf .tst 2>/dev/null
   2674 mkdir .tst 2>/dev/null
   2675 if test -d .tst; then
   2676   am__leading_dot=.
   2677 else
   2678   am__leading_dot=_
   2679 fi
   2680 rmdir .tst 2>/dev/null
   2681 
   2682 # Check whether --enable-silent-rules was given.
   2683 if test "${enable_silent_rules+set}" = set; then :
   2684   enableval=$enable_silent_rules;
   2685 fi
   2686 
   2687 case $enable_silent_rules in # (((
   2688   yes) AM_DEFAULT_VERBOSITY=0;;
   2689    no) AM_DEFAULT_VERBOSITY=1;;
   2690     *) AM_DEFAULT_VERBOSITY=1;;
   2691 esac
   2692 am_make=${MAKE-make}
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2694 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2695 if ${am_cv_make_support_nested_variables+:} false; then :
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   if $as_echo 'TRUE=$(BAR$(V))
   2699 BAR0=false
   2700 BAR1=true
   2701 V=1
   2702 am__doit:
   2703 	@$(TRUE)
   2704 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2705   am_cv_make_support_nested_variables=yes
   2706 else
   2707   am_cv_make_support_nested_variables=no
   2708 fi
   2709 fi
   2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2711 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2712 if test $am_cv_make_support_nested_variables = yes; then
   2713     AM_V='$(V)'
   2714   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2715 else
   2716   AM_V=$AM_DEFAULT_VERBOSITY
   2717   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2718 fi
   2719 AM_BACKSLASH='\'
   2720 
   2721 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2722   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2723   # is not polluted with repeated "-I."
   2724   am__isrc=' -I$(srcdir)'
   2725   # test to see if srcdir already configured
   2726   if test -f $srcdir/config.status; then
   2727     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2728   fi
   2729 fi
   2730 
   2731 # test whether we have cygpath
   2732 if test -z "$CYGPATH_W"; then
   2733   if (cygpath --version) >/dev/null 2>/dev/null; then
   2734     CYGPATH_W='cygpath -w'
   2735   else
   2736     CYGPATH_W=echo
   2737   fi
   2738 fi
   2739 
   2740 
   2741 # Define the identity of the package.
   2742  PACKAGE='libXpm'
   2743  VERSION='3.5.12'
   2744 
   2745 
   2746 cat >>confdefs.h <<_ACEOF
   2747 #define PACKAGE "$PACKAGE"
   2748 _ACEOF
   2749 
   2750 
   2751 cat >>confdefs.h <<_ACEOF
   2752 #define VERSION "$VERSION"
   2753 _ACEOF
   2754 
   2755 # Some tools Automake needs.
   2756 
   2757 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2758 
   2759 
   2760 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2761 
   2762 
   2763 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2764 
   2765 
   2766 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2767 
   2768 
   2769 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2770 
   2771 # For better backward compatibility.  To be removed once Automake 1.9.x
   2772 # dies out for good.  For more background, see:
   2773 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2774 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2775 mkdir_p='$(MKDIR_P)'
   2776 
   2777 # We need awk for the "check" target.  The system "awk" is bad on
   2778 # some platforms.
   2779 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2780 # in the wild :-(  We should find a proper way to deprecate it ...
   2781 AMTAR='$${TAR-tar}'
   2782 
   2783 
   2784 # We'll loop over all known methods to create a tar archive until one works.
   2785 _am_tools='gnutar  pax cpio none'
   2786 
   2787 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2788 
   2789 
   2790 
   2791 
   2792 
   2793 
   2794 # POSIX will say in a future version that running "rm -f" with no argument
   2795 # is OK; and we want to be able to make that assumption in our Makefile
   2796 # recipes.  So use an aggressive probe to check that the usage we want is
   2797 # actually supported "in the wild" to an acceptable degree.
   2798 # See automake bug#10828.
   2799 # To make any issue more visible, cause the running configure to be aborted
   2800 # by default if the 'rm' program in use doesn't match our expectations; the
   2801 # user can still override this though.
   2802 if rm -f && rm -fr && rm -rf; then : OK; else
   2803   cat >&2 <<'END'
   2804 Oops!
   2805 
   2806 Your 'rm' program seems unable to run without file operands specified
   2807 on the command line, even when the '-f' option is present.  This is contrary
   2808 to the behaviour of most rm programs out there, and not conforming with
   2809 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2810 
   2811 Please tell bug-automake@gnu.org about your system, including the value
   2812 of your $PATH and any error possibly output before this message.  This
   2813 can help us improve future automake versions.
   2814 
   2815 END
   2816   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2817     echo 'Configuration will proceed anyway, since you have set the' >&2
   2818     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2819     echo >&2
   2820   else
   2821     cat >&2 <<'END'
   2822 Aborting the configuration process, to ensure you take notice of the issue.
   2823 
   2824 You can download and install GNU coreutils to get an 'rm' implementation
   2825 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2826 
   2827 If you want to complete the configuration process using your problematic
   2828 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2829 to "yes", and re-run configure.
   2830 
   2831 END
   2832     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2833   fi
   2834 fi
   2835 
   2836 # Initialize libtool
   2837 case `pwd` in
   2838   *\ * | *\	*)
   2839     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2840 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2841 esac
   2842 
   2843 
   2844 
   2845 macro_version='2.4.2'
   2846 macro_revision='1.3337'
   2847 
   2848 
   2849 
   2850 
   2851 
   2852 
   2853 
   2854 
   2855 
   2856 
   2857 
   2858 
   2859 
   2860 ltmain="$ac_aux_dir/ltmain.sh"
   2861 
   2862 # Make sure we can run config.sub.
   2863 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2864   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2865 
   2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2867 $as_echo_n "checking build system type... " >&6; }
   2868 if ${ac_cv_build+:} false; then :
   2869   $as_echo_n "(cached) " >&6
   2870 else
   2871   ac_build_alias=$build_alias
   2872 test "x$ac_build_alias" = x &&
   2873   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2874 test "x$ac_build_alias" = x &&
   2875   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2876 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2877   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2878 
   2879 fi
   2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2881 $as_echo "$ac_cv_build" >&6; }
   2882 case $ac_cv_build in
   2883 *-*-*) ;;
   2884 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2885 esac
   2886 build=$ac_cv_build
   2887 ac_save_IFS=$IFS; IFS='-'
   2888 set x $ac_cv_build
   2889 shift
   2890 build_cpu=$1
   2891 build_vendor=$2
   2892 shift; shift
   2893 # Remember, the first character of IFS is used to create $*,
   2894 # except with old shells:
   2895 build_os=$*
   2896 IFS=$ac_save_IFS
   2897 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2898 
   2899 
   2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2901 $as_echo_n "checking host system type... " >&6; }
   2902 if ${ac_cv_host+:} false; then :
   2903   $as_echo_n "(cached) " >&6
   2904 else
   2905   if test "x$host_alias" = x; then
   2906   ac_cv_host=$ac_cv_build
   2907 else
   2908   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2909     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2910 fi
   2911 
   2912 fi
   2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2914 $as_echo "$ac_cv_host" >&6; }
   2915 case $ac_cv_host in
   2916 *-*-*) ;;
   2917 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2918 esac
   2919 host=$ac_cv_host
   2920 ac_save_IFS=$IFS; IFS='-'
   2921 set x $ac_cv_host
   2922 shift
   2923 host_cpu=$1
   2924 host_vendor=$2
   2925 shift; shift
   2926 # Remember, the first character of IFS is used to create $*,
   2927 # except with old shells:
   2928 host_os=$*
   2929 IFS=$ac_save_IFS
   2930 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2931 
   2932 
   2933 # Backslashify metacharacters that are still active within
   2934 # double-quoted strings.
   2935 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2936 
   2937 # Same as above, but do not quote variable references.
   2938 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2939 
   2940 # Sed substitution to delay expansion of an escaped shell variable in a
   2941 # double_quote_subst'ed string.
   2942 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2943 
   2944 # Sed substitution to delay expansion of an escaped single quote.
   2945 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2946 
   2947 # Sed substitution to avoid accidental globbing in evaled expressions
   2948 no_glob_subst='s/\*/\\\*/g'
   2949 
   2950 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2951 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2952 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2953 
   2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2955 $as_echo_n "checking how to print strings... " >&6; }
   2956 # Test print first, because it will be a builtin if present.
   2957 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2958    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2959   ECHO='print -r --'
   2960 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2961   ECHO='printf %s\n'
   2962 else
   2963   # Use this function as a fallback that always works.
   2964   func_fallback_echo ()
   2965   {
   2966     eval 'cat <<_LTECHO_EOF
   2967 $1
   2968 _LTECHO_EOF'
   2969   }
   2970   ECHO='func_fallback_echo'
   2971 fi
   2972 
   2973 # func_echo_all arg...
   2974 # Invoke $ECHO with all args, space-separated.
   2975 func_echo_all ()
   2976 {
   2977     $ECHO ""
   2978 }
   2979 
   2980 case "$ECHO" in
   2981   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2982 $as_echo "printf" >&6; } ;;
   2983   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2984 $as_echo "print -r" >&6; } ;;
   2985   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2986 $as_echo "cat" >&6; } ;;
   2987 esac
   2988 
   2989 
   2990 
   2991 
   2992 
   2993 
   2994 
   2995 
   2996 
   2997 
   2998 
   2999 
   3000 
   3001 
   3002 DEPDIR="${am__leading_dot}deps"
   3003 
   3004 ac_config_commands="$ac_config_commands depfiles"
   3005 
   3006 
   3007 am_make=${MAKE-make}
   3008 cat > confinc << 'END'
   3009 am__doit:
   3010 	@echo this is the am__doit target
   3011 .PHONY: am__doit
   3012 END
   3013 # If we don't find an include directive, just comment out the code.
   3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3015 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3016 am__include="#"
   3017 am__quote=
   3018 _am_result=none
   3019 # First try GNU make style include.
   3020 echo "include confinc" > confmf
   3021 # Ignore all kinds of additional output from 'make'.
   3022 case `$am_make -s -f confmf 2> /dev/null` in #(
   3023 *the\ am__doit\ target*)
   3024   am__include=include
   3025   am__quote=
   3026   _am_result=GNU
   3027   ;;
   3028 esac
   3029 # Now try BSD make style include.
   3030 if test "$am__include" = "#"; then
   3031    echo '.include "confinc"' > confmf
   3032    case `$am_make -s -f confmf 2> /dev/null` in #(
   3033    *the\ am__doit\ target*)
   3034      am__include=.include
   3035      am__quote="\""
   3036      _am_result=BSD
   3037      ;;
   3038    esac
   3039 fi
   3040 
   3041 
   3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3043 $as_echo "$_am_result" >&6; }
   3044 rm -f confinc confmf
   3045 
   3046 # Check whether --enable-dependency-tracking was given.
   3047 if test "${enable_dependency_tracking+set}" = set; then :
   3048   enableval=$enable_dependency_tracking;
   3049 fi
   3050 
   3051 if test "x$enable_dependency_tracking" != xno; then
   3052   am_depcomp="$ac_aux_dir/depcomp"
   3053   AMDEPBACKSLASH='\'
   3054   am__nodep='_no'
   3055 fi
   3056  if test "x$enable_dependency_tracking" != xno; then
   3057   AMDEP_TRUE=
   3058   AMDEP_FALSE='#'
   3059 else
   3060   AMDEP_TRUE='#'
   3061   AMDEP_FALSE=
   3062 fi
   3063 
   3064 
   3065 ac_ext=c
   3066 ac_cpp='$CPP $CPPFLAGS'
   3067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3070 if test -n "$ac_tool_prefix"; then
   3071   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3072 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3074 $as_echo_n "checking for $ac_word... " >&6; }
   3075 if ${ac_cv_prog_CC+:} false; then :
   3076   $as_echo_n "(cached) " >&6
   3077 else
   3078   if test -n "$CC"; then
   3079   ac_cv_prog_CC="$CC" # Let the user override the test.
   3080 else
   3081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3082 for as_dir in $PATH
   3083 do
   3084   IFS=$as_save_IFS
   3085   test -z "$as_dir" && as_dir=.
   3086     for ac_exec_ext in '' $ac_executable_extensions; do
   3087   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3088     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3089     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3090     break 2
   3091   fi
   3092 done
   3093   done
   3094 IFS=$as_save_IFS
   3095 
   3096 fi
   3097 fi
   3098 CC=$ac_cv_prog_CC
   3099 if test -n "$CC"; then
   3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3101 $as_echo "$CC" >&6; }
   3102 else
   3103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3104 $as_echo "no" >&6; }
   3105 fi
   3106 
   3107 
   3108 fi
   3109 if test -z "$ac_cv_prog_CC"; then
   3110   ac_ct_CC=$CC
   3111   # Extract the first word of "gcc", so it can be a program name with args.
   3112 set dummy gcc; ac_word=$2
   3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3114 $as_echo_n "checking for $ac_word... " >&6; }
   3115 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3116   $as_echo_n "(cached) " >&6
   3117 else
   3118   if test -n "$ac_ct_CC"; then
   3119   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3120 else
   3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3122 for as_dir in $PATH
   3123 do
   3124   IFS=$as_save_IFS
   3125   test -z "$as_dir" && as_dir=.
   3126     for ac_exec_ext in '' $ac_executable_extensions; do
   3127   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3128     ac_cv_prog_ac_ct_CC="gcc"
   3129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3130     break 2
   3131   fi
   3132 done
   3133   done
   3134 IFS=$as_save_IFS
   3135 
   3136 fi
   3137 fi
   3138 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3139 if test -n "$ac_ct_CC"; then
   3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3141 $as_echo "$ac_ct_CC" >&6; }
   3142 else
   3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3144 $as_echo "no" >&6; }
   3145 fi
   3146 
   3147   if test "x$ac_ct_CC" = x; then
   3148     CC=""
   3149   else
   3150     case $cross_compiling:$ac_tool_warned in
   3151 yes:)
   3152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3154 ac_tool_warned=yes ;;
   3155 esac
   3156     CC=$ac_ct_CC
   3157   fi
   3158 else
   3159   CC="$ac_cv_prog_CC"
   3160 fi
   3161 
   3162 if test -z "$CC"; then
   3163           if test -n "$ac_tool_prefix"; then
   3164     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3165 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3167 $as_echo_n "checking for $ac_word... " >&6; }
   3168 if ${ac_cv_prog_CC+:} false; then :
   3169   $as_echo_n "(cached) " >&6
   3170 else
   3171   if test -n "$CC"; then
   3172   ac_cv_prog_CC="$CC" # Let the user override the test.
   3173 else
   3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3175 for as_dir in $PATH
   3176 do
   3177   IFS=$as_save_IFS
   3178   test -z "$as_dir" && as_dir=.
   3179     for ac_exec_ext in '' $ac_executable_extensions; do
   3180   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3181     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3183     break 2
   3184   fi
   3185 done
   3186   done
   3187 IFS=$as_save_IFS
   3188 
   3189 fi
   3190 fi
   3191 CC=$ac_cv_prog_CC
   3192 if test -n "$CC"; then
   3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3194 $as_echo "$CC" >&6; }
   3195 else
   3196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3197 $as_echo "no" >&6; }
   3198 fi
   3199 
   3200 
   3201   fi
   3202 fi
   3203 if test -z "$CC"; then
   3204   # Extract the first word of "cc", so it can be a program name with args.
   3205 set dummy cc; ac_word=$2
   3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3207 $as_echo_n "checking for $ac_word... " >&6; }
   3208 if ${ac_cv_prog_CC+:} false; then :
   3209   $as_echo_n "(cached) " >&6
   3210 else
   3211   if test -n "$CC"; then
   3212   ac_cv_prog_CC="$CC" # Let the user override the test.
   3213 else
   3214   ac_prog_rejected=no
   3215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3216 for as_dir in $PATH
   3217 do
   3218   IFS=$as_save_IFS
   3219   test -z "$as_dir" && as_dir=.
   3220     for ac_exec_ext in '' $ac_executable_extensions; do
   3221   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3222     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3223        ac_prog_rejected=yes
   3224        continue
   3225      fi
   3226     ac_cv_prog_CC="cc"
   3227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3228     break 2
   3229   fi
   3230 done
   3231   done
   3232 IFS=$as_save_IFS
   3233 
   3234 if test $ac_prog_rejected = yes; then
   3235   # We found a bogon in the path, so make sure we never use it.
   3236   set dummy $ac_cv_prog_CC
   3237   shift
   3238   if test $# != 0; then
   3239     # We chose a different compiler from the bogus one.
   3240     # However, it has the same basename, so the bogon will be chosen
   3241     # first if we set CC to just the basename; use the full file name.
   3242     shift
   3243     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3244   fi
   3245 fi
   3246 fi
   3247 fi
   3248 CC=$ac_cv_prog_CC
   3249 if test -n "$CC"; then
   3250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3251 $as_echo "$CC" >&6; }
   3252 else
   3253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3254 $as_echo "no" >&6; }
   3255 fi
   3256 
   3257 
   3258 fi
   3259 if test -z "$CC"; then
   3260   if test -n "$ac_tool_prefix"; then
   3261   for ac_prog in cl.exe
   3262   do
   3263     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3266 $as_echo_n "checking for $ac_word... " >&6; }
   3267 if ${ac_cv_prog_CC+:} false; then :
   3268   $as_echo_n "(cached) " >&6
   3269 else
   3270   if test -n "$CC"; then
   3271   ac_cv_prog_CC="$CC" # Let the user override the test.
   3272 else
   3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3274 for as_dir in $PATH
   3275 do
   3276   IFS=$as_save_IFS
   3277   test -z "$as_dir" && as_dir=.
   3278     for ac_exec_ext in '' $ac_executable_extensions; do
   3279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3280     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3282     break 2
   3283   fi
   3284 done
   3285   done
   3286 IFS=$as_save_IFS
   3287 
   3288 fi
   3289 fi
   3290 CC=$ac_cv_prog_CC
   3291 if test -n "$CC"; then
   3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3293 $as_echo "$CC" >&6; }
   3294 else
   3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3296 $as_echo "no" >&6; }
   3297 fi
   3298 
   3299 
   3300     test -n "$CC" && break
   3301   done
   3302 fi
   3303 if test -z "$CC"; then
   3304   ac_ct_CC=$CC
   3305   for ac_prog in cl.exe
   3306 do
   3307   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3308 set dummy $ac_prog; ac_word=$2
   3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3310 $as_echo_n "checking for $ac_word... " >&6; }
   3311 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3312   $as_echo_n "(cached) " >&6
   3313 else
   3314   if test -n "$ac_ct_CC"; then
   3315   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3316 else
   3317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3318 for as_dir in $PATH
   3319 do
   3320   IFS=$as_save_IFS
   3321   test -z "$as_dir" && as_dir=.
   3322     for ac_exec_ext in '' $ac_executable_extensions; do
   3323   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3324     ac_cv_prog_ac_ct_CC="$ac_prog"
   3325     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3326     break 2
   3327   fi
   3328 done
   3329   done
   3330 IFS=$as_save_IFS
   3331 
   3332 fi
   3333 fi
   3334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3335 if test -n "$ac_ct_CC"; then
   3336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3337 $as_echo "$ac_ct_CC" >&6; }
   3338 else
   3339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3340 $as_echo "no" >&6; }
   3341 fi
   3342 
   3343 
   3344   test -n "$ac_ct_CC" && break
   3345 done
   3346 
   3347   if test "x$ac_ct_CC" = x; then
   3348     CC=""
   3349   else
   3350     case $cross_compiling:$ac_tool_warned in
   3351 yes:)
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3354 ac_tool_warned=yes ;;
   3355 esac
   3356     CC=$ac_ct_CC
   3357   fi
   3358 fi
   3359 
   3360 fi
   3361 
   3362 
   3363 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3365 as_fn_error $? "no acceptable C compiler found in \$PATH
   3366 See \`config.log' for more details" "$LINENO" 5; }
   3367 
   3368 # Provide some information about the compiler.
   3369 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3370 set X $ac_compile
   3371 ac_compiler=$2
   3372 for ac_option in --version -v -V -qversion; do
   3373   { { ac_try="$ac_compiler $ac_option >&5"
   3374 case "(($ac_try" in
   3375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3376   *) ac_try_echo=$ac_try;;
   3377 esac
   3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3379 $as_echo "$ac_try_echo"; } >&5
   3380   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3381   ac_status=$?
   3382   if test -s conftest.err; then
   3383     sed '10a\
   3384 ... rest of stderr output deleted ...
   3385          10q' conftest.err >conftest.er1
   3386     cat conftest.er1 >&5
   3387   fi
   3388   rm -f conftest.er1 conftest.err
   3389   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3390   test $ac_status = 0; }
   3391 done
   3392 
   3393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3394 /* end confdefs.h.  */
   3395 
   3396 int
   3397 main ()
   3398 {
   3399 
   3400   ;
   3401   return 0;
   3402 }
   3403 _ACEOF
   3404 ac_clean_files_save=$ac_clean_files
   3405 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3406 # Try to create an executable without -o first, disregard a.out.
   3407 # It will help us diagnose broken compilers, and finding out an intuition
   3408 # of exeext.
   3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3410 $as_echo_n "checking whether the C compiler works... " >&6; }
   3411 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3412 
   3413 # The possible output files:
   3414 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3415 
   3416 ac_rmfiles=
   3417 for ac_file in $ac_files
   3418 do
   3419   case $ac_file in
   3420     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3421     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3422   esac
   3423 done
   3424 rm -f $ac_rmfiles
   3425 
   3426 if { { ac_try="$ac_link_default"
   3427 case "(($ac_try" in
   3428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3429   *) ac_try_echo=$ac_try;;
   3430 esac
   3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3432 $as_echo "$ac_try_echo"; } >&5
   3433   (eval "$ac_link_default") 2>&5
   3434   ac_status=$?
   3435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3436   test $ac_status = 0; }; then :
   3437   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3439 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3440 # so that the user can short-circuit this test for compilers unknown to
   3441 # Autoconf.
   3442 for ac_file in $ac_files ''
   3443 do
   3444   test -f "$ac_file" || continue
   3445   case $ac_file in
   3446     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3447 	;;
   3448     [ab].out )
   3449 	# We found the default executable, but exeext='' is most
   3450 	# certainly right.
   3451 	break;;
   3452     *.* )
   3453 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3454 	then :; else
   3455 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3456 	fi
   3457 	# We set ac_cv_exeext here because the later test for it is not
   3458 	# safe: cross compilers may not add the suffix if given an `-o'
   3459 	# argument, so we may need to know it at that point already.
   3460 	# Even if this section looks crufty: it has the advantage of
   3461 	# actually working.
   3462 	break;;
   3463     * )
   3464 	break;;
   3465   esac
   3466 done
   3467 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3468 
   3469 else
   3470   ac_file=''
   3471 fi
   3472 if test -z "$ac_file"; then :
   3473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3474 $as_echo "no" >&6; }
   3475 $as_echo "$as_me: failed program was:" >&5
   3476 sed 's/^/| /' conftest.$ac_ext >&5
   3477 
   3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3480 as_fn_error 77 "C compiler cannot create executables
   3481 See \`config.log' for more details" "$LINENO" 5; }
   3482 else
   3483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3484 $as_echo "yes" >&6; }
   3485 fi
   3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3487 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3489 $as_echo "$ac_file" >&6; }
   3490 ac_exeext=$ac_cv_exeext
   3491 
   3492 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3493 ac_clean_files=$ac_clean_files_save
   3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3495 $as_echo_n "checking for suffix of executables... " >&6; }
   3496 if { { ac_try="$ac_link"
   3497 case "(($ac_try" in
   3498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3499   *) ac_try_echo=$ac_try;;
   3500 esac
   3501 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3502 $as_echo "$ac_try_echo"; } >&5
   3503   (eval "$ac_link") 2>&5
   3504   ac_status=$?
   3505   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3506   test $ac_status = 0; }; then :
   3507   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3508 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3509 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3510 # `rm'.
   3511 for ac_file in conftest.exe conftest conftest.*; do
   3512   test -f "$ac_file" || continue
   3513   case $ac_file in
   3514     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3515     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3516 	  break;;
   3517     * ) break;;
   3518   esac
   3519 done
   3520 else
   3521   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3523 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3524 See \`config.log' for more details" "$LINENO" 5; }
   3525 fi
   3526 rm -f conftest conftest$ac_cv_exeext
   3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3528 $as_echo "$ac_cv_exeext" >&6; }
   3529 
   3530 rm -f conftest.$ac_ext
   3531 EXEEXT=$ac_cv_exeext
   3532 ac_exeext=$EXEEXT
   3533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3534 /* end confdefs.h.  */
   3535 #include <stdio.h>
   3536 int
   3537 main ()
   3538 {
   3539 FILE *f = fopen ("conftest.out", "w");
   3540  return ferror (f) || fclose (f) != 0;
   3541 
   3542   ;
   3543   return 0;
   3544 }
   3545 _ACEOF
   3546 ac_clean_files="$ac_clean_files conftest.out"
   3547 # Check that the compiler produces executables we can run.  If not, either
   3548 # the compiler is broken, or we cross compile.
   3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3550 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3551 if test "$cross_compiling" != yes; then
   3552   { { ac_try="$ac_link"
   3553 case "(($ac_try" in
   3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3555   *) ac_try_echo=$ac_try;;
   3556 esac
   3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3558 $as_echo "$ac_try_echo"; } >&5
   3559   (eval "$ac_link") 2>&5
   3560   ac_status=$?
   3561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3562   test $ac_status = 0; }
   3563   if { ac_try='./conftest$ac_cv_exeext'
   3564   { { case "(($ac_try" in
   3565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3566   *) ac_try_echo=$ac_try;;
   3567 esac
   3568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3569 $as_echo "$ac_try_echo"; } >&5
   3570   (eval "$ac_try") 2>&5
   3571   ac_status=$?
   3572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3573   test $ac_status = 0; }; }; then
   3574     cross_compiling=no
   3575   else
   3576     if test "$cross_compiling" = maybe; then
   3577 	cross_compiling=yes
   3578     else
   3579 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3581 as_fn_error $? "cannot run C compiled programs.
   3582 If you meant to cross compile, use \`--host'.
   3583 See \`config.log' for more details" "$LINENO" 5; }
   3584     fi
   3585   fi
   3586 fi
   3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3588 $as_echo "$cross_compiling" >&6; }
   3589 
   3590 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3591 ac_clean_files=$ac_clean_files_save
   3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3593 $as_echo_n "checking for suffix of object files... " >&6; }
   3594 if ${ac_cv_objext+:} false; then :
   3595   $as_echo_n "(cached) " >&6
   3596 else
   3597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3598 /* end confdefs.h.  */
   3599 
   3600 int
   3601 main ()
   3602 {
   3603 
   3604   ;
   3605   return 0;
   3606 }
   3607 _ACEOF
   3608 rm -f conftest.o conftest.obj
   3609 if { { ac_try="$ac_compile"
   3610 case "(($ac_try" in
   3611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3612   *) ac_try_echo=$ac_try;;
   3613 esac
   3614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3615 $as_echo "$ac_try_echo"; } >&5
   3616   (eval "$ac_compile") 2>&5
   3617   ac_status=$?
   3618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3619   test $ac_status = 0; }; then :
   3620   for ac_file in conftest.o conftest.obj conftest.*; do
   3621   test -f "$ac_file" || continue;
   3622   case $ac_file in
   3623     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3624     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3625        break;;
   3626   esac
   3627 done
   3628 else
   3629   $as_echo "$as_me: failed program was:" >&5
   3630 sed 's/^/| /' conftest.$ac_ext >&5
   3631 
   3632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3634 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3635 See \`config.log' for more details" "$LINENO" 5; }
   3636 fi
   3637 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3638 fi
   3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3640 $as_echo "$ac_cv_objext" >&6; }
   3641 OBJEXT=$ac_cv_objext
   3642 ac_objext=$OBJEXT
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3644 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3645 if ${ac_cv_c_compiler_gnu+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3649 /* end confdefs.h.  */
   3650 
   3651 int
   3652 main ()
   3653 {
   3654 #ifndef __GNUC__
   3655        choke me
   3656 #endif
   3657 
   3658   ;
   3659   return 0;
   3660 }
   3661 _ACEOF
   3662 if ac_fn_c_try_compile "$LINENO"; then :
   3663   ac_compiler_gnu=yes
   3664 else
   3665   ac_compiler_gnu=no
   3666 fi
   3667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3668 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3669 
   3670 fi
   3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3672 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3673 if test $ac_compiler_gnu = yes; then
   3674   GCC=yes
   3675 else
   3676   GCC=
   3677 fi
   3678 ac_test_CFLAGS=${CFLAGS+set}
   3679 ac_save_CFLAGS=$CFLAGS
   3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3681 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3682 if ${ac_cv_prog_cc_g+:} false; then :
   3683   $as_echo_n "(cached) " >&6
   3684 else
   3685   ac_save_c_werror_flag=$ac_c_werror_flag
   3686    ac_c_werror_flag=yes
   3687    ac_cv_prog_cc_g=no
   3688    CFLAGS="-g"
   3689    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3690 /* end confdefs.h.  */
   3691 
   3692 int
   3693 main ()
   3694 {
   3695 
   3696   ;
   3697   return 0;
   3698 }
   3699 _ACEOF
   3700 if ac_fn_c_try_compile "$LINENO"; then :
   3701   ac_cv_prog_cc_g=yes
   3702 else
   3703   CFLAGS=""
   3704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3705 /* end confdefs.h.  */
   3706 
   3707 int
   3708 main ()
   3709 {
   3710 
   3711   ;
   3712   return 0;
   3713 }
   3714 _ACEOF
   3715 if ac_fn_c_try_compile "$LINENO"; then :
   3716 
   3717 else
   3718   ac_c_werror_flag=$ac_save_c_werror_flag
   3719 	 CFLAGS="-g"
   3720 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3721 /* end confdefs.h.  */
   3722 
   3723 int
   3724 main ()
   3725 {
   3726 
   3727   ;
   3728   return 0;
   3729 }
   3730 _ACEOF
   3731 if ac_fn_c_try_compile "$LINENO"; then :
   3732   ac_cv_prog_cc_g=yes
   3733 fi
   3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3735 fi
   3736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3737 fi
   3738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3739    ac_c_werror_flag=$ac_save_c_werror_flag
   3740 fi
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3742 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3743 if test "$ac_test_CFLAGS" = set; then
   3744   CFLAGS=$ac_save_CFLAGS
   3745 elif test $ac_cv_prog_cc_g = yes; then
   3746   if test "$GCC" = yes; then
   3747     CFLAGS="-g -O2"
   3748   else
   3749     CFLAGS="-g"
   3750   fi
   3751 else
   3752   if test "$GCC" = yes; then
   3753     CFLAGS="-O2"
   3754   else
   3755     CFLAGS=
   3756   fi
   3757 fi
   3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3759 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3760 if ${ac_cv_prog_cc_c89+:} false; then :
   3761   $as_echo_n "(cached) " >&6
   3762 else
   3763   ac_cv_prog_cc_c89=no
   3764 ac_save_CC=$CC
   3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3766 /* end confdefs.h.  */
   3767 #include <stdarg.h>
   3768 #include <stdio.h>
   3769 struct stat;
   3770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3771 struct buf { int x; };
   3772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3773 static char *e (p, i)
   3774      char **p;
   3775      int i;
   3776 {
   3777   return p[i];
   3778 }
   3779 static char *f (char * (*g) (char **, int), char **p, ...)
   3780 {
   3781   char *s;
   3782   va_list v;
   3783   va_start (v,p);
   3784   s = g (p, va_arg (v,int));
   3785   va_end (v);
   3786   return s;
   3787 }
   3788 
   3789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3790    function prototypes and stuff, but not '\xHH' hex character constants.
   3791    These don't provoke an error unfortunately, instead are silently treated
   3792    as 'x'.  The following induces an error, until -std is added to get
   3793    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3794    array size at least.  It's necessary to write '\x00'==0 to get something
   3795    that's true only with -std.  */
   3796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3797 
   3798 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3799    inside strings and character constants.  */
   3800 #define FOO(x) 'x'
   3801 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3802 
   3803 int test (int i, double x);
   3804 struct s1 {int (*f) (int a);};
   3805 struct s2 {int (*f) (double a);};
   3806 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3807 int argc;
   3808 char **argv;
   3809 int
   3810 main ()
   3811 {
   3812 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3813   ;
   3814   return 0;
   3815 }
   3816 _ACEOF
   3817 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3818 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3819 do
   3820   CC="$ac_save_CC $ac_arg"
   3821   if ac_fn_c_try_compile "$LINENO"; then :
   3822   ac_cv_prog_cc_c89=$ac_arg
   3823 fi
   3824 rm -f core conftest.err conftest.$ac_objext
   3825   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3826 done
   3827 rm -f conftest.$ac_ext
   3828 CC=$ac_save_CC
   3829 
   3830 fi
   3831 # AC_CACHE_VAL
   3832 case "x$ac_cv_prog_cc_c89" in
   3833   x)
   3834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3835 $as_echo "none needed" >&6; } ;;
   3836   xno)
   3837     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3838 $as_echo "unsupported" >&6; } ;;
   3839   *)
   3840     CC="$CC $ac_cv_prog_cc_c89"
   3841     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3842 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3843 esac
   3844 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3845 
   3846 fi
   3847 
   3848 ac_ext=c
   3849 ac_cpp='$CPP $CPPFLAGS'
   3850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3853 
   3854 ac_ext=c
   3855 ac_cpp='$CPP $CPPFLAGS'
   3856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3860 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3861 if ${am_cv_prog_cc_c_o+:} false; then :
   3862   $as_echo_n "(cached) " >&6
   3863 else
   3864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3865 /* end confdefs.h.  */
   3866 
   3867 int
   3868 main ()
   3869 {
   3870 
   3871   ;
   3872   return 0;
   3873 }
   3874 _ACEOF
   3875   # Make sure it works both with $CC and with simple cc.
   3876   # Following AC_PROG_CC_C_O, we do the test twice because some
   3877   # compilers refuse to overwrite an existing .o file with -o,
   3878   # though they will create one.
   3879   am_cv_prog_cc_c_o=yes
   3880   for am_i in 1 2; do
   3881     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3882    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3883    ac_status=$?
   3884    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3885    (exit $ac_status); } \
   3886          && test -f conftest2.$ac_objext; then
   3887       : OK
   3888     else
   3889       am_cv_prog_cc_c_o=no
   3890       break
   3891     fi
   3892   done
   3893   rm -f core conftest*
   3894   unset am_i
   3895 fi
   3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3897 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3898 if test "$am_cv_prog_cc_c_o" != yes; then
   3899    # Losing compiler, so override with the script.
   3900    # FIXME: It is wrong to rewrite CC.
   3901    # But if we don't then we get into trouble of one sort or another.
   3902    # A longer-term fix would be to have automake use am__CC in this case,
   3903    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3904    CC="$am_aux_dir/compile $CC"
   3905 fi
   3906 ac_ext=c
   3907 ac_cpp='$CPP $CPPFLAGS'
   3908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3911 
   3912 
   3913 depcc="$CC"   am_compiler_list=
   3914 
   3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3916 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3917 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3918   $as_echo_n "(cached) " >&6
   3919 else
   3920   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3921   # We make a subdir and do the tests there.  Otherwise we can end up
   3922   # making bogus files that we don't know about and never remove.  For
   3923   # instance it was reported that on HP-UX the gcc test will end up
   3924   # making a dummy file named 'D' -- because '-MD' means "put the output
   3925   # in D".
   3926   rm -rf conftest.dir
   3927   mkdir conftest.dir
   3928   # Copy depcomp to subdir because otherwise we won't find it if we're
   3929   # using a relative directory.
   3930   cp "$am_depcomp" conftest.dir
   3931   cd conftest.dir
   3932   # We will build objects and dependencies in a subdirectory because
   3933   # it helps to detect inapplicable dependency modes.  For instance
   3934   # both Tru64's cc and ICC support -MD to output dependencies as a
   3935   # side effect of compilation, but ICC will put the dependencies in
   3936   # the current directory while Tru64 will put them in the object
   3937   # directory.
   3938   mkdir sub
   3939 
   3940   am_cv_CC_dependencies_compiler_type=none
   3941   if test "$am_compiler_list" = ""; then
   3942      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3943   fi
   3944   am__universal=false
   3945   case " $depcc " in #(
   3946      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3947      esac
   3948 
   3949   for depmode in $am_compiler_list; do
   3950     # Setup a source with many dependencies, because some compilers
   3951     # like to wrap large dependency lists on column 80 (with \), and
   3952     # we should not choose a depcomp mode which is confused by this.
   3953     #
   3954     # We need to recreate these files for each test, as the compiler may
   3955     # overwrite some of them when testing with obscure command lines.
   3956     # This happens at least with the AIX C compiler.
   3957     : > sub/conftest.c
   3958     for i in 1 2 3 4 5 6; do
   3959       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3960       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3961       # Solaris 10 /bin/sh.
   3962       echo '/* dummy */' > sub/conftst$i.h
   3963     done
   3964     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3965 
   3966     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3967     # mode.  It turns out that the SunPro C++ compiler does not properly
   3968     # handle '-M -o', and we need to detect this.  Also, some Intel
   3969     # versions had trouble with output in subdirs.
   3970     am__obj=sub/conftest.${OBJEXT-o}
   3971     am__minus_obj="-o $am__obj"
   3972     case $depmode in
   3973     gcc)
   3974       # This depmode causes a compiler race in universal mode.
   3975       test "$am__universal" = false || continue
   3976       ;;
   3977     nosideeffect)
   3978       # After this tag, mechanisms are not by side-effect, so they'll
   3979       # only be used when explicitly requested.
   3980       if test "x$enable_dependency_tracking" = xyes; then
   3981 	continue
   3982       else
   3983 	break
   3984       fi
   3985       ;;
   3986     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3987       # This compiler won't grok '-c -o', but also, the minuso test has
   3988       # not run yet.  These depmodes are late enough in the game, and
   3989       # so weak that their functioning should not be impacted.
   3990       am__obj=conftest.${OBJEXT-o}
   3991       am__minus_obj=
   3992       ;;
   3993     none) break ;;
   3994     esac
   3995     if depmode=$depmode \
   3996        source=sub/conftest.c object=$am__obj \
   3997        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3998        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3999          >/dev/null 2>conftest.err &&
   4000        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4001        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4002        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4003        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4004       # icc doesn't choke on unknown options, it will just issue warnings
   4005       # or remarks (even with -Werror).  So we grep stderr for any message
   4006       # that says an option was ignored or not supported.
   4007       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4008       #   icc: Command line warning: ignoring option '-M'; no argument required
   4009       # The diagnosis changed in icc 8.0:
   4010       #   icc: Command line remark: option '-MP' not supported
   4011       if (grep 'ignoring option' conftest.err ||
   4012           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4013         am_cv_CC_dependencies_compiler_type=$depmode
   4014         break
   4015       fi
   4016     fi
   4017   done
   4018 
   4019   cd ..
   4020   rm -rf conftest.dir
   4021 else
   4022   am_cv_CC_dependencies_compiler_type=none
   4023 fi
   4024 
   4025 fi
   4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4027 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4028 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4029 
   4030  if
   4031   test "x$enable_dependency_tracking" != xno \
   4032   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4033   am__fastdepCC_TRUE=
   4034   am__fastdepCC_FALSE='#'
   4035 else
   4036   am__fastdepCC_TRUE='#'
   4037   am__fastdepCC_FALSE=
   4038 fi
   4039 
   4040 
   4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4042 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4043 if ${ac_cv_path_SED+:} false; then :
   4044   $as_echo_n "(cached) " >&6
   4045 else
   4046             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4047      for ac_i in 1 2 3 4 5 6 7; do
   4048        ac_script="$ac_script$as_nl$ac_script"
   4049      done
   4050      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4051      { ac_script=; unset ac_script;}
   4052      if test -z "$SED"; then
   4053   ac_path_SED_found=false
   4054   # Loop through the user's path and test for each of PROGNAME-LIST
   4055   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4056 for as_dir in $PATH
   4057 do
   4058   IFS=$as_save_IFS
   4059   test -z "$as_dir" && as_dir=.
   4060     for ac_prog in sed gsed; do
   4061     for ac_exec_ext in '' $ac_executable_extensions; do
   4062       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4063       as_fn_executable_p "$ac_path_SED" || continue
   4064 # Check for GNU ac_path_SED and select it if it is found.
   4065   # Check for GNU $ac_path_SED
   4066 case `"$ac_path_SED" --version 2>&1` in
   4067 *GNU*)
   4068   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4069 *)
   4070   ac_count=0
   4071   $as_echo_n 0123456789 >"conftest.in"
   4072   while :
   4073   do
   4074     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4075     mv "conftest.tmp" "conftest.in"
   4076     cp "conftest.in" "conftest.nl"
   4077     $as_echo '' >> "conftest.nl"
   4078     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4079     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4080     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4081     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4082       # Best one so far, save it but keep looking for a better one
   4083       ac_cv_path_SED="$ac_path_SED"
   4084       ac_path_SED_max=$ac_count
   4085     fi
   4086     # 10*(2^10) chars as input seems more than enough
   4087     test $ac_count -gt 10 && break
   4088   done
   4089   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4090 esac
   4091 
   4092       $ac_path_SED_found && break 3
   4093     done
   4094   done
   4095   done
   4096 IFS=$as_save_IFS
   4097   if test -z "$ac_cv_path_SED"; then
   4098     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4099   fi
   4100 else
   4101   ac_cv_path_SED=$SED
   4102 fi
   4103 
   4104 fi
   4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4106 $as_echo "$ac_cv_path_SED" >&6; }
   4107  SED="$ac_cv_path_SED"
   4108   rm -f conftest.sed
   4109 
   4110 test -z "$SED" && SED=sed
   4111 Xsed="$SED -e 1s/^X//"
   4112 
   4113 
   4114 
   4115 
   4116 
   4117 
   4118 
   4119 
   4120 
   4121 
   4122 
   4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4124 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4125 if ${ac_cv_path_GREP+:} false; then :
   4126   $as_echo_n "(cached) " >&6
   4127 else
   4128   if test -z "$GREP"; then
   4129   ac_path_GREP_found=false
   4130   # Loop through the user's path and test for each of PROGNAME-LIST
   4131   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4132 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4133 do
   4134   IFS=$as_save_IFS
   4135   test -z "$as_dir" && as_dir=.
   4136     for ac_prog in grep ggrep; do
   4137     for ac_exec_ext in '' $ac_executable_extensions; do
   4138       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4139       as_fn_executable_p "$ac_path_GREP" || continue
   4140 # Check for GNU ac_path_GREP and select it if it is found.
   4141   # Check for GNU $ac_path_GREP
   4142 case `"$ac_path_GREP" --version 2>&1` in
   4143 *GNU*)
   4144   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4145 *)
   4146   ac_count=0
   4147   $as_echo_n 0123456789 >"conftest.in"
   4148   while :
   4149   do
   4150     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4151     mv "conftest.tmp" "conftest.in"
   4152     cp "conftest.in" "conftest.nl"
   4153     $as_echo 'GREP' >> "conftest.nl"
   4154     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4155     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4156     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4157     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4158       # Best one so far, save it but keep looking for a better one
   4159       ac_cv_path_GREP="$ac_path_GREP"
   4160       ac_path_GREP_max=$ac_count
   4161     fi
   4162     # 10*(2^10) chars as input seems more than enough
   4163     test $ac_count -gt 10 && break
   4164   done
   4165   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4166 esac
   4167 
   4168       $ac_path_GREP_found && break 3
   4169     done
   4170   done
   4171   done
   4172 IFS=$as_save_IFS
   4173   if test -z "$ac_cv_path_GREP"; then
   4174     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4175   fi
   4176 else
   4177   ac_cv_path_GREP=$GREP
   4178 fi
   4179 
   4180 fi
   4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4182 $as_echo "$ac_cv_path_GREP" >&6; }
   4183  GREP="$ac_cv_path_GREP"
   4184 
   4185 
   4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4187 $as_echo_n "checking for egrep... " >&6; }
   4188 if ${ac_cv_path_EGREP+:} false; then :
   4189   $as_echo_n "(cached) " >&6
   4190 else
   4191   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4192    then ac_cv_path_EGREP="$GREP -E"
   4193    else
   4194      if test -z "$EGREP"; then
   4195   ac_path_EGREP_found=false
   4196   # Loop through the user's path and test for each of PROGNAME-LIST
   4197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4199 do
   4200   IFS=$as_save_IFS
   4201   test -z "$as_dir" && as_dir=.
   4202     for ac_prog in egrep; do
   4203     for ac_exec_ext in '' $ac_executable_extensions; do
   4204       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4205       as_fn_executable_p "$ac_path_EGREP" || continue
   4206 # Check for GNU ac_path_EGREP and select it if it is found.
   4207   # Check for GNU $ac_path_EGREP
   4208 case `"$ac_path_EGREP" --version 2>&1` in
   4209 *GNU*)
   4210   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4211 *)
   4212   ac_count=0
   4213   $as_echo_n 0123456789 >"conftest.in"
   4214   while :
   4215   do
   4216     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4217     mv "conftest.tmp" "conftest.in"
   4218     cp "conftest.in" "conftest.nl"
   4219     $as_echo 'EGREP' >> "conftest.nl"
   4220     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4221     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4222     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4223     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4224       # Best one so far, save it but keep looking for a better one
   4225       ac_cv_path_EGREP="$ac_path_EGREP"
   4226       ac_path_EGREP_max=$ac_count
   4227     fi
   4228     # 10*(2^10) chars as input seems more than enough
   4229     test $ac_count -gt 10 && break
   4230   done
   4231   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4232 esac
   4233 
   4234       $ac_path_EGREP_found && break 3
   4235     done
   4236   done
   4237   done
   4238 IFS=$as_save_IFS
   4239   if test -z "$ac_cv_path_EGREP"; then
   4240     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4241   fi
   4242 else
   4243   ac_cv_path_EGREP=$EGREP
   4244 fi
   4245 
   4246    fi
   4247 fi
   4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4249 $as_echo "$ac_cv_path_EGREP" >&6; }
   4250  EGREP="$ac_cv_path_EGREP"
   4251 
   4252 
   4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4254 $as_echo_n "checking for fgrep... " >&6; }
   4255 if ${ac_cv_path_FGREP+:} false; then :
   4256   $as_echo_n "(cached) " >&6
   4257 else
   4258   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4259    then ac_cv_path_FGREP="$GREP -F"
   4260    else
   4261      if test -z "$FGREP"; then
   4262   ac_path_FGREP_found=false
   4263   # Loop through the user's path and test for each of PROGNAME-LIST
   4264   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4266 do
   4267   IFS=$as_save_IFS
   4268   test -z "$as_dir" && as_dir=.
   4269     for ac_prog in fgrep; do
   4270     for ac_exec_ext in '' $ac_executable_extensions; do
   4271       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4272       as_fn_executable_p "$ac_path_FGREP" || continue
   4273 # Check for GNU ac_path_FGREP and select it if it is found.
   4274   # Check for GNU $ac_path_FGREP
   4275 case `"$ac_path_FGREP" --version 2>&1` in
   4276 *GNU*)
   4277   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4278 *)
   4279   ac_count=0
   4280   $as_echo_n 0123456789 >"conftest.in"
   4281   while :
   4282   do
   4283     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4284     mv "conftest.tmp" "conftest.in"
   4285     cp "conftest.in" "conftest.nl"
   4286     $as_echo 'FGREP' >> "conftest.nl"
   4287     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4288     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4289     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4290     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4291       # Best one so far, save it but keep looking for a better one
   4292       ac_cv_path_FGREP="$ac_path_FGREP"
   4293       ac_path_FGREP_max=$ac_count
   4294     fi
   4295     # 10*(2^10) chars as input seems more than enough
   4296     test $ac_count -gt 10 && break
   4297   done
   4298   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4299 esac
   4300 
   4301       $ac_path_FGREP_found && break 3
   4302     done
   4303   done
   4304   done
   4305 IFS=$as_save_IFS
   4306   if test -z "$ac_cv_path_FGREP"; then
   4307     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4308   fi
   4309 else
   4310   ac_cv_path_FGREP=$FGREP
   4311 fi
   4312 
   4313    fi
   4314 fi
   4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4316 $as_echo "$ac_cv_path_FGREP" >&6; }
   4317  FGREP="$ac_cv_path_FGREP"
   4318 
   4319 
   4320 test -z "$GREP" && GREP=grep
   4321 
   4322 
   4323 
   4324 
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 
   4332 
   4333 
   4334 
   4335 
   4336 
   4337 
   4338 
   4339 
   4340 # Check whether --with-gnu-ld was given.
   4341 if test "${with_gnu_ld+set}" = set; then :
   4342   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4343 else
   4344   with_gnu_ld=no
   4345 fi
   4346 
   4347 ac_prog=ld
   4348 if test "$GCC" = yes; then
   4349   # Check if gcc -print-prog-name=ld gives a path.
   4350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4351 $as_echo_n "checking for ld used by $CC... " >&6; }
   4352   case $host in
   4353   *-*-mingw*)
   4354     # gcc leaves a trailing carriage return which upsets mingw
   4355     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4356   *)
   4357     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4358   esac
   4359   case $ac_prog in
   4360     # Accept absolute paths.
   4361     [\\/]* | ?:[\\/]*)
   4362       re_direlt='/[^/][^/]*/\.\./'
   4363       # Canonicalize the pathname of ld
   4364       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4365       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4366 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4367       done
   4368       test -z "$LD" && LD="$ac_prog"
   4369       ;;
   4370   "")
   4371     # If it fails, then pretend we aren't using GCC.
   4372     ac_prog=ld
   4373     ;;
   4374   *)
   4375     # If it is relative, then search for the first ld in PATH.
   4376     with_gnu_ld=unknown
   4377     ;;
   4378   esac
   4379 elif test "$with_gnu_ld" = yes; then
   4380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4381 $as_echo_n "checking for GNU ld... " >&6; }
   4382 else
   4383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4384 $as_echo_n "checking for non-GNU ld... " >&6; }
   4385 fi
   4386 if ${lt_cv_path_LD+:} false; then :
   4387   $as_echo_n "(cached) " >&6
   4388 else
   4389   if test -z "$LD"; then
   4390   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4391   for ac_dir in $PATH; do
   4392     IFS="$lt_save_ifs"
   4393     test -z "$ac_dir" && ac_dir=.
   4394     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4395       lt_cv_path_LD="$ac_dir/$ac_prog"
   4396       # Check to see if the program is GNU ld.  I'd rather use --version,
   4397       # but apparently some variants of GNU ld only accept -v.
   4398       # Break only if it was the GNU/non-GNU ld that we prefer.
   4399       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4400       *GNU* | *'with BFD'*)
   4401 	test "$with_gnu_ld" != no && break
   4402 	;;
   4403       *)
   4404 	test "$with_gnu_ld" != yes && break
   4405 	;;
   4406       esac
   4407     fi
   4408   done
   4409   IFS="$lt_save_ifs"
   4410 else
   4411   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4412 fi
   4413 fi
   4414 
   4415 LD="$lt_cv_path_LD"
   4416 if test -n "$LD"; then
   4417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4418 $as_echo "$LD" >&6; }
   4419 else
   4420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4421 $as_echo "no" >&6; }
   4422 fi
   4423 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4425 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4426 if ${lt_cv_prog_gnu_ld+:} false; then :
   4427   $as_echo_n "(cached) " >&6
   4428 else
   4429   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4430 case `$LD -v 2>&1 </dev/null` in
   4431 *GNU* | *'with BFD'*)
   4432   lt_cv_prog_gnu_ld=yes
   4433   ;;
   4434 *)
   4435   lt_cv_prog_gnu_ld=no
   4436   ;;
   4437 esac
   4438 fi
   4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4441 with_gnu_ld=$lt_cv_prog_gnu_ld
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 
   4449 
   4450 
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4452 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4453 if ${lt_cv_path_NM+:} false; then :
   4454   $as_echo_n "(cached) " >&6
   4455 else
   4456   if test -n "$NM"; then
   4457   # Let the user override the test.
   4458   lt_cv_path_NM="$NM"
   4459 else
   4460   lt_nm_to_check="${ac_tool_prefix}nm"
   4461   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4462     lt_nm_to_check="$lt_nm_to_check nm"
   4463   fi
   4464   for lt_tmp_nm in $lt_nm_to_check; do
   4465     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4466     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4467       IFS="$lt_save_ifs"
   4468       test -z "$ac_dir" && ac_dir=.
   4469       tmp_nm="$ac_dir/$lt_tmp_nm"
   4470       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4471 	# Check to see if the nm accepts a BSD-compat flag.
   4472 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4473 	#   nm: unknown option "B" ignored
   4474 	# Tru64's nm complains that /dev/null is an invalid object file
   4475 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4476 	*/dev/null* | *'Invalid file or object type'*)
   4477 	  lt_cv_path_NM="$tmp_nm -B"
   4478 	  break
   4479 	  ;;
   4480 	*)
   4481 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4482 	  */dev/null*)
   4483 	    lt_cv_path_NM="$tmp_nm -p"
   4484 	    break
   4485 	    ;;
   4486 	  *)
   4487 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4488 	    continue # so that we can try to find one that supports BSD flags
   4489 	    ;;
   4490 	  esac
   4491 	  ;;
   4492 	esac
   4493       fi
   4494     done
   4495     IFS="$lt_save_ifs"
   4496   done
   4497   : ${lt_cv_path_NM=no}
   4498 fi
   4499 fi
   4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4501 $as_echo "$lt_cv_path_NM" >&6; }
   4502 if test "$lt_cv_path_NM" != "no"; then
   4503   NM="$lt_cv_path_NM"
   4504 else
   4505   # Didn't find any BSD compatible name lister, look for dumpbin.
   4506   if test -n "$DUMPBIN"; then :
   4507     # Let the user override the test.
   4508   else
   4509     if test -n "$ac_tool_prefix"; then
   4510   for ac_prog in dumpbin "link -dump"
   4511   do
   4512     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4515 $as_echo_n "checking for $ac_word... " >&6; }
   4516 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4517   $as_echo_n "(cached) " >&6
   4518 else
   4519   if test -n "$DUMPBIN"; then
   4520   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4521 else
   4522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4523 for as_dir in $PATH
   4524 do
   4525   IFS=$as_save_IFS
   4526   test -z "$as_dir" && as_dir=.
   4527     for ac_exec_ext in '' $ac_executable_extensions; do
   4528   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4529     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4531     break 2
   4532   fi
   4533 done
   4534   done
   4535 IFS=$as_save_IFS
   4536 
   4537 fi
   4538 fi
   4539 DUMPBIN=$ac_cv_prog_DUMPBIN
   4540 if test -n "$DUMPBIN"; then
   4541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4542 $as_echo "$DUMPBIN" >&6; }
   4543 else
   4544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4545 $as_echo "no" >&6; }
   4546 fi
   4547 
   4548 
   4549     test -n "$DUMPBIN" && break
   4550   done
   4551 fi
   4552 if test -z "$DUMPBIN"; then
   4553   ac_ct_DUMPBIN=$DUMPBIN
   4554   for ac_prog in dumpbin "link -dump"
   4555 do
   4556   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4557 set dummy $ac_prog; ac_word=$2
   4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4559 $as_echo_n "checking for $ac_word... " >&6; }
   4560 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4561   $as_echo_n "(cached) " >&6
   4562 else
   4563   if test -n "$ac_ct_DUMPBIN"; then
   4564   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4565 else
   4566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4567 for as_dir in $PATH
   4568 do
   4569   IFS=$as_save_IFS
   4570   test -z "$as_dir" && as_dir=.
   4571     for ac_exec_ext in '' $ac_executable_extensions; do
   4572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4573     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4575     break 2
   4576   fi
   4577 done
   4578   done
   4579 IFS=$as_save_IFS
   4580 
   4581 fi
   4582 fi
   4583 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4584 if test -n "$ac_ct_DUMPBIN"; then
   4585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4586 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4587 else
   4588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4589 $as_echo "no" >&6; }
   4590 fi
   4591 
   4592 
   4593   test -n "$ac_ct_DUMPBIN" && break
   4594 done
   4595 
   4596   if test "x$ac_ct_DUMPBIN" = x; then
   4597     DUMPBIN=":"
   4598   else
   4599     case $cross_compiling:$ac_tool_warned in
   4600 yes:)
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4603 ac_tool_warned=yes ;;
   4604 esac
   4605     DUMPBIN=$ac_ct_DUMPBIN
   4606   fi
   4607 fi
   4608 
   4609     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4610     *COFF*)
   4611       DUMPBIN="$DUMPBIN -symbols"
   4612       ;;
   4613     *)
   4614       DUMPBIN=:
   4615       ;;
   4616     esac
   4617   fi
   4618 
   4619   if test "$DUMPBIN" != ":"; then
   4620     NM="$DUMPBIN"
   4621   fi
   4622 fi
   4623 test -z "$NM" && NM=nm
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4631 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4632 if ${lt_cv_nm_interface+:} false; then :
   4633   $as_echo_n "(cached) " >&6
   4634 else
   4635   lt_cv_nm_interface="BSD nm"
   4636   echo "int some_variable = 0;" > conftest.$ac_ext
   4637   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4638   (eval "$ac_compile" 2>conftest.err)
   4639   cat conftest.err >&5
   4640   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4641   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4642   cat conftest.err >&5
   4643   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4644   cat conftest.out >&5
   4645   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4646     lt_cv_nm_interface="MS dumpbin"
   4647   fi
   4648   rm -f conftest*
   4649 fi
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4651 $as_echo "$lt_cv_nm_interface" >&6; }
   4652 
   4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4654 $as_echo_n "checking whether ln -s works... " >&6; }
   4655 LN_S=$as_ln_s
   4656 if test "$LN_S" = "ln -s"; then
   4657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4658 $as_echo "yes" >&6; }
   4659 else
   4660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4661 $as_echo "no, using $LN_S" >&6; }
   4662 fi
   4663 
   4664 # find the maximum length of command line arguments
   4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4666 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4667 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4668   $as_echo_n "(cached) " >&6
   4669 else
   4670     i=0
   4671   teststring="ABCD"
   4672 
   4673   case $build_os in
   4674   msdosdjgpp*)
   4675     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4676     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4677     # during glob expansion).  Even if it were fixed, the result of this
   4678     # check would be larger than it should be.
   4679     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4680     ;;
   4681 
   4682   gnu*)
   4683     # Under GNU Hurd, this test is not required because there is
   4684     # no limit to the length of command line arguments.
   4685     # Libtool will interpret -1 as no limit whatsoever
   4686     lt_cv_sys_max_cmd_len=-1;
   4687     ;;
   4688 
   4689   cygwin* | mingw* | cegcc*)
   4690     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4691     # about 5 minutes as the teststring grows exponentially.
   4692     # Worse, since 9x/ME are not pre-emptively multitasking,
   4693     # you end up with a "frozen" computer, even though with patience
   4694     # the test eventually succeeds (with a max line length of 256k).
   4695     # Instead, let's just punt: use the minimum linelength reported by
   4696     # all of the supported platforms: 8192 (on NT/2K/XP).
   4697     lt_cv_sys_max_cmd_len=8192;
   4698     ;;
   4699 
   4700   mint*)
   4701     # On MiNT this can take a long time and run out of memory.
   4702     lt_cv_sys_max_cmd_len=8192;
   4703     ;;
   4704 
   4705   amigaos*)
   4706     # On AmigaOS with pdksh, this test takes hours, literally.
   4707     # So we just punt and use a minimum line length of 8192.
   4708     lt_cv_sys_max_cmd_len=8192;
   4709     ;;
   4710 
   4711   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4712     # This has been around since 386BSD, at least.  Likely further.
   4713     if test -x /sbin/sysctl; then
   4714       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4715     elif test -x /usr/sbin/sysctl; then
   4716       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4717     else
   4718       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4719     fi
   4720     # And add a safety zone
   4721     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4722     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4723     ;;
   4724 
   4725   interix*)
   4726     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4727     lt_cv_sys_max_cmd_len=196608
   4728     ;;
   4729 
   4730   os2*)
   4731     # The test takes a long time on OS/2.
   4732     lt_cv_sys_max_cmd_len=8192
   4733     ;;
   4734 
   4735   osf*)
   4736     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4737     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4738     # nice to cause kernel panics so lets avoid the loop below.
   4739     # First set a reasonable default.
   4740     lt_cv_sys_max_cmd_len=16384
   4741     #
   4742     if test -x /sbin/sysconfig; then
   4743       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4744         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4745       esac
   4746     fi
   4747     ;;
   4748   sco3.2v5*)
   4749     lt_cv_sys_max_cmd_len=102400
   4750     ;;
   4751   sysv5* | sco5v6* | sysv4.2uw2*)
   4752     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4753     if test -n "$kargmax"; then
   4754       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4755     else
   4756       lt_cv_sys_max_cmd_len=32768
   4757     fi
   4758     ;;
   4759   *)
   4760     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4761     if test -n "$lt_cv_sys_max_cmd_len" && \
   4762 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   4763       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4764       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4765     else
   4766       # Make teststring a little bigger before we do anything with it.
   4767       # a 1K string should be a reasonable start.
   4768       for i in 1 2 3 4 5 6 7 8 ; do
   4769         teststring=$teststring$teststring
   4770       done
   4771       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4772       # If test is not a shell built-in, we'll probably end up computing a
   4773       # maximum length that is only half of the actual maximum length, but
   4774       # we can't tell.
   4775       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4776 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4777 	      test $i != 17 # 1/2 MB should be enough
   4778       do
   4779         i=`expr $i + 1`
   4780         teststring=$teststring$teststring
   4781       done
   4782       # Only check the string length outside the loop.
   4783       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4784       teststring=
   4785       # Add a significant safety factor because C++ compilers can tack on
   4786       # massive amounts of additional arguments before passing them to the
   4787       # linker.  It appears as though 1/2 is a usable value.
   4788       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4789     fi
   4790     ;;
   4791   esac
   4792 
   4793 fi
   4794 
   4795 if test -n $lt_cv_sys_max_cmd_len ; then
   4796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4797 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4798 else
   4799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4800 $as_echo "none" >&6; }
   4801 fi
   4802 max_cmd_len=$lt_cv_sys_max_cmd_len
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 : ${CP="cp -f"}
   4810 : ${MV="mv -f"}
   4811 : ${RM="rm -f"}
   4812 
   4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4814 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4815 # Try some XSI features
   4816 xsi_shell=no
   4817 ( _lt_dummy="a/b/c"
   4818   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4819       = c,a/b,b/c, \
   4820     && eval 'test $(( 1 + 1 )) -eq 2 \
   4821     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4822   && xsi_shell=yes
   4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4824 $as_echo "$xsi_shell" >&6; }
   4825 
   4826 
   4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4828 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4829 lt_shell_append=no
   4830 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4831     >/dev/null 2>&1 \
   4832   && lt_shell_append=yes
   4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4834 $as_echo "$lt_shell_append" >&6; }
   4835 
   4836 
   4837 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4838   lt_unset=unset
   4839 else
   4840   lt_unset=false
   4841 fi
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 # test EBCDIC or ASCII
   4848 case `echo X|tr X '\101'` in
   4849  A) # ASCII based system
   4850     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4851   lt_SP2NL='tr \040 \012'
   4852   lt_NL2SP='tr \015\012 \040\040'
   4853   ;;
   4854  *) # EBCDIC based system
   4855   lt_SP2NL='tr \100 \n'
   4856   lt_NL2SP='tr \r\n \100\100'
   4857   ;;
   4858 esac
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4869 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4870 if ${lt_cv_to_host_file_cmd+:} false; then :
   4871   $as_echo_n "(cached) " >&6
   4872 else
   4873   case $host in
   4874   *-*-mingw* )
   4875     case $build in
   4876       *-*-mingw* ) # actually msys
   4877         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4878         ;;
   4879       *-*-cygwin* )
   4880         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4881         ;;
   4882       * ) # otherwise, assume *nix
   4883         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4884         ;;
   4885     esac
   4886     ;;
   4887   *-*-cygwin* )
   4888     case $build in
   4889       *-*-mingw* ) # actually msys
   4890         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4891         ;;
   4892       *-*-cygwin* )
   4893         lt_cv_to_host_file_cmd=func_convert_file_noop
   4894         ;;
   4895       * ) # otherwise, assume *nix
   4896         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4897         ;;
   4898     esac
   4899     ;;
   4900   * ) # unhandled hosts (and "normal" native builds)
   4901     lt_cv_to_host_file_cmd=func_convert_file_noop
   4902     ;;
   4903 esac
   4904 
   4905 fi
   4906 
   4907 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4909 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4916 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4917 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   #assume ordinary cross tools, or native build.
   4921 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4922 case $host in
   4923   *-*-mingw* )
   4924     case $build in
   4925       *-*-mingw* ) # actually msys
   4926         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4927         ;;
   4928     esac
   4929     ;;
   4930 esac
   4931 
   4932 fi
   4933 
   4934 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4936 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4937 
   4938 
   4939 
   4940 
   4941 
   4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4943 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4944 if ${lt_cv_ld_reload_flag+:} false; then :
   4945   $as_echo_n "(cached) " >&6
   4946 else
   4947   lt_cv_ld_reload_flag='-r'
   4948 fi
   4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4950 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4951 reload_flag=$lt_cv_ld_reload_flag
   4952 case $reload_flag in
   4953 "" | " "*) ;;
   4954 *) reload_flag=" $reload_flag" ;;
   4955 esac
   4956 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4957 case $host_os in
   4958   cygwin* | mingw* | pw32* | cegcc*)
   4959     if test "$GCC" != yes; then
   4960       reload_cmds=false
   4961     fi
   4962     ;;
   4963   darwin*)
   4964     if test "$GCC" = yes; then
   4965       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4966     else
   4967       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4968     fi
   4969     ;;
   4970 esac
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 if test -n "$ac_tool_prefix"; then
   4981   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4982 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4984 $as_echo_n "checking for $ac_word... " >&6; }
   4985 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4986   $as_echo_n "(cached) " >&6
   4987 else
   4988   if test -n "$OBJDUMP"; then
   4989   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4990 else
   4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4992 for as_dir in $PATH
   4993 do
   4994   IFS=$as_save_IFS
   4995   test -z "$as_dir" && as_dir=.
   4996     for ac_exec_ext in '' $ac_executable_extensions; do
   4997   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4998     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5000     break 2
   5001   fi
   5002 done
   5003   done
   5004 IFS=$as_save_IFS
   5005 
   5006 fi
   5007 fi
   5008 OBJDUMP=$ac_cv_prog_OBJDUMP
   5009 if test -n "$OBJDUMP"; then
   5010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5011 $as_echo "$OBJDUMP" >&6; }
   5012 else
   5013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5014 $as_echo "no" >&6; }
   5015 fi
   5016 
   5017 
   5018 fi
   5019 if test -z "$ac_cv_prog_OBJDUMP"; then
   5020   ac_ct_OBJDUMP=$OBJDUMP
   5021   # Extract the first word of "objdump", so it can be a program name with args.
   5022 set dummy objdump; ac_word=$2
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5024 $as_echo_n "checking for $ac_word... " >&6; }
   5025 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5026   $as_echo_n "(cached) " >&6
   5027 else
   5028   if test -n "$ac_ct_OBJDUMP"; then
   5029   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5030 else
   5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5032 for as_dir in $PATH
   5033 do
   5034   IFS=$as_save_IFS
   5035   test -z "$as_dir" && as_dir=.
   5036     for ac_exec_ext in '' $ac_executable_extensions; do
   5037   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5038     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5040     break 2
   5041   fi
   5042 done
   5043   done
   5044 IFS=$as_save_IFS
   5045 
   5046 fi
   5047 fi
   5048 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5049 if test -n "$ac_ct_OBJDUMP"; then
   5050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5051 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5052 else
   5053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5054 $as_echo "no" >&6; }
   5055 fi
   5056 
   5057   if test "x$ac_ct_OBJDUMP" = x; then
   5058     OBJDUMP="false"
   5059   else
   5060     case $cross_compiling:$ac_tool_warned in
   5061 yes:)
   5062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5064 ac_tool_warned=yes ;;
   5065 esac
   5066     OBJDUMP=$ac_ct_OBJDUMP
   5067   fi
   5068 else
   5069   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5070 fi
   5071 
   5072 test -z "$OBJDUMP" && OBJDUMP=objdump
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5083 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5084 if ${lt_cv_deplibs_check_method+:} false; then :
   5085   $as_echo_n "(cached) " >&6
   5086 else
   5087   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5088 lt_cv_file_magic_test_file=
   5089 lt_cv_deplibs_check_method='unknown'
   5090 # Need to set the preceding variable on all platforms that support
   5091 # interlibrary dependencies.
   5092 # 'none' -- dependencies not supported.
   5093 # `unknown' -- same as none, but documents that we really don't know.
   5094 # 'pass_all' -- all dependencies passed with no checks.
   5095 # 'test_compile' -- check by making test program.
   5096 # 'file_magic [[regex]]' -- check by looking for files in library path
   5097 # which responds to the $file_magic_cmd with a given extended regex.
   5098 # If you have `file' or equivalent on your system and you're not sure
   5099 # whether `pass_all' will *always* work, you probably want this one.
   5100 
   5101 case $host_os in
   5102 aix[4-9]*)
   5103   lt_cv_deplibs_check_method=pass_all
   5104   ;;
   5105 
   5106 beos*)
   5107   lt_cv_deplibs_check_method=pass_all
   5108   ;;
   5109 
   5110 bsdi[45]*)
   5111   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5112   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5113   lt_cv_file_magic_test_file=/shlib/libc.so
   5114   ;;
   5115 
   5116 cygwin*)
   5117   # func_win32_libid is a shell function defined in ltmain.sh
   5118   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5119   lt_cv_file_magic_cmd='func_win32_libid'
   5120   ;;
   5121 
   5122 mingw* | pw32*)
   5123   # Base MSYS/MinGW do not provide the 'file' command needed by
   5124   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5125   # unless we find 'file', for example because we are cross-compiling.
   5126   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5127   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5128     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5129     lt_cv_file_magic_cmd='func_win32_libid'
   5130   else
   5131     # Keep this pattern in sync with the one in func_win32_libid.
   5132     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5133     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5134   fi
   5135   ;;
   5136 
   5137 cegcc*)
   5138   # use the weaker test based on 'objdump'. See mingw*.
   5139   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5140   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5141   ;;
   5142 
   5143 darwin* | rhapsody*)
   5144   lt_cv_deplibs_check_method=pass_all
   5145   ;;
   5146 
   5147 freebsd* | dragonfly*)
   5148   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5149     case $host_cpu in
   5150     i*86 )
   5151       # Not sure whether the presence of OpenBSD here was a mistake.
   5152       # Let's accept both of them until this is cleared up.
   5153       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5154       lt_cv_file_magic_cmd=/usr/bin/file
   5155       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5156       ;;
   5157     esac
   5158   else
   5159     lt_cv_deplibs_check_method=pass_all
   5160   fi
   5161   ;;
   5162 
   5163 haiku*)
   5164   lt_cv_deplibs_check_method=pass_all
   5165   ;;
   5166 
   5167 hpux10.20* | hpux11*)
   5168   lt_cv_file_magic_cmd=/usr/bin/file
   5169   case $host_cpu in
   5170   ia64*)
   5171     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5172     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5173     ;;
   5174   hppa*64*)
   5175     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]'
   5176     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5177     ;;
   5178   *)
   5179     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5180     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5181     ;;
   5182   esac
   5183   ;;
   5184 
   5185 interix[3-9]*)
   5186   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5187   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5188   ;;
   5189 
   5190 irix5* | irix6* | nonstopux*)
   5191   case $LD in
   5192   *-32|*"-32 ") libmagic=32-bit;;
   5193   *-n32|*"-n32 ") libmagic=N32;;
   5194   *-64|*"-64 ") libmagic=64-bit;;
   5195   *) libmagic=never-match;;
   5196   esac
   5197   lt_cv_deplibs_check_method=pass_all
   5198   ;;
   5199 
   5200 # This must be glibc/ELF.
   5201 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5202   lt_cv_deplibs_check_method=pass_all
   5203   ;;
   5204 
   5205 netbsd* | netbsdelf*-gnu)
   5206   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5207     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5208   else
   5209     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5210   fi
   5211   ;;
   5212 
   5213 newos6*)
   5214   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5215   lt_cv_file_magic_cmd=/usr/bin/file
   5216   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5217   ;;
   5218 
   5219 *nto* | *qnx*)
   5220   lt_cv_deplibs_check_method=pass_all
   5221   ;;
   5222 
   5223 openbsd*)
   5224   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5225     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5226   else
   5227     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5228   fi
   5229   ;;
   5230 
   5231 osf3* | osf4* | osf5*)
   5232   lt_cv_deplibs_check_method=pass_all
   5233   ;;
   5234 
   5235 rdos*)
   5236   lt_cv_deplibs_check_method=pass_all
   5237   ;;
   5238 
   5239 solaris*)
   5240   lt_cv_deplibs_check_method=pass_all
   5241   ;;
   5242 
   5243 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5244   lt_cv_deplibs_check_method=pass_all
   5245   ;;
   5246 
   5247 sysv4 | sysv4.3*)
   5248   case $host_vendor in
   5249   motorola)
   5250     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]'
   5251     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5252     ;;
   5253   ncr)
   5254     lt_cv_deplibs_check_method=pass_all
   5255     ;;
   5256   sequent)
   5257     lt_cv_file_magic_cmd='/bin/file'
   5258     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5259     ;;
   5260   sni)
   5261     lt_cv_file_magic_cmd='/bin/file'
   5262     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5263     lt_cv_file_magic_test_file=/lib/libc.so
   5264     ;;
   5265   siemens)
   5266     lt_cv_deplibs_check_method=pass_all
   5267     ;;
   5268   pc)
   5269     lt_cv_deplibs_check_method=pass_all
   5270     ;;
   5271   esac
   5272   ;;
   5273 
   5274 tpf*)
   5275   lt_cv_deplibs_check_method=pass_all
   5276   ;;
   5277 esac
   5278 
   5279 fi
   5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5281 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5282 
   5283 file_magic_glob=
   5284 want_nocaseglob=no
   5285 if test "$build" = "$host"; then
   5286   case $host_os in
   5287   mingw* | pw32*)
   5288     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5289       want_nocaseglob=yes
   5290     else
   5291       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5292     fi
   5293     ;;
   5294   esac
   5295 fi
   5296 
   5297 file_magic_cmd=$lt_cv_file_magic_cmd
   5298 deplibs_check_method=$lt_cv_deplibs_check_method
   5299 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 if test -n "$ac_tool_prefix"; then
   5323   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5324 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5326 $as_echo_n "checking for $ac_word... " >&6; }
   5327 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5328   $as_echo_n "(cached) " >&6
   5329 else
   5330   if test -n "$DLLTOOL"; then
   5331   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5332 else
   5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5334 for as_dir in $PATH
   5335 do
   5336   IFS=$as_save_IFS
   5337   test -z "$as_dir" && as_dir=.
   5338     for ac_exec_ext in '' $ac_executable_extensions; do
   5339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5340     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5342     break 2
   5343   fi
   5344 done
   5345   done
   5346 IFS=$as_save_IFS
   5347 
   5348 fi
   5349 fi
   5350 DLLTOOL=$ac_cv_prog_DLLTOOL
   5351 if test -n "$DLLTOOL"; then
   5352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5353 $as_echo "$DLLTOOL" >&6; }
   5354 else
   5355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5356 $as_echo "no" >&6; }
   5357 fi
   5358 
   5359 
   5360 fi
   5361 if test -z "$ac_cv_prog_DLLTOOL"; then
   5362   ac_ct_DLLTOOL=$DLLTOOL
   5363   # Extract the first word of "dlltool", so it can be a program name with args.
   5364 set dummy dlltool; ac_word=$2
   5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5366 $as_echo_n "checking for $ac_word... " >&6; }
   5367 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5368   $as_echo_n "(cached) " >&6
   5369 else
   5370   if test -n "$ac_ct_DLLTOOL"; then
   5371   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5372 else
   5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5374 for as_dir in $PATH
   5375 do
   5376   IFS=$as_save_IFS
   5377   test -z "$as_dir" && as_dir=.
   5378     for ac_exec_ext in '' $ac_executable_extensions; do
   5379   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5380     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5382     break 2
   5383   fi
   5384 done
   5385   done
   5386 IFS=$as_save_IFS
   5387 
   5388 fi
   5389 fi
   5390 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5391 if test -n "$ac_ct_DLLTOOL"; then
   5392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5393 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5394 else
   5395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5396 $as_echo "no" >&6; }
   5397 fi
   5398 
   5399   if test "x$ac_ct_DLLTOOL" = x; then
   5400     DLLTOOL="false"
   5401   else
   5402     case $cross_compiling:$ac_tool_warned in
   5403 yes:)
   5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5406 ac_tool_warned=yes ;;
   5407 esac
   5408     DLLTOOL=$ac_ct_DLLTOOL
   5409   fi
   5410 else
   5411   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5412 fi
   5413 
   5414 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5415 
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5426 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5427 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5428   $as_echo_n "(cached) " >&6
   5429 else
   5430   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5431 
   5432 case $host_os in
   5433 cygwin* | mingw* | pw32* | cegcc*)
   5434   # two different shell functions defined in ltmain.sh
   5435   # decide which to use based on capabilities of $DLLTOOL
   5436   case `$DLLTOOL --help 2>&1` in
   5437   *--identify-strict*)
   5438     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5439     ;;
   5440   *)
   5441     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5442     ;;
   5443   esac
   5444   ;;
   5445 *)
   5446   # fallback: assume linklib IS sharedlib
   5447   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5448   ;;
   5449 esac
   5450 
   5451 fi
   5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5453 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5454 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5455 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 if test -n "$ac_tool_prefix"; then
   5465   for ac_prog in ar
   5466   do
   5467     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5470 $as_echo_n "checking for $ac_word... " >&6; }
   5471 if ${ac_cv_prog_AR+:} false; then :
   5472   $as_echo_n "(cached) " >&6
   5473 else
   5474   if test -n "$AR"; then
   5475   ac_cv_prog_AR="$AR" # Let the user override the test.
   5476 else
   5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5478 for as_dir in $PATH
   5479 do
   5480   IFS=$as_save_IFS
   5481   test -z "$as_dir" && as_dir=.
   5482     for ac_exec_ext in '' $ac_executable_extensions; do
   5483   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5484     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5486     break 2
   5487   fi
   5488 done
   5489   done
   5490 IFS=$as_save_IFS
   5491 
   5492 fi
   5493 fi
   5494 AR=$ac_cv_prog_AR
   5495 if test -n "$AR"; then
   5496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5497 $as_echo "$AR" >&6; }
   5498 else
   5499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5500 $as_echo "no" >&6; }
   5501 fi
   5502 
   5503 
   5504     test -n "$AR" && break
   5505   done
   5506 fi
   5507 if test -z "$AR"; then
   5508   ac_ct_AR=$AR
   5509   for ac_prog in ar
   5510 do
   5511   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5512 set dummy $ac_prog; ac_word=$2
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5514 $as_echo_n "checking for $ac_word... " >&6; }
   5515 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5516   $as_echo_n "(cached) " >&6
   5517 else
   5518   if test -n "$ac_ct_AR"; then
   5519   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5520 else
   5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5522 for as_dir in $PATH
   5523 do
   5524   IFS=$as_save_IFS
   5525   test -z "$as_dir" && as_dir=.
   5526     for ac_exec_ext in '' $ac_executable_extensions; do
   5527   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5528     ac_cv_prog_ac_ct_AR="$ac_prog"
   5529     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5530     break 2
   5531   fi
   5532 done
   5533   done
   5534 IFS=$as_save_IFS
   5535 
   5536 fi
   5537 fi
   5538 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5539 if test -n "$ac_ct_AR"; then
   5540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5541 $as_echo "$ac_ct_AR" >&6; }
   5542 else
   5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5544 $as_echo "no" >&6; }
   5545 fi
   5546 
   5547 
   5548   test -n "$ac_ct_AR" && break
   5549 done
   5550 
   5551   if test "x$ac_ct_AR" = x; then
   5552     AR="false"
   5553   else
   5554     case $cross_compiling:$ac_tool_warned in
   5555 yes:)
   5556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5558 ac_tool_warned=yes ;;
   5559 esac
   5560     AR=$ac_ct_AR
   5561   fi
   5562 fi
   5563 
   5564 : ${AR=ar}
   5565 : ${AR_FLAGS=cru}
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5578 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5579 if ${lt_cv_ar_at_file+:} false; then :
   5580   $as_echo_n "(cached) " >&6
   5581 else
   5582   lt_cv_ar_at_file=no
   5583    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5584 /* end confdefs.h.  */
   5585 
   5586 int
   5587 main ()
   5588 {
   5589 
   5590   ;
   5591   return 0;
   5592 }
   5593 _ACEOF
   5594 if ac_fn_c_try_compile "$LINENO"; then :
   5595   echo conftest.$ac_objext > conftest.lst
   5596       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5597       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5598   (eval $lt_ar_try) 2>&5
   5599   ac_status=$?
   5600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5601   test $ac_status = 0; }
   5602       if test "$ac_status" -eq 0; then
   5603 	# Ensure the archiver fails upon bogus file names.
   5604 	rm -f conftest.$ac_objext libconftest.a
   5605 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5606   (eval $lt_ar_try) 2>&5
   5607   ac_status=$?
   5608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5609   test $ac_status = 0; }
   5610 	if test "$ac_status" -ne 0; then
   5611           lt_cv_ar_at_file=@
   5612         fi
   5613       fi
   5614       rm -f conftest.* libconftest.a
   5615 
   5616 fi
   5617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5618 
   5619 fi
   5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5621 $as_echo "$lt_cv_ar_at_file" >&6; }
   5622 
   5623 if test "x$lt_cv_ar_at_file" = xno; then
   5624   archiver_list_spec=
   5625 else
   5626   archiver_list_spec=$lt_cv_ar_at_file
   5627 fi
   5628 
   5629 
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 if test -n "$ac_tool_prefix"; then
   5636   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5637 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5639 $as_echo_n "checking for $ac_word... " >&6; }
   5640 if ${ac_cv_prog_STRIP+:} false; then :
   5641   $as_echo_n "(cached) " >&6
   5642 else
   5643   if test -n "$STRIP"; then
   5644   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5645 else
   5646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5647 for as_dir in $PATH
   5648 do
   5649   IFS=$as_save_IFS
   5650   test -z "$as_dir" && as_dir=.
   5651     for ac_exec_ext in '' $ac_executable_extensions; do
   5652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5653     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5655     break 2
   5656   fi
   5657 done
   5658   done
   5659 IFS=$as_save_IFS
   5660 
   5661 fi
   5662 fi
   5663 STRIP=$ac_cv_prog_STRIP
   5664 if test -n "$STRIP"; then
   5665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5666 $as_echo "$STRIP" >&6; }
   5667 else
   5668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5669 $as_echo "no" >&6; }
   5670 fi
   5671 
   5672 
   5673 fi
   5674 if test -z "$ac_cv_prog_STRIP"; then
   5675   ac_ct_STRIP=$STRIP
   5676   # Extract the first word of "strip", so it can be a program name with args.
   5677 set dummy strip; ac_word=$2
   5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5679 $as_echo_n "checking for $ac_word... " >&6; }
   5680 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5681   $as_echo_n "(cached) " >&6
   5682 else
   5683   if test -n "$ac_ct_STRIP"; then
   5684   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5685 else
   5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5687 for as_dir in $PATH
   5688 do
   5689   IFS=$as_save_IFS
   5690   test -z "$as_dir" && as_dir=.
   5691     for ac_exec_ext in '' $ac_executable_extensions; do
   5692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5693     ac_cv_prog_ac_ct_STRIP="strip"
   5694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5695     break 2
   5696   fi
   5697 done
   5698   done
   5699 IFS=$as_save_IFS
   5700 
   5701 fi
   5702 fi
   5703 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5704 if test -n "$ac_ct_STRIP"; then
   5705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5706 $as_echo "$ac_ct_STRIP" >&6; }
   5707 else
   5708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5709 $as_echo "no" >&6; }
   5710 fi
   5711 
   5712   if test "x$ac_ct_STRIP" = x; then
   5713     STRIP=":"
   5714   else
   5715     case $cross_compiling:$ac_tool_warned in
   5716 yes:)
   5717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5719 ac_tool_warned=yes ;;
   5720 esac
   5721     STRIP=$ac_ct_STRIP
   5722   fi
   5723 else
   5724   STRIP="$ac_cv_prog_STRIP"
   5725 fi
   5726 
   5727 test -z "$STRIP" && STRIP=:
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 if test -n "$ac_tool_prefix"; then
   5735   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5736 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5738 $as_echo_n "checking for $ac_word... " >&6; }
   5739 if ${ac_cv_prog_RANLIB+:} false; then :
   5740   $as_echo_n "(cached) " >&6
   5741 else
   5742   if test -n "$RANLIB"; then
   5743   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5744 else
   5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5746 for as_dir in $PATH
   5747 do
   5748   IFS=$as_save_IFS
   5749   test -z "$as_dir" && as_dir=.
   5750     for ac_exec_ext in '' $ac_executable_extensions; do
   5751   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5752     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5754     break 2
   5755   fi
   5756 done
   5757   done
   5758 IFS=$as_save_IFS
   5759 
   5760 fi
   5761 fi
   5762 RANLIB=$ac_cv_prog_RANLIB
   5763 if test -n "$RANLIB"; then
   5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5765 $as_echo "$RANLIB" >&6; }
   5766 else
   5767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5768 $as_echo "no" >&6; }
   5769 fi
   5770 
   5771 
   5772 fi
   5773 if test -z "$ac_cv_prog_RANLIB"; then
   5774   ac_ct_RANLIB=$RANLIB
   5775   # Extract the first word of "ranlib", so it can be a program name with args.
   5776 set dummy ranlib; ac_word=$2
   5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5778 $as_echo_n "checking for $ac_word... " >&6; }
   5779 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5780   $as_echo_n "(cached) " >&6
   5781 else
   5782   if test -n "$ac_ct_RANLIB"; then
   5783   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5784 else
   5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5786 for as_dir in $PATH
   5787 do
   5788   IFS=$as_save_IFS
   5789   test -z "$as_dir" && as_dir=.
   5790     for ac_exec_ext in '' $ac_executable_extensions; do
   5791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5792     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5794     break 2
   5795   fi
   5796 done
   5797   done
   5798 IFS=$as_save_IFS
   5799 
   5800 fi
   5801 fi
   5802 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5803 if test -n "$ac_ct_RANLIB"; then
   5804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5805 $as_echo "$ac_ct_RANLIB" >&6; }
   5806 else
   5807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5808 $as_echo "no" >&6; }
   5809 fi
   5810 
   5811   if test "x$ac_ct_RANLIB" = x; then
   5812     RANLIB=":"
   5813   else
   5814     case $cross_compiling:$ac_tool_warned in
   5815 yes:)
   5816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5818 ac_tool_warned=yes ;;
   5819 esac
   5820     RANLIB=$ac_ct_RANLIB
   5821   fi
   5822 else
   5823   RANLIB="$ac_cv_prog_RANLIB"
   5824 fi
   5825 
   5826 test -z "$RANLIB" && RANLIB=:
   5827 
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 # Determine commands to create old-style static archives.
   5834 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5835 old_postinstall_cmds='chmod 644 $oldlib'
   5836 old_postuninstall_cmds=
   5837 
   5838 if test -n "$RANLIB"; then
   5839   case $host_os in
   5840   openbsd*)
   5841     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5842     ;;
   5843   *)
   5844     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5845     ;;
   5846   esac
   5847   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5848 fi
   5849 
   5850 case $host_os in
   5851   darwin*)
   5852     lock_old_archive_extraction=yes ;;
   5853   *)
   5854     lock_old_archive_extraction=no ;;
   5855 esac
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 # If no C compiler was specified, use CC.
   5896 LTCC=${LTCC-"$CC"}
   5897 
   5898 # If no C compiler flags were specified, use CFLAGS.
   5899 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5900 
   5901 # Allow CC to be a program name with arguments.
   5902 compiler=$CC
   5903 
   5904 
   5905 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5907 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5908 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5909   $as_echo_n "(cached) " >&6
   5910 else
   5911 
   5912 # These are sane defaults that work on at least a few old systems.
   5913 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5914 
   5915 # Character class describing NM global symbol codes.
   5916 symcode='[BCDEGRST]'
   5917 
   5918 # Regexp to match symbols that can be accessed directly from C.
   5919 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5920 
   5921 # Define system-specific variables.
   5922 case $host_os in
   5923 aix*)
   5924   symcode='[BCDT]'
   5925   ;;
   5926 cygwin* | mingw* | pw32* | cegcc*)
   5927   symcode='[ABCDGISTW]'
   5928   ;;
   5929 hpux*)
   5930   if test "$host_cpu" = ia64; then
   5931     symcode='[ABCDEGRST]'
   5932   fi
   5933   ;;
   5934 irix* | nonstopux*)
   5935   symcode='[BCDEGRST]'
   5936   ;;
   5937 osf*)
   5938   symcode='[BCDEGQRST]'
   5939   ;;
   5940 solaris*)
   5941   symcode='[BDRT]'
   5942   ;;
   5943 sco3.2v5*)
   5944   symcode='[DT]'
   5945   ;;
   5946 sysv4.2uw2*)
   5947   symcode='[DT]'
   5948   ;;
   5949 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5950   symcode='[ABDT]'
   5951   ;;
   5952 sysv4)
   5953   symcode='[DFNSTU]'
   5954   ;;
   5955 esac
   5956 
   5957 # If we're using GNU nm, then use its standard symbol codes.
   5958 case `$NM -V 2>&1` in
   5959 *GNU* | *'with BFD'*)
   5960   symcode='[ABCDGIRSTW]' ;;
   5961 esac
   5962 
   5963 # Transform an extracted symbol line into a proper C declaration.
   5964 # Some systems (esp. on ia64) link data and code symbols differently,
   5965 # so use this general approach.
   5966 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5967 
   5968 # Transform an extracted symbol line into symbol name and symbol address
   5969 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5970 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'"
   5971 
   5972 # Handle CRLF in mingw tool chain
   5973 opt_cr=
   5974 case $build_os in
   5975 mingw*)
   5976   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5977   ;;
   5978 esac
   5979 
   5980 # Try without a prefix underscore, then with it.
   5981 for ac_symprfx in "" "_"; do
   5982 
   5983   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5984   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5985 
   5986   # Write the raw and C identifiers.
   5987   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5988     # Fake it for dumpbin and say T for any non-static function
   5989     # and D for any global variable.
   5990     # Also find C++ and __fastcall symbols from MSVC++,
   5991     # which start with @ or ?.
   5992     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5993 "     {last_section=section; section=\$ 3};"\
   5994 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5995 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5996 "     \$ 0!~/External *\|/{next};"\
   5997 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5998 "     {if(hide[section]) next};"\
   5999 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6000 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6001 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6002 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6003 "     ' prfx=^$ac_symprfx"
   6004   else
   6005     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6006   fi
   6007   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6008 
   6009   # Check to see that the pipe works correctly.
   6010   pipe_works=no
   6011 
   6012   rm -f conftest*
   6013   cat > conftest.$ac_ext <<_LT_EOF
   6014 #ifdef __cplusplus
   6015 extern "C" {
   6016 #endif
   6017 char nm_test_var;
   6018 void nm_test_func(void);
   6019 void nm_test_func(void){}
   6020 #ifdef __cplusplus
   6021 }
   6022 #endif
   6023 int main(){nm_test_var='a';nm_test_func();return(0);}
   6024 _LT_EOF
   6025 
   6026   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6027   (eval $ac_compile) 2>&5
   6028   ac_status=$?
   6029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6030   test $ac_status = 0; }; then
   6031     # Now try to grab the symbols.
   6032     nlist=conftest.nm
   6033     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6034   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6035   ac_status=$?
   6036   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6037   test $ac_status = 0; } && test -s "$nlist"; then
   6038       # Try sorting and uniquifying the output.
   6039       if sort "$nlist" | uniq > "$nlist"T; then
   6040 	mv -f "$nlist"T "$nlist"
   6041       else
   6042 	rm -f "$nlist"T
   6043       fi
   6044 
   6045       # Make sure that we snagged all the symbols we need.
   6046       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6047 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6048 	  cat <<_LT_EOF > conftest.$ac_ext
   6049 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6050 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6051 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6052    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6053 # define LT_DLSYM_CONST
   6054 #elif defined(__osf__)
   6055 /* This system does not cope well with relocations in const data.  */
   6056 # define LT_DLSYM_CONST
   6057 #else
   6058 # define LT_DLSYM_CONST const
   6059 #endif
   6060 
   6061 #ifdef __cplusplus
   6062 extern "C" {
   6063 #endif
   6064 
   6065 _LT_EOF
   6066 	  # Now generate the symbol file.
   6067 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6068 
   6069 	  cat <<_LT_EOF >> conftest.$ac_ext
   6070 
   6071 /* The mapping between symbol names and symbols.  */
   6072 LT_DLSYM_CONST struct {
   6073   const char *name;
   6074   void       *address;
   6075 }
   6076 lt__PROGRAM__LTX_preloaded_symbols[] =
   6077 {
   6078   { "@PROGRAM@", (void *) 0 },
   6079 _LT_EOF
   6080 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6081 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6082   {0, (void *) 0}
   6083 };
   6084 
   6085 /* This works around a problem in FreeBSD linker */
   6086 #ifdef FREEBSD_WORKAROUND
   6087 static const void *lt_preloaded_setup() {
   6088   return lt__PROGRAM__LTX_preloaded_symbols;
   6089 }
   6090 #endif
   6091 
   6092 #ifdef __cplusplus
   6093 }
   6094 #endif
   6095 _LT_EOF
   6096 	  # Now try linking the two files.
   6097 	  mv conftest.$ac_objext conftstm.$ac_objext
   6098 	  lt_globsym_save_LIBS=$LIBS
   6099 	  lt_globsym_save_CFLAGS=$CFLAGS
   6100 	  LIBS="conftstm.$ac_objext"
   6101 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6102 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6103   (eval $ac_link) 2>&5
   6104   ac_status=$?
   6105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6106   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6107 	    pipe_works=yes
   6108 	  fi
   6109 	  LIBS=$lt_globsym_save_LIBS
   6110 	  CFLAGS=$lt_globsym_save_CFLAGS
   6111 	else
   6112 	  echo "cannot find nm_test_func in $nlist" >&5
   6113 	fi
   6114       else
   6115 	echo "cannot find nm_test_var in $nlist" >&5
   6116       fi
   6117     else
   6118       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6119     fi
   6120   else
   6121     echo "$progname: failed program was:" >&5
   6122     cat conftest.$ac_ext >&5
   6123   fi
   6124   rm -rf conftest* conftst*
   6125 
   6126   # Do not use the global_symbol_pipe unless it works.
   6127   if test "$pipe_works" = yes; then
   6128     break
   6129   else
   6130     lt_cv_sys_global_symbol_pipe=
   6131   fi
   6132 done
   6133 
   6134 fi
   6135 
   6136 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6137   lt_cv_sys_global_symbol_to_cdecl=
   6138 fi
   6139 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6141 $as_echo "failed" >&6; }
   6142 else
   6143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6144 $as_echo "ok" >&6; }
   6145 fi
   6146 
   6147 # Response file support.
   6148 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6149   nm_file_list_spec='@'
   6150 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6151   nm_file_list_spec='@'
   6152 fi
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6181 $as_echo_n "checking for sysroot... " >&6; }
   6182 
   6183 # Check whether --with-sysroot was given.
   6184 if test "${with_sysroot+set}" = set; then :
   6185   withval=$with_sysroot;
   6186 else
   6187   with_sysroot=no
   6188 fi
   6189 
   6190 
   6191 lt_sysroot=
   6192 case ${with_sysroot} in #(
   6193  yes)
   6194    if test "$GCC" = yes; then
   6195      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6196    fi
   6197    ;; #(
   6198  /*)
   6199    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6200    ;; #(
   6201  no|'')
   6202    ;; #(
   6203  *)
   6204    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6205 $as_echo "${with_sysroot}" >&6; }
   6206    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6207    ;;
   6208 esac
   6209 
   6210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6211 $as_echo "${lt_sysroot:-no}" >&6; }
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 # Check whether --enable-libtool-lock was given.
   6218 if test "${enable_libtool_lock+set}" = set; then :
   6219   enableval=$enable_libtool_lock;
   6220 fi
   6221 
   6222 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6223 
   6224 # Some flags need to be propagated to the compiler or linker for good
   6225 # libtool support.
   6226 case $host in
   6227 ia64-*-hpux*)
   6228   # Find out which ABI we are using.
   6229   echo 'int i;' > conftest.$ac_ext
   6230   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6231   (eval $ac_compile) 2>&5
   6232   ac_status=$?
   6233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6234   test $ac_status = 0; }; then
   6235     case `/usr/bin/file conftest.$ac_objext` in
   6236       *ELF-32*)
   6237 	HPUX_IA64_MODE="32"
   6238 	;;
   6239       *ELF-64*)
   6240 	HPUX_IA64_MODE="64"
   6241 	;;
   6242     esac
   6243   fi
   6244   rm -rf conftest*
   6245   ;;
   6246 *-*-irix6*)
   6247   # Find out which ABI we are using.
   6248   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6249   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6250   (eval $ac_compile) 2>&5
   6251   ac_status=$?
   6252   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6253   test $ac_status = 0; }; then
   6254     if test "$lt_cv_prog_gnu_ld" = yes; then
   6255       case `/usr/bin/file conftest.$ac_objext` in
   6256 	*32-bit*)
   6257 	  LD="${LD-ld} -melf32bsmip"
   6258 	  ;;
   6259 	*N32*)
   6260 	  LD="${LD-ld} -melf32bmipn32"
   6261 	  ;;
   6262 	*64-bit*)
   6263 	  LD="${LD-ld} -melf64bmip"
   6264 	;;
   6265       esac
   6266     else
   6267       case `/usr/bin/file conftest.$ac_objext` in
   6268 	*32-bit*)
   6269 	  LD="${LD-ld} -32"
   6270 	  ;;
   6271 	*N32*)
   6272 	  LD="${LD-ld} -n32"
   6273 	  ;;
   6274 	*64-bit*)
   6275 	  LD="${LD-ld} -64"
   6276 	  ;;
   6277       esac
   6278     fi
   6279   fi
   6280   rm -rf conftest*
   6281   ;;
   6282 
   6283 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6284 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6285   # Find out which ABI we are using.
   6286   echo 'int i;' > conftest.$ac_ext
   6287   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6288   (eval $ac_compile) 2>&5
   6289   ac_status=$?
   6290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6291   test $ac_status = 0; }; then
   6292     case `/usr/bin/file conftest.o` in
   6293       *32-bit*)
   6294 	case $host in
   6295 	  x86_64-*kfreebsd*-gnu)
   6296 	    LD="${LD-ld} -m elf_i386_fbsd"
   6297 	    ;;
   6298 	  x86_64-*linux*)
   6299 	    case `/usr/bin/file conftest.o` in
   6300 	      *x86-64*)
   6301 		LD="${LD-ld} -m elf32_x86_64"
   6302 		;;
   6303 	      *)
   6304 		LD="${LD-ld} -m elf_i386"
   6305 		;;
   6306 	    esac
   6307 	    ;;
   6308 	  powerpc64le-*)
   6309 	    LD="${LD-ld} -m elf32lppclinux"
   6310 	    ;;
   6311 	  powerpc64-*)
   6312 	    LD="${LD-ld} -m elf32ppclinux"
   6313 	    ;;
   6314 	  s390x-*linux*)
   6315 	    LD="${LD-ld} -m elf_s390"
   6316 	    ;;
   6317 	  sparc64-*linux*)
   6318 	    LD="${LD-ld} -m elf32_sparc"
   6319 	    ;;
   6320 	esac
   6321 	;;
   6322       *64-bit*)
   6323 	case $host in
   6324 	  x86_64-*kfreebsd*-gnu)
   6325 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6326 	    ;;
   6327 	  x86_64-*linux*)
   6328 	    LD="${LD-ld} -m elf_x86_64"
   6329 	    ;;
   6330 	  powerpcle-*)
   6331 	    LD="${LD-ld} -m elf64lppc"
   6332 	    ;;
   6333 	  powerpc-*)
   6334 	    LD="${LD-ld} -m elf64ppc"
   6335 	    ;;
   6336 	  s390*-*linux*|s390*-*tpf*)
   6337 	    LD="${LD-ld} -m elf64_s390"
   6338 	    ;;
   6339 	  sparc*-*linux*)
   6340 	    LD="${LD-ld} -m elf64_sparc"
   6341 	    ;;
   6342 	esac
   6343 	;;
   6344     esac
   6345   fi
   6346   rm -rf conftest*
   6347   ;;
   6348 
   6349 *-*-sco3.2v5*)
   6350   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6351   SAVE_CFLAGS="$CFLAGS"
   6352   CFLAGS="$CFLAGS -belf"
   6353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6354 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6355 if ${lt_cv_cc_needs_belf+:} false; then :
   6356   $as_echo_n "(cached) " >&6
   6357 else
   6358   ac_ext=c
   6359 ac_cpp='$CPP $CPPFLAGS'
   6360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6363 
   6364      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6365 /* end confdefs.h.  */
   6366 
   6367 int
   6368 main ()
   6369 {
   6370 
   6371   ;
   6372   return 0;
   6373 }
   6374 _ACEOF
   6375 if ac_fn_c_try_link "$LINENO"; then :
   6376   lt_cv_cc_needs_belf=yes
   6377 else
   6378   lt_cv_cc_needs_belf=no
   6379 fi
   6380 rm -f core conftest.err conftest.$ac_objext \
   6381     conftest$ac_exeext conftest.$ac_ext
   6382      ac_ext=c
   6383 ac_cpp='$CPP $CPPFLAGS'
   6384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6387 
   6388 fi
   6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6390 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6391   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6392     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6393     CFLAGS="$SAVE_CFLAGS"
   6394   fi
   6395   ;;
   6396 *-*solaris*)
   6397   # Find out which ABI we are using.
   6398   echo 'int i;' > conftest.$ac_ext
   6399   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6400   (eval $ac_compile) 2>&5
   6401   ac_status=$?
   6402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6403   test $ac_status = 0; }; then
   6404     case `/usr/bin/file conftest.o` in
   6405     *64-bit*)
   6406       case $lt_cv_prog_gnu_ld in
   6407       yes*)
   6408         case $host in
   6409         i?86-*-solaris*)
   6410           LD="${LD-ld} -m elf_x86_64"
   6411           ;;
   6412         sparc*-*-solaris*)
   6413           LD="${LD-ld} -m elf64_sparc"
   6414           ;;
   6415         esac
   6416         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6417         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6418           LD="${LD-ld}_sol2"
   6419         fi
   6420         ;;
   6421       *)
   6422 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6423 	  LD="${LD-ld} -64"
   6424 	fi
   6425 	;;
   6426       esac
   6427       ;;
   6428     esac
   6429   fi
   6430   rm -rf conftest*
   6431   ;;
   6432 esac
   6433 
   6434 need_locks="$enable_libtool_lock"
   6435 
   6436 if test -n "$ac_tool_prefix"; then
   6437   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6438 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6440 $as_echo_n "checking for $ac_word... " >&6; }
   6441 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6442   $as_echo_n "(cached) " >&6
   6443 else
   6444   if test -n "$MANIFEST_TOOL"; then
   6445   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6446 else
   6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6448 for as_dir in $PATH
   6449 do
   6450   IFS=$as_save_IFS
   6451   test -z "$as_dir" && as_dir=.
   6452     for ac_exec_ext in '' $ac_executable_extensions; do
   6453   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6454     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6455     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6456     break 2
   6457   fi
   6458 done
   6459   done
   6460 IFS=$as_save_IFS
   6461 
   6462 fi
   6463 fi
   6464 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6465 if test -n "$MANIFEST_TOOL"; then
   6466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6467 $as_echo "$MANIFEST_TOOL" >&6; }
   6468 else
   6469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6470 $as_echo "no" >&6; }
   6471 fi
   6472 
   6473 
   6474 fi
   6475 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6476   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6477   # Extract the first word of "mt", so it can be a program name with args.
   6478 set dummy mt; ac_word=$2
   6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6480 $as_echo_n "checking for $ac_word... " >&6; }
   6481 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6482   $as_echo_n "(cached) " >&6
   6483 else
   6484   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6485   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6486 else
   6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6488 for as_dir in $PATH
   6489 do
   6490   IFS=$as_save_IFS
   6491   test -z "$as_dir" && as_dir=.
   6492     for ac_exec_ext in '' $ac_executable_extensions; do
   6493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6494     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6496     break 2
   6497   fi
   6498 done
   6499   done
   6500 IFS=$as_save_IFS
   6501 
   6502 fi
   6503 fi
   6504 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6505 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6507 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6508 else
   6509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6510 $as_echo "no" >&6; }
   6511 fi
   6512 
   6513   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6514     MANIFEST_TOOL=":"
   6515   else
   6516     case $cross_compiling:$ac_tool_warned in
   6517 yes:)
   6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6520 ac_tool_warned=yes ;;
   6521 esac
   6522     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6523   fi
   6524 else
   6525   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6526 fi
   6527 
   6528 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6530 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6531 if ${lt_cv_path_mainfest_tool+:} false; then :
   6532   $as_echo_n "(cached) " >&6
   6533 else
   6534   lt_cv_path_mainfest_tool=no
   6535   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6536   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6537   cat conftest.err >&5
   6538   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6539     lt_cv_path_mainfest_tool=yes
   6540   fi
   6541   rm -f conftest*
   6542 fi
   6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6544 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6545 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6546   MANIFEST_TOOL=:
   6547 fi
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554   case $host_os in
   6555     rhapsody* | darwin*)
   6556     if test -n "$ac_tool_prefix"; then
   6557   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6558 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6560 $as_echo_n "checking for $ac_word... " >&6; }
   6561 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6562   $as_echo_n "(cached) " >&6
   6563 else
   6564   if test -n "$DSYMUTIL"; then
   6565   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6566 else
   6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6568 for as_dir in $PATH
   6569 do
   6570   IFS=$as_save_IFS
   6571   test -z "$as_dir" && as_dir=.
   6572     for ac_exec_ext in '' $ac_executable_extensions; do
   6573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6574     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6576     break 2
   6577   fi
   6578 done
   6579   done
   6580 IFS=$as_save_IFS
   6581 
   6582 fi
   6583 fi
   6584 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6585 if test -n "$DSYMUTIL"; then
   6586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6587 $as_echo "$DSYMUTIL" >&6; }
   6588 else
   6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6590 $as_echo "no" >&6; }
   6591 fi
   6592 
   6593 
   6594 fi
   6595 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6596   ac_ct_DSYMUTIL=$DSYMUTIL
   6597   # Extract the first word of "dsymutil", so it can be a program name with args.
   6598 set dummy dsymutil; ac_word=$2
   6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6600 $as_echo_n "checking for $ac_word... " >&6; }
   6601 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6602   $as_echo_n "(cached) " >&6
   6603 else
   6604   if test -n "$ac_ct_DSYMUTIL"; then
   6605   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6606 else
   6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6608 for as_dir in $PATH
   6609 do
   6610   IFS=$as_save_IFS
   6611   test -z "$as_dir" && as_dir=.
   6612     for ac_exec_ext in '' $ac_executable_extensions; do
   6613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6614     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6616     break 2
   6617   fi
   6618 done
   6619   done
   6620 IFS=$as_save_IFS
   6621 
   6622 fi
   6623 fi
   6624 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6625 if test -n "$ac_ct_DSYMUTIL"; then
   6626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6627 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6628 else
   6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6630 $as_echo "no" >&6; }
   6631 fi
   6632 
   6633   if test "x$ac_ct_DSYMUTIL" = x; then
   6634     DSYMUTIL=":"
   6635   else
   6636     case $cross_compiling:$ac_tool_warned in
   6637 yes:)
   6638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6640 ac_tool_warned=yes ;;
   6641 esac
   6642     DSYMUTIL=$ac_ct_DSYMUTIL
   6643   fi
   6644 else
   6645   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6646 fi
   6647 
   6648     if test -n "$ac_tool_prefix"; then
   6649   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6650 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6652 $as_echo_n "checking for $ac_word... " >&6; }
   6653 if ${ac_cv_prog_NMEDIT+:} false; then :
   6654   $as_echo_n "(cached) " >&6
   6655 else
   6656   if test -n "$NMEDIT"; then
   6657   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6658 else
   6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6660 for as_dir in $PATH
   6661 do
   6662   IFS=$as_save_IFS
   6663   test -z "$as_dir" && as_dir=.
   6664     for ac_exec_ext in '' $ac_executable_extensions; do
   6665   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6666     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6668     break 2
   6669   fi
   6670 done
   6671   done
   6672 IFS=$as_save_IFS
   6673 
   6674 fi
   6675 fi
   6676 NMEDIT=$ac_cv_prog_NMEDIT
   6677 if test -n "$NMEDIT"; then
   6678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6679 $as_echo "$NMEDIT" >&6; }
   6680 else
   6681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6682 $as_echo "no" >&6; }
   6683 fi
   6684 
   6685 
   6686 fi
   6687 if test -z "$ac_cv_prog_NMEDIT"; then
   6688   ac_ct_NMEDIT=$NMEDIT
   6689   # Extract the first word of "nmedit", so it can be a program name with args.
   6690 set dummy nmedit; ac_word=$2
   6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6692 $as_echo_n "checking for $ac_word... " >&6; }
   6693 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6694   $as_echo_n "(cached) " >&6
   6695 else
   6696   if test -n "$ac_ct_NMEDIT"; then
   6697   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6698 else
   6699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6700 for as_dir in $PATH
   6701 do
   6702   IFS=$as_save_IFS
   6703   test -z "$as_dir" && as_dir=.
   6704     for ac_exec_ext in '' $ac_executable_extensions; do
   6705   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6706     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6707     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6708     break 2
   6709   fi
   6710 done
   6711   done
   6712 IFS=$as_save_IFS
   6713 
   6714 fi
   6715 fi
   6716 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6717 if test -n "$ac_ct_NMEDIT"; then
   6718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6719 $as_echo "$ac_ct_NMEDIT" >&6; }
   6720 else
   6721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6722 $as_echo "no" >&6; }
   6723 fi
   6724 
   6725   if test "x$ac_ct_NMEDIT" = x; then
   6726     NMEDIT=":"
   6727   else
   6728     case $cross_compiling:$ac_tool_warned in
   6729 yes:)
   6730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6732 ac_tool_warned=yes ;;
   6733 esac
   6734     NMEDIT=$ac_ct_NMEDIT
   6735   fi
   6736 else
   6737   NMEDIT="$ac_cv_prog_NMEDIT"
   6738 fi
   6739 
   6740     if test -n "$ac_tool_prefix"; then
   6741   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6742 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6744 $as_echo_n "checking for $ac_word... " >&6; }
   6745 if ${ac_cv_prog_LIPO+:} false; then :
   6746   $as_echo_n "(cached) " >&6
   6747 else
   6748   if test -n "$LIPO"; then
   6749   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6750 else
   6751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6752 for as_dir in $PATH
   6753 do
   6754   IFS=$as_save_IFS
   6755   test -z "$as_dir" && as_dir=.
   6756     for ac_exec_ext in '' $ac_executable_extensions; do
   6757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6758     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6760     break 2
   6761   fi
   6762 done
   6763   done
   6764 IFS=$as_save_IFS
   6765 
   6766 fi
   6767 fi
   6768 LIPO=$ac_cv_prog_LIPO
   6769 if test -n "$LIPO"; then
   6770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6771 $as_echo "$LIPO" >&6; }
   6772 else
   6773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6774 $as_echo "no" >&6; }
   6775 fi
   6776 
   6777 
   6778 fi
   6779 if test -z "$ac_cv_prog_LIPO"; then
   6780   ac_ct_LIPO=$LIPO
   6781   # Extract the first word of "lipo", so it can be a program name with args.
   6782 set dummy lipo; ac_word=$2
   6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6784 $as_echo_n "checking for $ac_word... " >&6; }
   6785 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6786   $as_echo_n "(cached) " >&6
   6787 else
   6788   if test -n "$ac_ct_LIPO"; then
   6789   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6790 else
   6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6792 for as_dir in $PATH
   6793 do
   6794   IFS=$as_save_IFS
   6795   test -z "$as_dir" && as_dir=.
   6796     for ac_exec_ext in '' $ac_executable_extensions; do
   6797   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6798     ac_cv_prog_ac_ct_LIPO="lipo"
   6799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6800     break 2
   6801   fi
   6802 done
   6803   done
   6804 IFS=$as_save_IFS
   6805 
   6806 fi
   6807 fi
   6808 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6809 if test -n "$ac_ct_LIPO"; then
   6810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6811 $as_echo "$ac_ct_LIPO" >&6; }
   6812 else
   6813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6814 $as_echo "no" >&6; }
   6815 fi
   6816 
   6817   if test "x$ac_ct_LIPO" = x; then
   6818     LIPO=":"
   6819   else
   6820     case $cross_compiling:$ac_tool_warned in
   6821 yes:)
   6822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6824 ac_tool_warned=yes ;;
   6825 esac
   6826     LIPO=$ac_ct_LIPO
   6827   fi
   6828 else
   6829   LIPO="$ac_cv_prog_LIPO"
   6830 fi
   6831 
   6832     if test -n "$ac_tool_prefix"; then
   6833   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6834 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6836 $as_echo_n "checking for $ac_word... " >&6; }
   6837 if ${ac_cv_prog_OTOOL+:} false; then :
   6838   $as_echo_n "(cached) " >&6
   6839 else
   6840   if test -n "$OTOOL"; then
   6841   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6842 else
   6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6844 for as_dir in $PATH
   6845 do
   6846   IFS=$as_save_IFS
   6847   test -z "$as_dir" && as_dir=.
   6848     for ac_exec_ext in '' $ac_executable_extensions; do
   6849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6850     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6852     break 2
   6853   fi
   6854 done
   6855   done
   6856 IFS=$as_save_IFS
   6857 
   6858 fi
   6859 fi
   6860 OTOOL=$ac_cv_prog_OTOOL
   6861 if test -n "$OTOOL"; then
   6862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6863 $as_echo "$OTOOL" >&6; }
   6864 else
   6865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6866 $as_echo "no" >&6; }
   6867 fi
   6868 
   6869 
   6870 fi
   6871 if test -z "$ac_cv_prog_OTOOL"; then
   6872   ac_ct_OTOOL=$OTOOL
   6873   # Extract the first word of "otool", so it can be a program name with args.
   6874 set dummy otool; ac_word=$2
   6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6876 $as_echo_n "checking for $ac_word... " >&6; }
   6877 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6878   $as_echo_n "(cached) " >&6
   6879 else
   6880   if test -n "$ac_ct_OTOOL"; then
   6881   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6882 else
   6883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6884 for as_dir in $PATH
   6885 do
   6886   IFS=$as_save_IFS
   6887   test -z "$as_dir" && as_dir=.
   6888     for ac_exec_ext in '' $ac_executable_extensions; do
   6889   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6890     ac_cv_prog_ac_ct_OTOOL="otool"
   6891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6892     break 2
   6893   fi
   6894 done
   6895   done
   6896 IFS=$as_save_IFS
   6897 
   6898 fi
   6899 fi
   6900 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6901 if test -n "$ac_ct_OTOOL"; then
   6902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6903 $as_echo "$ac_ct_OTOOL" >&6; }
   6904 else
   6905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6906 $as_echo "no" >&6; }
   6907 fi
   6908 
   6909   if test "x$ac_ct_OTOOL" = x; then
   6910     OTOOL=":"
   6911   else
   6912     case $cross_compiling:$ac_tool_warned in
   6913 yes:)
   6914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6916 ac_tool_warned=yes ;;
   6917 esac
   6918     OTOOL=$ac_ct_OTOOL
   6919   fi
   6920 else
   6921   OTOOL="$ac_cv_prog_OTOOL"
   6922 fi
   6923 
   6924     if test -n "$ac_tool_prefix"; then
   6925   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6926 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6928 $as_echo_n "checking for $ac_word... " >&6; }
   6929 if ${ac_cv_prog_OTOOL64+:} false; then :
   6930   $as_echo_n "(cached) " >&6
   6931 else
   6932   if test -n "$OTOOL64"; then
   6933   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6934 else
   6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6936 for as_dir in $PATH
   6937 do
   6938   IFS=$as_save_IFS
   6939   test -z "$as_dir" && as_dir=.
   6940     for ac_exec_ext in '' $ac_executable_extensions; do
   6941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6942     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6944     break 2
   6945   fi
   6946 done
   6947   done
   6948 IFS=$as_save_IFS
   6949 
   6950 fi
   6951 fi
   6952 OTOOL64=$ac_cv_prog_OTOOL64
   6953 if test -n "$OTOOL64"; then
   6954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6955 $as_echo "$OTOOL64" >&6; }
   6956 else
   6957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6958 $as_echo "no" >&6; }
   6959 fi
   6960 
   6961 
   6962 fi
   6963 if test -z "$ac_cv_prog_OTOOL64"; then
   6964   ac_ct_OTOOL64=$OTOOL64
   6965   # Extract the first word of "otool64", so it can be a program name with args.
   6966 set dummy otool64; ac_word=$2
   6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6968 $as_echo_n "checking for $ac_word... " >&6; }
   6969 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6970   $as_echo_n "(cached) " >&6
   6971 else
   6972   if test -n "$ac_ct_OTOOL64"; then
   6973   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6974 else
   6975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6976 for as_dir in $PATH
   6977 do
   6978   IFS=$as_save_IFS
   6979   test -z "$as_dir" && as_dir=.
   6980     for ac_exec_ext in '' $ac_executable_extensions; do
   6981   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6982     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6984     break 2
   6985   fi
   6986 done
   6987   done
   6988 IFS=$as_save_IFS
   6989 
   6990 fi
   6991 fi
   6992 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6993 if test -n "$ac_ct_OTOOL64"; then
   6994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6995 $as_echo "$ac_ct_OTOOL64" >&6; }
   6996 else
   6997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6998 $as_echo "no" >&6; }
   6999 fi
   7000 
   7001   if test "x$ac_ct_OTOOL64" = x; then
   7002     OTOOL64=":"
   7003   else
   7004     case $cross_compiling:$ac_tool_warned in
   7005 yes:)
   7006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7008 ac_tool_warned=yes ;;
   7009 esac
   7010     OTOOL64=$ac_ct_OTOOL64
   7011   fi
   7012 else
   7013   OTOOL64="$ac_cv_prog_OTOOL64"
   7014 fi
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7043 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7044 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7045   $as_echo_n "(cached) " >&6
   7046 else
   7047   lt_cv_apple_cc_single_mod=no
   7048       if test -z "${LT_MULTI_MODULE}"; then
   7049 	# By default we will add the -single_module flag. You can override
   7050 	# by either setting the environment variable LT_MULTI_MODULE
   7051 	# non-empty at configure time, or by adding -multi_module to the
   7052 	# link flags.
   7053 	rm -rf libconftest.dylib*
   7054 	echo "int foo(void){return 1;}" > conftest.c
   7055 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7056 -dynamiclib -Wl,-single_module conftest.c" >&5
   7057 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7058 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7059         _lt_result=$?
   7060 	# If there is a non-empty error log, and "single_module"
   7061 	# appears in it, assume the flag caused a linker warning
   7062         if test -s conftest.err && $GREP single_module conftest.err; then
   7063 	  cat conftest.err >&5
   7064 	# Otherwise, if the output was created with a 0 exit code from
   7065 	# the compiler, it worked.
   7066 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7067 	  lt_cv_apple_cc_single_mod=yes
   7068 	else
   7069 	  cat conftest.err >&5
   7070 	fi
   7071 	rm -rf libconftest.dylib*
   7072 	rm -f conftest.*
   7073       fi
   7074 fi
   7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7076 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7077 
   7078     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7079 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7080 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7081   $as_echo_n "(cached) " >&6
   7082 else
   7083   lt_cv_ld_exported_symbols_list=no
   7084       save_LDFLAGS=$LDFLAGS
   7085       echo "_main" > conftest.sym
   7086       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7087       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7088 /* end confdefs.h.  */
   7089 
   7090 int
   7091 main ()
   7092 {
   7093 
   7094   ;
   7095   return 0;
   7096 }
   7097 _ACEOF
   7098 if ac_fn_c_try_link "$LINENO"; then :
   7099   lt_cv_ld_exported_symbols_list=yes
   7100 else
   7101   lt_cv_ld_exported_symbols_list=no
   7102 fi
   7103 rm -f core conftest.err conftest.$ac_objext \
   7104     conftest$ac_exeext conftest.$ac_ext
   7105 	LDFLAGS="$save_LDFLAGS"
   7106 
   7107 fi
   7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7109 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7110 
   7111     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7112 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7113 if ${lt_cv_ld_force_load+:} false; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   lt_cv_ld_force_load=no
   7117       cat > conftest.c << _LT_EOF
   7118 int forced_loaded() { return 2;}
   7119 _LT_EOF
   7120       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7121       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7122       echo "$AR cru libconftest.a conftest.o" >&5
   7123       $AR cru libconftest.a conftest.o 2>&5
   7124       echo "$RANLIB libconftest.a" >&5
   7125       $RANLIB libconftest.a 2>&5
   7126       cat > conftest.c << _LT_EOF
   7127 int main() { return 0;}
   7128 _LT_EOF
   7129       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7130       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7131       _lt_result=$?
   7132       if test -s conftest.err && $GREP force_load conftest.err; then
   7133 	cat conftest.err >&5
   7134       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7135 	lt_cv_ld_force_load=yes
   7136       else
   7137 	cat conftest.err >&5
   7138       fi
   7139         rm -f conftest.err libconftest.a conftest conftest.c
   7140         rm -rf conftest.dSYM
   7141 
   7142 fi
   7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7144 $as_echo "$lt_cv_ld_force_load" >&6; }
   7145     case $host_os in
   7146     rhapsody* | darwin1.[012])
   7147       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7148     darwin1.*)
   7149       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7150     darwin*) # darwin 5.x on
   7151       # if running on 10.5 or later, the deployment target defaults
   7152       # to the OS version, if on x86, and 10.4, the deployment
   7153       # target defaults to 10.4. Don't you love it?
   7154       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7155 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7156 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7157 	10.[012]*)
   7158 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7159 	10.*)
   7160 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7161       esac
   7162     ;;
   7163   esac
   7164     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7165       _lt_dar_single_mod='$single_module'
   7166     fi
   7167     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7168       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7169     else
   7170       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7171     fi
   7172     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7173       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7174     else
   7175       _lt_dsymutil=
   7176     fi
   7177     ;;
   7178   esac
   7179 
   7180 ac_ext=c
   7181 ac_cpp='$CPP $CPPFLAGS'
   7182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7186 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7187 # On Suns, sometimes $CPP names a directory.
   7188 if test -n "$CPP" && test -d "$CPP"; then
   7189   CPP=
   7190 fi
   7191 if test -z "$CPP"; then
   7192   if ${ac_cv_prog_CPP+:} false; then :
   7193   $as_echo_n "(cached) " >&6
   7194 else
   7195       # Double quotes because CPP needs to be expanded
   7196     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7197     do
   7198       ac_preproc_ok=false
   7199 for ac_c_preproc_warn_flag in '' yes
   7200 do
   7201   # Use a header file that comes with gcc, so configuring glibc
   7202   # with a fresh cross-compiler works.
   7203   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7204   # <limits.h> exists even on freestanding compilers.
   7205   # On the NeXT, cc -E runs the code through the compiler's parser,
   7206   # not just through cpp. "Syntax error" is here to catch this case.
   7207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7208 /* end confdefs.h.  */
   7209 #ifdef __STDC__
   7210 # include <limits.h>
   7211 #else
   7212 # include <assert.h>
   7213 #endif
   7214 		     Syntax error
   7215 _ACEOF
   7216 if ac_fn_c_try_cpp "$LINENO"; then :
   7217 
   7218 else
   7219   # Broken: fails on valid input.
   7220 continue
   7221 fi
   7222 rm -f conftest.err conftest.i conftest.$ac_ext
   7223 
   7224   # OK, works on sane cases.  Now check whether nonexistent headers
   7225   # can be detected and how.
   7226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7227 /* end confdefs.h.  */
   7228 #include <ac_nonexistent.h>
   7229 _ACEOF
   7230 if ac_fn_c_try_cpp "$LINENO"; then :
   7231   # Broken: success on invalid input.
   7232 continue
   7233 else
   7234   # Passes both tests.
   7235 ac_preproc_ok=:
   7236 break
   7237 fi
   7238 rm -f conftest.err conftest.i conftest.$ac_ext
   7239 
   7240 done
   7241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7242 rm -f conftest.i conftest.err conftest.$ac_ext
   7243 if $ac_preproc_ok; then :
   7244   break
   7245 fi
   7246 
   7247     done
   7248     ac_cv_prog_CPP=$CPP
   7249 
   7250 fi
   7251   CPP=$ac_cv_prog_CPP
   7252 else
   7253   ac_cv_prog_CPP=$CPP
   7254 fi
   7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7256 $as_echo "$CPP" >&6; }
   7257 ac_preproc_ok=false
   7258 for ac_c_preproc_warn_flag in '' yes
   7259 do
   7260   # Use a header file that comes with gcc, so configuring glibc
   7261   # with a fresh cross-compiler works.
   7262   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7263   # <limits.h> exists even on freestanding compilers.
   7264   # On the NeXT, cc -E runs the code through the compiler's parser,
   7265   # not just through cpp. "Syntax error" is here to catch this case.
   7266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7267 /* end confdefs.h.  */
   7268 #ifdef __STDC__
   7269 # include <limits.h>
   7270 #else
   7271 # include <assert.h>
   7272 #endif
   7273 		     Syntax error
   7274 _ACEOF
   7275 if ac_fn_c_try_cpp "$LINENO"; then :
   7276 
   7277 else
   7278   # Broken: fails on valid input.
   7279 continue
   7280 fi
   7281 rm -f conftest.err conftest.i conftest.$ac_ext
   7282 
   7283   # OK, works on sane cases.  Now check whether nonexistent headers
   7284   # can be detected and how.
   7285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7286 /* end confdefs.h.  */
   7287 #include <ac_nonexistent.h>
   7288 _ACEOF
   7289 if ac_fn_c_try_cpp "$LINENO"; then :
   7290   # Broken: success on invalid input.
   7291 continue
   7292 else
   7293   # Passes both tests.
   7294 ac_preproc_ok=:
   7295 break
   7296 fi
   7297 rm -f conftest.err conftest.i conftest.$ac_ext
   7298 
   7299 done
   7300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7301 rm -f conftest.i conftest.err conftest.$ac_ext
   7302 if $ac_preproc_ok; then :
   7303 
   7304 else
   7305   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7307 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7308 See \`config.log' for more details" "$LINENO" 5; }
   7309 fi
   7310 
   7311 ac_ext=c
   7312 ac_cpp='$CPP $CPPFLAGS'
   7313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7316 
   7317 
   7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7319 $as_echo_n "checking for ANSI C header files... " >&6; }
   7320 if ${ac_cv_header_stdc+:} false; then :
   7321   $as_echo_n "(cached) " >&6
   7322 else
   7323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7324 /* end confdefs.h.  */
   7325 #include <stdlib.h>
   7326 #include <stdarg.h>
   7327 #include <string.h>
   7328 #include <float.h>
   7329 
   7330 int
   7331 main ()
   7332 {
   7333 
   7334   ;
   7335   return 0;
   7336 }
   7337 _ACEOF
   7338 if ac_fn_c_try_compile "$LINENO"; then :
   7339   ac_cv_header_stdc=yes
   7340 else
   7341   ac_cv_header_stdc=no
   7342 fi
   7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7344 
   7345 if test $ac_cv_header_stdc = yes; then
   7346   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7348 /* end confdefs.h.  */
   7349 #include <string.h>
   7350 
   7351 _ACEOF
   7352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7353   $EGREP "memchr" >/dev/null 2>&1; then :
   7354 
   7355 else
   7356   ac_cv_header_stdc=no
   7357 fi
   7358 rm -f conftest*
   7359 
   7360 fi
   7361 
   7362 if test $ac_cv_header_stdc = yes; then
   7363   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7365 /* end confdefs.h.  */
   7366 #include <stdlib.h>
   7367 
   7368 _ACEOF
   7369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7370   $EGREP "free" >/dev/null 2>&1; then :
   7371 
   7372 else
   7373   ac_cv_header_stdc=no
   7374 fi
   7375 rm -f conftest*
   7376 
   7377 fi
   7378 
   7379 if test $ac_cv_header_stdc = yes; then
   7380   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7381   if test "$cross_compiling" = yes; then :
   7382   :
   7383 else
   7384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7385 /* end confdefs.h.  */
   7386 #include <ctype.h>
   7387 #include <stdlib.h>
   7388 #if ((' ' & 0x0FF) == 0x020)
   7389 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7390 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7391 #else
   7392 # define ISLOWER(c) \
   7393 		   (('a' <= (c) && (c) <= 'i') \
   7394 		     || ('j' <= (c) && (c) <= 'r') \
   7395 		     || ('s' <= (c) && (c) <= 'z'))
   7396 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7397 #endif
   7398 
   7399 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7400 int
   7401 main ()
   7402 {
   7403   int i;
   7404   for (i = 0; i < 256; i++)
   7405     if (XOR (islower (i), ISLOWER (i))
   7406 	|| toupper (i) != TOUPPER (i))
   7407       return 2;
   7408   return 0;
   7409 }
   7410 _ACEOF
   7411 if ac_fn_c_try_run "$LINENO"; then :
   7412 
   7413 else
   7414   ac_cv_header_stdc=no
   7415 fi
   7416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7417   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7418 fi
   7419 
   7420 fi
   7421 fi
   7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7423 $as_echo "$ac_cv_header_stdc" >&6; }
   7424 if test $ac_cv_header_stdc = yes; then
   7425 
   7426 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7427 
   7428 fi
   7429 
   7430 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7431 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7432 		  inttypes.h stdint.h unistd.h
   7433 do :
   7434   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7435 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7436 "
   7437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7438   cat >>confdefs.h <<_ACEOF
   7439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7440 _ACEOF
   7441 
   7442 fi
   7443 
   7444 done
   7445 
   7446 
   7447 for ac_header in dlfcn.h
   7448 do :
   7449   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7450 "
   7451 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7452   cat >>confdefs.h <<_ACEOF
   7453 #define HAVE_DLFCN_H 1
   7454 _ACEOF
   7455 
   7456 fi
   7457 
   7458 done
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 # Set options
   7465 
   7466 
   7467 
   7468         enable_dlopen=no
   7469 
   7470 
   7471   enable_win32_dll=no
   7472 
   7473 
   7474             # Check whether --enable-shared was given.
   7475 if test "${enable_shared+set}" = set; then :
   7476   enableval=$enable_shared; p=${PACKAGE-default}
   7477     case $enableval in
   7478     yes) enable_shared=yes ;;
   7479     no) enable_shared=no ;;
   7480     *)
   7481       enable_shared=no
   7482       # Look at the argument we got.  We use all the common list separators.
   7483       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7484       for pkg in $enableval; do
   7485 	IFS="$lt_save_ifs"
   7486 	if test "X$pkg" = "X$p"; then
   7487 	  enable_shared=yes
   7488 	fi
   7489       done
   7490       IFS="$lt_save_ifs"
   7491       ;;
   7492     esac
   7493 else
   7494   enable_shared=yes
   7495 fi
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505   # Check whether --enable-static was given.
   7506 if test "${enable_static+set}" = set; then :
   7507   enableval=$enable_static; p=${PACKAGE-default}
   7508     case $enableval in
   7509     yes) enable_static=yes ;;
   7510     no) enable_static=no ;;
   7511     *)
   7512      enable_static=no
   7513       # Look at the argument we got.  We use all the common list separators.
   7514       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7515       for pkg in $enableval; do
   7516 	IFS="$lt_save_ifs"
   7517 	if test "X$pkg" = "X$p"; then
   7518 	  enable_static=yes
   7519 	fi
   7520       done
   7521       IFS="$lt_save_ifs"
   7522       ;;
   7523     esac
   7524 else
   7525   enable_static=yes
   7526 fi
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 
   7535 
   7536 
   7537 # Check whether --with-pic was given.
   7538 if test "${with_pic+set}" = set; then :
   7539   withval=$with_pic; lt_p=${PACKAGE-default}
   7540     case $withval in
   7541     yes|no) pic_mode=$withval ;;
   7542     *)
   7543       pic_mode=default
   7544       # Look at the argument we got.  We use all the common list separators.
   7545       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7546       for lt_pkg in $withval; do
   7547 	IFS="$lt_save_ifs"
   7548 	if test "X$lt_pkg" = "X$lt_p"; then
   7549 	  pic_mode=yes
   7550 	fi
   7551       done
   7552       IFS="$lt_save_ifs"
   7553       ;;
   7554     esac
   7555 else
   7556   pic_mode=default
   7557 fi
   7558 
   7559 
   7560 test -z "$pic_mode" && pic_mode=default
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568   # Check whether --enable-fast-install was given.
   7569 if test "${enable_fast_install+set}" = set; then :
   7570   enableval=$enable_fast_install; p=${PACKAGE-default}
   7571     case $enableval in
   7572     yes) enable_fast_install=yes ;;
   7573     no) enable_fast_install=no ;;
   7574     *)
   7575       enable_fast_install=no
   7576       # Look at the argument we got.  We use all the common list separators.
   7577       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7578       for pkg in $enableval; do
   7579 	IFS="$lt_save_ifs"
   7580 	if test "X$pkg" = "X$p"; then
   7581 	  enable_fast_install=yes
   7582 	fi
   7583       done
   7584       IFS="$lt_save_ifs"
   7585       ;;
   7586     esac
   7587 else
   7588   enable_fast_install=yes
   7589 fi
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 # This can be used to rebuild libtool when needed
   7602 LIBTOOL_DEPS="$ltmain"
   7603 
   7604 # Always use our own libtool.
   7605 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 test -z "$LN_S" && LN_S="ln -s"
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 if test -n "${ZSH_VERSION+set}" ; then
   7652    setopt NO_GLOB_SUBST
   7653 fi
   7654 
   7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7656 $as_echo_n "checking for objdir... " >&6; }
   7657 if ${lt_cv_objdir+:} false; then :
   7658   $as_echo_n "(cached) " >&6
   7659 else
   7660   rm -f .libs 2>/dev/null
   7661 mkdir .libs 2>/dev/null
   7662 if test -d .libs; then
   7663   lt_cv_objdir=.libs
   7664 else
   7665   # MS-DOS does not allow filenames that begin with a dot.
   7666   lt_cv_objdir=_libs
   7667 fi
   7668 rmdir .libs 2>/dev/null
   7669 fi
   7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7671 $as_echo "$lt_cv_objdir" >&6; }
   7672 objdir=$lt_cv_objdir
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 cat >>confdefs.h <<_ACEOF
   7679 #define LT_OBJDIR "$lt_cv_objdir/"
   7680 _ACEOF
   7681 
   7682 
   7683 
   7684 
   7685 case $host_os in
   7686 aix3*)
   7687   # AIX sometimes has problems with the GCC collect2 program.  For some
   7688   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7689   # vanish in a puff of smoke.
   7690   if test "X${COLLECT_NAMES+set}" != Xset; then
   7691     COLLECT_NAMES=
   7692     export COLLECT_NAMES
   7693   fi
   7694   ;;
   7695 esac
   7696 
   7697 # Global variables:
   7698 ofile=libtool
   7699 can_build_shared=yes
   7700 
   7701 # All known linkers require a `.a' archive for static linking (except MSVC,
   7702 # which needs '.lib').
   7703 libext=a
   7704 
   7705 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7706 
   7707 old_CC="$CC"
   7708 old_CFLAGS="$CFLAGS"
   7709 
   7710 # Set sane defaults for various variables
   7711 test -z "$CC" && CC=cc
   7712 test -z "$LTCC" && LTCC=$CC
   7713 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7714 test -z "$LD" && LD=ld
   7715 test -z "$ac_objext" && ac_objext=o
   7716 
   7717 for cc_temp in $compiler""; do
   7718   case $cc_temp in
   7719     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7720     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7721     \-*) ;;
   7722     *) break;;
   7723   esac
   7724 done
   7725 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7726 
   7727 
   7728 # Only perform the check for file, if the check method requires it
   7729 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7730 case $deplibs_check_method in
   7731 file_magic*)
   7732   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7733     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7734 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7735 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7736   $as_echo_n "(cached) " >&6
   7737 else
   7738   case $MAGIC_CMD in
   7739 [\\/*] |  ?:[\\/]*)
   7740   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7741   ;;
   7742 *)
   7743   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7744   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7745   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7746   for ac_dir in $ac_dummy; do
   7747     IFS="$lt_save_ifs"
   7748     test -z "$ac_dir" && ac_dir=.
   7749     if test -f $ac_dir/${ac_tool_prefix}file; then
   7750       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7751       if test -n "$file_magic_test_file"; then
   7752 	case $deplibs_check_method in
   7753 	"file_magic "*)
   7754 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7755 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7756 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7757 	    $EGREP "$file_magic_regex" > /dev/null; then
   7758 	    :
   7759 	  else
   7760 	    cat <<_LT_EOF 1>&2
   7761 
   7762 *** Warning: the command libtool uses to detect shared libraries,
   7763 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7764 *** The result is that libtool may fail to recognize shared libraries
   7765 *** as such.  This will affect the creation of libtool libraries that
   7766 *** depend on shared libraries, but programs linked with such libtool
   7767 *** libraries will work regardless of this problem.  Nevertheless, you
   7768 *** may want to report the problem to your system manager and/or to
   7769 *** bug-libtool@gnu.org
   7770 
   7771 _LT_EOF
   7772 	  fi ;;
   7773 	esac
   7774       fi
   7775       break
   7776     fi
   7777   done
   7778   IFS="$lt_save_ifs"
   7779   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7780   ;;
   7781 esac
   7782 fi
   7783 
   7784 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7785 if test -n "$MAGIC_CMD"; then
   7786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7787 $as_echo "$MAGIC_CMD" >&6; }
   7788 else
   7789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7790 $as_echo "no" >&6; }
   7791 fi
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7798   if test -n "$ac_tool_prefix"; then
   7799     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7800 $as_echo_n "checking for file... " >&6; }
   7801 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7802   $as_echo_n "(cached) " >&6
   7803 else
   7804   case $MAGIC_CMD in
   7805 [\\/*] |  ?:[\\/]*)
   7806   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7807   ;;
   7808 *)
   7809   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7810   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7811   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7812   for ac_dir in $ac_dummy; do
   7813     IFS="$lt_save_ifs"
   7814     test -z "$ac_dir" && ac_dir=.
   7815     if test -f $ac_dir/file; then
   7816       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7817       if test -n "$file_magic_test_file"; then
   7818 	case $deplibs_check_method in
   7819 	"file_magic "*)
   7820 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7821 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7822 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7823 	    $EGREP "$file_magic_regex" > /dev/null; then
   7824 	    :
   7825 	  else
   7826 	    cat <<_LT_EOF 1>&2
   7827 
   7828 *** Warning: the command libtool uses to detect shared libraries,
   7829 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7830 *** The result is that libtool may fail to recognize shared libraries
   7831 *** as such.  This will affect the creation of libtool libraries that
   7832 *** depend on shared libraries, but programs linked with such libtool
   7833 *** libraries will work regardless of this problem.  Nevertheless, you
   7834 *** may want to report the problem to your system manager and/or to
   7835 *** bug-libtool@gnu.org
   7836 
   7837 _LT_EOF
   7838 	  fi ;;
   7839 	esac
   7840       fi
   7841       break
   7842     fi
   7843   done
   7844   IFS="$lt_save_ifs"
   7845   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7846   ;;
   7847 esac
   7848 fi
   7849 
   7850 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7851 if test -n "$MAGIC_CMD"; then
   7852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7853 $as_echo "$MAGIC_CMD" >&6; }
   7854 else
   7855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7856 $as_echo "no" >&6; }
   7857 fi
   7858 
   7859 
   7860   else
   7861     MAGIC_CMD=:
   7862   fi
   7863 fi
   7864 
   7865   fi
   7866   ;;
   7867 esac
   7868 
   7869 # Use C for the default configuration in the libtool script
   7870 
   7871 lt_save_CC="$CC"
   7872 ac_ext=c
   7873 ac_cpp='$CPP $CPPFLAGS'
   7874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7877 
   7878 
   7879 # Source file extension for C test sources.
   7880 ac_ext=c
   7881 
   7882 # Object file extension for compiled C test sources.
   7883 objext=o
   7884 objext=$objext
   7885 
   7886 # Code to be used in simple compile tests
   7887 lt_simple_compile_test_code="int some_variable = 0;"
   7888 
   7889 # Code to be used in simple link tests
   7890 lt_simple_link_test_code='int main(){return(0);}'
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 # If no C compiler was specified, use CC.
   7899 LTCC=${LTCC-"$CC"}
   7900 
   7901 # If no C compiler flags were specified, use CFLAGS.
   7902 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7903 
   7904 # Allow CC to be a program name with arguments.
   7905 compiler=$CC
   7906 
   7907 # Save the default compiler, since it gets overwritten when the other
   7908 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7909 compiler_DEFAULT=$CC
   7910 
   7911 # save warnings/boilerplate of simple test code
   7912 ac_outfile=conftest.$ac_objext
   7913 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7914 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7915 _lt_compiler_boilerplate=`cat conftest.err`
   7916 $RM conftest*
   7917 
   7918 ac_outfile=conftest.$ac_objext
   7919 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7920 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7921 _lt_linker_boilerplate=`cat conftest.err`
   7922 $RM -r conftest*
   7923 
   7924 
   7925 ## CAVEAT EMPTOR:
   7926 ## There is no encapsulation within the following macros, do not change
   7927 ## the running order or otherwise move them around unless you know exactly
   7928 ## what you are doing...
   7929 if test -n "$compiler"; then
   7930 
   7931 lt_prog_compiler_no_builtin_flag=
   7932 
   7933 if test "$GCC" = yes; then
   7934   case $cc_basename in
   7935   nvcc*)
   7936     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7937   *)
   7938     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7939   esac
   7940 
   7941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7942 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7943 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7944   $as_echo_n "(cached) " >&6
   7945 else
   7946   lt_cv_prog_compiler_rtti_exceptions=no
   7947    ac_outfile=conftest.$ac_objext
   7948    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7949    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7950    # Insert the option either (1) after the last *FLAGS variable, or
   7951    # (2) before a word containing "conftest.", or (3) at the end.
   7952    # Note that $ac_compile itself does not contain backslashes and begins
   7953    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7954    # The option is referenced via a variable to avoid confusing sed.
   7955    lt_compile=`echo "$ac_compile" | $SED \
   7956    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7957    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7958    -e 's:$: $lt_compiler_flag:'`
   7959    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7960    (eval "$lt_compile" 2>conftest.err)
   7961    ac_status=$?
   7962    cat conftest.err >&5
   7963    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7964    if (exit $ac_status) && test -s "$ac_outfile"; then
   7965      # The compiler can only warn and ignore the option if not recognized
   7966      # So say no if there are warnings other than the usual output.
   7967      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7968      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7969      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7970        lt_cv_prog_compiler_rtti_exceptions=yes
   7971      fi
   7972    fi
   7973    $RM conftest*
   7974 
   7975 fi
   7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7977 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7978 
   7979 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7980     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7981 else
   7982     :
   7983 fi
   7984 
   7985 fi
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 
   7992   lt_prog_compiler_wl=
   7993 lt_prog_compiler_pic=
   7994 lt_prog_compiler_static=
   7995 
   7996 
   7997   if test "$GCC" = yes; then
   7998     lt_prog_compiler_wl='-Wl,'
   7999     lt_prog_compiler_static='-static'
   8000 
   8001     case $host_os in
   8002       aix*)
   8003       # All AIX code is PIC.
   8004       if test "$host_cpu" = ia64; then
   8005 	# AIX 5 now supports IA64 processor
   8006 	lt_prog_compiler_static='-Bstatic'
   8007       fi
   8008       ;;
   8009 
   8010     amigaos*)
   8011       case $host_cpu in
   8012       powerpc)
   8013             # see comment about AmigaOS4 .so support
   8014             lt_prog_compiler_pic='-fPIC'
   8015         ;;
   8016       m68k)
   8017             # FIXME: we need at least 68020 code to build shared libraries, but
   8018             # adding the `-m68020' flag to GCC prevents building anything better,
   8019             # like `-m68040'.
   8020             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8021         ;;
   8022       esac
   8023       ;;
   8024 
   8025     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8026       # PIC is the default for these OSes.
   8027       ;;
   8028 
   8029     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8030       # This hack is so that the source file can tell whether it is being
   8031       # built for inclusion in a dll (and should export symbols for example).
   8032       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8033       # (--disable-auto-import) libraries
   8034       lt_prog_compiler_pic='-DDLL_EXPORT'
   8035       ;;
   8036 
   8037     darwin* | rhapsody*)
   8038       # PIC is the default on this platform
   8039       # Common symbols not allowed in MH_DYLIB files
   8040       lt_prog_compiler_pic='-fno-common'
   8041       ;;
   8042 
   8043     haiku*)
   8044       # PIC is the default for Haiku.
   8045       # The "-static" flag exists, but is broken.
   8046       lt_prog_compiler_static=
   8047       ;;
   8048 
   8049     hpux*)
   8050       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8051       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8052       # sets the default TLS model and affects inlining.
   8053       case $host_cpu in
   8054       hppa*64*)
   8055 	# +Z the default
   8056 	;;
   8057       *)
   8058 	lt_prog_compiler_pic='-fPIC'
   8059 	;;
   8060       esac
   8061       ;;
   8062 
   8063     interix[3-9]*)
   8064       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8065       # Instead, we relocate shared libraries at runtime.
   8066       ;;
   8067 
   8068     msdosdjgpp*)
   8069       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8070       # on systems that don't support them.
   8071       lt_prog_compiler_can_build_shared=no
   8072       enable_shared=no
   8073       ;;
   8074 
   8075     *nto* | *qnx*)
   8076       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8077       # it will coredump.
   8078       lt_prog_compiler_pic='-fPIC -shared'
   8079       ;;
   8080 
   8081     sysv4*MP*)
   8082       if test -d /usr/nec; then
   8083 	lt_prog_compiler_pic=-Kconform_pic
   8084       fi
   8085       ;;
   8086 
   8087     *)
   8088       lt_prog_compiler_pic='-fPIC'
   8089       ;;
   8090     esac
   8091 
   8092     case $cc_basename in
   8093     nvcc*) # Cuda Compiler Driver 2.2
   8094       lt_prog_compiler_wl='-Xlinker '
   8095       if test -n "$lt_prog_compiler_pic"; then
   8096         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8097       fi
   8098       ;;
   8099     esac
   8100   else
   8101     # PORTME Check for flag to pass linker flags through the system compiler.
   8102     case $host_os in
   8103     aix*)
   8104       lt_prog_compiler_wl='-Wl,'
   8105       if test "$host_cpu" = ia64; then
   8106 	# AIX 5 now supports IA64 processor
   8107 	lt_prog_compiler_static='-Bstatic'
   8108       else
   8109 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8110       fi
   8111       ;;
   8112 
   8113     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8114       # This hack is so that the source file can tell whether it is being
   8115       # built for inclusion in a dll (and should export symbols for example).
   8116       lt_prog_compiler_pic='-DDLL_EXPORT'
   8117       ;;
   8118 
   8119     hpux9* | hpux10* | hpux11*)
   8120       lt_prog_compiler_wl='-Wl,'
   8121       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8122       # not for PA HP-UX.
   8123       case $host_cpu in
   8124       hppa*64*|ia64*)
   8125 	# +Z the default
   8126 	;;
   8127       *)
   8128 	lt_prog_compiler_pic='+Z'
   8129 	;;
   8130       esac
   8131       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8132       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8133       ;;
   8134 
   8135     irix5* | irix6* | nonstopux*)
   8136       lt_prog_compiler_wl='-Wl,'
   8137       # PIC (with -KPIC) is the default.
   8138       lt_prog_compiler_static='-non_shared'
   8139       ;;
   8140 
   8141     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8142       case $cc_basename in
   8143       # old Intel for x86_64 which still supported -KPIC.
   8144       ecc*)
   8145 	lt_prog_compiler_wl='-Wl,'
   8146 	lt_prog_compiler_pic='-KPIC'
   8147 	lt_prog_compiler_static='-static'
   8148         ;;
   8149       # icc used to be incompatible with GCC.
   8150       # ICC 10 doesn't accept -KPIC any more.
   8151       icc* | ifort*)
   8152 	lt_prog_compiler_wl='-Wl,'
   8153 	lt_prog_compiler_pic='-fPIC'
   8154 	lt_prog_compiler_static='-static'
   8155         ;;
   8156       # Lahey Fortran 8.1.
   8157       lf95*)
   8158 	lt_prog_compiler_wl='-Wl,'
   8159 	lt_prog_compiler_pic='--shared'
   8160 	lt_prog_compiler_static='--static'
   8161 	;;
   8162       nagfor*)
   8163 	# NAG Fortran compiler
   8164 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8165 	lt_prog_compiler_pic='-PIC'
   8166 	lt_prog_compiler_static='-Bstatic'
   8167 	;;
   8168       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8169         # Portland Group compilers (*not* the Pentium gcc compiler,
   8170 	# which looks to be a dead project)
   8171 	lt_prog_compiler_wl='-Wl,'
   8172 	lt_prog_compiler_pic='-fpic'
   8173 	lt_prog_compiler_static='-Bstatic'
   8174         ;;
   8175       ccc*)
   8176         lt_prog_compiler_wl='-Wl,'
   8177         # All Alpha code is PIC.
   8178         lt_prog_compiler_static='-non_shared'
   8179         ;;
   8180       xl* | bgxl* | bgf* | mpixl*)
   8181 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8182 	lt_prog_compiler_wl='-Wl,'
   8183 	lt_prog_compiler_pic='-qpic'
   8184 	lt_prog_compiler_static='-qstaticlink'
   8185 	;;
   8186       *)
   8187 	case `$CC -V 2>&1 | sed 5q` in
   8188 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8189 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8190 	  lt_prog_compiler_pic='-KPIC'
   8191 	  lt_prog_compiler_static='-Bstatic'
   8192 	  lt_prog_compiler_wl=''
   8193 	  ;;
   8194 	*Sun\ F* | *Sun*Fortran*)
   8195 	  lt_prog_compiler_pic='-KPIC'
   8196 	  lt_prog_compiler_static='-Bstatic'
   8197 	  lt_prog_compiler_wl='-Qoption ld '
   8198 	  ;;
   8199 	*Sun\ C*)
   8200 	  # Sun C 5.9
   8201 	  lt_prog_compiler_pic='-KPIC'
   8202 	  lt_prog_compiler_static='-Bstatic'
   8203 	  lt_prog_compiler_wl='-Wl,'
   8204 	  ;;
   8205         *Intel*\ [CF]*Compiler*)
   8206 	  lt_prog_compiler_wl='-Wl,'
   8207 	  lt_prog_compiler_pic='-fPIC'
   8208 	  lt_prog_compiler_static='-static'
   8209 	  ;;
   8210 	*Portland\ Group*)
   8211 	  lt_prog_compiler_wl='-Wl,'
   8212 	  lt_prog_compiler_pic='-fpic'
   8213 	  lt_prog_compiler_static='-Bstatic'
   8214 	  ;;
   8215 	esac
   8216 	;;
   8217       esac
   8218       ;;
   8219 
   8220     newsos6)
   8221       lt_prog_compiler_pic='-KPIC'
   8222       lt_prog_compiler_static='-Bstatic'
   8223       ;;
   8224 
   8225     *nto* | *qnx*)
   8226       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8227       # it will coredump.
   8228       lt_prog_compiler_pic='-fPIC -shared'
   8229       ;;
   8230 
   8231     osf3* | osf4* | osf5*)
   8232       lt_prog_compiler_wl='-Wl,'
   8233       # All OSF/1 code is PIC.
   8234       lt_prog_compiler_static='-non_shared'
   8235       ;;
   8236 
   8237     rdos*)
   8238       lt_prog_compiler_static='-non_shared'
   8239       ;;
   8240 
   8241     solaris*)
   8242       lt_prog_compiler_pic='-KPIC'
   8243       lt_prog_compiler_static='-Bstatic'
   8244       case $cc_basename in
   8245       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8246 	lt_prog_compiler_wl='-Qoption ld ';;
   8247       *)
   8248 	lt_prog_compiler_wl='-Wl,';;
   8249       esac
   8250       ;;
   8251 
   8252     sunos4*)
   8253       lt_prog_compiler_wl='-Qoption ld '
   8254       lt_prog_compiler_pic='-PIC'
   8255       lt_prog_compiler_static='-Bstatic'
   8256       ;;
   8257 
   8258     sysv4 | sysv4.2uw2* | sysv4.3*)
   8259       lt_prog_compiler_wl='-Wl,'
   8260       lt_prog_compiler_pic='-KPIC'
   8261       lt_prog_compiler_static='-Bstatic'
   8262       ;;
   8263 
   8264     sysv4*MP*)
   8265       if test -d /usr/nec ;then
   8266 	lt_prog_compiler_pic='-Kconform_pic'
   8267 	lt_prog_compiler_static='-Bstatic'
   8268       fi
   8269       ;;
   8270 
   8271     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8272       lt_prog_compiler_wl='-Wl,'
   8273       lt_prog_compiler_pic='-KPIC'
   8274       lt_prog_compiler_static='-Bstatic'
   8275       ;;
   8276 
   8277     unicos*)
   8278       lt_prog_compiler_wl='-Wl,'
   8279       lt_prog_compiler_can_build_shared=no
   8280       ;;
   8281 
   8282     uts4*)
   8283       lt_prog_compiler_pic='-pic'
   8284       lt_prog_compiler_static='-Bstatic'
   8285       ;;
   8286 
   8287     *)
   8288       lt_prog_compiler_can_build_shared=no
   8289       ;;
   8290     esac
   8291   fi
   8292 
   8293 case $host_os in
   8294   # For platforms which do not support PIC, -DPIC is meaningless:
   8295   *djgpp*)
   8296     lt_prog_compiler_pic=
   8297     ;;
   8298   *)
   8299     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8300     ;;
   8301 esac
   8302 
   8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8304 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8305 if ${lt_cv_prog_compiler_pic+:} false; then :
   8306   $as_echo_n "(cached) " >&6
   8307 else
   8308   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8309 fi
   8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8311 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8312 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8313 
   8314 #
   8315 # Check to make sure the PIC flag actually works.
   8316 #
   8317 if test -n "$lt_prog_compiler_pic"; then
   8318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8319 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8320 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8321   $as_echo_n "(cached) " >&6
   8322 else
   8323   lt_cv_prog_compiler_pic_works=no
   8324    ac_outfile=conftest.$ac_objext
   8325    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8326    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8327    # Insert the option either (1) after the last *FLAGS variable, or
   8328    # (2) before a word containing "conftest.", or (3) at the end.
   8329    # Note that $ac_compile itself does not contain backslashes and begins
   8330    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8331    # The option is referenced via a variable to avoid confusing sed.
   8332    lt_compile=`echo "$ac_compile" | $SED \
   8333    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8334    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8335    -e 's:$: $lt_compiler_flag:'`
   8336    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8337    (eval "$lt_compile" 2>conftest.err)
   8338    ac_status=$?
   8339    cat conftest.err >&5
   8340    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8341    if (exit $ac_status) && test -s "$ac_outfile"; then
   8342      # The compiler can only warn and ignore the option if not recognized
   8343      # So say no if there are warnings other than the usual output.
   8344      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8345      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8346      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8347        lt_cv_prog_compiler_pic_works=yes
   8348      fi
   8349    fi
   8350    $RM conftest*
   8351 
   8352 fi
   8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8354 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8355 
   8356 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8357     case $lt_prog_compiler_pic in
   8358      "" | " "*) ;;
   8359      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8360      esac
   8361 else
   8362     lt_prog_compiler_pic=
   8363      lt_prog_compiler_can_build_shared=no
   8364 fi
   8365 
   8366 fi
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 #
   8379 # Check to make sure the static flag actually works.
   8380 #
   8381 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8383 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8384 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8385   $as_echo_n "(cached) " >&6
   8386 else
   8387   lt_cv_prog_compiler_static_works=no
   8388    save_LDFLAGS="$LDFLAGS"
   8389    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8390    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8391    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8392      # The linker can only warn and ignore the option if not recognized
   8393      # So say no if there are warnings
   8394      if test -s conftest.err; then
   8395        # Append any errors to the config.log.
   8396        cat conftest.err 1>&5
   8397        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8398        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8399        if diff conftest.exp conftest.er2 >/dev/null; then
   8400          lt_cv_prog_compiler_static_works=yes
   8401        fi
   8402      else
   8403        lt_cv_prog_compiler_static_works=yes
   8404      fi
   8405    fi
   8406    $RM -r conftest*
   8407    LDFLAGS="$save_LDFLAGS"
   8408 
   8409 fi
   8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8411 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8412 
   8413 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8414     :
   8415 else
   8416     lt_prog_compiler_static=
   8417 fi
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8426 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8427 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8428   $as_echo_n "(cached) " >&6
   8429 else
   8430   lt_cv_prog_compiler_c_o=no
   8431    $RM -r conftest 2>/dev/null
   8432    mkdir conftest
   8433    cd conftest
   8434    mkdir out
   8435    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8436 
   8437    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8438    # Insert the option either (1) after the last *FLAGS variable, or
   8439    # (2) before a word containing "conftest.", or (3) at the end.
   8440    # Note that $ac_compile itself does not contain backslashes and begins
   8441    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8442    lt_compile=`echo "$ac_compile" | $SED \
   8443    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8444    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8445    -e 's:$: $lt_compiler_flag:'`
   8446    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8447    (eval "$lt_compile" 2>out/conftest.err)
   8448    ac_status=$?
   8449    cat out/conftest.err >&5
   8450    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8451    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8452    then
   8453      # The compiler can only warn and ignore the option if not recognized
   8454      # So say no if there are warnings
   8455      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8456      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8457      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8458        lt_cv_prog_compiler_c_o=yes
   8459      fi
   8460    fi
   8461    chmod u+w . 2>&5
   8462    $RM conftest*
   8463    # SGI C++ compiler will create directory out/ii_files/ for
   8464    # template instantiation
   8465    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8466    $RM out/* && rmdir out
   8467    cd ..
   8468    $RM -r conftest
   8469    $RM conftest*
   8470 
   8471 fi
   8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8473 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8481 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8482 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8483   $as_echo_n "(cached) " >&6
   8484 else
   8485   lt_cv_prog_compiler_c_o=no
   8486    $RM -r conftest 2>/dev/null
   8487    mkdir conftest
   8488    cd conftest
   8489    mkdir out
   8490    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8491 
   8492    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8493    # Insert the option either (1) after the last *FLAGS variable, or
   8494    # (2) before a word containing "conftest.", or (3) at the end.
   8495    # Note that $ac_compile itself does not contain backslashes and begins
   8496    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8497    lt_compile=`echo "$ac_compile" | $SED \
   8498    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8499    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8500    -e 's:$: $lt_compiler_flag:'`
   8501    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8502    (eval "$lt_compile" 2>out/conftest.err)
   8503    ac_status=$?
   8504    cat out/conftest.err >&5
   8505    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8506    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8507    then
   8508      # The compiler can only warn and ignore the option if not recognized
   8509      # So say no if there are warnings
   8510      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8511      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8512      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8513        lt_cv_prog_compiler_c_o=yes
   8514      fi
   8515    fi
   8516    chmod u+w . 2>&5
   8517    $RM conftest*
   8518    # SGI C++ compiler will create directory out/ii_files/ for
   8519    # template instantiation
   8520    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8521    $RM out/* && rmdir out
   8522    cd ..
   8523    $RM -r conftest
   8524    $RM conftest*
   8525 
   8526 fi
   8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8528 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8529 
   8530 
   8531 
   8532 
   8533 hard_links="nottested"
   8534 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8535   # do not overwrite the value of need_locks provided by the user
   8536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8537 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8538   hard_links=yes
   8539   $RM conftest*
   8540   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8541   touch conftest.a
   8542   ln conftest.a conftest.b 2>&5 || hard_links=no
   8543   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8545 $as_echo "$hard_links" >&6; }
   8546   if test "$hard_links" = no; then
   8547     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8548 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8549     need_locks=warn
   8550   fi
   8551 else
   8552   need_locks=no
   8553 fi
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8561 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8562 
   8563   runpath_var=
   8564   allow_undefined_flag=
   8565   always_export_symbols=no
   8566   archive_cmds=
   8567   archive_expsym_cmds=
   8568   compiler_needs_object=no
   8569   enable_shared_with_static_runtimes=no
   8570   export_dynamic_flag_spec=
   8571   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8572   hardcode_automatic=no
   8573   hardcode_direct=no
   8574   hardcode_direct_absolute=no
   8575   hardcode_libdir_flag_spec=
   8576   hardcode_libdir_separator=
   8577   hardcode_minus_L=no
   8578   hardcode_shlibpath_var=unsupported
   8579   inherit_rpath=no
   8580   link_all_deplibs=unknown
   8581   module_cmds=
   8582   module_expsym_cmds=
   8583   old_archive_from_new_cmds=
   8584   old_archive_from_expsyms_cmds=
   8585   thread_safe_flag_spec=
   8586   whole_archive_flag_spec=
   8587   # include_expsyms should be a list of space-separated symbols to be *always*
   8588   # included in the symbol list
   8589   include_expsyms=
   8590   # exclude_expsyms can be an extended regexp of symbols to exclude
   8591   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8592   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8593   # as well as any symbol that contains `d'.
   8594   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8595   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8596   # platforms (ab)use it in PIC code, but their linkers get confused if
   8597   # the symbol is explicitly referenced.  Since portable code cannot
   8598   # rely on this symbol name, it's probably fine to never include it in
   8599   # preloaded symbol tables.
   8600   # Exclude shared library initialization/finalization symbols.
   8601   extract_expsyms_cmds=
   8602 
   8603   case $host_os in
   8604   cygwin* | mingw* | pw32* | cegcc*)
   8605     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8606     # When not using gcc, we currently assume that we are using
   8607     # Microsoft Visual C++.
   8608     if test "$GCC" != yes; then
   8609       with_gnu_ld=no
   8610     fi
   8611     ;;
   8612   interix*)
   8613     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8614     with_gnu_ld=yes
   8615     ;;
   8616   openbsd*)
   8617     with_gnu_ld=no
   8618     ;;
   8619   linux* | k*bsd*-gnu | gnu*)
   8620     link_all_deplibs=no
   8621     ;;
   8622   esac
   8623 
   8624   ld_shlibs=yes
   8625 
   8626   # On some targets, GNU ld is compatible enough with the native linker
   8627   # that we're better off using the native interface for both.
   8628   lt_use_gnu_ld_interface=no
   8629   if test "$with_gnu_ld" = yes; then
   8630     case $host_os in
   8631       aix*)
   8632 	# The AIX port of GNU ld has always aspired to compatibility
   8633 	# with the native linker.  However, as the warning in the GNU ld
   8634 	# block says, versions before 2.19.5* couldn't really create working
   8635 	# shared libraries, regardless of the interface used.
   8636 	case `$LD -v 2>&1` in
   8637 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8638 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8639 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8640 	  *)
   8641 	    lt_use_gnu_ld_interface=yes
   8642 	    ;;
   8643 	esac
   8644 	;;
   8645       *)
   8646 	lt_use_gnu_ld_interface=yes
   8647 	;;
   8648     esac
   8649   fi
   8650 
   8651   if test "$lt_use_gnu_ld_interface" = yes; then
   8652     # If archive_cmds runs LD, not CC, wlarc should be empty
   8653     wlarc='${wl}'
   8654 
   8655     # Set some defaults for GNU ld with shared library support. These
   8656     # are reset later if shared libraries are not supported. Putting them
   8657     # here allows them to be overridden if necessary.
   8658     runpath_var=LD_RUN_PATH
   8659     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8660     export_dynamic_flag_spec='${wl}--export-dynamic'
   8661     # ancient GNU ld didn't support --whole-archive et. al.
   8662     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8663       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8664     else
   8665       whole_archive_flag_spec=
   8666     fi
   8667     supports_anon_versioning=no
   8668     case `$LD -v 2>&1` in
   8669       *GNU\ gold*) supports_anon_versioning=yes ;;
   8670       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8671       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8672       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8673       *\ 2.11.*) ;; # other 2.11 versions
   8674       *) supports_anon_versioning=yes ;;
   8675     esac
   8676 
   8677     # See if GNU ld supports shared libraries.
   8678     case $host_os in
   8679     aix[3-9]*)
   8680       # On AIX/PPC, the GNU linker is very broken
   8681       if test "$host_cpu" != ia64; then
   8682 	ld_shlibs=no
   8683 	cat <<_LT_EOF 1>&2
   8684 
   8685 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8686 *** to be unable to reliably create shared libraries on AIX.
   8687 *** Therefore, libtool is disabling shared libraries support.  If you
   8688 *** really care for shared libraries, you may want to install binutils
   8689 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8690 *** You will then need to restart the configuration process.
   8691 
   8692 _LT_EOF
   8693       fi
   8694       ;;
   8695 
   8696     amigaos*)
   8697       case $host_cpu in
   8698       powerpc)
   8699             # see comment about AmigaOS4 .so support
   8700             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8701             archive_expsym_cmds=''
   8702         ;;
   8703       m68k)
   8704             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)'
   8705             hardcode_libdir_flag_spec='-L$libdir'
   8706             hardcode_minus_L=yes
   8707         ;;
   8708       esac
   8709       ;;
   8710 
   8711     beos*)
   8712       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8713 	allow_undefined_flag=unsupported
   8714 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8715 	# support --undefined.  This deserves some investigation.  FIXME
   8716 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8717       else
   8718 	ld_shlibs=no
   8719       fi
   8720       ;;
   8721 
   8722     cygwin* | mingw* | pw32* | cegcc*)
   8723       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8724       # as there is no search path for DLLs.
   8725       hardcode_libdir_flag_spec='-L$libdir'
   8726       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8727       allow_undefined_flag=unsupported
   8728       always_export_symbols=no
   8729       enable_shared_with_static_runtimes=yes
   8730       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'
   8731       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8732 
   8733       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8734         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8735 	# If the export-symbols file already is a .def file (1st line
   8736 	# is EXPORTS), use it as is; otherwise, prepend...
   8737 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8738 	  cp $export_symbols $output_objdir/$soname.def;
   8739 	else
   8740 	  echo EXPORTS > $output_objdir/$soname.def;
   8741 	  cat $export_symbols >> $output_objdir/$soname.def;
   8742 	fi~
   8743 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8744       else
   8745 	ld_shlibs=no
   8746       fi
   8747       ;;
   8748 
   8749     haiku*)
   8750       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8751       link_all_deplibs=yes
   8752       ;;
   8753 
   8754     interix[3-9]*)
   8755       hardcode_direct=no
   8756       hardcode_shlibpath_var=no
   8757       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8758       export_dynamic_flag_spec='${wl}-E'
   8759       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8760       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8761       # default) and relocated if they conflict, which is a slow very memory
   8762       # consuming and fragmenting process.  To avoid this, we pick a random,
   8763       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8764       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8765       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8766       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'
   8767       ;;
   8768 
   8769     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8770       tmp_diet=no
   8771       if test "$host_os" = linux-dietlibc; then
   8772 	case $cc_basename in
   8773 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8774 	esac
   8775       fi
   8776       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8777 	 && test "$tmp_diet" = no
   8778       then
   8779 	tmp_addflag=' $pic_flag'
   8780 	tmp_sharedflag='-shared'
   8781 	case $cc_basename,$host_cpu in
   8782         pgcc*)				# Portland Group C compiler
   8783 	  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'
   8784 	  tmp_addflag=' $pic_flag'
   8785 	  ;;
   8786 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8787 					# Portland Group f77 and f90 compilers
   8788 	  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'
   8789 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8790 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8791 	  tmp_addflag=' -i_dynamic' ;;
   8792 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8793 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8794 	ifc* | ifort*)			# Intel Fortran compiler
   8795 	  tmp_addflag=' -nofor_main' ;;
   8796 	lf95*)				# Lahey Fortran 8.1
   8797 	  whole_archive_flag_spec=
   8798 	  tmp_sharedflag='--shared' ;;
   8799 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8800 	  tmp_sharedflag='-qmkshrobj'
   8801 	  tmp_addflag= ;;
   8802 	nvcc*)	# Cuda Compiler Driver 2.2
   8803 	  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'
   8804 	  compiler_needs_object=yes
   8805 	  ;;
   8806 	esac
   8807 	case `$CC -V 2>&1 | sed 5q` in
   8808 	*Sun\ C*)			# Sun C 5.9
   8809 	  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'
   8810 	  compiler_needs_object=yes
   8811 	  tmp_sharedflag='-G' ;;
   8812 	*Sun\ F*)			# Sun Fortran 8.3
   8813 	  tmp_sharedflag='-G' ;;
   8814 	esac
   8815 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8816 
   8817         if test "x$supports_anon_versioning" = xyes; then
   8818           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8819 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8820 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8821 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8822         fi
   8823 
   8824 	case $cc_basename in
   8825 	xlf* | bgf* | bgxlf* | mpixlf*)
   8826 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8827 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8828 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8829 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8830 	  if test "x$supports_anon_versioning" = xyes; then
   8831 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8832 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8833 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8834 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8835 	  fi
   8836 	  ;;
   8837 	esac
   8838       else
   8839         ld_shlibs=no
   8840       fi
   8841       ;;
   8842 
   8843     netbsd* | netbsdelf*-gnu)
   8844       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8845 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8846 	wlarc=
   8847       else
   8848 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8849 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8850       fi
   8851       ;;
   8852 
   8853     solaris*)
   8854       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8855 	ld_shlibs=no
   8856 	cat <<_LT_EOF 1>&2
   8857 
   8858 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8859 *** create shared libraries on Solaris systems.  Therefore, libtool
   8860 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8861 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8862 *** your PATH or compiler configuration so that the native linker is
   8863 *** used, and then restart.
   8864 
   8865 _LT_EOF
   8866       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8867 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8868 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8869       else
   8870 	ld_shlibs=no
   8871       fi
   8872       ;;
   8873 
   8874     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8875       case `$LD -v 2>&1` in
   8876         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8877 	ld_shlibs=no
   8878 	cat <<_LT_EOF 1>&2
   8879 
   8880 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8881 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8882 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8883 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8884 *** your PATH or compiler configuration so that the native linker is
   8885 *** used, and then restart.
   8886 
   8887 _LT_EOF
   8888 	;;
   8889 	*)
   8890 	  # For security reasons, it is highly recommended that you always
   8891 	  # use absolute paths for naming shared libraries, and exclude the
   8892 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8893 	  # requires that you compile everything twice, which is a pain.
   8894 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8895 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8896 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8897 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8898 	  else
   8899 	    ld_shlibs=no
   8900 	  fi
   8901 	;;
   8902       esac
   8903       ;;
   8904 
   8905     sunos4*)
   8906       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8907       wlarc=
   8908       hardcode_direct=yes
   8909       hardcode_shlibpath_var=no
   8910       ;;
   8911 
   8912     *)
   8913       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8914 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8915 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8916       else
   8917 	ld_shlibs=no
   8918       fi
   8919       ;;
   8920     esac
   8921 
   8922     if test "$ld_shlibs" = no; then
   8923       runpath_var=
   8924       hardcode_libdir_flag_spec=
   8925       export_dynamic_flag_spec=
   8926       whole_archive_flag_spec=
   8927     fi
   8928   else
   8929     # PORTME fill in a description of your system's linker (not GNU ld)
   8930     case $host_os in
   8931     aix3*)
   8932       allow_undefined_flag=unsupported
   8933       always_export_symbols=yes
   8934       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'
   8935       # Note: this linker hardcodes the directories in LIBPATH if there
   8936       # are no directories specified by -L.
   8937       hardcode_minus_L=yes
   8938       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8939 	# Neither direct hardcoding nor static linking is supported with a
   8940 	# broken collect2.
   8941 	hardcode_direct=unsupported
   8942       fi
   8943       ;;
   8944 
   8945     aix[4-9]*)
   8946       if test "$host_cpu" = ia64; then
   8947 	# On IA64, the linker does run time linking by default, so we don't
   8948 	# have to do anything special.
   8949 	aix_use_runtimelinking=no
   8950 	exp_sym_flag='-Bexport'
   8951 	no_entry_flag=""
   8952       else
   8953 	# If we're using GNU nm, then we don't want the "-C" option.
   8954 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8955 	# Also, AIX nm treats weak defined symbols like other global
   8956 	# defined symbols, whereas GNU nm marks them as "W".
   8957 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8958 	  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'
   8959 	else
   8960 	  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'
   8961 	fi
   8962 	aix_use_runtimelinking=no
   8963 
   8964 	# Test if we are trying to use run time linking or normal
   8965 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8966 	# need to do runtime linking.
   8967 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8968 	  for ld_flag in $LDFLAGS; do
   8969 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8970 	    aix_use_runtimelinking=yes
   8971 	    break
   8972 	  fi
   8973 	  done
   8974 	  ;;
   8975 	esac
   8976 
   8977 	exp_sym_flag='-bexport'
   8978 	no_entry_flag='-bnoentry'
   8979       fi
   8980 
   8981       # When large executables or shared objects are built, AIX ld can
   8982       # have problems creating the table of contents.  If linking a library
   8983       # or program results in "error TOC overflow" add -mminimal-toc to
   8984       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8985       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8986 
   8987       archive_cmds=''
   8988       hardcode_direct=yes
   8989       hardcode_direct_absolute=yes
   8990       hardcode_libdir_separator=':'
   8991       link_all_deplibs=yes
   8992       file_list_spec='${wl}-f,'
   8993 
   8994       if test "$GCC" = yes; then
   8995 	case $host_os in aix4.[012]|aix4.[012].*)
   8996 	# We only want to do this on AIX 4.2 and lower, the check
   8997 	# below for broken collect2 doesn't work under 4.3+
   8998 	  collect2name=`${CC} -print-prog-name=collect2`
   8999 	  if test -f "$collect2name" &&
   9000 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9001 	  then
   9002 	  # We have reworked collect2
   9003 	  :
   9004 	  else
   9005 	  # We have old collect2
   9006 	  hardcode_direct=unsupported
   9007 	  # It fails to find uninstalled libraries when the uninstalled
   9008 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9009 	  # to unsupported forces relinking
   9010 	  hardcode_minus_L=yes
   9011 	  hardcode_libdir_flag_spec='-L$libdir'
   9012 	  hardcode_libdir_separator=
   9013 	  fi
   9014 	  ;;
   9015 	esac
   9016 	shared_flag='-shared'
   9017 	if test "$aix_use_runtimelinking" = yes; then
   9018 	  shared_flag="$shared_flag "'${wl}-G'
   9019 	fi
   9020 	link_all_deplibs=no
   9021       else
   9022 	# not using gcc
   9023 	if test "$host_cpu" = ia64; then
   9024 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9025 	# chokes on -Wl,-G. The following line is correct:
   9026 	  shared_flag='-G'
   9027 	else
   9028 	  if test "$aix_use_runtimelinking" = yes; then
   9029 	    shared_flag='${wl}-G'
   9030 	  else
   9031 	    shared_flag='${wl}-bM:SRE'
   9032 	  fi
   9033 	fi
   9034       fi
   9035 
   9036       export_dynamic_flag_spec='${wl}-bexpall'
   9037       # It seems that -bexpall does not export symbols beginning with
   9038       # underscore (_), so it is better to generate a list of symbols to export.
   9039       always_export_symbols=yes
   9040       if test "$aix_use_runtimelinking" = yes; then
   9041 	# Warning - without using the other runtime loading flags (-brtl),
   9042 	# -berok will link without error, but may produce a broken library.
   9043 	allow_undefined_flag='-berok'
   9044         # Determine the default libpath from the value encoded in an
   9045         # empty executable.
   9046         if test "${lt_cv_aix_libpath+set}" = set; then
   9047   aix_libpath=$lt_cv_aix_libpath
   9048 else
   9049   if ${lt_cv_aix_libpath_+:} false; then :
   9050   $as_echo_n "(cached) " >&6
   9051 else
   9052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9053 /* end confdefs.h.  */
   9054 
   9055 int
   9056 main ()
   9057 {
   9058 
   9059   ;
   9060   return 0;
   9061 }
   9062 _ACEOF
   9063 if ac_fn_c_try_link "$LINENO"; then :
   9064 
   9065   lt_aix_libpath_sed='
   9066       /Import File Strings/,/^$/ {
   9067 	  /^0/ {
   9068 	      s/^0  *\([^ ]*\) *$/\1/
   9069 	      p
   9070 	  }
   9071       }'
   9072   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9073   # Check for a 64-bit object if we didn't find anything.
   9074   if test -z "$lt_cv_aix_libpath_"; then
   9075     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9076   fi
   9077 fi
   9078 rm -f core conftest.err conftest.$ac_objext \
   9079     conftest$ac_exeext conftest.$ac_ext
   9080   if test -z "$lt_cv_aix_libpath_"; then
   9081     lt_cv_aix_libpath_="/usr/lib:/lib"
   9082   fi
   9083 
   9084 fi
   9085 
   9086   aix_libpath=$lt_cv_aix_libpath_
   9087 fi
   9088 
   9089         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9090         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"
   9091       else
   9092 	if test "$host_cpu" = ia64; then
   9093 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9094 	  allow_undefined_flag="-z nodefs"
   9095 	  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"
   9096 	else
   9097 	 # Determine the default libpath from the value encoded in an
   9098 	 # empty executable.
   9099 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9100   aix_libpath=$lt_cv_aix_libpath
   9101 else
   9102   if ${lt_cv_aix_libpath_+:} false; then :
   9103   $as_echo_n "(cached) " >&6
   9104 else
   9105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9106 /* end confdefs.h.  */
   9107 
   9108 int
   9109 main ()
   9110 {
   9111 
   9112   ;
   9113   return 0;
   9114 }
   9115 _ACEOF
   9116 if ac_fn_c_try_link "$LINENO"; then :
   9117 
   9118   lt_aix_libpath_sed='
   9119       /Import File Strings/,/^$/ {
   9120 	  /^0/ {
   9121 	      s/^0  *\([^ ]*\) *$/\1/
   9122 	      p
   9123 	  }
   9124       }'
   9125   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9126   # Check for a 64-bit object if we didn't find anything.
   9127   if test -z "$lt_cv_aix_libpath_"; then
   9128     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9129   fi
   9130 fi
   9131 rm -f core conftest.err conftest.$ac_objext \
   9132     conftest$ac_exeext conftest.$ac_ext
   9133   if test -z "$lt_cv_aix_libpath_"; then
   9134     lt_cv_aix_libpath_="/usr/lib:/lib"
   9135   fi
   9136 
   9137 fi
   9138 
   9139   aix_libpath=$lt_cv_aix_libpath_
   9140 fi
   9141 
   9142 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9143 	  # Warning - without using the other run time loading flags,
   9144 	  # -berok will link without error, but may produce a broken library.
   9145 	  no_undefined_flag=' ${wl}-bernotok'
   9146 	  allow_undefined_flag=' ${wl}-berok'
   9147 	  if test "$with_gnu_ld" = yes; then
   9148 	    # We only use this code for GNU lds that support --whole-archive.
   9149 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9150 	  else
   9151 	    # Exported symbols can be pulled into shared objects from archives
   9152 	    whole_archive_flag_spec='$convenience'
   9153 	  fi
   9154 	  archive_cmds_need_lc=yes
   9155 	  # This is similar to how AIX traditionally builds its shared libraries.
   9156 	  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'
   9157 	fi
   9158       fi
   9159       ;;
   9160 
   9161     amigaos*)
   9162       case $host_cpu in
   9163       powerpc)
   9164             # see comment about AmigaOS4 .so support
   9165             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9166             archive_expsym_cmds=''
   9167         ;;
   9168       m68k)
   9169             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)'
   9170             hardcode_libdir_flag_spec='-L$libdir'
   9171             hardcode_minus_L=yes
   9172         ;;
   9173       esac
   9174       ;;
   9175 
   9176     bsdi[45]*)
   9177       export_dynamic_flag_spec=-rdynamic
   9178       ;;
   9179 
   9180     cygwin* | mingw* | pw32* | cegcc*)
   9181       # When not using gcc, we currently assume that we are using
   9182       # Microsoft Visual C++.
   9183       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9184       # no search path for DLLs.
   9185       case $cc_basename in
   9186       cl*)
   9187 	# Native MSVC
   9188 	hardcode_libdir_flag_spec=' '
   9189 	allow_undefined_flag=unsupported
   9190 	always_export_symbols=yes
   9191 	file_list_spec='@'
   9192 	# Tell ltmain to make .lib files, not .a files.
   9193 	libext=lib
   9194 	# Tell ltmain to make .dll files, not .so files.
   9195 	shrext_cmds=".dll"
   9196 	# FIXME: Setting linknames here is a bad hack.
   9197 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9198 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9199 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9200 	  else
   9201 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9202 	  fi~
   9203 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9204 	  linknames='
   9205 	# The linker will not automatically build a static lib if we build a DLL.
   9206 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9207 	enable_shared_with_static_runtimes=yes
   9208 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9209 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9210 	# Don't use ranlib
   9211 	old_postinstall_cmds='chmod 644 $oldlib'
   9212 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9213 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9214 	  case $lt_outputfile in
   9215 	    *.exe|*.EXE) ;;
   9216 	    *)
   9217 	      lt_outputfile="$lt_outputfile.exe"
   9218 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9219 	      ;;
   9220 	  esac~
   9221 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9222 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9223 	    $RM "$lt_outputfile.manifest";
   9224 	  fi'
   9225 	;;
   9226       *)
   9227 	# Assume MSVC wrapper
   9228 	hardcode_libdir_flag_spec=' '
   9229 	allow_undefined_flag=unsupported
   9230 	# Tell ltmain to make .lib files, not .a files.
   9231 	libext=lib
   9232 	# Tell ltmain to make .dll files, not .so files.
   9233 	shrext_cmds=".dll"
   9234 	# FIXME: Setting linknames here is a bad hack.
   9235 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9236 	# The linker will automatically build a .lib file if we build a DLL.
   9237 	old_archive_from_new_cmds='true'
   9238 	# FIXME: Should let the user specify the lib program.
   9239 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9240 	enable_shared_with_static_runtimes=yes
   9241 	;;
   9242       esac
   9243       ;;
   9244 
   9245     darwin* | rhapsody*)
   9246 
   9247 
   9248   archive_cmds_need_lc=no
   9249   hardcode_direct=no
   9250   hardcode_automatic=yes
   9251   hardcode_shlibpath_var=unsupported
   9252   if test "$lt_cv_ld_force_load" = "yes"; then
   9253     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\"`'
   9254 
   9255   else
   9256     whole_archive_flag_spec=''
   9257   fi
   9258   link_all_deplibs=yes
   9259   allow_undefined_flag="$_lt_dar_allow_undefined"
   9260   case $cc_basename in
   9261      ifort*) _lt_dar_can_shared=yes ;;
   9262      *) _lt_dar_can_shared=$GCC ;;
   9263   esac
   9264   if test "$_lt_dar_can_shared" = "yes"; then
   9265     output_verbose_link_cmd=func_echo_all
   9266     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9267     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9268     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}"
   9269     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}"
   9270 
   9271   else
   9272   ld_shlibs=no
   9273   fi
   9274 
   9275       ;;
   9276 
   9277     dgux*)
   9278       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9279       hardcode_libdir_flag_spec='-L$libdir'
   9280       hardcode_shlibpath_var=no
   9281       ;;
   9282 
   9283     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9284     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9285     # does not break anything, and helps significantly (at the cost of a little
   9286     # extra space).
   9287     freebsd2.2*)
   9288       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9289       hardcode_libdir_flag_spec='-R$libdir'
   9290       hardcode_direct=yes
   9291       hardcode_shlibpath_var=no
   9292       ;;
   9293 
   9294     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9295     freebsd2.*)
   9296       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9297       hardcode_direct=yes
   9298       hardcode_minus_L=yes
   9299       hardcode_shlibpath_var=no
   9300       ;;
   9301 
   9302     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9303     freebsd* | dragonfly*)
   9304       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9305       hardcode_libdir_flag_spec='-R$libdir'
   9306       hardcode_direct=yes
   9307       hardcode_shlibpath_var=no
   9308       ;;
   9309 
   9310     hpux9*)
   9311       if test "$GCC" = yes; then
   9312 	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'
   9313       else
   9314 	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'
   9315       fi
   9316       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9317       hardcode_libdir_separator=:
   9318       hardcode_direct=yes
   9319 
   9320       # hardcode_minus_L: Not really in the search PATH,
   9321       # but as the default location of the library.
   9322       hardcode_minus_L=yes
   9323       export_dynamic_flag_spec='${wl}-E'
   9324       ;;
   9325 
   9326     hpux10*)
   9327       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9328 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9329       else
   9330 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9331       fi
   9332       if test "$with_gnu_ld" = no; then
   9333 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9334 	hardcode_libdir_separator=:
   9335 	hardcode_direct=yes
   9336 	hardcode_direct_absolute=yes
   9337 	export_dynamic_flag_spec='${wl}-E'
   9338 	# hardcode_minus_L: Not really in the search PATH,
   9339 	# but as the default location of the library.
   9340 	hardcode_minus_L=yes
   9341       fi
   9342       ;;
   9343 
   9344     hpux11*)
   9345       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9346 	case $host_cpu in
   9347 	hppa*64*)
   9348 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9349 	  ;;
   9350 	ia64*)
   9351 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9352 	  ;;
   9353 	*)
   9354 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9355 	  ;;
   9356 	esac
   9357       else
   9358 	case $host_cpu in
   9359 	hppa*64*)
   9360 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9361 	  ;;
   9362 	ia64*)
   9363 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9364 	  ;;
   9365 	*)
   9366 
   9367 	  # Older versions of the 11.00 compiler do not understand -b yet
   9368 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9369 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9370 $as_echo_n "checking if $CC understands -b... " >&6; }
   9371 if ${lt_cv_prog_compiler__b+:} false; then :
   9372   $as_echo_n "(cached) " >&6
   9373 else
   9374   lt_cv_prog_compiler__b=no
   9375    save_LDFLAGS="$LDFLAGS"
   9376    LDFLAGS="$LDFLAGS -b"
   9377    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9378    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9379      # The linker can only warn and ignore the option if not recognized
   9380      # So say no if there are warnings
   9381      if test -s conftest.err; then
   9382        # Append any errors to the config.log.
   9383        cat conftest.err 1>&5
   9384        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9385        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9386        if diff conftest.exp conftest.er2 >/dev/null; then
   9387          lt_cv_prog_compiler__b=yes
   9388        fi
   9389      else
   9390        lt_cv_prog_compiler__b=yes
   9391      fi
   9392    fi
   9393    $RM -r conftest*
   9394    LDFLAGS="$save_LDFLAGS"
   9395 
   9396 fi
   9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9398 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9399 
   9400 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9401     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9402 else
   9403     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9404 fi
   9405 
   9406 	  ;;
   9407 	esac
   9408       fi
   9409       if test "$with_gnu_ld" = no; then
   9410 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9411 	hardcode_libdir_separator=:
   9412 
   9413 	case $host_cpu in
   9414 	hppa*64*|ia64*)
   9415 	  hardcode_direct=no
   9416 	  hardcode_shlibpath_var=no
   9417 	  ;;
   9418 	*)
   9419 	  hardcode_direct=yes
   9420 	  hardcode_direct_absolute=yes
   9421 	  export_dynamic_flag_spec='${wl}-E'
   9422 
   9423 	  # hardcode_minus_L: Not really in the search PATH,
   9424 	  # but as the default location of the library.
   9425 	  hardcode_minus_L=yes
   9426 	  ;;
   9427 	esac
   9428       fi
   9429       ;;
   9430 
   9431     irix5* | irix6* | nonstopux*)
   9432       if test "$GCC" = yes; then
   9433 	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'
   9434 	# Try to use the -exported_symbol ld option, if it does not
   9435 	# work, assume that -exports_file does not work either and
   9436 	# implicitly export all symbols.
   9437 	# This should be the same for all languages, so no per-tag cache variable.
   9438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9439 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9440 if ${lt_cv_irix_exported_symbol+:} false; then :
   9441   $as_echo_n "(cached) " >&6
   9442 else
   9443   save_LDFLAGS="$LDFLAGS"
   9444 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9445 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9446 /* end confdefs.h.  */
   9447 int foo (void) { return 0; }
   9448 _ACEOF
   9449 if ac_fn_c_try_link "$LINENO"; then :
   9450   lt_cv_irix_exported_symbol=yes
   9451 else
   9452   lt_cv_irix_exported_symbol=no
   9453 fi
   9454 rm -f core conftest.err conftest.$ac_objext \
   9455     conftest$ac_exeext conftest.$ac_ext
   9456            LDFLAGS="$save_LDFLAGS"
   9457 fi
   9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9459 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9460 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9461           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'
   9462 	fi
   9463       else
   9464 	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'
   9465 	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'
   9466       fi
   9467       archive_cmds_need_lc='no'
   9468       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9469       hardcode_libdir_separator=:
   9470       inherit_rpath=yes
   9471       link_all_deplibs=yes
   9472       ;;
   9473 
   9474     netbsd* | netbsdelf*-gnu)
   9475       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9476 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9477       else
   9478 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9479       fi
   9480       hardcode_libdir_flag_spec='-R$libdir'
   9481       hardcode_direct=yes
   9482       hardcode_shlibpath_var=no
   9483       ;;
   9484 
   9485     newsos6)
   9486       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9487       hardcode_direct=yes
   9488       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9489       hardcode_libdir_separator=:
   9490       hardcode_shlibpath_var=no
   9491       ;;
   9492 
   9493     *nto* | *qnx*)
   9494       ;;
   9495 
   9496     openbsd*)
   9497       if test -f /usr/libexec/ld.so; then
   9498 	hardcode_direct=yes
   9499 	hardcode_shlibpath_var=no
   9500 	hardcode_direct_absolute=yes
   9501 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9502 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9503 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9504 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9505 	  export_dynamic_flag_spec='${wl}-E'
   9506 	else
   9507 	  case $host_os in
   9508 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9509 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9510 	     hardcode_libdir_flag_spec='-R$libdir'
   9511 	     ;;
   9512 	   *)
   9513 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9514 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9515 	     ;;
   9516 	  esac
   9517 	fi
   9518       else
   9519 	ld_shlibs=no
   9520       fi
   9521       ;;
   9522 
   9523     os2*)
   9524       hardcode_libdir_flag_spec='-L$libdir'
   9525       hardcode_minus_L=yes
   9526       allow_undefined_flag=unsupported
   9527       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'
   9528       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9529       ;;
   9530 
   9531     osf3*)
   9532       if test "$GCC" = yes; then
   9533 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9534 	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'
   9535       else
   9536 	allow_undefined_flag=' -expect_unresolved \*'
   9537 	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'
   9538       fi
   9539       archive_cmds_need_lc='no'
   9540       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9541       hardcode_libdir_separator=:
   9542       ;;
   9543 
   9544     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9545       if test "$GCC" = yes; then
   9546 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9547 	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'
   9548 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9549       else
   9550 	allow_undefined_flag=' -expect_unresolved \*'
   9551 	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'
   9552 	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~
   9553 	$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'
   9554 
   9555 	# Both c and cxx compiler support -rpath directly
   9556 	hardcode_libdir_flag_spec='-rpath $libdir'
   9557       fi
   9558       archive_cmds_need_lc='no'
   9559       hardcode_libdir_separator=:
   9560       ;;
   9561 
   9562     solaris*)
   9563       no_undefined_flag=' -z defs'
   9564       if test "$GCC" = yes; then
   9565 	wlarc='${wl}'
   9566 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9567 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9568 	  $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'
   9569       else
   9570 	case `$CC -V 2>&1` in
   9571 	*"Compilers 5.0"*)
   9572 	  wlarc=''
   9573 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9574 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9575 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9576 	  ;;
   9577 	*)
   9578 	  wlarc='${wl}'
   9579 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9580 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9581 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9582 	  ;;
   9583 	esac
   9584       fi
   9585       hardcode_libdir_flag_spec='-R$libdir'
   9586       hardcode_shlibpath_var=no
   9587       case $host_os in
   9588       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9589       *)
   9590 	# The compiler driver will combine and reorder linker options,
   9591 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9592 	# but is careful enough not to reorder.
   9593 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9594 	if test "$GCC" = yes; then
   9595 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9596 	else
   9597 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9598 	fi
   9599 	;;
   9600       esac
   9601       link_all_deplibs=yes
   9602       ;;
   9603 
   9604     sunos4*)
   9605       if test "x$host_vendor" = xsequent; then
   9606 	# Use $CC to link under sequent, because it throws in some extra .o
   9607 	# files that make .init and .fini sections work.
   9608 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9609       else
   9610 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9611       fi
   9612       hardcode_libdir_flag_spec='-L$libdir'
   9613       hardcode_direct=yes
   9614       hardcode_minus_L=yes
   9615       hardcode_shlibpath_var=no
   9616       ;;
   9617 
   9618     sysv4)
   9619       case $host_vendor in
   9620 	sni)
   9621 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9622 	  hardcode_direct=yes # is this really true???
   9623 	;;
   9624 	siemens)
   9625 	  ## LD is ld it makes a PLAMLIB
   9626 	  ## CC just makes a GrossModule.
   9627 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9628 	  reload_cmds='$CC -r -o $output$reload_objs'
   9629 	  hardcode_direct=no
   9630         ;;
   9631 	motorola)
   9632 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9633 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9634 	;;
   9635       esac
   9636       runpath_var='LD_RUN_PATH'
   9637       hardcode_shlibpath_var=no
   9638       ;;
   9639 
   9640     sysv4.3*)
   9641       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9642       hardcode_shlibpath_var=no
   9643       export_dynamic_flag_spec='-Bexport'
   9644       ;;
   9645 
   9646     sysv4*MP*)
   9647       if test -d /usr/nec; then
   9648 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9649 	hardcode_shlibpath_var=no
   9650 	runpath_var=LD_RUN_PATH
   9651 	hardcode_runpath_var=yes
   9652 	ld_shlibs=yes
   9653       fi
   9654       ;;
   9655 
   9656     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9657       no_undefined_flag='${wl}-z,text'
   9658       archive_cmds_need_lc=no
   9659       hardcode_shlibpath_var=no
   9660       runpath_var='LD_RUN_PATH'
   9661 
   9662       if test "$GCC" = yes; then
   9663 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9664 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9665       else
   9666 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9667 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9668       fi
   9669       ;;
   9670 
   9671     sysv5* | sco3.2v5* | sco5v6*)
   9672       # Note: We can NOT use -z defs as we might desire, because we do not
   9673       # link with -lc, and that would cause any symbols used from libc to
   9674       # always be unresolved, which means just about no library would
   9675       # ever link correctly.  If we're not using GNU ld we use -z text
   9676       # though, which does catch some bad symbols but isn't as heavy-handed
   9677       # as -z defs.
   9678       no_undefined_flag='${wl}-z,text'
   9679       allow_undefined_flag='${wl}-z,nodefs'
   9680       archive_cmds_need_lc=no
   9681       hardcode_shlibpath_var=no
   9682       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9683       hardcode_libdir_separator=':'
   9684       link_all_deplibs=yes
   9685       export_dynamic_flag_spec='${wl}-Bexport'
   9686       runpath_var='LD_RUN_PATH'
   9687 
   9688       if test "$GCC" = yes; then
   9689 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9690 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9691       else
   9692 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9693 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9694       fi
   9695       ;;
   9696 
   9697     uts4*)
   9698       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9699       hardcode_libdir_flag_spec='-L$libdir'
   9700       hardcode_shlibpath_var=no
   9701       ;;
   9702 
   9703     *)
   9704       ld_shlibs=no
   9705       ;;
   9706     esac
   9707 
   9708     if test x$host_vendor = xsni; then
   9709       case $host in
   9710       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9711 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9712 	;;
   9713       esac
   9714     fi
   9715   fi
   9716 
   9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9718 $as_echo "$ld_shlibs" >&6; }
   9719 test "$ld_shlibs" = no && can_build_shared=no
   9720 
   9721 with_gnu_ld=$with_gnu_ld
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 #
   9738 # Do we need to explicitly link libc?
   9739 #
   9740 case "x$archive_cmds_need_lc" in
   9741 x|xyes)
   9742   # Assume -lc should be added
   9743   archive_cmds_need_lc=yes
   9744 
   9745   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9746     case $archive_cmds in
   9747     *'~'*)
   9748       # FIXME: we may have to deal with multi-command sequences.
   9749       ;;
   9750     '$CC '*)
   9751       # Test whether the compiler implicitly links with -lc since on some
   9752       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9753       # to ld, don't add -lc before -lgcc.
   9754       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9755 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9756 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9757   $as_echo_n "(cached) " >&6
   9758 else
   9759   $RM conftest*
   9760 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9761 
   9762 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9763   (eval $ac_compile) 2>&5
   9764   ac_status=$?
   9765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9766   test $ac_status = 0; } 2>conftest.err; then
   9767 	  soname=conftest
   9768 	  lib=conftest
   9769 	  libobjs=conftest.$ac_objext
   9770 	  deplibs=
   9771 	  wl=$lt_prog_compiler_wl
   9772 	  pic_flag=$lt_prog_compiler_pic
   9773 	  compiler_flags=-v
   9774 	  linker_flags=-v
   9775 	  verstring=
   9776 	  output_objdir=.
   9777 	  libname=conftest
   9778 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9779 	  allow_undefined_flag=
   9780 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9781   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9782   ac_status=$?
   9783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9784   test $ac_status = 0; }
   9785 	  then
   9786 	    lt_cv_archive_cmds_need_lc=no
   9787 	  else
   9788 	    lt_cv_archive_cmds_need_lc=yes
   9789 	  fi
   9790 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9791 	else
   9792 	  cat conftest.err 1>&5
   9793 	fi
   9794 	$RM conftest*
   9795 
   9796 fi
   9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9798 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9799       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9800       ;;
   9801     esac
   9802   fi
   9803   ;;
   9804 esac
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9958 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9959 
   9960 if test "$GCC" = yes; then
   9961   case $host_os in
   9962     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9963     *) lt_awk_arg="/^libraries:/" ;;
   9964   esac
   9965   case $host_os in
   9966     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9967     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9968   esac
   9969   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9970   case $lt_search_path_spec in
   9971   *\;*)
   9972     # if the path contains ";" then we assume it to be the separator
   9973     # otherwise default to the standard path separator (i.e. ":") - it is
   9974     # assumed that no part of a normal pathname contains ";" but that should
   9975     # okay in the real world where ";" in dirpaths is itself problematic.
   9976     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9977     ;;
   9978   *)
   9979     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9980     ;;
   9981   esac
   9982   # Ok, now we have the path, separated by spaces, we can step through it
   9983   # and add multilib dir if necessary.
   9984   lt_tmp_lt_search_path_spec=
   9985   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9986   for lt_sys_path in $lt_search_path_spec; do
   9987     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9988       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9989     else
   9990       test -d "$lt_sys_path" && \
   9991 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9992     fi
   9993   done
   9994   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9995 BEGIN {RS=" "; FS="/|\n";} {
   9996   lt_foo="";
   9997   lt_count=0;
   9998   for (lt_i = NF; lt_i > 0; lt_i--) {
   9999     if ($lt_i != "" && $lt_i != ".") {
   10000       if ($lt_i == "..") {
   10001         lt_count++;
   10002       } else {
   10003         if (lt_count == 0) {
   10004           lt_foo="/" $lt_i lt_foo;
   10005         } else {
   10006           lt_count--;
   10007         }
   10008       }
   10009     }
   10010   }
   10011   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10012   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10013 }'`
   10014   # AWK program above erroneously prepends '/' to C:/dos/paths
   10015   # for these hosts.
   10016   case $host_os in
   10017     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10018       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10019   esac
   10020   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10021 else
   10022   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10023 fi
   10024 library_names_spec=
   10025 libname_spec='lib$name'
   10026 soname_spec=
   10027 shrext_cmds=".so"
   10028 postinstall_cmds=
   10029 postuninstall_cmds=
   10030 finish_cmds=
   10031 finish_eval=
   10032 shlibpath_var=
   10033 shlibpath_overrides_runpath=unknown
   10034 version_type=none
   10035 dynamic_linker="$host_os ld.so"
   10036 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10037 need_lib_prefix=unknown
   10038 hardcode_into_libs=no
   10039 
   10040 # when you set need_version to no, make sure it does not cause -set_version
   10041 # flags to be left without arguments
   10042 need_version=unknown
   10043 
   10044 case $host_os in
   10045 aix3*)
   10046   version_type=linux # correct to gnu/linux during the next big refactor
   10047   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10048   shlibpath_var=LIBPATH
   10049 
   10050   # AIX 3 has no versioning support, so we append a major version to the name.
   10051   soname_spec='${libname}${release}${shared_ext}$major'
   10052   ;;
   10053 
   10054 aix[4-9]*)
   10055   version_type=linux # correct to gnu/linux during the next big refactor
   10056   need_lib_prefix=no
   10057   need_version=no
   10058   hardcode_into_libs=yes
   10059   if test "$host_cpu" = ia64; then
   10060     # AIX 5 supports IA64
   10061     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10062     shlibpath_var=LD_LIBRARY_PATH
   10063   else
   10064     # With GCC up to 2.95.x, collect2 would create an import file
   10065     # for dependence libraries.  The import file would start with
   10066     # the line `#! .'.  This would cause the generated library to
   10067     # depend on `.', always an invalid library.  This was fixed in
   10068     # development snapshots of GCC prior to 3.0.
   10069     case $host_os in
   10070       aix4 | aix4.[01] | aix4.[01].*)
   10071       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10072 	   echo ' yes '
   10073 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10074 	:
   10075       else
   10076 	can_build_shared=no
   10077       fi
   10078       ;;
   10079     esac
   10080     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10081     # soname into executable. Probably we can add versioning support to
   10082     # collect2, so additional links can be useful in future.
   10083     if test "$aix_use_runtimelinking" = yes; then
   10084       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10085       # instead of lib<name>.a to let people know that these are not
   10086       # typical AIX shared libraries.
   10087       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10088     else
   10089       # We preserve .a as extension for shared libraries through AIX4.2
   10090       # and later when we are not doing run time linking.
   10091       library_names_spec='${libname}${release}.a $libname.a'
   10092       soname_spec='${libname}${release}${shared_ext}$major'
   10093     fi
   10094     shlibpath_var=LIBPATH
   10095   fi
   10096   ;;
   10097 
   10098 amigaos*)
   10099   case $host_cpu in
   10100   powerpc)
   10101     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10102     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10103     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10104     ;;
   10105   m68k)
   10106     library_names_spec='$libname.ixlibrary $libname.a'
   10107     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10108     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'
   10109     ;;
   10110   esac
   10111   ;;
   10112 
   10113 beos*)
   10114   library_names_spec='${libname}${shared_ext}'
   10115   dynamic_linker="$host_os ld.so"
   10116   shlibpath_var=LIBRARY_PATH
   10117   ;;
   10118 
   10119 bsdi[45]*)
   10120   version_type=linux # correct to gnu/linux during the next big refactor
   10121   need_version=no
   10122   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10123   soname_spec='${libname}${release}${shared_ext}$major'
   10124   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10125   shlibpath_var=LD_LIBRARY_PATH
   10126   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10127   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10128   # the default ld.so.conf also contains /usr/contrib/lib and
   10129   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10130   # libtool to hard-code these into programs
   10131   ;;
   10132 
   10133 cygwin* | mingw* | pw32* | cegcc*)
   10134   version_type=windows
   10135   shrext_cmds=".dll"
   10136   need_version=no
   10137   need_lib_prefix=no
   10138 
   10139   case $GCC,$cc_basename in
   10140   yes,*)
   10141     # gcc
   10142     library_names_spec='$libname.dll.a'
   10143     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10144     postinstall_cmds='base_file=`basename \${file}`~
   10145       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10146       dldir=$destdir/`dirname \$dlpath`~
   10147       test -d \$dldir || mkdir -p \$dldir~
   10148       $install_prog $dir/$dlname \$dldir/$dlname~
   10149       chmod a+x \$dldir/$dlname~
   10150       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10151         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10152       fi'
   10153     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10154       dlpath=$dir/\$dldll~
   10155        $RM \$dlpath'
   10156     shlibpath_overrides_runpath=yes
   10157 
   10158     case $host_os in
   10159     cygwin*)
   10160       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10161       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10162 
   10163       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10164       ;;
   10165     mingw* | cegcc*)
   10166       # MinGW DLLs use traditional 'lib' prefix
   10167       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10168       ;;
   10169     pw32*)
   10170       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10171       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10172       ;;
   10173     esac
   10174     dynamic_linker='Win32 ld.exe'
   10175     ;;
   10176 
   10177   *,cl*)
   10178     # Native MSVC
   10179     libname_spec='$name'
   10180     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10181     library_names_spec='${libname}.dll.lib'
   10182 
   10183     case $build_os in
   10184     mingw*)
   10185       sys_lib_search_path_spec=
   10186       lt_save_ifs=$IFS
   10187       IFS=';'
   10188       for lt_path in $LIB
   10189       do
   10190         IFS=$lt_save_ifs
   10191         # Let DOS variable expansion print the short 8.3 style file name.
   10192         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10193         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10194       done
   10195       IFS=$lt_save_ifs
   10196       # Convert to MSYS style.
   10197       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10198       ;;
   10199     cygwin*)
   10200       # Convert to unix form, then to dos form, then back to unix form
   10201       # but this time dos style (no spaces!) so that the unix form looks
   10202       # like /cygdrive/c/PROGRA~1:/cygdr...
   10203       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10204       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10205       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10206       ;;
   10207     *)
   10208       sys_lib_search_path_spec="$LIB"
   10209       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10210         # It is most probably a Windows format PATH.
   10211         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10212       else
   10213         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10214       fi
   10215       # FIXME: find the short name or the path components, as spaces are
   10216       # common. (e.g. "Program Files" -> "PROGRA~1")
   10217       ;;
   10218     esac
   10219 
   10220     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10221     postinstall_cmds='base_file=`basename \${file}`~
   10222       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10223       dldir=$destdir/`dirname \$dlpath`~
   10224       test -d \$dldir || mkdir -p \$dldir~
   10225       $install_prog $dir/$dlname \$dldir/$dlname'
   10226     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10227       dlpath=$dir/\$dldll~
   10228        $RM \$dlpath'
   10229     shlibpath_overrides_runpath=yes
   10230     dynamic_linker='Win32 link.exe'
   10231     ;;
   10232 
   10233   *)
   10234     # Assume MSVC wrapper
   10235     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10236     dynamic_linker='Win32 ld.exe'
   10237     ;;
   10238   esac
   10239   # FIXME: first we should search . and the directory the executable is in
   10240   shlibpath_var=PATH
   10241   ;;
   10242 
   10243 darwin* | rhapsody*)
   10244   dynamic_linker="$host_os dyld"
   10245   version_type=darwin
   10246   need_lib_prefix=no
   10247   need_version=no
   10248   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10249   soname_spec='${libname}${release}${major}$shared_ext'
   10250   shlibpath_overrides_runpath=yes
   10251   shlibpath_var=DYLD_LIBRARY_PATH
   10252   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10253 
   10254   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10255   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10256   ;;
   10257 
   10258 dgux*)
   10259   version_type=linux # correct to gnu/linux during the next big refactor
   10260   need_lib_prefix=no
   10261   need_version=no
   10262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10263   soname_spec='${libname}${release}${shared_ext}$major'
   10264   shlibpath_var=LD_LIBRARY_PATH
   10265   ;;
   10266 
   10267 freebsd* | dragonfly*)
   10268   # DragonFly does not have aout.  When/if they implement a new
   10269   # versioning mechanism, adjust this.
   10270   if test -x /usr/bin/objformat; then
   10271     objformat=`/usr/bin/objformat`
   10272   else
   10273     case $host_os in
   10274     freebsd[23].*) objformat=aout ;;
   10275     *) objformat=elf ;;
   10276     esac
   10277   fi
   10278   version_type=freebsd-$objformat
   10279   case $version_type in
   10280     freebsd-elf*)
   10281       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10282       need_version=no
   10283       need_lib_prefix=no
   10284       ;;
   10285     freebsd-*)
   10286       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10287       need_version=yes
   10288       ;;
   10289   esac
   10290   shlibpath_var=LD_LIBRARY_PATH
   10291   case $host_os in
   10292   freebsd2.*)
   10293     shlibpath_overrides_runpath=yes
   10294     ;;
   10295   freebsd3.[01]* | freebsdelf3.[01]*)
   10296     shlibpath_overrides_runpath=yes
   10297     hardcode_into_libs=yes
   10298     ;;
   10299   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10300   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10301     shlibpath_overrides_runpath=no
   10302     hardcode_into_libs=yes
   10303     ;;
   10304   *) # from 4.6 on, and DragonFly
   10305     shlibpath_overrides_runpath=yes
   10306     hardcode_into_libs=yes
   10307     ;;
   10308   esac
   10309   ;;
   10310 
   10311 haiku*)
   10312   version_type=linux # correct to gnu/linux during the next big refactor
   10313   need_lib_prefix=no
   10314   need_version=no
   10315   dynamic_linker="$host_os runtime_loader"
   10316   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10317   soname_spec='${libname}${release}${shared_ext}$major'
   10318   shlibpath_var=LIBRARY_PATH
   10319   shlibpath_overrides_runpath=yes
   10320   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10321   hardcode_into_libs=yes
   10322   ;;
   10323 
   10324 hpux9* | hpux10* | hpux11*)
   10325   # Give a soname corresponding to the major version so that dld.sl refuses to
   10326   # link against other versions.
   10327   version_type=sunos
   10328   need_lib_prefix=no
   10329   need_version=no
   10330   case $host_cpu in
   10331   ia64*)
   10332     shrext_cmds='.so'
   10333     hardcode_into_libs=yes
   10334     dynamic_linker="$host_os dld.so"
   10335     shlibpath_var=LD_LIBRARY_PATH
   10336     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10337     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10338     soname_spec='${libname}${release}${shared_ext}$major'
   10339     if test "X$HPUX_IA64_MODE" = X32; then
   10340       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10341     else
   10342       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10343     fi
   10344     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10345     ;;
   10346   hppa*64*)
   10347     shrext_cmds='.sl'
   10348     hardcode_into_libs=yes
   10349     dynamic_linker="$host_os dld.sl"
   10350     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10351     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10352     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10353     soname_spec='${libname}${release}${shared_ext}$major'
   10354     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10355     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10356     ;;
   10357   *)
   10358     shrext_cmds='.sl'
   10359     dynamic_linker="$host_os dld.sl"
   10360     shlibpath_var=SHLIB_PATH
   10361     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10362     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10363     soname_spec='${libname}${release}${shared_ext}$major'
   10364     ;;
   10365   esac
   10366   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10367   postinstall_cmds='chmod 555 $lib'
   10368   # or fails outright, so override atomically:
   10369   install_override_mode=555
   10370   ;;
   10371 
   10372 interix[3-9]*)
   10373   version_type=linux # correct to gnu/linux during the next big refactor
   10374   need_lib_prefix=no
   10375   need_version=no
   10376   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10377   soname_spec='${libname}${release}${shared_ext}$major'
   10378   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10379   shlibpath_var=LD_LIBRARY_PATH
   10380   shlibpath_overrides_runpath=no
   10381   hardcode_into_libs=yes
   10382   ;;
   10383 
   10384 irix5* | irix6* | nonstopux*)
   10385   case $host_os in
   10386     nonstopux*) version_type=nonstopux ;;
   10387     *)
   10388 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10389 		version_type=linux # correct to gnu/linux during the next big refactor
   10390 	else
   10391 		version_type=irix
   10392 	fi ;;
   10393   esac
   10394   need_lib_prefix=no
   10395   need_version=no
   10396   soname_spec='${libname}${release}${shared_ext}$major'
   10397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10398   case $host_os in
   10399   irix5* | nonstopux*)
   10400     libsuff= shlibsuff=
   10401     ;;
   10402   *)
   10403     case $LD in # libtool.m4 will add one of these switches to LD
   10404     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10405       libsuff= shlibsuff= libmagic=32-bit;;
   10406     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10407       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10408     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10409       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10410     *) libsuff= shlibsuff= libmagic=never-match;;
   10411     esac
   10412     ;;
   10413   esac
   10414   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10415   shlibpath_overrides_runpath=no
   10416   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10417   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10418   hardcode_into_libs=yes
   10419   ;;
   10420 
   10421 # No shared lib support for Linux oldld, aout, or coff.
   10422 linux*oldld* | linux*aout* | linux*coff*)
   10423   dynamic_linker=no
   10424   ;;
   10425 
   10426 # This must be glibc/ELF.
   10427 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10428   version_type=linux # correct to gnu/linux during the next big refactor
   10429   need_lib_prefix=no
   10430   need_version=no
   10431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10432   soname_spec='${libname}${release}${shared_ext}$major'
   10433   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10434   shlibpath_var=LD_LIBRARY_PATH
   10435   shlibpath_overrides_runpath=no
   10436 
   10437   # Some binutils ld are patched to set DT_RUNPATH
   10438   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10439   $as_echo_n "(cached) " >&6
   10440 else
   10441   lt_cv_shlibpath_overrides_runpath=no
   10442     save_LDFLAGS=$LDFLAGS
   10443     save_libdir=$libdir
   10444     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10445 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10446     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10447 /* end confdefs.h.  */
   10448 
   10449 int
   10450 main ()
   10451 {
   10452 
   10453   ;
   10454   return 0;
   10455 }
   10456 _ACEOF
   10457 if ac_fn_c_try_link "$LINENO"; then :
   10458   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10459   lt_cv_shlibpath_overrides_runpath=yes
   10460 fi
   10461 fi
   10462 rm -f core conftest.err conftest.$ac_objext \
   10463     conftest$ac_exeext conftest.$ac_ext
   10464     LDFLAGS=$save_LDFLAGS
   10465     libdir=$save_libdir
   10466 
   10467 fi
   10468 
   10469   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10470 
   10471   # This implies no fast_install, which is unacceptable.
   10472   # Some rework will be needed to allow for fast_install
   10473   # before this can be enabled.
   10474   hardcode_into_libs=yes
   10475 
   10476   # Append ld.so.conf contents to the search path
   10477   if test -f /etc/ld.so.conf; then
   10478     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' ' '`
   10479     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10480   fi
   10481 
   10482   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10483   # powerpc, because MkLinux only supported shared libraries with the
   10484   # GNU dynamic linker.  Since this was broken with cross compilers,
   10485   # most powerpc-linux boxes support dynamic linking these days and
   10486   # people can always --disable-shared, the test was removed, and we
   10487   # assume the GNU/Linux dynamic linker is in use.
   10488   dynamic_linker='GNU/Linux ld.so'
   10489   ;;
   10490 
   10491 netbsdelf*-gnu)
   10492   version_type=linux
   10493   need_lib_prefix=no
   10494   need_version=no
   10495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10496   soname_spec='${libname}${release}${shared_ext}$major'
   10497   shlibpath_var=LD_LIBRARY_PATH
   10498   shlibpath_overrides_runpath=no
   10499   hardcode_into_libs=yes
   10500   dynamic_linker='NetBSD ld.elf_so'
   10501   ;;
   10502 
   10503 netbsd*)
   10504   version_type=sunos
   10505   need_lib_prefix=no
   10506   need_version=no
   10507   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10508     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10509     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10510     dynamic_linker='NetBSD (a.out) ld.so'
   10511   else
   10512     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10513     soname_spec='${libname}${release}${shared_ext}$major'
   10514     dynamic_linker='NetBSD ld.elf_so'
   10515   fi
   10516   shlibpath_var=LD_LIBRARY_PATH
   10517   shlibpath_overrides_runpath=yes
   10518   hardcode_into_libs=yes
   10519   ;;
   10520 
   10521 newsos6)
   10522   version_type=linux # correct to gnu/linux during the next big refactor
   10523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10524   shlibpath_var=LD_LIBRARY_PATH
   10525   shlibpath_overrides_runpath=yes
   10526   ;;
   10527 
   10528 *nto* | *qnx*)
   10529   version_type=qnx
   10530   need_lib_prefix=no
   10531   need_version=no
   10532   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10533   soname_spec='${libname}${release}${shared_ext}$major'
   10534   shlibpath_var=LD_LIBRARY_PATH
   10535   shlibpath_overrides_runpath=no
   10536   hardcode_into_libs=yes
   10537   dynamic_linker='ldqnx.so'
   10538   ;;
   10539 
   10540 openbsd*)
   10541   version_type=sunos
   10542   sys_lib_dlsearch_path_spec="/usr/lib"
   10543   need_lib_prefix=no
   10544   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10545   case $host_os in
   10546     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10547     *)				need_version=no  ;;
   10548   esac
   10549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10550   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10551   shlibpath_var=LD_LIBRARY_PATH
   10552   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10553     case $host_os in
   10554       openbsd2.[89] | openbsd2.[89].*)
   10555 	shlibpath_overrides_runpath=no
   10556 	;;
   10557       *)
   10558 	shlibpath_overrides_runpath=yes
   10559 	;;
   10560       esac
   10561   else
   10562     shlibpath_overrides_runpath=yes
   10563   fi
   10564   ;;
   10565 
   10566 os2*)
   10567   libname_spec='$name'
   10568   shrext_cmds=".dll"
   10569   need_lib_prefix=no
   10570   library_names_spec='$libname${shared_ext} $libname.a'
   10571   dynamic_linker='OS/2 ld.exe'
   10572   shlibpath_var=LIBPATH
   10573   ;;
   10574 
   10575 osf3* | osf4* | osf5*)
   10576   version_type=osf
   10577   need_lib_prefix=no
   10578   need_version=no
   10579   soname_spec='${libname}${release}${shared_ext}$major'
   10580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10581   shlibpath_var=LD_LIBRARY_PATH
   10582   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10583   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10584   ;;
   10585 
   10586 rdos*)
   10587   dynamic_linker=no
   10588   ;;
   10589 
   10590 solaris*)
   10591   version_type=linux # correct to gnu/linux during the next big refactor
   10592   need_lib_prefix=no
   10593   need_version=no
   10594   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10595   soname_spec='${libname}${release}${shared_ext}$major'
   10596   shlibpath_var=LD_LIBRARY_PATH
   10597   shlibpath_overrides_runpath=yes
   10598   hardcode_into_libs=yes
   10599   # ldd complains unless libraries are executable
   10600   postinstall_cmds='chmod +x $lib'
   10601   ;;
   10602 
   10603 sunos4*)
   10604   version_type=sunos
   10605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10606   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10607   shlibpath_var=LD_LIBRARY_PATH
   10608   shlibpath_overrides_runpath=yes
   10609   if test "$with_gnu_ld" = yes; then
   10610     need_lib_prefix=no
   10611   fi
   10612   need_version=yes
   10613   ;;
   10614 
   10615 sysv4 | sysv4.3*)
   10616   version_type=linux # correct to gnu/linux during the next big refactor
   10617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10618   soname_spec='${libname}${release}${shared_ext}$major'
   10619   shlibpath_var=LD_LIBRARY_PATH
   10620   case $host_vendor in
   10621     sni)
   10622       shlibpath_overrides_runpath=no
   10623       need_lib_prefix=no
   10624       runpath_var=LD_RUN_PATH
   10625       ;;
   10626     siemens)
   10627       need_lib_prefix=no
   10628       ;;
   10629     motorola)
   10630       need_lib_prefix=no
   10631       need_version=no
   10632       shlibpath_overrides_runpath=no
   10633       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10634       ;;
   10635   esac
   10636   ;;
   10637 
   10638 sysv4*MP*)
   10639   if test -d /usr/nec ;then
   10640     version_type=linux # correct to gnu/linux during the next big refactor
   10641     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10642     soname_spec='$libname${shared_ext}.$major'
   10643     shlibpath_var=LD_LIBRARY_PATH
   10644   fi
   10645   ;;
   10646 
   10647 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10648   version_type=freebsd-elf
   10649   need_lib_prefix=no
   10650   need_version=no
   10651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10652   soname_spec='${libname}${release}${shared_ext}$major'
   10653   shlibpath_var=LD_LIBRARY_PATH
   10654   shlibpath_overrides_runpath=yes
   10655   hardcode_into_libs=yes
   10656   if test "$with_gnu_ld" = yes; then
   10657     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10658   else
   10659     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10660     case $host_os in
   10661       sco3.2v5*)
   10662         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10663 	;;
   10664     esac
   10665   fi
   10666   sys_lib_dlsearch_path_spec='/usr/lib'
   10667   ;;
   10668 
   10669 tpf*)
   10670   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10671   version_type=linux # correct to gnu/linux during the next big refactor
   10672   need_lib_prefix=no
   10673   need_version=no
   10674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10675   shlibpath_var=LD_LIBRARY_PATH
   10676   shlibpath_overrides_runpath=no
   10677   hardcode_into_libs=yes
   10678   ;;
   10679 
   10680 uts4*)
   10681   version_type=linux # correct to gnu/linux during the next big refactor
   10682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10683   soname_spec='${libname}${release}${shared_ext}$major'
   10684   shlibpath_var=LD_LIBRARY_PATH
   10685   ;;
   10686 
   10687 *)
   10688   dynamic_linker=no
   10689   ;;
   10690 esac
   10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10692 $as_echo "$dynamic_linker" >&6; }
   10693 test "$dynamic_linker" = no && can_build_shared=no
   10694 
   10695 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10696 if test "$GCC" = yes; then
   10697   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10698 fi
   10699 
   10700 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10701   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10702 fi
   10703 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10704   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10705 fi
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10799 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10800 hardcode_action=
   10801 if test -n "$hardcode_libdir_flag_spec" ||
   10802    test -n "$runpath_var" ||
   10803    test "X$hardcode_automatic" = "Xyes" ; then
   10804 
   10805   # We can hardcode non-existent directories.
   10806   if test "$hardcode_direct" != no &&
   10807      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10808      # have to relink, otherwise we might link with an installed library
   10809      # when we should be linking with a yet-to-be-installed one
   10810      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10811      test "$hardcode_minus_L" != no; then
   10812     # Linking always hardcodes the temporary library directory.
   10813     hardcode_action=relink
   10814   else
   10815     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10816     hardcode_action=immediate
   10817   fi
   10818 else
   10819   # We cannot hardcode anything, or else we can only hardcode existing
   10820   # directories.
   10821   hardcode_action=unsupported
   10822 fi
   10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10824 $as_echo "$hardcode_action" >&6; }
   10825 
   10826 if test "$hardcode_action" = relink ||
   10827    test "$inherit_rpath" = yes; then
   10828   # Fast installation is not supported
   10829   enable_fast_install=no
   10830 elif test "$shlibpath_overrides_runpath" = yes ||
   10831      test "$enable_shared" = no; then
   10832   # Fast installation is not necessary
   10833   enable_fast_install=needless
   10834 fi
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841   if test "x$enable_dlopen" != xyes; then
   10842   enable_dlopen=unknown
   10843   enable_dlopen_self=unknown
   10844   enable_dlopen_self_static=unknown
   10845 else
   10846   lt_cv_dlopen=no
   10847   lt_cv_dlopen_libs=
   10848 
   10849   case $host_os in
   10850   beos*)
   10851     lt_cv_dlopen="load_add_on"
   10852     lt_cv_dlopen_libs=
   10853     lt_cv_dlopen_self=yes
   10854     ;;
   10855 
   10856   mingw* | pw32* | cegcc*)
   10857     lt_cv_dlopen="LoadLibrary"
   10858     lt_cv_dlopen_libs=
   10859     ;;
   10860 
   10861   cygwin*)
   10862     lt_cv_dlopen="dlopen"
   10863     lt_cv_dlopen_libs=
   10864     ;;
   10865 
   10866   darwin*)
   10867   # if libdl is installed we need to link against it
   10868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10869 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10870 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10871   $as_echo_n "(cached) " >&6
   10872 else
   10873   ac_check_lib_save_LIBS=$LIBS
   10874 LIBS="-ldl  $LIBS"
   10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10876 /* end confdefs.h.  */
   10877 
   10878 /* Override any GCC internal prototype to avoid an error.
   10879    Use char because int might match the return type of a GCC
   10880    builtin and then its argument prototype would still apply.  */
   10881 #ifdef __cplusplus
   10882 extern "C"
   10883 #endif
   10884 char dlopen ();
   10885 int
   10886 main ()
   10887 {
   10888 return dlopen ();
   10889   ;
   10890   return 0;
   10891 }
   10892 _ACEOF
   10893 if ac_fn_c_try_link "$LINENO"; then :
   10894   ac_cv_lib_dl_dlopen=yes
   10895 else
   10896   ac_cv_lib_dl_dlopen=no
   10897 fi
   10898 rm -f core conftest.err conftest.$ac_objext \
   10899     conftest$ac_exeext conftest.$ac_ext
   10900 LIBS=$ac_check_lib_save_LIBS
   10901 fi
   10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10903 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10904 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10905   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10906 else
   10907 
   10908     lt_cv_dlopen="dyld"
   10909     lt_cv_dlopen_libs=
   10910     lt_cv_dlopen_self=yes
   10911 
   10912 fi
   10913 
   10914     ;;
   10915 
   10916   *)
   10917     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10918 if test "x$ac_cv_func_shl_load" = xyes; then :
   10919   lt_cv_dlopen="shl_load"
   10920 else
   10921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10922 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10923 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10924   $as_echo_n "(cached) " >&6
   10925 else
   10926   ac_check_lib_save_LIBS=$LIBS
   10927 LIBS="-ldld  $LIBS"
   10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10929 /* end confdefs.h.  */
   10930 
   10931 /* Override any GCC internal prototype to avoid an error.
   10932    Use char because int might match the return type of a GCC
   10933    builtin and then its argument prototype would still apply.  */
   10934 #ifdef __cplusplus
   10935 extern "C"
   10936 #endif
   10937 char shl_load ();
   10938 int
   10939 main ()
   10940 {
   10941 return shl_load ();
   10942   ;
   10943   return 0;
   10944 }
   10945 _ACEOF
   10946 if ac_fn_c_try_link "$LINENO"; then :
   10947   ac_cv_lib_dld_shl_load=yes
   10948 else
   10949   ac_cv_lib_dld_shl_load=no
   10950 fi
   10951 rm -f core conftest.err conftest.$ac_objext \
   10952     conftest$ac_exeext conftest.$ac_ext
   10953 LIBS=$ac_check_lib_save_LIBS
   10954 fi
   10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10956 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10957 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10958   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10959 else
   10960   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10961 if test "x$ac_cv_func_dlopen" = xyes; then :
   10962   lt_cv_dlopen="dlopen"
   10963 else
   10964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10965 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10966 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10967   $as_echo_n "(cached) " >&6
   10968 else
   10969   ac_check_lib_save_LIBS=$LIBS
   10970 LIBS="-ldl  $LIBS"
   10971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10972 /* end confdefs.h.  */
   10973 
   10974 /* Override any GCC internal prototype to avoid an error.
   10975    Use char because int might match the return type of a GCC
   10976    builtin and then its argument prototype would still apply.  */
   10977 #ifdef __cplusplus
   10978 extern "C"
   10979 #endif
   10980 char dlopen ();
   10981 int
   10982 main ()
   10983 {
   10984 return dlopen ();
   10985   ;
   10986   return 0;
   10987 }
   10988 _ACEOF
   10989 if ac_fn_c_try_link "$LINENO"; then :
   10990   ac_cv_lib_dl_dlopen=yes
   10991 else
   10992   ac_cv_lib_dl_dlopen=no
   10993 fi
   10994 rm -f core conftest.err conftest.$ac_objext \
   10995     conftest$ac_exeext conftest.$ac_ext
   10996 LIBS=$ac_check_lib_save_LIBS
   10997 fi
   10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10999 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11000 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11001   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11002 else
   11003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11004 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11005 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11006   $as_echo_n "(cached) " >&6
   11007 else
   11008   ac_check_lib_save_LIBS=$LIBS
   11009 LIBS="-lsvld  $LIBS"
   11010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11011 /* end confdefs.h.  */
   11012 
   11013 /* Override any GCC internal prototype to avoid an error.
   11014    Use char because int might match the return type of a GCC
   11015    builtin and then its argument prototype would still apply.  */
   11016 #ifdef __cplusplus
   11017 extern "C"
   11018 #endif
   11019 char dlopen ();
   11020 int
   11021 main ()
   11022 {
   11023 return dlopen ();
   11024   ;
   11025   return 0;
   11026 }
   11027 _ACEOF
   11028 if ac_fn_c_try_link "$LINENO"; then :
   11029   ac_cv_lib_svld_dlopen=yes
   11030 else
   11031   ac_cv_lib_svld_dlopen=no
   11032 fi
   11033 rm -f core conftest.err conftest.$ac_objext \
   11034     conftest$ac_exeext conftest.$ac_ext
   11035 LIBS=$ac_check_lib_save_LIBS
   11036 fi
   11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11038 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11039 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11040   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11041 else
   11042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11043 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11044 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11045   $as_echo_n "(cached) " >&6
   11046 else
   11047   ac_check_lib_save_LIBS=$LIBS
   11048 LIBS="-ldld  $LIBS"
   11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11050 /* end confdefs.h.  */
   11051 
   11052 /* Override any GCC internal prototype to avoid an error.
   11053    Use char because int might match the return type of a GCC
   11054    builtin and then its argument prototype would still apply.  */
   11055 #ifdef __cplusplus
   11056 extern "C"
   11057 #endif
   11058 char dld_link ();
   11059 int
   11060 main ()
   11061 {
   11062 return dld_link ();
   11063   ;
   11064   return 0;
   11065 }
   11066 _ACEOF
   11067 if ac_fn_c_try_link "$LINENO"; then :
   11068   ac_cv_lib_dld_dld_link=yes
   11069 else
   11070   ac_cv_lib_dld_dld_link=no
   11071 fi
   11072 rm -f core conftest.err conftest.$ac_objext \
   11073     conftest$ac_exeext conftest.$ac_ext
   11074 LIBS=$ac_check_lib_save_LIBS
   11075 fi
   11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11077 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11078 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11079   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11080 fi
   11081 
   11082 
   11083 fi
   11084 
   11085 
   11086 fi
   11087 
   11088 
   11089 fi
   11090 
   11091 
   11092 fi
   11093 
   11094 
   11095 fi
   11096 
   11097     ;;
   11098   esac
   11099 
   11100   if test "x$lt_cv_dlopen" != xno; then
   11101     enable_dlopen=yes
   11102   else
   11103     enable_dlopen=no
   11104   fi
   11105 
   11106   case $lt_cv_dlopen in
   11107   dlopen)
   11108     save_CPPFLAGS="$CPPFLAGS"
   11109     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11110 
   11111     save_LDFLAGS="$LDFLAGS"
   11112     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11113 
   11114     save_LIBS="$LIBS"
   11115     LIBS="$lt_cv_dlopen_libs $LIBS"
   11116 
   11117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11118 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11119 if ${lt_cv_dlopen_self+:} false; then :
   11120   $as_echo_n "(cached) " >&6
   11121 else
   11122   	  if test "$cross_compiling" = yes; then :
   11123   lt_cv_dlopen_self=cross
   11124 else
   11125   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11126   lt_status=$lt_dlunknown
   11127   cat > conftest.$ac_ext <<_LT_EOF
   11128 #line $LINENO "configure"
   11129 #include "confdefs.h"
   11130 
   11131 #if HAVE_DLFCN_H
   11132 #include <dlfcn.h>
   11133 #endif
   11134 
   11135 #include <stdio.h>
   11136 
   11137 #ifdef RTLD_GLOBAL
   11138 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11139 #else
   11140 #  ifdef DL_GLOBAL
   11141 #    define LT_DLGLOBAL		DL_GLOBAL
   11142 #  else
   11143 #    define LT_DLGLOBAL		0
   11144 #  endif
   11145 #endif
   11146 
   11147 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11148    find out it does not work in some platform. */
   11149 #ifndef LT_DLLAZY_OR_NOW
   11150 #  ifdef RTLD_LAZY
   11151 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11152 #  else
   11153 #    ifdef DL_LAZY
   11154 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11155 #    else
   11156 #      ifdef RTLD_NOW
   11157 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11158 #      else
   11159 #        ifdef DL_NOW
   11160 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11161 #        else
   11162 #          define LT_DLLAZY_OR_NOW	0
   11163 #        endif
   11164 #      endif
   11165 #    endif
   11166 #  endif
   11167 #endif
   11168 
   11169 /* When -fvisbility=hidden is used, assume the code has been annotated
   11170    correspondingly for the symbols needed.  */
   11171 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11172 int fnord () __attribute__((visibility("default")));
   11173 #endif
   11174 
   11175 int fnord () { return 42; }
   11176 int main ()
   11177 {
   11178   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11179   int status = $lt_dlunknown;
   11180 
   11181   if (self)
   11182     {
   11183       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11184       else
   11185         {
   11186 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11187           else puts (dlerror ());
   11188 	}
   11189       /* dlclose (self); */
   11190     }
   11191   else
   11192     puts (dlerror ());
   11193 
   11194   return status;
   11195 }
   11196 _LT_EOF
   11197   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11198   (eval $ac_link) 2>&5
   11199   ac_status=$?
   11200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11201   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11202     (./conftest; exit; ) >&5 2>/dev/null
   11203     lt_status=$?
   11204     case x$lt_status in
   11205       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11206       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11207       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11208     esac
   11209   else :
   11210     # compilation failed
   11211     lt_cv_dlopen_self=no
   11212   fi
   11213 fi
   11214 rm -fr conftest*
   11215 
   11216 
   11217 fi
   11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11219 $as_echo "$lt_cv_dlopen_self" >&6; }
   11220 
   11221     if test "x$lt_cv_dlopen_self" = xyes; then
   11222       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11223       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11224 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11225 if ${lt_cv_dlopen_self_static+:} false; then :
   11226   $as_echo_n "(cached) " >&6
   11227 else
   11228   	  if test "$cross_compiling" = yes; then :
   11229   lt_cv_dlopen_self_static=cross
   11230 else
   11231   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11232   lt_status=$lt_dlunknown
   11233   cat > conftest.$ac_ext <<_LT_EOF
   11234 #line $LINENO "configure"
   11235 #include "confdefs.h"
   11236 
   11237 #if HAVE_DLFCN_H
   11238 #include <dlfcn.h>
   11239 #endif
   11240 
   11241 #include <stdio.h>
   11242 
   11243 #ifdef RTLD_GLOBAL
   11244 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11245 #else
   11246 #  ifdef DL_GLOBAL
   11247 #    define LT_DLGLOBAL		DL_GLOBAL
   11248 #  else
   11249 #    define LT_DLGLOBAL		0
   11250 #  endif
   11251 #endif
   11252 
   11253 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11254    find out it does not work in some platform. */
   11255 #ifndef LT_DLLAZY_OR_NOW
   11256 #  ifdef RTLD_LAZY
   11257 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11258 #  else
   11259 #    ifdef DL_LAZY
   11260 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11261 #    else
   11262 #      ifdef RTLD_NOW
   11263 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11264 #      else
   11265 #        ifdef DL_NOW
   11266 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11267 #        else
   11268 #          define LT_DLLAZY_OR_NOW	0
   11269 #        endif
   11270 #      endif
   11271 #    endif
   11272 #  endif
   11273 #endif
   11274 
   11275 /* When -fvisbility=hidden is used, assume the code has been annotated
   11276    correspondingly for the symbols needed.  */
   11277 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11278 int fnord () __attribute__((visibility("default")));
   11279 #endif
   11280 
   11281 int fnord () { return 42; }
   11282 int main ()
   11283 {
   11284   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11285   int status = $lt_dlunknown;
   11286 
   11287   if (self)
   11288     {
   11289       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11290       else
   11291         {
   11292 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11293           else puts (dlerror ());
   11294 	}
   11295       /* dlclose (self); */
   11296     }
   11297   else
   11298     puts (dlerror ());
   11299 
   11300   return status;
   11301 }
   11302 _LT_EOF
   11303   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11304   (eval $ac_link) 2>&5
   11305   ac_status=$?
   11306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11307   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11308     (./conftest; exit; ) >&5 2>/dev/null
   11309     lt_status=$?
   11310     case x$lt_status in
   11311       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11312       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11313       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11314     esac
   11315   else :
   11316     # compilation failed
   11317     lt_cv_dlopen_self_static=no
   11318   fi
   11319 fi
   11320 rm -fr conftest*
   11321 
   11322 
   11323 fi
   11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11325 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11326     fi
   11327 
   11328     CPPFLAGS="$save_CPPFLAGS"
   11329     LDFLAGS="$save_LDFLAGS"
   11330     LIBS="$save_LIBS"
   11331     ;;
   11332   esac
   11333 
   11334   case $lt_cv_dlopen_self in
   11335   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11336   *) enable_dlopen_self=unknown ;;
   11337   esac
   11338 
   11339   case $lt_cv_dlopen_self_static in
   11340   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11341   *) enable_dlopen_self_static=unknown ;;
   11342   esac
   11343 fi
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 striplib=
   11362 old_striplib=
   11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11364 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11365 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11366   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11367   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11369 $as_echo "yes" >&6; }
   11370 else
   11371 # FIXME - insert some real tests, host_os isn't really good enough
   11372   case $host_os in
   11373   darwin*)
   11374     if test -n "$STRIP" ; then
   11375       striplib="$STRIP -x"
   11376       old_striplib="$STRIP -S"
   11377       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11378 $as_echo "yes" >&6; }
   11379     else
   11380       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11381 $as_echo "no" >&6; }
   11382     fi
   11383     ;;
   11384   *)
   11385     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11386 $as_echo "no" >&6; }
   11387     ;;
   11388   esac
   11389 fi
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402   # Report which library types will actually be built
   11403   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11404 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11406 $as_echo "$can_build_shared" >&6; }
   11407 
   11408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11409 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11410   test "$can_build_shared" = "no" && enable_shared=no
   11411 
   11412   # On AIX, shared libraries and static libraries use the same namespace, and
   11413   # are all built from PIC.
   11414   case $host_os in
   11415   aix3*)
   11416     test "$enable_shared" = yes && enable_static=no
   11417     if test -n "$RANLIB"; then
   11418       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11419       postinstall_cmds='$RANLIB $lib'
   11420     fi
   11421     ;;
   11422 
   11423   aix[4-9]*)
   11424     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11425       test "$enable_shared" = yes && enable_static=no
   11426     fi
   11427     ;;
   11428   esac
   11429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11430 $as_echo "$enable_shared" >&6; }
   11431 
   11432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11433 $as_echo_n "checking whether to build static libraries... " >&6; }
   11434   # Make sure either enable_shared or enable_static is yes.
   11435   test "$enable_shared" = yes || enable_static=yes
   11436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11437 $as_echo "$enable_static" >&6; }
   11438 
   11439 
   11440 
   11441 
   11442 fi
   11443 ac_ext=c
   11444 ac_cpp='$CPP $CPPFLAGS'
   11445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11448 
   11449 CC="$lt_save_CC"
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465         ac_config_commands="$ac_config_commands libtool"
   11466 
   11467 
   11468 
   11469 
   11470 # Only expand once:
   11471 
   11472 
   11473 
   11474 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11487 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11488 if ${ac_cv_prog_cc_c99+:} false; then :
   11489   $as_echo_n "(cached) " >&6
   11490 else
   11491   ac_cv_prog_cc_c99=no
   11492 ac_save_CC=$CC
   11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11494 /* end confdefs.h.  */
   11495 #include <stdarg.h>
   11496 #include <stdbool.h>
   11497 #include <stdlib.h>
   11498 #include <wchar.h>
   11499 #include <stdio.h>
   11500 
   11501 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11502 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11503 #define showlist(...) puts (#__VA_ARGS__)
   11504 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11505 static void
   11506 test_varargs_macros (void)
   11507 {
   11508   int x = 1234;
   11509   int y = 5678;
   11510   debug ("Flag");
   11511   debug ("X = %d\n", x);
   11512   showlist (The first, second, and third items.);
   11513   report (x>y, "x is %d but y is %d", x, y);
   11514 }
   11515 
   11516 // Check long long types.
   11517 #define BIG64 18446744073709551615ull
   11518 #define BIG32 4294967295ul
   11519 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11520 #if !BIG_OK
   11521   your preprocessor is broken;
   11522 #endif
   11523 #if BIG_OK
   11524 #else
   11525   your preprocessor is broken;
   11526 #endif
   11527 static long long int bignum = -9223372036854775807LL;
   11528 static unsigned long long int ubignum = BIG64;
   11529 
   11530 struct incomplete_array
   11531 {
   11532   int datasize;
   11533   double data[];
   11534 };
   11535 
   11536 struct named_init {
   11537   int number;
   11538   const wchar_t *name;
   11539   double average;
   11540 };
   11541 
   11542 typedef const char *ccp;
   11543 
   11544 static inline int
   11545 test_restrict (ccp restrict text)
   11546 {
   11547   // See if C++-style comments work.
   11548   // Iterate through items via the restricted pointer.
   11549   // Also check for declarations in for loops.
   11550   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11551     continue;
   11552   return 0;
   11553 }
   11554 
   11555 // Check varargs and va_copy.
   11556 static void
   11557 test_varargs (const char *format, ...)
   11558 {
   11559   va_list args;
   11560   va_start (args, format);
   11561   va_list args_copy;
   11562   va_copy (args_copy, args);
   11563 
   11564   const char *str;
   11565   int number;
   11566   float fnumber;
   11567 
   11568   while (*format)
   11569     {
   11570       switch (*format++)
   11571 	{
   11572 	case 's': // string
   11573 	  str = va_arg (args_copy, const char *);
   11574 	  break;
   11575 	case 'd': // int
   11576 	  number = va_arg (args_copy, int);
   11577 	  break;
   11578 	case 'f': // float
   11579 	  fnumber = va_arg (args_copy, double);
   11580 	  break;
   11581 	default:
   11582 	  break;
   11583 	}
   11584     }
   11585   va_end (args_copy);
   11586   va_end (args);
   11587 }
   11588 
   11589 int
   11590 main ()
   11591 {
   11592 
   11593   // Check bool.
   11594   _Bool success = false;
   11595 
   11596   // Check restrict.
   11597   if (test_restrict ("String literal") == 0)
   11598     success = true;
   11599   char *restrict newvar = "Another string";
   11600 
   11601   // Check varargs.
   11602   test_varargs ("s, d' f .", "string", 65, 34.234);
   11603   test_varargs_macros ();
   11604 
   11605   // Check flexible array members.
   11606   struct incomplete_array *ia =
   11607     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11608   ia->datasize = 10;
   11609   for (int i = 0; i < ia->datasize; ++i)
   11610     ia->data[i] = i * 1.234;
   11611 
   11612   // Check named initializers.
   11613   struct named_init ni = {
   11614     .number = 34,
   11615     .name = L"Test wide string",
   11616     .average = 543.34343,
   11617   };
   11618 
   11619   ni.number = 58;
   11620 
   11621   int dynamic_array[ni.number];
   11622   dynamic_array[ni.number - 1] = 543;
   11623 
   11624   // work around unused variable warnings
   11625   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11626 	  || dynamic_array[ni.number - 1] != 543);
   11627 
   11628   ;
   11629   return 0;
   11630 }
   11631 _ACEOF
   11632 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11633 do
   11634   CC="$ac_save_CC $ac_arg"
   11635   if ac_fn_c_try_compile "$LINENO"; then :
   11636   ac_cv_prog_cc_c99=$ac_arg
   11637 fi
   11638 rm -f core conftest.err conftest.$ac_objext
   11639   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11640 done
   11641 rm -f conftest.$ac_ext
   11642 CC=$ac_save_CC
   11643 
   11644 fi
   11645 # AC_CACHE_VAL
   11646 case "x$ac_cv_prog_cc_c99" in
   11647   x)
   11648     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11649 $as_echo "none needed" >&6; } ;;
   11650   xno)
   11651     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11652 $as_echo "unsupported" >&6; } ;;
   11653   *)
   11654     CC="$CC $ac_cv_prog_cc_c99"
   11655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11656 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11657 esac
   11658 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11659 
   11660 fi
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11668 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11669   CLANGCC="yes"
   11670 else
   11671   CLANGCC="no"
   11672 fi
   11673 
   11674 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11675 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11676   INTELCC="yes"
   11677 else
   11678   INTELCC="no"
   11679 fi
   11680 
   11681 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11682 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11683   SUNCC="yes"
   11684 else
   11685   SUNCC="no"
   11686 fi
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11697 	if test -n "$ac_tool_prefix"; then
   11698   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11699 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11701 $as_echo_n "checking for $ac_word... " >&6; }
   11702 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11703   $as_echo_n "(cached) " >&6
   11704 else
   11705   case $PKG_CONFIG in
   11706   [\\/]* | ?:[\\/]*)
   11707   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11708   ;;
   11709   *)
   11710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11711 for as_dir in $PATH
   11712 do
   11713   IFS=$as_save_IFS
   11714   test -z "$as_dir" && as_dir=.
   11715     for ac_exec_ext in '' $ac_executable_extensions; do
   11716   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11717     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11719     break 2
   11720   fi
   11721 done
   11722   done
   11723 IFS=$as_save_IFS
   11724 
   11725   ;;
   11726 esac
   11727 fi
   11728 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11729 if test -n "$PKG_CONFIG"; then
   11730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11731 $as_echo "$PKG_CONFIG" >&6; }
   11732 else
   11733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11734 $as_echo "no" >&6; }
   11735 fi
   11736 
   11737 
   11738 fi
   11739 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11740   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11741   # Extract the first word of "pkg-config", so it can be a program name with args.
   11742 set dummy pkg-config; ac_word=$2
   11743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11744 $as_echo_n "checking for $ac_word... " >&6; }
   11745 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11746   $as_echo_n "(cached) " >&6
   11747 else
   11748   case $ac_pt_PKG_CONFIG in
   11749   [\\/]* | ?:[\\/]*)
   11750   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11751   ;;
   11752   *)
   11753   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11754 for as_dir in $PATH
   11755 do
   11756   IFS=$as_save_IFS
   11757   test -z "$as_dir" && as_dir=.
   11758     for ac_exec_ext in '' $ac_executable_extensions; do
   11759   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11760     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11762     break 2
   11763   fi
   11764 done
   11765   done
   11766 IFS=$as_save_IFS
   11767 
   11768   ;;
   11769 esac
   11770 fi
   11771 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11772 if test -n "$ac_pt_PKG_CONFIG"; then
   11773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11774 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11775 else
   11776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11777 $as_echo "no" >&6; }
   11778 fi
   11779 
   11780   if test "x$ac_pt_PKG_CONFIG" = x; then
   11781     PKG_CONFIG=""
   11782   else
   11783     case $cross_compiling:$ac_tool_warned in
   11784 yes:)
   11785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11787 ac_tool_warned=yes ;;
   11788 esac
   11789     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11790   fi
   11791 else
   11792   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11793 fi
   11794 
   11795 fi
   11796 if test -n "$PKG_CONFIG"; then
   11797 	_pkg_min_version=0.9.0
   11798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11799 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11800 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11802 $as_echo "yes" >&6; }
   11803 	else
   11804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11805 $as_echo "no" >&6; }
   11806 		PKG_CONFIG=""
   11807 	fi
   11808 fi
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 # Check whether --enable-selective-werror was given.
   11815 if test "${enable_selective_werror+set}" = set; then :
   11816   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11817 else
   11818   SELECTIVE_WERROR=yes
   11819 fi
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11826 if test "x$SUNCC" = "xyes"; then
   11827     BASE_CFLAGS="-v"
   11828 else
   11829     BASE_CFLAGS=""
   11830 fi
   11831 
   11832 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 xorg_testset_save_CFLAGS="$CFLAGS"
   11847 
   11848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11851 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11852 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11853   $as_echo_n "(cached) " >&6
   11854 else
   11855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11856 /* end confdefs.h.  */
   11857 int i;
   11858 _ACEOF
   11859 if ac_fn_c_try_compile "$LINENO"; then :
   11860   xorg_cv_cc_flag_unknown_warning_option=yes
   11861 else
   11862   xorg_cv_cc_flag_unknown_warning_option=no
   11863 fi
   11864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11865 fi
   11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11867 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11868 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11869 	CFLAGS="$xorg_testset_save_CFLAGS"
   11870 fi
   11871 
   11872 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11873 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11874 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11875 	fi
   11876 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11878 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11879 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11880   $as_echo_n "(cached) " >&6
   11881 else
   11882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11883 /* end confdefs.h.  */
   11884 int i;
   11885 _ACEOF
   11886 if ac_fn_c_try_compile "$LINENO"; then :
   11887   xorg_cv_cc_flag_unused_command_line_argument=yes
   11888 else
   11889   xorg_cv_cc_flag_unused_command_line_argument=no
   11890 fi
   11891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11892 fi
   11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11894 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11896 	CFLAGS="$xorg_testset_save_CFLAGS"
   11897 fi
   11898 
   11899 found="no"
   11900 
   11901 	if test $found = "no" ; then
   11902 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11904 		fi
   11905 
   11906 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11908 		fi
   11909 
   11910 		CFLAGS="$CFLAGS -Wall"
   11911 
   11912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wall" >&5
   11913 $as_echo_n "checking if $CC supports-Wall... " >&6; }
   11914 		cacheid=xorg_cv_cc_flag__Wall
   11915 		if eval \${$cacheid+:} false; then :
   11916   $as_echo_n "(cached) " >&6
   11917 else
   11918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11919 /* end confdefs.h.  */
   11920 int i;
   11921 int
   11922 main ()
   11923 {
   11924 
   11925   ;
   11926   return 0;
   11927 }
   11928 _ACEOF
   11929 if ac_fn_c_try_link "$LINENO"; then :
   11930   eval $cacheid=yes
   11931 else
   11932   eval $cacheid=no
   11933 fi
   11934 rm -f core conftest.err conftest.$ac_objext \
   11935     conftest$ac_exeext conftest.$ac_ext
   11936 fi
   11937 
   11938 
   11939 		CFLAGS="$xorg_testset_save_CFLAGS"
   11940 
   11941 		eval supported=\$$cacheid
   11942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11943 $as_echo "$supported" >&6; }
   11944 		if test "$supported" = "yes" ; then
   11945 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11946 			found="yes"
   11947 		fi
   11948 	fi
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 xorg_testset_save_CFLAGS="$CFLAGS"
   11965 
   11966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11969 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11970 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11971   $as_echo_n "(cached) " >&6
   11972 else
   11973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11974 /* end confdefs.h.  */
   11975 int i;
   11976 _ACEOF
   11977 if ac_fn_c_try_compile "$LINENO"; then :
   11978   xorg_cv_cc_flag_unknown_warning_option=yes
   11979 else
   11980   xorg_cv_cc_flag_unknown_warning_option=no
   11981 fi
   11982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11983 fi
   11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11985 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11987 	CFLAGS="$xorg_testset_save_CFLAGS"
   11988 fi
   11989 
   11990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11993 	fi
   11994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11996 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11997 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11998   $as_echo_n "(cached) " >&6
   11999 else
   12000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12001 /* end confdefs.h.  */
   12002 int i;
   12003 _ACEOF
   12004 if ac_fn_c_try_compile "$LINENO"; then :
   12005   xorg_cv_cc_flag_unused_command_line_argument=yes
   12006 else
   12007   xorg_cv_cc_flag_unused_command_line_argument=no
   12008 fi
   12009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12010 fi
   12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12012 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12014 	CFLAGS="$xorg_testset_save_CFLAGS"
   12015 fi
   12016 
   12017 found="no"
   12018 
   12019 	if test $found = "no" ; then
   12020 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12022 		fi
   12023 
   12024 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12026 		fi
   12027 
   12028 		CFLAGS="$CFLAGS -Wpointer-arith"
   12029 
   12030 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-arith" >&5
   12031 $as_echo_n "checking if $CC supports-Wpointer-arith... " >&6; }
   12032 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12033 		if eval \${$cacheid+:} false; then :
   12034   $as_echo_n "(cached) " >&6
   12035 else
   12036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12037 /* end confdefs.h.  */
   12038 int i;
   12039 int
   12040 main ()
   12041 {
   12042 
   12043   ;
   12044   return 0;
   12045 }
   12046 _ACEOF
   12047 if ac_fn_c_try_link "$LINENO"; then :
   12048   eval $cacheid=yes
   12049 else
   12050   eval $cacheid=no
   12051 fi
   12052 rm -f core conftest.err conftest.$ac_objext \
   12053     conftest$ac_exeext conftest.$ac_ext
   12054 fi
   12055 
   12056 
   12057 		CFLAGS="$xorg_testset_save_CFLAGS"
   12058 
   12059 		eval supported=\$$cacheid
   12060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12061 $as_echo "$supported" >&6; }
   12062 		if test "$supported" = "yes" ; then
   12063 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12064 			found="yes"
   12065 		fi
   12066 	fi
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 xorg_testset_save_CFLAGS="$CFLAGS"
   12083 
   12084 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12085 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12087 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12088 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12089   $as_echo_n "(cached) " >&6
   12090 else
   12091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12092 /* end confdefs.h.  */
   12093 int i;
   12094 _ACEOF
   12095 if ac_fn_c_try_compile "$LINENO"; then :
   12096   xorg_cv_cc_flag_unknown_warning_option=yes
   12097 else
   12098   xorg_cv_cc_flag_unknown_warning_option=no
   12099 fi
   12100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12101 fi
   12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12103 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12104 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12105 	CFLAGS="$xorg_testset_save_CFLAGS"
   12106 fi
   12107 
   12108 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12109 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12110 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12111 	fi
   12112 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12114 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12115 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12116   $as_echo_n "(cached) " >&6
   12117 else
   12118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12119 /* end confdefs.h.  */
   12120 int i;
   12121 _ACEOF
   12122 if ac_fn_c_try_compile "$LINENO"; then :
   12123   xorg_cv_cc_flag_unused_command_line_argument=yes
   12124 else
   12125   xorg_cv_cc_flag_unused_command_line_argument=no
   12126 fi
   12127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12128 fi
   12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12130 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12131 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12132 	CFLAGS="$xorg_testset_save_CFLAGS"
   12133 fi
   12134 
   12135 found="no"
   12136 
   12137 	if test $found = "no" ; then
   12138 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12140 		fi
   12141 
   12142 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12144 		fi
   12145 
   12146 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12147 
   12148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-declarations" >&5
   12149 $as_echo_n "checking if $CC supports-Wmissing-declarations... " >&6; }
   12150 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12151 		if eval \${$cacheid+:} false; then :
   12152   $as_echo_n "(cached) " >&6
   12153 else
   12154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12155 /* end confdefs.h.  */
   12156 int i;
   12157 int
   12158 main ()
   12159 {
   12160 
   12161   ;
   12162   return 0;
   12163 }
   12164 _ACEOF
   12165 if ac_fn_c_try_link "$LINENO"; then :
   12166   eval $cacheid=yes
   12167 else
   12168   eval $cacheid=no
   12169 fi
   12170 rm -f core conftest.err conftest.$ac_objext \
   12171     conftest$ac_exeext conftest.$ac_ext
   12172 fi
   12173 
   12174 
   12175 		CFLAGS="$xorg_testset_save_CFLAGS"
   12176 
   12177 		eval supported=\$$cacheid
   12178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12179 $as_echo "$supported" >&6; }
   12180 		if test "$supported" = "yes" ; then
   12181 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12182 			found="yes"
   12183 		fi
   12184 	fi
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 xorg_testset_save_CFLAGS="$CFLAGS"
   12201 
   12202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12205 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12206 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12207   $as_echo_n "(cached) " >&6
   12208 else
   12209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12210 /* end confdefs.h.  */
   12211 int i;
   12212 _ACEOF
   12213 if ac_fn_c_try_compile "$LINENO"; then :
   12214   xorg_cv_cc_flag_unknown_warning_option=yes
   12215 else
   12216   xorg_cv_cc_flag_unknown_warning_option=no
   12217 fi
   12218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12219 fi
   12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12221 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12223 	CFLAGS="$xorg_testset_save_CFLAGS"
   12224 fi
   12225 
   12226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12229 	fi
   12230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12232 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12233 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12234   $as_echo_n "(cached) " >&6
   12235 else
   12236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12237 /* end confdefs.h.  */
   12238 int i;
   12239 _ACEOF
   12240 if ac_fn_c_try_compile "$LINENO"; then :
   12241   xorg_cv_cc_flag_unused_command_line_argument=yes
   12242 else
   12243   xorg_cv_cc_flag_unused_command_line_argument=no
   12244 fi
   12245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12246 fi
   12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12248 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12250 	CFLAGS="$xorg_testset_save_CFLAGS"
   12251 fi
   12252 
   12253 found="no"
   12254 
   12255 	if test $found = "no" ; then
   12256 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12258 		fi
   12259 
   12260 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12262 		fi
   12263 
   12264 		CFLAGS="$CFLAGS -Wformat=2"
   12265 
   12266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat=2" >&5
   12267 $as_echo_n "checking if $CC supports-Wformat=2... " >&6; }
   12268 		cacheid=xorg_cv_cc_flag__Wformat_2
   12269 		if eval \${$cacheid+:} false; then :
   12270   $as_echo_n "(cached) " >&6
   12271 else
   12272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12273 /* end confdefs.h.  */
   12274 int i;
   12275 int
   12276 main ()
   12277 {
   12278 
   12279   ;
   12280   return 0;
   12281 }
   12282 _ACEOF
   12283 if ac_fn_c_try_link "$LINENO"; then :
   12284   eval $cacheid=yes
   12285 else
   12286   eval $cacheid=no
   12287 fi
   12288 rm -f core conftest.err conftest.$ac_objext \
   12289     conftest$ac_exeext conftest.$ac_ext
   12290 fi
   12291 
   12292 
   12293 		CFLAGS="$xorg_testset_save_CFLAGS"
   12294 
   12295 		eval supported=\$$cacheid
   12296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12297 $as_echo "$supported" >&6; }
   12298 		if test "$supported" = "yes" ; then
   12299 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12300 			found="yes"
   12301 		fi
   12302 	fi
   12303 
   12304 	if test $found = "no" ; then
   12305 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12307 		fi
   12308 
   12309 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12311 		fi
   12312 
   12313 		CFLAGS="$CFLAGS -Wformat"
   12314 
   12315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wformat" >&5
   12316 $as_echo_n "checking if $CC supports-Wformat... " >&6; }
   12317 		cacheid=xorg_cv_cc_flag__Wformat
   12318 		if eval \${$cacheid+:} false; then :
   12319   $as_echo_n "(cached) " >&6
   12320 else
   12321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12322 /* end confdefs.h.  */
   12323 int i;
   12324 int
   12325 main ()
   12326 {
   12327 
   12328   ;
   12329   return 0;
   12330 }
   12331 _ACEOF
   12332 if ac_fn_c_try_link "$LINENO"; then :
   12333   eval $cacheid=yes
   12334 else
   12335   eval $cacheid=no
   12336 fi
   12337 rm -f core conftest.err conftest.$ac_objext \
   12338     conftest$ac_exeext conftest.$ac_ext
   12339 fi
   12340 
   12341 
   12342 		CFLAGS="$xorg_testset_save_CFLAGS"
   12343 
   12344 		eval supported=\$$cacheid
   12345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12346 $as_echo "$supported" >&6; }
   12347 		if test "$supported" = "yes" ; then
   12348 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12349 			found="yes"
   12350 		fi
   12351 	fi
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 xorg_testset_save_CFLAGS="$CFLAGS"
   12370 
   12371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12373 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12374 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12375 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12376   $as_echo_n "(cached) " >&6
   12377 else
   12378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12379 /* end confdefs.h.  */
   12380 int i;
   12381 _ACEOF
   12382 if ac_fn_c_try_compile "$LINENO"; then :
   12383   xorg_cv_cc_flag_unknown_warning_option=yes
   12384 else
   12385   xorg_cv_cc_flag_unknown_warning_option=no
   12386 fi
   12387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12388 fi
   12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12390 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12392 	CFLAGS="$xorg_testset_save_CFLAGS"
   12393 fi
   12394 
   12395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12398 	fi
   12399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12401 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12402 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12403   $as_echo_n "(cached) " >&6
   12404 else
   12405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12406 /* end confdefs.h.  */
   12407 int i;
   12408 _ACEOF
   12409 if ac_fn_c_try_compile "$LINENO"; then :
   12410   xorg_cv_cc_flag_unused_command_line_argument=yes
   12411 else
   12412   xorg_cv_cc_flag_unused_command_line_argument=no
   12413 fi
   12414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12415 fi
   12416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12417 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12418 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12419 	CFLAGS="$xorg_testset_save_CFLAGS"
   12420 fi
   12421 
   12422 found="no"
   12423 
   12424 	if test $found = "no" ; then
   12425 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12427 		fi
   12428 
   12429 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12431 		fi
   12432 
   12433 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12434 
   12435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wstrict-prototypes" >&5
   12436 $as_echo_n "checking if $CC supports-Wstrict-prototypes... " >&6; }
   12437 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12438 		if eval \${$cacheid+:} false; then :
   12439   $as_echo_n "(cached) " >&6
   12440 else
   12441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12442 /* end confdefs.h.  */
   12443 int i;
   12444 int
   12445 main ()
   12446 {
   12447 
   12448   ;
   12449   return 0;
   12450 }
   12451 _ACEOF
   12452 if ac_fn_c_try_link "$LINENO"; then :
   12453   eval $cacheid=yes
   12454 else
   12455   eval $cacheid=no
   12456 fi
   12457 rm -f core conftest.err conftest.$ac_objext \
   12458     conftest$ac_exeext conftest.$ac_ext
   12459 fi
   12460 
   12461 
   12462 		CFLAGS="$xorg_testset_save_CFLAGS"
   12463 
   12464 		eval supported=\$$cacheid
   12465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12466 $as_echo "$supported" >&6; }
   12467 		if test "$supported" = "yes" ; then
   12468 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12469 			found="yes"
   12470 		fi
   12471 	fi
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 xorg_testset_save_CFLAGS="$CFLAGS"
   12488 
   12489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12492 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12493 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12494   $as_echo_n "(cached) " >&6
   12495 else
   12496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12497 /* end confdefs.h.  */
   12498 int i;
   12499 _ACEOF
   12500 if ac_fn_c_try_compile "$LINENO"; then :
   12501   xorg_cv_cc_flag_unknown_warning_option=yes
   12502 else
   12503   xorg_cv_cc_flag_unknown_warning_option=no
   12504 fi
   12505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12506 fi
   12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12508 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12510 	CFLAGS="$xorg_testset_save_CFLAGS"
   12511 fi
   12512 
   12513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12516 	fi
   12517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12519 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12520 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12521   $as_echo_n "(cached) " >&6
   12522 else
   12523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12524 /* end confdefs.h.  */
   12525 int i;
   12526 _ACEOF
   12527 if ac_fn_c_try_compile "$LINENO"; then :
   12528   xorg_cv_cc_flag_unused_command_line_argument=yes
   12529 else
   12530   xorg_cv_cc_flag_unused_command_line_argument=no
   12531 fi
   12532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12533 fi
   12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12535 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12537 	CFLAGS="$xorg_testset_save_CFLAGS"
   12538 fi
   12539 
   12540 found="no"
   12541 
   12542 	if test $found = "no" ; then
   12543 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12545 		fi
   12546 
   12547 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12549 		fi
   12550 
   12551 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12552 
   12553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-prototypes" >&5
   12554 $as_echo_n "checking if $CC supports-Wmissing-prototypes... " >&6; }
   12555 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12556 		if eval \${$cacheid+:} false; then :
   12557   $as_echo_n "(cached) " >&6
   12558 else
   12559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12560 /* end confdefs.h.  */
   12561 int i;
   12562 int
   12563 main ()
   12564 {
   12565 
   12566   ;
   12567   return 0;
   12568 }
   12569 _ACEOF
   12570 if ac_fn_c_try_link "$LINENO"; then :
   12571   eval $cacheid=yes
   12572 else
   12573   eval $cacheid=no
   12574 fi
   12575 rm -f core conftest.err conftest.$ac_objext \
   12576     conftest$ac_exeext conftest.$ac_ext
   12577 fi
   12578 
   12579 
   12580 		CFLAGS="$xorg_testset_save_CFLAGS"
   12581 
   12582 		eval supported=\$$cacheid
   12583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12584 $as_echo "$supported" >&6; }
   12585 		if test "$supported" = "yes" ; then
   12586 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12587 			found="yes"
   12588 		fi
   12589 	fi
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 
   12605 xorg_testset_save_CFLAGS="$CFLAGS"
   12606 
   12607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12612   $as_echo_n "(cached) " >&6
   12613 else
   12614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12615 /* end confdefs.h.  */
   12616 int i;
   12617 _ACEOF
   12618 if ac_fn_c_try_compile "$LINENO"; then :
   12619   xorg_cv_cc_flag_unknown_warning_option=yes
   12620 else
   12621   xorg_cv_cc_flag_unknown_warning_option=no
   12622 fi
   12623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12624 fi
   12625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12628 	CFLAGS="$xorg_testset_save_CFLAGS"
   12629 fi
   12630 
   12631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12634 	fi
   12635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12639   $as_echo_n "(cached) " >&6
   12640 else
   12641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12642 /* end confdefs.h.  */
   12643 int i;
   12644 _ACEOF
   12645 if ac_fn_c_try_compile "$LINENO"; then :
   12646   xorg_cv_cc_flag_unused_command_line_argument=yes
   12647 else
   12648   xorg_cv_cc_flag_unused_command_line_argument=no
   12649 fi
   12650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12651 fi
   12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12655 	CFLAGS="$xorg_testset_save_CFLAGS"
   12656 fi
   12657 
   12658 found="no"
   12659 
   12660 	if test $found = "no" ; then
   12661 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12663 		fi
   12664 
   12665 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12667 		fi
   12668 
   12669 		CFLAGS="$CFLAGS -Wnested-externs"
   12670 
   12671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnested-externs" >&5
   12672 $as_echo_n "checking if $CC supports-Wnested-externs... " >&6; }
   12673 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12674 		if eval \${$cacheid+:} false; then :
   12675   $as_echo_n "(cached) " >&6
   12676 else
   12677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12678 /* end confdefs.h.  */
   12679 int i;
   12680 int
   12681 main ()
   12682 {
   12683 
   12684   ;
   12685   return 0;
   12686 }
   12687 _ACEOF
   12688 if ac_fn_c_try_link "$LINENO"; then :
   12689   eval $cacheid=yes
   12690 else
   12691   eval $cacheid=no
   12692 fi
   12693 rm -f core conftest.err conftest.$ac_objext \
   12694     conftest$ac_exeext conftest.$ac_ext
   12695 fi
   12696 
   12697 
   12698 		CFLAGS="$xorg_testset_save_CFLAGS"
   12699 
   12700 		eval supported=\$$cacheid
   12701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12702 $as_echo "$supported" >&6; }
   12703 		if test "$supported" = "yes" ; then
   12704 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12705 			found="yes"
   12706 		fi
   12707 	fi
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 xorg_testset_save_CFLAGS="$CFLAGS"
   12724 
   12725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12730   $as_echo_n "(cached) " >&6
   12731 else
   12732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12733 /* end confdefs.h.  */
   12734 int i;
   12735 _ACEOF
   12736 if ac_fn_c_try_compile "$LINENO"; then :
   12737   xorg_cv_cc_flag_unknown_warning_option=yes
   12738 else
   12739   xorg_cv_cc_flag_unknown_warning_option=no
   12740 fi
   12741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12742 fi
   12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12746 	CFLAGS="$xorg_testset_save_CFLAGS"
   12747 fi
   12748 
   12749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12752 	fi
   12753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12757   $as_echo_n "(cached) " >&6
   12758 else
   12759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12760 /* end confdefs.h.  */
   12761 int i;
   12762 _ACEOF
   12763 if ac_fn_c_try_compile "$LINENO"; then :
   12764   xorg_cv_cc_flag_unused_command_line_argument=yes
   12765 else
   12766   xorg_cv_cc_flag_unused_command_line_argument=no
   12767 fi
   12768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12769 fi
   12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12773 	CFLAGS="$xorg_testset_save_CFLAGS"
   12774 fi
   12775 
   12776 found="no"
   12777 
   12778 	if test $found = "no" ; then
   12779 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12781 		fi
   12782 
   12783 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12785 		fi
   12786 
   12787 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12788 
   12789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wbad-function-cast" >&5
   12790 $as_echo_n "checking if $CC supports-Wbad-function-cast... " >&6; }
   12791 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12792 		if eval \${$cacheid+:} false; then :
   12793   $as_echo_n "(cached) " >&6
   12794 else
   12795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12796 /* end confdefs.h.  */
   12797 int i;
   12798 int
   12799 main ()
   12800 {
   12801 
   12802   ;
   12803   return 0;
   12804 }
   12805 _ACEOF
   12806 if ac_fn_c_try_link "$LINENO"; then :
   12807   eval $cacheid=yes
   12808 else
   12809   eval $cacheid=no
   12810 fi
   12811 rm -f core conftest.err conftest.$ac_objext \
   12812     conftest$ac_exeext conftest.$ac_ext
   12813 fi
   12814 
   12815 
   12816 		CFLAGS="$xorg_testset_save_CFLAGS"
   12817 
   12818 		eval supported=\$$cacheid
   12819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12820 $as_echo "$supported" >&6; }
   12821 		if test "$supported" = "yes" ; then
   12822 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12823 			found="yes"
   12824 		fi
   12825 	fi
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 xorg_testset_save_CFLAGS="$CFLAGS"
   12842 
   12843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12848   $as_echo_n "(cached) " >&6
   12849 else
   12850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12851 /* end confdefs.h.  */
   12852 int i;
   12853 _ACEOF
   12854 if ac_fn_c_try_compile "$LINENO"; then :
   12855   xorg_cv_cc_flag_unknown_warning_option=yes
   12856 else
   12857   xorg_cv_cc_flag_unknown_warning_option=no
   12858 fi
   12859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12860 fi
   12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12864 	CFLAGS="$xorg_testset_save_CFLAGS"
   12865 fi
   12866 
   12867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12870 	fi
   12871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12875   $as_echo_n "(cached) " >&6
   12876 else
   12877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12878 /* end confdefs.h.  */
   12879 int i;
   12880 _ACEOF
   12881 if ac_fn_c_try_compile "$LINENO"; then :
   12882   xorg_cv_cc_flag_unused_command_line_argument=yes
   12883 else
   12884   xorg_cv_cc_flag_unused_command_line_argument=no
   12885 fi
   12886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12887 fi
   12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12891 	CFLAGS="$xorg_testset_save_CFLAGS"
   12892 fi
   12893 
   12894 found="no"
   12895 
   12896 	if test $found = "no" ; then
   12897 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12899 		fi
   12900 
   12901 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12903 		fi
   12904 
   12905 		CFLAGS="$CFLAGS -Wold-style-definition"
   12906 
   12907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wold-style-definition" >&5
   12908 $as_echo_n "checking if $CC supports-Wold-style-definition... " >&6; }
   12909 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12910 		if eval \${$cacheid+:} false; then :
   12911   $as_echo_n "(cached) " >&6
   12912 else
   12913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12914 /* end confdefs.h.  */
   12915 int i;
   12916 int
   12917 main ()
   12918 {
   12919 
   12920   ;
   12921   return 0;
   12922 }
   12923 _ACEOF
   12924 if ac_fn_c_try_link "$LINENO"; then :
   12925   eval $cacheid=yes
   12926 else
   12927   eval $cacheid=no
   12928 fi
   12929 rm -f core conftest.err conftest.$ac_objext \
   12930     conftest$ac_exeext conftest.$ac_ext
   12931 fi
   12932 
   12933 
   12934 		CFLAGS="$xorg_testset_save_CFLAGS"
   12935 
   12936 		eval supported=\$$cacheid
   12937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12938 $as_echo "$supported" >&6; }
   12939 		if test "$supported" = "yes" ; then
   12940 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12941 			found="yes"
   12942 		fi
   12943 	fi
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 xorg_testset_save_CFLAGS="$CFLAGS"
   12960 
   12961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12966   $as_echo_n "(cached) " >&6
   12967 else
   12968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12969 /* end confdefs.h.  */
   12970 int i;
   12971 _ACEOF
   12972 if ac_fn_c_try_compile "$LINENO"; then :
   12973   xorg_cv_cc_flag_unknown_warning_option=yes
   12974 else
   12975   xorg_cv_cc_flag_unknown_warning_option=no
   12976 fi
   12977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12978 fi
   12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12982 	CFLAGS="$xorg_testset_save_CFLAGS"
   12983 fi
   12984 
   12985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12988 	fi
   12989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12993   $as_echo_n "(cached) " >&6
   12994 else
   12995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12996 /* end confdefs.h.  */
   12997 int i;
   12998 _ACEOF
   12999 if ac_fn_c_try_compile "$LINENO"; then :
   13000   xorg_cv_cc_flag_unused_command_line_argument=yes
   13001 else
   13002   xorg_cv_cc_flag_unused_command_line_argument=no
   13003 fi
   13004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13005 fi
   13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13009 	CFLAGS="$xorg_testset_save_CFLAGS"
   13010 fi
   13011 
   13012 found="no"
   13013 
   13014 	if test $found = "no" ; then
   13015 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13017 		fi
   13018 
   13019 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13021 		fi
   13022 
   13023 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13024 
   13025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wdeclaration-after-statement" >&5
   13026 $as_echo_n "checking if $CC supports-Wdeclaration-after-statement... " >&6; }
   13027 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13028 		if eval \${$cacheid+:} false; then :
   13029   $as_echo_n "(cached) " >&6
   13030 else
   13031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13032 /* end confdefs.h.  */
   13033 int i;
   13034 int
   13035 main ()
   13036 {
   13037 
   13038   ;
   13039   return 0;
   13040 }
   13041 _ACEOF
   13042 if ac_fn_c_try_link "$LINENO"; then :
   13043   eval $cacheid=yes
   13044 else
   13045   eval $cacheid=no
   13046 fi
   13047 rm -f core conftest.err conftest.$ac_objext \
   13048     conftest$ac_exeext conftest.$ac_ext
   13049 fi
   13050 
   13051 
   13052 		CFLAGS="$xorg_testset_save_CFLAGS"
   13053 
   13054 		eval supported=\$$cacheid
   13055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13056 $as_echo "$supported" >&6; }
   13057 		if test "$supported" = "yes" ; then
   13058 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13059 			found="yes"
   13060 		fi
   13061 	fi
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 # This chunk adds additional warnings that could catch undesired effects.
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 xorg_testset_save_CFLAGS="$CFLAGS"
   13082 
   13083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13088   $as_echo_n "(cached) " >&6
   13089 else
   13090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13091 /* end confdefs.h.  */
   13092 int i;
   13093 _ACEOF
   13094 if ac_fn_c_try_compile "$LINENO"; then :
   13095   xorg_cv_cc_flag_unknown_warning_option=yes
   13096 else
   13097   xorg_cv_cc_flag_unknown_warning_option=no
   13098 fi
   13099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13100 fi
   13101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13104 	CFLAGS="$xorg_testset_save_CFLAGS"
   13105 fi
   13106 
   13107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13110 	fi
   13111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13115   $as_echo_n "(cached) " >&6
   13116 else
   13117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13118 /* end confdefs.h.  */
   13119 int i;
   13120 _ACEOF
   13121 if ac_fn_c_try_compile "$LINENO"; then :
   13122   xorg_cv_cc_flag_unused_command_line_argument=yes
   13123 else
   13124   xorg_cv_cc_flag_unused_command_line_argument=no
   13125 fi
   13126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13127 fi
   13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13131 	CFLAGS="$xorg_testset_save_CFLAGS"
   13132 fi
   13133 
   13134 found="no"
   13135 
   13136 	if test $found = "no" ; then
   13137 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13139 		fi
   13140 
   13141 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13143 		fi
   13144 
   13145 		CFLAGS="$CFLAGS -Wunused"
   13146 
   13147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wunused" >&5
   13148 $as_echo_n "checking if $CC supports-Wunused... " >&6; }
   13149 		cacheid=xorg_cv_cc_flag__Wunused
   13150 		if eval \${$cacheid+:} false; then :
   13151   $as_echo_n "(cached) " >&6
   13152 else
   13153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13154 /* end confdefs.h.  */
   13155 int i;
   13156 int
   13157 main ()
   13158 {
   13159 
   13160   ;
   13161   return 0;
   13162 }
   13163 _ACEOF
   13164 if ac_fn_c_try_link "$LINENO"; then :
   13165   eval $cacheid=yes
   13166 else
   13167   eval $cacheid=no
   13168 fi
   13169 rm -f core conftest.err conftest.$ac_objext \
   13170     conftest$ac_exeext conftest.$ac_ext
   13171 fi
   13172 
   13173 
   13174 		CFLAGS="$xorg_testset_save_CFLAGS"
   13175 
   13176 		eval supported=\$$cacheid
   13177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13178 $as_echo "$supported" >&6; }
   13179 		if test "$supported" = "yes" ; then
   13180 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13181 			found="yes"
   13182 		fi
   13183 	fi
   13184 
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 xorg_testset_save_CFLAGS="$CFLAGS"
   13200 
   13201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13206   $as_echo_n "(cached) " >&6
   13207 else
   13208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13209 /* end confdefs.h.  */
   13210 int i;
   13211 _ACEOF
   13212 if ac_fn_c_try_compile "$LINENO"; then :
   13213   xorg_cv_cc_flag_unknown_warning_option=yes
   13214 else
   13215   xorg_cv_cc_flag_unknown_warning_option=no
   13216 fi
   13217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13218 fi
   13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13222 	CFLAGS="$xorg_testset_save_CFLAGS"
   13223 fi
   13224 
   13225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13228 	fi
   13229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13233   $as_echo_n "(cached) " >&6
   13234 else
   13235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13236 /* end confdefs.h.  */
   13237 int i;
   13238 _ACEOF
   13239 if ac_fn_c_try_compile "$LINENO"; then :
   13240   xorg_cv_cc_flag_unused_command_line_argument=yes
   13241 else
   13242   xorg_cv_cc_flag_unused_command_line_argument=no
   13243 fi
   13244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13245 fi
   13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13249 	CFLAGS="$xorg_testset_save_CFLAGS"
   13250 fi
   13251 
   13252 found="no"
   13253 
   13254 	if test $found = "no" ; then
   13255 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13257 		fi
   13258 
   13259 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13261 		fi
   13262 
   13263 		CFLAGS="$CFLAGS -Wuninitialized"
   13264 
   13265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wuninitialized" >&5
   13266 $as_echo_n "checking if $CC supports-Wuninitialized... " >&6; }
   13267 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13268 		if eval \${$cacheid+:} false; then :
   13269   $as_echo_n "(cached) " >&6
   13270 else
   13271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13272 /* end confdefs.h.  */
   13273 int i;
   13274 int
   13275 main ()
   13276 {
   13277 
   13278   ;
   13279   return 0;
   13280 }
   13281 _ACEOF
   13282 if ac_fn_c_try_link "$LINENO"; then :
   13283   eval $cacheid=yes
   13284 else
   13285   eval $cacheid=no
   13286 fi
   13287 rm -f core conftest.err conftest.$ac_objext \
   13288     conftest$ac_exeext conftest.$ac_ext
   13289 fi
   13290 
   13291 
   13292 		CFLAGS="$xorg_testset_save_CFLAGS"
   13293 
   13294 		eval supported=\$$cacheid
   13295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13296 $as_echo "$supported" >&6; }
   13297 		if test "$supported" = "yes" ; then
   13298 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13299 			found="yes"
   13300 		fi
   13301 	fi
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 xorg_testset_save_CFLAGS="$CFLAGS"
   13318 
   13319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13324   $as_echo_n "(cached) " >&6
   13325 else
   13326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13327 /* end confdefs.h.  */
   13328 int i;
   13329 _ACEOF
   13330 if ac_fn_c_try_compile "$LINENO"; then :
   13331   xorg_cv_cc_flag_unknown_warning_option=yes
   13332 else
   13333   xorg_cv_cc_flag_unknown_warning_option=no
   13334 fi
   13335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13336 fi
   13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13340 	CFLAGS="$xorg_testset_save_CFLAGS"
   13341 fi
   13342 
   13343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13346 	fi
   13347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13351   $as_echo_n "(cached) " >&6
   13352 else
   13353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13354 /* end confdefs.h.  */
   13355 int i;
   13356 _ACEOF
   13357 if ac_fn_c_try_compile "$LINENO"; then :
   13358   xorg_cv_cc_flag_unused_command_line_argument=yes
   13359 else
   13360   xorg_cv_cc_flag_unused_command_line_argument=no
   13361 fi
   13362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13363 fi
   13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13367 	CFLAGS="$xorg_testset_save_CFLAGS"
   13368 fi
   13369 
   13370 found="no"
   13371 
   13372 	if test $found = "no" ; then
   13373 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13375 		fi
   13376 
   13377 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13379 		fi
   13380 
   13381 		CFLAGS="$CFLAGS -Wshadow"
   13382 
   13383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wshadow" >&5
   13384 $as_echo_n "checking if $CC supports-Wshadow... " >&6; }
   13385 		cacheid=xorg_cv_cc_flag__Wshadow
   13386 		if eval \${$cacheid+:} false; then :
   13387   $as_echo_n "(cached) " >&6
   13388 else
   13389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13390 /* end confdefs.h.  */
   13391 int i;
   13392 int
   13393 main ()
   13394 {
   13395 
   13396   ;
   13397   return 0;
   13398 }
   13399 _ACEOF
   13400 if ac_fn_c_try_link "$LINENO"; then :
   13401   eval $cacheid=yes
   13402 else
   13403   eval $cacheid=no
   13404 fi
   13405 rm -f core conftest.err conftest.$ac_objext \
   13406     conftest$ac_exeext conftest.$ac_ext
   13407 fi
   13408 
   13409 
   13410 		CFLAGS="$xorg_testset_save_CFLAGS"
   13411 
   13412 		eval supported=\$$cacheid
   13413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13414 $as_echo "$supported" >&6; }
   13415 		if test "$supported" = "yes" ; then
   13416 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13417 			found="yes"
   13418 		fi
   13419 	fi
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 xorg_testset_save_CFLAGS="$CFLAGS"
   13436 
   13437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13440 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13441 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13442   $as_echo_n "(cached) " >&6
   13443 else
   13444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13445 /* end confdefs.h.  */
   13446 int i;
   13447 _ACEOF
   13448 if ac_fn_c_try_compile "$LINENO"; then :
   13449   xorg_cv_cc_flag_unknown_warning_option=yes
   13450 else
   13451   xorg_cv_cc_flag_unknown_warning_option=no
   13452 fi
   13453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13454 fi
   13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13456 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13458 	CFLAGS="$xorg_testset_save_CFLAGS"
   13459 fi
   13460 
   13461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13464 	fi
   13465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13467 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13468 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13469   $as_echo_n "(cached) " >&6
   13470 else
   13471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13472 /* end confdefs.h.  */
   13473 int i;
   13474 _ACEOF
   13475 if ac_fn_c_try_compile "$LINENO"; then :
   13476   xorg_cv_cc_flag_unused_command_line_argument=yes
   13477 else
   13478   xorg_cv_cc_flag_unused_command_line_argument=no
   13479 fi
   13480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13481 fi
   13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13483 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13485 	CFLAGS="$xorg_testset_save_CFLAGS"
   13486 fi
   13487 
   13488 found="no"
   13489 
   13490 	if test $found = "no" ; then
   13491 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13493 		fi
   13494 
   13495 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13497 		fi
   13498 
   13499 		CFLAGS="$CFLAGS -Wcast-qual"
   13500 
   13501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wcast-qual" >&5
   13502 $as_echo_n "checking if $CC supports-Wcast-qual... " >&6; }
   13503 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13504 		if eval \${$cacheid+:} false; then :
   13505   $as_echo_n "(cached) " >&6
   13506 else
   13507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13508 /* end confdefs.h.  */
   13509 int i;
   13510 int
   13511 main ()
   13512 {
   13513 
   13514   ;
   13515   return 0;
   13516 }
   13517 _ACEOF
   13518 if ac_fn_c_try_link "$LINENO"; then :
   13519   eval $cacheid=yes
   13520 else
   13521   eval $cacheid=no
   13522 fi
   13523 rm -f core conftest.err conftest.$ac_objext \
   13524     conftest$ac_exeext conftest.$ac_ext
   13525 fi
   13526 
   13527 
   13528 		CFLAGS="$xorg_testset_save_CFLAGS"
   13529 
   13530 		eval supported=\$$cacheid
   13531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13532 $as_echo "$supported" >&6; }
   13533 		if test "$supported" = "yes" ; then
   13534 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13535 			found="yes"
   13536 		fi
   13537 	fi
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 xorg_testset_save_CFLAGS="$CFLAGS"
   13554 
   13555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13558 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13559 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13560   $as_echo_n "(cached) " >&6
   13561 else
   13562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13563 /* end confdefs.h.  */
   13564 int i;
   13565 _ACEOF
   13566 if ac_fn_c_try_compile "$LINENO"; then :
   13567   xorg_cv_cc_flag_unknown_warning_option=yes
   13568 else
   13569   xorg_cv_cc_flag_unknown_warning_option=no
   13570 fi
   13571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13572 fi
   13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13574 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13576 	CFLAGS="$xorg_testset_save_CFLAGS"
   13577 fi
   13578 
   13579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13582 	fi
   13583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13585 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13586 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13587   $as_echo_n "(cached) " >&6
   13588 else
   13589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13590 /* end confdefs.h.  */
   13591 int i;
   13592 _ACEOF
   13593 if ac_fn_c_try_compile "$LINENO"; then :
   13594   xorg_cv_cc_flag_unused_command_line_argument=yes
   13595 else
   13596   xorg_cv_cc_flag_unused_command_line_argument=no
   13597 fi
   13598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13599 fi
   13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13601 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13603 	CFLAGS="$xorg_testset_save_CFLAGS"
   13604 fi
   13605 
   13606 found="no"
   13607 
   13608 	if test $found = "no" ; then
   13609 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13611 		fi
   13612 
   13613 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13615 		fi
   13616 
   13617 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13618 
   13619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-noreturn" >&5
   13620 $as_echo_n "checking if $CC supports-Wmissing-noreturn... " >&6; }
   13621 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13622 		if eval \${$cacheid+:} false; then :
   13623   $as_echo_n "(cached) " >&6
   13624 else
   13625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13626 /* end confdefs.h.  */
   13627 int i;
   13628 int
   13629 main ()
   13630 {
   13631 
   13632   ;
   13633   return 0;
   13634 }
   13635 _ACEOF
   13636 if ac_fn_c_try_link "$LINENO"; then :
   13637   eval $cacheid=yes
   13638 else
   13639   eval $cacheid=no
   13640 fi
   13641 rm -f core conftest.err conftest.$ac_objext \
   13642     conftest$ac_exeext conftest.$ac_ext
   13643 fi
   13644 
   13645 
   13646 		CFLAGS="$xorg_testset_save_CFLAGS"
   13647 
   13648 		eval supported=\$$cacheid
   13649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13650 $as_echo "$supported" >&6; }
   13651 		if test "$supported" = "yes" ; then
   13652 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13653 			found="yes"
   13654 		fi
   13655 	fi
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 xorg_testset_save_CFLAGS="$CFLAGS"
   13672 
   13673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13678   $as_echo_n "(cached) " >&6
   13679 else
   13680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13681 /* end confdefs.h.  */
   13682 int i;
   13683 _ACEOF
   13684 if ac_fn_c_try_compile "$LINENO"; then :
   13685   xorg_cv_cc_flag_unknown_warning_option=yes
   13686 else
   13687   xorg_cv_cc_flag_unknown_warning_option=no
   13688 fi
   13689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13690 fi
   13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13694 	CFLAGS="$xorg_testset_save_CFLAGS"
   13695 fi
   13696 
   13697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13700 	fi
   13701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13705   $as_echo_n "(cached) " >&6
   13706 else
   13707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13708 /* end confdefs.h.  */
   13709 int i;
   13710 _ACEOF
   13711 if ac_fn_c_try_compile "$LINENO"; then :
   13712   xorg_cv_cc_flag_unused_command_line_argument=yes
   13713 else
   13714   xorg_cv_cc_flag_unused_command_line_argument=no
   13715 fi
   13716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13717 fi
   13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13721 	CFLAGS="$xorg_testset_save_CFLAGS"
   13722 fi
   13723 
   13724 found="no"
   13725 
   13726 	if test $found = "no" ; then
   13727 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13729 		fi
   13730 
   13731 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13733 		fi
   13734 
   13735 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13736 
   13737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-format-attribute" >&5
   13738 $as_echo_n "checking if $CC supports-Wmissing-format-attribute... " >&6; }
   13739 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13740 		if eval \${$cacheid+:} false; then :
   13741   $as_echo_n "(cached) " >&6
   13742 else
   13743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13744 /* end confdefs.h.  */
   13745 int i;
   13746 int
   13747 main ()
   13748 {
   13749 
   13750   ;
   13751   return 0;
   13752 }
   13753 _ACEOF
   13754 if ac_fn_c_try_link "$LINENO"; then :
   13755   eval $cacheid=yes
   13756 else
   13757   eval $cacheid=no
   13758 fi
   13759 rm -f core conftest.err conftest.$ac_objext \
   13760     conftest$ac_exeext conftest.$ac_ext
   13761 fi
   13762 
   13763 
   13764 		CFLAGS="$xorg_testset_save_CFLAGS"
   13765 
   13766 		eval supported=\$$cacheid
   13767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13768 $as_echo "$supported" >&6; }
   13769 		if test "$supported" = "yes" ; then
   13770 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13771 			found="yes"
   13772 		fi
   13773 	fi
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 xorg_testset_save_CFLAGS="$CFLAGS"
   13790 
   13791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13794 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13795 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13796   $as_echo_n "(cached) " >&6
   13797 else
   13798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13799 /* end confdefs.h.  */
   13800 int i;
   13801 _ACEOF
   13802 if ac_fn_c_try_compile "$LINENO"; then :
   13803   xorg_cv_cc_flag_unknown_warning_option=yes
   13804 else
   13805   xorg_cv_cc_flag_unknown_warning_option=no
   13806 fi
   13807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13808 fi
   13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13810 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13812 	CFLAGS="$xorg_testset_save_CFLAGS"
   13813 fi
   13814 
   13815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13818 	fi
   13819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13821 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13822 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13823   $as_echo_n "(cached) " >&6
   13824 else
   13825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13826 /* end confdefs.h.  */
   13827 int i;
   13828 _ACEOF
   13829 if ac_fn_c_try_compile "$LINENO"; then :
   13830   xorg_cv_cc_flag_unused_command_line_argument=yes
   13831 else
   13832   xorg_cv_cc_flag_unused_command_line_argument=no
   13833 fi
   13834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13835 fi
   13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13837 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13839 	CFLAGS="$xorg_testset_save_CFLAGS"
   13840 fi
   13841 
   13842 found="no"
   13843 
   13844 	if test $found = "no" ; then
   13845 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13847 		fi
   13848 
   13849 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13851 		fi
   13852 
   13853 		CFLAGS="$CFLAGS -Wredundant-decls"
   13854 
   13855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wredundant-decls" >&5
   13856 $as_echo_n "checking if $CC supports-Wredundant-decls... " >&6; }
   13857 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13858 		if eval \${$cacheid+:} false; then :
   13859   $as_echo_n "(cached) " >&6
   13860 else
   13861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13862 /* end confdefs.h.  */
   13863 int i;
   13864 int
   13865 main ()
   13866 {
   13867 
   13868   ;
   13869   return 0;
   13870 }
   13871 _ACEOF
   13872 if ac_fn_c_try_link "$LINENO"; then :
   13873   eval $cacheid=yes
   13874 else
   13875   eval $cacheid=no
   13876 fi
   13877 rm -f core conftest.err conftest.$ac_objext \
   13878     conftest$ac_exeext conftest.$ac_ext
   13879 fi
   13880 
   13881 
   13882 		CFLAGS="$xorg_testset_save_CFLAGS"
   13883 
   13884 		eval supported=\$$cacheid
   13885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13886 $as_echo "$supported" >&6; }
   13887 		if test "$supported" = "yes" ; then
   13888 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13889 			found="yes"
   13890 		fi
   13891 	fi
   13892 
   13893 
   13894 
   13895 # These are currently disabled because they are noisy.  They will be enabled
   13896 # in the future once the codebase is sufficiently modernized to silence
   13897 # them.  For now, I don't want them to drown out the other warnings.
   13898 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13899 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13900 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13901 
   13902 # Turn some warnings into errors, so we don't accidently get successful builds
   13903 # when there are problems that should be fixed.
   13904 
   13905 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 xorg_testset_save_CFLAGS="$CFLAGS"
   13920 
   13921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13926   $as_echo_n "(cached) " >&6
   13927 else
   13928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13929 /* end confdefs.h.  */
   13930 int i;
   13931 _ACEOF
   13932 if ac_fn_c_try_compile "$LINENO"; then :
   13933   xorg_cv_cc_flag_unknown_warning_option=yes
   13934 else
   13935   xorg_cv_cc_flag_unknown_warning_option=no
   13936 fi
   13937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13938 fi
   13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13942 	CFLAGS="$xorg_testset_save_CFLAGS"
   13943 fi
   13944 
   13945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13948 	fi
   13949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13953   $as_echo_n "(cached) " >&6
   13954 else
   13955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13956 /* end confdefs.h.  */
   13957 int i;
   13958 _ACEOF
   13959 if ac_fn_c_try_compile "$LINENO"; then :
   13960   xorg_cv_cc_flag_unused_command_line_argument=yes
   13961 else
   13962   xorg_cv_cc_flag_unused_command_line_argument=no
   13963 fi
   13964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13965 fi
   13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13969 	CFLAGS="$xorg_testset_save_CFLAGS"
   13970 fi
   13971 
   13972 found="no"
   13973 
   13974 	if test $found = "no" ; then
   13975 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13977 		fi
   13978 
   13979 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13981 		fi
   13982 
   13983 		CFLAGS="$CFLAGS -Werror=implicit"
   13984 
   13985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=implicit" >&5
   13986 $as_echo_n "checking if $CC supports-Werror=implicit... " >&6; }
   13987 		cacheid=xorg_cv_cc_flag__Werror_implicit
   13988 		if eval \${$cacheid+:} false; then :
   13989   $as_echo_n "(cached) " >&6
   13990 else
   13991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13992 /* end confdefs.h.  */
   13993 int i;
   13994 int
   13995 main ()
   13996 {
   13997 
   13998   ;
   13999   return 0;
   14000 }
   14001 _ACEOF
   14002 if ac_fn_c_try_link "$LINENO"; then :
   14003   eval $cacheid=yes
   14004 else
   14005   eval $cacheid=no
   14006 fi
   14007 rm -f core conftest.err conftest.$ac_objext \
   14008     conftest$ac_exeext conftest.$ac_ext
   14009 fi
   14010 
   14011 
   14012 		CFLAGS="$xorg_testset_save_CFLAGS"
   14013 
   14014 		eval supported=\$$cacheid
   14015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14016 $as_echo "$supported" >&6; }
   14017 		if test "$supported" = "yes" ; then
   14018 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14019 			found="yes"
   14020 		fi
   14021 	fi
   14022 
   14023 	if test $found = "no" ; then
   14024 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14026 		fi
   14027 
   14028 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14030 		fi
   14031 
   14032 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14033 
   14034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14035 $as_echo_n "checking if $CC supports-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14036 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14037 		if eval \${$cacheid+:} false; then :
   14038   $as_echo_n "(cached) " >&6
   14039 else
   14040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14041 /* end confdefs.h.  */
   14042 int i;
   14043 int
   14044 main ()
   14045 {
   14046 
   14047   ;
   14048   return 0;
   14049 }
   14050 _ACEOF
   14051 if ac_fn_c_try_link "$LINENO"; then :
   14052   eval $cacheid=yes
   14053 else
   14054   eval $cacheid=no
   14055 fi
   14056 rm -f core conftest.err conftest.$ac_objext \
   14057     conftest$ac_exeext conftest.$ac_ext
   14058 fi
   14059 
   14060 
   14061 		CFLAGS="$xorg_testset_save_CFLAGS"
   14062 
   14063 		eval supported=\$$cacheid
   14064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14065 $as_echo "$supported" >&6; }
   14066 		if test "$supported" = "yes" ; then
   14067 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14068 			found="yes"
   14069 		fi
   14070 	fi
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 xorg_testset_save_CFLAGS="$CFLAGS"
   14087 
   14088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14091 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14092 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14093   $as_echo_n "(cached) " >&6
   14094 else
   14095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14096 /* end confdefs.h.  */
   14097 int i;
   14098 _ACEOF
   14099 if ac_fn_c_try_compile "$LINENO"; then :
   14100   xorg_cv_cc_flag_unknown_warning_option=yes
   14101 else
   14102   xorg_cv_cc_flag_unknown_warning_option=no
   14103 fi
   14104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14105 fi
   14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14107 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14109 	CFLAGS="$xorg_testset_save_CFLAGS"
   14110 fi
   14111 
   14112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14115 	fi
   14116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14118 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14119 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14120   $as_echo_n "(cached) " >&6
   14121 else
   14122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14123 /* end confdefs.h.  */
   14124 int i;
   14125 _ACEOF
   14126 if ac_fn_c_try_compile "$LINENO"; then :
   14127   xorg_cv_cc_flag_unused_command_line_argument=yes
   14128 else
   14129   xorg_cv_cc_flag_unused_command_line_argument=no
   14130 fi
   14131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14132 fi
   14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14134 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14136 	CFLAGS="$xorg_testset_save_CFLAGS"
   14137 fi
   14138 
   14139 found="no"
   14140 
   14141 	if test $found = "no" ; then
   14142 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14144 		fi
   14145 
   14146 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14148 		fi
   14149 
   14150 		CFLAGS="$CFLAGS -Werror=nonnull"
   14151 
   14152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=nonnull" >&5
   14153 $as_echo_n "checking if $CC supports-Werror=nonnull... " >&6; }
   14154 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14155 		if eval \${$cacheid+:} false; then :
   14156   $as_echo_n "(cached) " >&6
   14157 else
   14158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14159 /* end confdefs.h.  */
   14160 int i;
   14161 int
   14162 main ()
   14163 {
   14164 
   14165   ;
   14166   return 0;
   14167 }
   14168 _ACEOF
   14169 if ac_fn_c_try_link "$LINENO"; then :
   14170   eval $cacheid=yes
   14171 else
   14172   eval $cacheid=no
   14173 fi
   14174 rm -f core conftest.err conftest.$ac_objext \
   14175     conftest$ac_exeext conftest.$ac_ext
   14176 fi
   14177 
   14178 
   14179 		CFLAGS="$xorg_testset_save_CFLAGS"
   14180 
   14181 		eval supported=\$$cacheid
   14182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14183 $as_echo "$supported" >&6; }
   14184 		if test "$supported" = "yes" ; then
   14185 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14186 			found="yes"
   14187 		fi
   14188 	fi
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 xorg_testset_save_CFLAGS="$CFLAGS"
   14205 
   14206 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14207 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14209 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14210 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14211   $as_echo_n "(cached) " >&6
   14212 else
   14213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14214 /* end confdefs.h.  */
   14215 int i;
   14216 _ACEOF
   14217 if ac_fn_c_try_compile "$LINENO"; then :
   14218   xorg_cv_cc_flag_unknown_warning_option=yes
   14219 else
   14220   xorg_cv_cc_flag_unknown_warning_option=no
   14221 fi
   14222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14223 fi
   14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14225 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14227 	CFLAGS="$xorg_testset_save_CFLAGS"
   14228 fi
   14229 
   14230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14233 	fi
   14234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14236 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14237 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14238   $as_echo_n "(cached) " >&6
   14239 else
   14240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14241 /* end confdefs.h.  */
   14242 int i;
   14243 _ACEOF
   14244 if ac_fn_c_try_compile "$LINENO"; then :
   14245   xorg_cv_cc_flag_unused_command_line_argument=yes
   14246 else
   14247   xorg_cv_cc_flag_unused_command_line_argument=no
   14248 fi
   14249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14250 fi
   14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14252 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14254 	CFLAGS="$xorg_testset_save_CFLAGS"
   14255 fi
   14256 
   14257 found="no"
   14258 
   14259 	if test $found = "no" ; then
   14260 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14262 		fi
   14263 
   14264 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14266 		fi
   14267 
   14268 		CFLAGS="$CFLAGS -Werror=init-self"
   14269 
   14270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=init-self" >&5
   14271 $as_echo_n "checking if $CC supports-Werror=init-self... " >&6; }
   14272 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14273 		if eval \${$cacheid+:} false; then :
   14274   $as_echo_n "(cached) " >&6
   14275 else
   14276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14277 /* end confdefs.h.  */
   14278 int i;
   14279 int
   14280 main ()
   14281 {
   14282 
   14283   ;
   14284   return 0;
   14285 }
   14286 _ACEOF
   14287 if ac_fn_c_try_link "$LINENO"; then :
   14288   eval $cacheid=yes
   14289 else
   14290   eval $cacheid=no
   14291 fi
   14292 rm -f core conftest.err conftest.$ac_objext \
   14293     conftest$ac_exeext conftest.$ac_ext
   14294 fi
   14295 
   14296 
   14297 		CFLAGS="$xorg_testset_save_CFLAGS"
   14298 
   14299 		eval supported=\$$cacheid
   14300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14301 $as_echo "$supported" >&6; }
   14302 		if test "$supported" = "yes" ; then
   14303 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14304 			found="yes"
   14305 		fi
   14306 	fi
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 xorg_testset_save_CFLAGS="$CFLAGS"
   14323 
   14324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14327 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14328 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14329   $as_echo_n "(cached) " >&6
   14330 else
   14331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14332 /* end confdefs.h.  */
   14333 int i;
   14334 _ACEOF
   14335 if ac_fn_c_try_compile "$LINENO"; then :
   14336   xorg_cv_cc_flag_unknown_warning_option=yes
   14337 else
   14338   xorg_cv_cc_flag_unknown_warning_option=no
   14339 fi
   14340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14341 fi
   14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14343 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14345 	CFLAGS="$xorg_testset_save_CFLAGS"
   14346 fi
   14347 
   14348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14351 	fi
   14352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14354 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14355 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14356   $as_echo_n "(cached) " >&6
   14357 else
   14358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14359 /* end confdefs.h.  */
   14360 int i;
   14361 _ACEOF
   14362 if ac_fn_c_try_compile "$LINENO"; then :
   14363   xorg_cv_cc_flag_unused_command_line_argument=yes
   14364 else
   14365   xorg_cv_cc_flag_unused_command_line_argument=no
   14366 fi
   14367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14368 fi
   14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14370 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14372 	CFLAGS="$xorg_testset_save_CFLAGS"
   14373 fi
   14374 
   14375 found="no"
   14376 
   14377 	if test $found = "no" ; then
   14378 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14380 		fi
   14381 
   14382 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14384 		fi
   14385 
   14386 		CFLAGS="$CFLAGS -Werror=main"
   14387 
   14388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=main" >&5
   14389 $as_echo_n "checking if $CC supports-Werror=main... " >&6; }
   14390 		cacheid=xorg_cv_cc_flag__Werror_main
   14391 		if eval \${$cacheid+:} false; then :
   14392   $as_echo_n "(cached) " >&6
   14393 else
   14394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14395 /* end confdefs.h.  */
   14396 int i;
   14397 int
   14398 main ()
   14399 {
   14400 
   14401   ;
   14402   return 0;
   14403 }
   14404 _ACEOF
   14405 if ac_fn_c_try_link "$LINENO"; then :
   14406   eval $cacheid=yes
   14407 else
   14408   eval $cacheid=no
   14409 fi
   14410 rm -f core conftest.err conftest.$ac_objext \
   14411     conftest$ac_exeext conftest.$ac_ext
   14412 fi
   14413 
   14414 
   14415 		CFLAGS="$xorg_testset_save_CFLAGS"
   14416 
   14417 		eval supported=\$$cacheid
   14418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14419 $as_echo "$supported" >&6; }
   14420 		if test "$supported" = "yes" ; then
   14421 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14422 			found="yes"
   14423 		fi
   14424 	fi
   14425 
   14426 
   14427 
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 xorg_testset_save_CFLAGS="$CFLAGS"
   14441 
   14442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14445 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14446 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14447   $as_echo_n "(cached) " >&6
   14448 else
   14449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14450 /* end confdefs.h.  */
   14451 int i;
   14452 _ACEOF
   14453 if ac_fn_c_try_compile "$LINENO"; then :
   14454   xorg_cv_cc_flag_unknown_warning_option=yes
   14455 else
   14456   xorg_cv_cc_flag_unknown_warning_option=no
   14457 fi
   14458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14459 fi
   14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14461 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14463 	CFLAGS="$xorg_testset_save_CFLAGS"
   14464 fi
   14465 
   14466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14469 	fi
   14470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14472 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14473 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14474   $as_echo_n "(cached) " >&6
   14475 else
   14476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14477 /* end confdefs.h.  */
   14478 int i;
   14479 _ACEOF
   14480 if ac_fn_c_try_compile "$LINENO"; then :
   14481   xorg_cv_cc_flag_unused_command_line_argument=yes
   14482 else
   14483   xorg_cv_cc_flag_unused_command_line_argument=no
   14484 fi
   14485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14486 fi
   14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14488 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14490 	CFLAGS="$xorg_testset_save_CFLAGS"
   14491 fi
   14492 
   14493 found="no"
   14494 
   14495 	if test $found = "no" ; then
   14496 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14498 		fi
   14499 
   14500 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14502 		fi
   14503 
   14504 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14505 
   14506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=missing-braces" >&5
   14507 $as_echo_n "checking if $CC supports-Werror=missing-braces... " >&6; }
   14508 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14509 		if eval \${$cacheid+:} false; then :
   14510   $as_echo_n "(cached) " >&6
   14511 else
   14512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14513 /* end confdefs.h.  */
   14514 int i;
   14515 int
   14516 main ()
   14517 {
   14518 
   14519   ;
   14520   return 0;
   14521 }
   14522 _ACEOF
   14523 if ac_fn_c_try_link "$LINENO"; then :
   14524   eval $cacheid=yes
   14525 else
   14526   eval $cacheid=no
   14527 fi
   14528 rm -f core conftest.err conftest.$ac_objext \
   14529     conftest$ac_exeext conftest.$ac_ext
   14530 fi
   14531 
   14532 
   14533 		CFLAGS="$xorg_testset_save_CFLAGS"
   14534 
   14535 		eval supported=\$$cacheid
   14536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14537 $as_echo "$supported" >&6; }
   14538 		if test "$supported" = "yes" ; then
   14539 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14540 			found="yes"
   14541 		fi
   14542 	fi
   14543 
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 xorg_testset_save_CFLAGS="$CFLAGS"
   14559 
   14560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14565   $as_echo_n "(cached) " >&6
   14566 else
   14567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14568 /* end confdefs.h.  */
   14569 int i;
   14570 _ACEOF
   14571 if ac_fn_c_try_compile "$LINENO"; then :
   14572   xorg_cv_cc_flag_unknown_warning_option=yes
   14573 else
   14574   xorg_cv_cc_flag_unknown_warning_option=no
   14575 fi
   14576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14577 fi
   14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14581 	CFLAGS="$xorg_testset_save_CFLAGS"
   14582 fi
   14583 
   14584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14587 	fi
   14588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14592   $as_echo_n "(cached) " >&6
   14593 else
   14594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14595 /* end confdefs.h.  */
   14596 int i;
   14597 _ACEOF
   14598 if ac_fn_c_try_compile "$LINENO"; then :
   14599   xorg_cv_cc_flag_unused_command_line_argument=yes
   14600 else
   14601   xorg_cv_cc_flag_unused_command_line_argument=no
   14602 fi
   14603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14604 fi
   14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14608 	CFLAGS="$xorg_testset_save_CFLAGS"
   14609 fi
   14610 
   14611 found="no"
   14612 
   14613 	if test $found = "no" ; then
   14614 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14616 		fi
   14617 
   14618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14620 		fi
   14621 
   14622 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14623 
   14624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=sequence-point" >&5
   14625 $as_echo_n "checking if $CC supports-Werror=sequence-point... " >&6; }
   14626 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14627 		if eval \${$cacheid+:} false; then :
   14628   $as_echo_n "(cached) " >&6
   14629 else
   14630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14631 /* end confdefs.h.  */
   14632 int i;
   14633 int
   14634 main ()
   14635 {
   14636 
   14637   ;
   14638   return 0;
   14639 }
   14640 _ACEOF
   14641 if ac_fn_c_try_link "$LINENO"; then :
   14642   eval $cacheid=yes
   14643 else
   14644   eval $cacheid=no
   14645 fi
   14646 rm -f core conftest.err conftest.$ac_objext \
   14647     conftest$ac_exeext conftest.$ac_ext
   14648 fi
   14649 
   14650 
   14651 		CFLAGS="$xorg_testset_save_CFLAGS"
   14652 
   14653 		eval supported=\$$cacheid
   14654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14655 $as_echo "$supported" >&6; }
   14656 		if test "$supported" = "yes" ; then
   14657 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14658 			found="yes"
   14659 		fi
   14660 	fi
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 xorg_testset_save_CFLAGS="$CFLAGS"
   14677 
   14678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14683   $as_echo_n "(cached) " >&6
   14684 else
   14685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14686 /* end confdefs.h.  */
   14687 int i;
   14688 _ACEOF
   14689 if ac_fn_c_try_compile "$LINENO"; then :
   14690   xorg_cv_cc_flag_unknown_warning_option=yes
   14691 else
   14692   xorg_cv_cc_flag_unknown_warning_option=no
   14693 fi
   14694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14695 fi
   14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14699 	CFLAGS="$xorg_testset_save_CFLAGS"
   14700 fi
   14701 
   14702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14705 	fi
   14706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14710   $as_echo_n "(cached) " >&6
   14711 else
   14712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14713 /* end confdefs.h.  */
   14714 int i;
   14715 _ACEOF
   14716 if ac_fn_c_try_compile "$LINENO"; then :
   14717   xorg_cv_cc_flag_unused_command_line_argument=yes
   14718 else
   14719   xorg_cv_cc_flag_unused_command_line_argument=no
   14720 fi
   14721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14722 fi
   14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14726 	CFLAGS="$xorg_testset_save_CFLAGS"
   14727 fi
   14728 
   14729 found="no"
   14730 
   14731 	if test $found = "no" ; then
   14732 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14734 		fi
   14735 
   14736 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14738 		fi
   14739 
   14740 		CFLAGS="$CFLAGS -Werror=return-type"
   14741 
   14742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=return-type" >&5
   14743 $as_echo_n "checking if $CC supports-Werror=return-type... " >&6; }
   14744 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14745 		if eval \${$cacheid+:} false; then :
   14746   $as_echo_n "(cached) " >&6
   14747 else
   14748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14749 /* end confdefs.h.  */
   14750 int i;
   14751 int
   14752 main ()
   14753 {
   14754 
   14755   ;
   14756   return 0;
   14757 }
   14758 _ACEOF
   14759 if ac_fn_c_try_link "$LINENO"; then :
   14760   eval $cacheid=yes
   14761 else
   14762   eval $cacheid=no
   14763 fi
   14764 rm -f core conftest.err conftest.$ac_objext \
   14765     conftest$ac_exeext conftest.$ac_ext
   14766 fi
   14767 
   14768 
   14769 		CFLAGS="$xorg_testset_save_CFLAGS"
   14770 
   14771 		eval supported=\$$cacheid
   14772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14773 $as_echo "$supported" >&6; }
   14774 		if test "$supported" = "yes" ; then
   14775 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14776 			found="yes"
   14777 		fi
   14778 	fi
   14779 
   14780 	if test $found = "no" ; then
   14781 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14783 		fi
   14784 
   14785 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14787 		fi
   14788 
   14789 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14790 
   14791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14792 $as_echo_n "checking if $CC supports-errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14793 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14794 		if eval \${$cacheid+:} false; then :
   14795   $as_echo_n "(cached) " >&6
   14796 else
   14797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14798 /* end confdefs.h.  */
   14799 int i;
   14800 int
   14801 main ()
   14802 {
   14803 
   14804   ;
   14805   return 0;
   14806 }
   14807 _ACEOF
   14808 if ac_fn_c_try_link "$LINENO"; then :
   14809   eval $cacheid=yes
   14810 else
   14811   eval $cacheid=no
   14812 fi
   14813 rm -f core conftest.err conftest.$ac_objext \
   14814     conftest$ac_exeext conftest.$ac_ext
   14815 fi
   14816 
   14817 
   14818 		CFLAGS="$xorg_testset_save_CFLAGS"
   14819 
   14820 		eval supported=\$$cacheid
   14821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14822 $as_echo "$supported" >&6; }
   14823 		if test "$supported" = "yes" ; then
   14824 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14825 			found="yes"
   14826 		fi
   14827 	fi
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 xorg_testset_save_CFLAGS="$CFLAGS"
   14844 
   14845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14848 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14849 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14850   $as_echo_n "(cached) " >&6
   14851 else
   14852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14853 /* end confdefs.h.  */
   14854 int i;
   14855 _ACEOF
   14856 if ac_fn_c_try_compile "$LINENO"; then :
   14857   xorg_cv_cc_flag_unknown_warning_option=yes
   14858 else
   14859   xorg_cv_cc_flag_unknown_warning_option=no
   14860 fi
   14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14862 fi
   14863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14864 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14866 	CFLAGS="$xorg_testset_save_CFLAGS"
   14867 fi
   14868 
   14869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14872 	fi
   14873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14875 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14876 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14877   $as_echo_n "(cached) " >&6
   14878 else
   14879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14880 /* end confdefs.h.  */
   14881 int i;
   14882 _ACEOF
   14883 if ac_fn_c_try_compile "$LINENO"; then :
   14884   xorg_cv_cc_flag_unused_command_line_argument=yes
   14885 else
   14886   xorg_cv_cc_flag_unused_command_line_argument=no
   14887 fi
   14888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14889 fi
   14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14891 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14893 	CFLAGS="$xorg_testset_save_CFLAGS"
   14894 fi
   14895 
   14896 found="no"
   14897 
   14898 	if test $found = "no" ; then
   14899 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14901 		fi
   14902 
   14903 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14905 		fi
   14906 
   14907 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14908 
   14909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=trigraphs" >&5
   14910 $as_echo_n "checking if $CC supports-Werror=trigraphs... " >&6; }
   14911 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14912 		if eval \${$cacheid+:} false; then :
   14913   $as_echo_n "(cached) " >&6
   14914 else
   14915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14916 /* end confdefs.h.  */
   14917 int i;
   14918 int
   14919 main ()
   14920 {
   14921 
   14922   ;
   14923   return 0;
   14924 }
   14925 _ACEOF
   14926 if ac_fn_c_try_link "$LINENO"; then :
   14927   eval $cacheid=yes
   14928 else
   14929   eval $cacheid=no
   14930 fi
   14931 rm -f core conftest.err conftest.$ac_objext \
   14932     conftest$ac_exeext conftest.$ac_ext
   14933 fi
   14934 
   14935 
   14936 		CFLAGS="$xorg_testset_save_CFLAGS"
   14937 
   14938 		eval supported=\$$cacheid
   14939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14940 $as_echo "$supported" >&6; }
   14941 		if test "$supported" = "yes" ; then
   14942 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14943 			found="yes"
   14944 		fi
   14945 	fi
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 xorg_testset_save_CFLAGS="$CFLAGS"
   14962 
   14963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14966 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14967 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14968   $as_echo_n "(cached) " >&6
   14969 else
   14970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14971 /* end confdefs.h.  */
   14972 int i;
   14973 _ACEOF
   14974 if ac_fn_c_try_compile "$LINENO"; then :
   14975   xorg_cv_cc_flag_unknown_warning_option=yes
   14976 else
   14977   xorg_cv_cc_flag_unknown_warning_option=no
   14978 fi
   14979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14980 fi
   14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14982 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14984 	CFLAGS="$xorg_testset_save_CFLAGS"
   14985 fi
   14986 
   14987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14990 	fi
   14991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14993 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14994 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14995   $as_echo_n "(cached) " >&6
   14996 else
   14997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14998 /* end confdefs.h.  */
   14999 int i;
   15000 _ACEOF
   15001 if ac_fn_c_try_compile "$LINENO"; then :
   15002   xorg_cv_cc_flag_unused_command_line_argument=yes
   15003 else
   15004   xorg_cv_cc_flag_unused_command_line_argument=no
   15005 fi
   15006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15007 fi
   15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15009 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15011 	CFLAGS="$xorg_testset_save_CFLAGS"
   15012 fi
   15013 
   15014 found="no"
   15015 
   15016 	if test $found = "no" ; then
   15017 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15019 		fi
   15020 
   15021 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15023 		fi
   15024 
   15025 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15026 
   15027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=array-bounds" >&5
   15028 $as_echo_n "checking if $CC supports-Werror=array-bounds... " >&6; }
   15029 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15030 		if eval \${$cacheid+:} false; then :
   15031   $as_echo_n "(cached) " >&6
   15032 else
   15033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15034 /* end confdefs.h.  */
   15035 int i;
   15036 int
   15037 main ()
   15038 {
   15039 
   15040   ;
   15041   return 0;
   15042 }
   15043 _ACEOF
   15044 if ac_fn_c_try_link "$LINENO"; then :
   15045   eval $cacheid=yes
   15046 else
   15047   eval $cacheid=no
   15048 fi
   15049 rm -f core conftest.err conftest.$ac_objext \
   15050     conftest$ac_exeext conftest.$ac_ext
   15051 fi
   15052 
   15053 
   15054 		CFLAGS="$xorg_testset_save_CFLAGS"
   15055 
   15056 		eval supported=\$$cacheid
   15057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15058 $as_echo "$supported" >&6; }
   15059 		if test "$supported" = "yes" ; then
   15060 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15061 			found="yes"
   15062 		fi
   15063 	fi
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 xorg_testset_save_CFLAGS="$CFLAGS"
   15080 
   15081 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15082 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15083 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15084 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15085 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15086   $as_echo_n "(cached) " >&6
   15087 else
   15088   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15089 /* end confdefs.h.  */
   15090 int i;
   15091 _ACEOF
   15092 if ac_fn_c_try_compile "$LINENO"; then :
   15093   xorg_cv_cc_flag_unknown_warning_option=yes
   15094 else
   15095   xorg_cv_cc_flag_unknown_warning_option=no
   15096 fi
   15097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15098 fi
   15099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15100 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15102 	CFLAGS="$xorg_testset_save_CFLAGS"
   15103 fi
   15104 
   15105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15108 	fi
   15109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15110 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15111 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15112 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15113   $as_echo_n "(cached) " >&6
   15114 else
   15115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15116 /* end confdefs.h.  */
   15117 int i;
   15118 _ACEOF
   15119 if ac_fn_c_try_compile "$LINENO"; then :
   15120   xorg_cv_cc_flag_unused_command_line_argument=yes
   15121 else
   15122   xorg_cv_cc_flag_unused_command_line_argument=no
   15123 fi
   15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15125 fi
   15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15127 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15128 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15129 	CFLAGS="$xorg_testset_save_CFLAGS"
   15130 fi
   15131 
   15132 found="no"
   15133 
   15134 	if test $found = "no" ; then
   15135 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15136 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15137 		fi
   15138 
   15139 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15140 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15141 		fi
   15142 
   15143 		CFLAGS="$CFLAGS -Werror=write-strings"
   15144 
   15145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=write-strings" >&5
   15146 $as_echo_n "checking if $CC supports-Werror=write-strings... " >&6; }
   15147 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15148 		if eval \${$cacheid+:} false; then :
   15149   $as_echo_n "(cached) " >&6
   15150 else
   15151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15152 /* end confdefs.h.  */
   15153 int i;
   15154 int
   15155 main ()
   15156 {
   15157 
   15158   ;
   15159   return 0;
   15160 }
   15161 _ACEOF
   15162 if ac_fn_c_try_link "$LINENO"; then :
   15163   eval $cacheid=yes
   15164 else
   15165   eval $cacheid=no
   15166 fi
   15167 rm -f core conftest.err conftest.$ac_objext \
   15168     conftest$ac_exeext conftest.$ac_ext
   15169 fi
   15170 
   15171 
   15172 		CFLAGS="$xorg_testset_save_CFLAGS"
   15173 
   15174 		eval supported=\$$cacheid
   15175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15176 $as_echo "$supported" >&6; }
   15177 		if test "$supported" = "yes" ; then
   15178 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15179 			found="yes"
   15180 		fi
   15181 	fi
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 xorg_testset_save_CFLAGS="$CFLAGS"
   15198 
   15199 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15200 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15202 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15203 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15204   $as_echo_n "(cached) " >&6
   15205 else
   15206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15207 /* end confdefs.h.  */
   15208 int i;
   15209 _ACEOF
   15210 if ac_fn_c_try_compile "$LINENO"; then :
   15211   xorg_cv_cc_flag_unknown_warning_option=yes
   15212 else
   15213   xorg_cv_cc_flag_unknown_warning_option=no
   15214 fi
   15215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15216 fi
   15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15218 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15220 	CFLAGS="$xorg_testset_save_CFLAGS"
   15221 fi
   15222 
   15223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15226 	fi
   15227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15228 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15229 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15230 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15231   $as_echo_n "(cached) " >&6
   15232 else
   15233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15234 /* end confdefs.h.  */
   15235 int i;
   15236 _ACEOF
   15237 if ac_fn_c_try_compile "$LINENO"; then :
   15238   xorg_cv_cc_flag_unused_command_line_argument=yes
   15239 else
   15240   xorg_cv_cc_flag_unused_command_line_argument=no
   15241 fi
   15242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15243 fi
   15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15245 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15246 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15247 	CFLAGS="$xorg_testset_save_CFLAGS"
   15248 fi
   15249 
   15250 found="no"
   15251 
   15252 	if test $found = "no" ; then
   15253 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15254 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15255 		fi
   15256 
   15257 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15258 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15259 		fi
   15260 
   15261 		CFLAGS="$CFLAGS -Werror=address"
   15262 
   15263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=address" >&5
   15264 $as_echo_n "checking if $CC supports-Werror=address... " >&6; }
   15265 		cacheid=xorg_cv_cc_flag__Werror_address
   15266 		if eval \${$cacheid+:} false; then :
   15267   $as_echo_n "(cached) " >&6
   15268 else
   15269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15270 /* end confdefs.h.  */
   15271 int i;
   15272 int
   15273 main ()
   15274 {
   15275 
   15276   ;
   15277   return 0;
   15278 }
   15279 _ACEOF
   15280 if ac_fn_c_try_link "$LINENO"; then :
   15281   eval $cacheid=yes
   15282 else
   15283   eval $cacheid=no
   15284 fi
   15285 rm -f core conftest.err conftest.$ac_objext \
   15286     conftest$ac_exeext conftest.$ac_ext
   15287 fi
   15288 
   15289 
   15290 		CFLAGS="$xorg_testset_save_CFLAGS"
   15291 
   15292 		eval supported=\$$cacheid
   15293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15294 $as_echo "$supported" >&6; }
   15295 		if test "$supported" = "yes" ; then
   15296 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15297 			found="yes"
   15298 		fi
   15299 	fi
   15300 
   15301 
   15302 
   15303 
   15304 
   15305 
   15306 
   15307 
   15308 
   15309 
   15310 
   15311 
   15312 
   15313 
   15314 
   15315 xorg_testset_save_CFLAGS="$CFLAGS"
   15316 
   15317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15322   $as_echo_n "(cached) " >&6
   15323 else
   15324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15325 /* end confdefs.h.  */
   15326 int i;
   15327 _ACEOF
   15328 if ac_fn_c_try_compile "$LINENO"; then :
   15329   xorg_cv_cc_flag_unknown_warning_option=yes
   15330 else
   15331   xorg_cv_cc_flag_unknown_warning_option=no
   15332 fi
   15333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15334 fi
   15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15338 	CFLAGS="$xorg_testset_save_CFLAGS"
   15339 fi
   15340 
   15341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15344 	fi
   15345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15349   $as_echo_n "(cached) " >&6
   15350 else
   15351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15352 /* end confdefs.h.  */
   15353 int i;
   15354 _ACEOF
   15355 if ac_fn_c_try_compile "$LINENO"; then :
   15356   xorg_cv_cc_flag_unused_command_line_argument=yes
   15357 else
   15358   xorg_cv_cc_flag_unused_command_line_argument=no
   15359 fi
   15360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15361 fi
   15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15365 	CFLAGS="$xorg_testset_save_CFLAGS"
   15366 fi
   15367 
   15368 found="no"
   15369 
   15370 	if test $found = "no" ; then
   15371 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15373 		fi
   15374 
   15375 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15377 		fi
   15378 
   15379 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15380 
   15381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=int-to-pointer-cast" >&5
   15382 $as_echo_n "checking if $CC supports-Werror=int-to-pointer-cast... " >&6; }
   15383 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15384 		if eval \${$cacheid+:} false; then :
   15385   $as_echo_n "(cached) " >&6
   15386 else
   15387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15388 /* end confdefs.h.  */
   15389 int i;
   15390 int
   15391 main ()
   15392 {
   15393 
   15394   ;
   15395   return 0;
   15396 }
   15397 _ACEOF
   15398 if ac_fn_c_try_link "$LINENO"; then :
   15399   eval $cacheid=yes
   15400 else
   15401   eval $cacheid=no
   15402 fi
   15403 rm -f core conftest.err conftest.$ac_objext \
   15404     conftest$ac_exeext conftest.$ac_ext
   15405 fi
   15406 
   15407 
   15408 		CFLAGS="$xorg_testset_save_CFLAGS"
   15409 
   15410 		eval supported=\$$cacheid
   15411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15412 $as_echo "$supported" >&6; }
   15413 		if test "$supported" = "yes" ; then
   15414 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15415 			found="yes"
   15416 		fi
   15417 	fi
   15418 
   15419 	if test $found = "no" ; then
   15420 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15422 		fi
   15423 
   15424 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15426 		fi
   15427 
   15428 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15429 
   15430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15431 $as_echo_n "checking if $CC supports-errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15432 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15433 		if eval \${$cacheid+:} false; then :
   15434   $as_echo_n "(cached) " >&6
   15435 else
   15436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15437 /* end confdefs.h.  */
   15438 int i;
   15439 int
   15440 main ()
   15441 {
   15442 
   15443   ;
   15444   return 0;
   15445 }
   15446 _ACEOF
   15447 if ac_fn_c_try_link "$LINENO"; then :
   15448   eval $cacheid=yes
   15449 else
   15450   eval $cacheid=no
   15451 fi
   15452 rm -f core conftest.err conftest.$ac_objext \
   15453     conftest$ac_exeext conftest.$ac_ext
   15454 fi
   15455 
   15456 
   15457 		CFLAGS="$xorg_testset_save_CFLAGS"
   15458 
   15459 		eval supported=\$$cacheid
   15460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15461 $as_echo "$supported" >&6; }
   15462 		if test "$supported" = "yes" ; then
   15463 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15464 			found="yes"
   15465 		fi
   15466 	fi
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 xorg_testset_save_CFLAGS="$CFLAGS"
   15483 
   15484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15487 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15488 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15489   $as_echo_n "(cached) " >&6
   15490 else
   15491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15492 /* end confdefs.h.  */
   15493 int i;
   15494 _ACEOF
   15495 if ac_fn_c_try_compile "$LINENO"; then :
   15496   xorg_cv_cc_flag_unknown_warning_option=yes
   15497 else
   15498   xorg_cv_cc_flag_unknown_warning_option=no
   15499 fi
   15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15501 fi
   15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15503 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15505 	CFLAGS="$xorg_testset_save_CFLAGS"
   15506 fi
   15507 
   15508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15511 	fi
   15512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15514 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15515 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15516   $as_echo_n "(cached) " >&6
   15517 else
   15518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15519 /* end confdefs.h.  */
   15520 int i;
   15521 _ACEOF
   15522 if ac_fn_c_try_compile "$LINENO"; then :
   15523   xorg_cv_cc_flag_unused_command_line_argument=yes
   15524 else
   15525   xorg_cv_cc_flag_unused_command_line_argument=no
   15526 fi
   15527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15528 fi
   15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15530 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15532 	CFLAGS="$xorg_testset_save_CFLAGS"
   15533 fi
   15534 
   15535 found="no"
   15536 
   15537 	if test $found = "no" ; then
   15538 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15540 		fi
   15541 
   15542 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15544 		fi
   15545 
   15546 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15547 
   15548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=pointer-to-int-cast" >&5
   15549 $as_echo_n "checking if $CC supports-Werror=pointer-to-int-cast... " >&6; }
   15550 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15551 		if eval \${$cacheid+:} false; then :
   15552   $as_echo_n "(cached) " >&6
   15553 else
   15554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15555 /* end confdefs.h.  */
   15556 int i;
   15557 int
   15558 main ()
   15559 {
   15560 
   15561   ;
   15562   return 0;
   15563 }
   15564 _ACEOF
   15565 if ac_fn_c_try_link "$LINENO"; then :
   15566   eval $cacheid=yes
   15567 else
   15568   eval $cacheid=no
   15569 fi
   15570 rm -f core conftest.err conftest.$ac_objext \
   15571     conftest$ac_exeext conftest.$ac_ext
   15572 fi
   15573 
   15574 
   15575 		CFLAGS="$xorg_testset_save_CFLAGS"
   15576 
   15577 		eval supported=\$$cacheid
   15578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15579 $as_echo "$supported" >&6; }
   15580 		if test "$supported" = "yes" ; then
   15581 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15582 			found="yes"
   15583 		fi
   15584 	fi
   15585 
   15586  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15587 else
   15588 { $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
   15589 $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;}
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 xorg_testset_save_CFLAGS="$CFLAGS"
   15604 
   15605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15610   $as_echo_n "(cached) " >&6
   15611 else
   15612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15613 /* end confdefs.h.  */
   15614 int i;
   15615 _ACEOF
   15616 if ac_fn_c_try_compile "$LINENO"; then :
   15617   xorg_cv_cc_flag_unknown_warning_option=yes
   15618 else
   15619   xorg_cv_cc_flag_unknown_warning_option=no
   15620 fi
   15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15622 fi
   15623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15626 	CFLAGS="$xorg_testset_save_CFLAGS"
   15627 fi
   15628 
   15629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15632 	fi
   15633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15637   $as_echo_n "(cached) " >&6
   15638 else
   15639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15640 /* end confdefs.h.  */
   15641 int i;
   15642 _ACEOF
   15643 if ac_fn_c_try_compile "$LINENO"; then :
   15644   xorg_cv_cc_flag_unused_command_line_argument=yes
   15645 else
   15646   xorg_cv_cc_flag_unused_command_line_argument=no
   15647 fi
   15648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15649 fi
   15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15653 	CFLAGS="$xorg_testset_save_CFLAGS"
   15654 fi
   15655 
   15656 found="no"
   15657 
   15658 	if test $found = "no" ; then
   15659 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15661 		fi
   15662 
   15663 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15665 		fi
   15666 
   15667 		CFLAGS="$CFLAGS -Wimplicit"
   15668 
   15669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wimplicit" >&5
   15670 $as_echo_n "checking if $CC supports-Wimplicit... " >&6; }
   15671 		cacheid=xorg_cv_cc_flag__Wimplicit
   15672 		if eval \${$cacheid+:} false; then :
   15673   $as_echo_n "(cached) " >&6
   15674 else
   15675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15676 /* end confdefs.h.  */
   15677 int i;
   15678 int
   15679 main ()
   15680 {
   15681 
   15682   ;
   15683   return 0;
   15684 }
   15685 _ACEOF
   15686 if ac_fn_c_try_link "$LINENO"; then :
   15687   eval $cacheid=yes
   15688 else
   15689   eval $cacheid=no
   15690 fi
   15691 rm -f core conftest.err conftest.$ac_objext \
   15692     conftest$ac_exeext conftest.$ac_ext
   15693 fi
   15694 
   15695 
   15696 		CFLAGS="$xorg_testset_save_CFLAGS"
   15697 
   15698 		eval supported=\$$cacheid
   15699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15700 $as_echo "$supported" >&6; }
   15701 		if test "$supported" = "yes" ; then
   15702 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15703 			found="yes"
   15704 		fi
   15705 	fi
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 xorg_testset_save_CFLAGS="$CFLAGS"
   15722 
   15723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15726 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15727 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15728   $as_echo_n "(cached) " >&6
   15729 else
   15730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15731 /* end confdefs.h.  */
   15732 int i;
   15733 _ACEOF
   15734 if ac_fn_c_try_compile "$LINENO"; then :
   15735   xorg_cv_cc_flag_unknown_warning_option=yes
   15736 else
   15737   xorg_cv_cc_flag_unknown_warning_option=no
   15738 fi
   15739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15740 fi
   15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15742 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15744 	CFLAGS="$xorg_testset_save_CFLAGS"
   15745 fi
   15746 
   15747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15750 	fi
   15751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15753 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15754 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15755   $as_echo_n "(cached) " >&6
   15756 else
   15757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15758 /* end confdefs.h.  */
   15759 int i;
   15760 _ACEOF
   15761 if ac_fn_c_try_compile "$LINENO"; then :
   15762   xorg_cv_cc_flag_unused_command_line_argument=yes
   15763 else
   15764   xorg_cv_cc_flag_unused_command_line_argument=no
   15765 fi
   15766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15767 fi
   15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15769 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15771 	CFLAGS="$xorg_testset_save_CFLAGS"
   15772 fi
   15773 
   15774 found="no"
   15775 
   15776 	if test $found = "no" ; then
   15777 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15779 		fi
   15780 
   15781 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15783 		fi
   15784 
   15785 		CFLAGS="$CFLAGS -Wnonnull"
   15786 
   15787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wnonnull" >&5
   15788 $as_echo_n "checking if $CC supports-Wnonnull... " >&6; }
   15789 		cacheid=xorg_cv_cc_flag__Wnonnull
   15790 		if eval \${$cacheid+:} false; then :
   15791   $as_echo_n "(cached) " >&6
   15792 else
   15793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15794 /* end confdefs.h.  */
   15795 int i;
   15796 int
   15797 main ()
   15798 {
   15799 
   15800   ;
   15801   return 0;
   15802 }
   15803 _ACEOF
   15804 if ac_fn_c_try_link "$LINENO"; then :
   15805   eval $cacheid=yes
   15806 else
   15807   eval $cacheid=no
   15808 fi
   15809 rm -f core conftest.err conftest.$ac_objext \
   15810     conftest$ac_exeext conftest.$ac_ext
   15811 fi
   15812 
   15813 
   15814 		CFLAGS="$xorg_testset_save_CFLAGS"
   15815 
   15816 		eval supported=\$$cacheid
   15817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15818 $as_echo "$supported" >&6; }
   15819 		if test "$supported" = "yes" ; then
   15820 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15821 			found="yes"
   15822 		fi
   15823 	fi
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 xorg_testset_save_CFLAGS="$CFLAGS"
   15840 
   15841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15844 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15845 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15846   $as_echo_n "(cached) " >&6
   15847 else
   15848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15849 /* end confdefs.h.  */
   15850 int i;
   15851 _ACEOF
   15852 if ac_fn_c_try_compile "$LINENO"; then :
   15853   xorg_cv_cc_flag_unknown_warning_option=yes
   15854 else
   15855   xorg_cv_cc_flag_unknown_warning_option=no
   15856 fi
   15857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15858 fi
   15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15860 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15862 	CFLAGS="$xorg_testset_save_CFLAGS"
   15863 fi
   15864 
   15865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15868 	fi
   15869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15871 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15872 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15873   $as_echo_n "(cached) " >&6
   15874 else
   15875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15876 /* end confdefs.h.  */
   15877 int i;
   15878 _ACEOF
   15879 if ac_fn_c_try_compile "$LINENO"; then :
   15880   xorg_cv_cc_flag_unused_command_line_argument=yes
   15881 else
   15882   xorg_cv_cc_flag_unused_command_line_argument=no
   15883 fi
   15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15885 fi
   15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15887 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15889 	CFLAGS="$xorg_testset_save_CFLAGS"
   15890 fi
   15891 
   15892 found="no"
   15893 
   15894 	if test $found = "no" ; then
   15895 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15897 		fi
   15898 
   15899 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15901 		fi
   15902 
   15903 		CFLAGS="$CFLAGS -Winit-self"
   15904 
   15905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Winit-self" >&5
   15906 $as_echo_n "checking if $CC supports-Winit-self... " >&6; }
   15907 		cacheid=xorg_cv_cc_flag__Winit_self
   15908 		if eval \${$cacheid+:} false; then :
   15909   $as_echo_n "(cached) " >&6
   15910 else
   15911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15912 /* end confdefs.h.  */
   15913 int i;
   15914 int
   15915 main ()
   15916 {
   15917 
   15918   ;
   15919   return 0;
   15920 }
   15921 _ACEOF
   15922 if ac_fn_c_try_link "$LINENO"; then :
   15923   eval $cacheid=yes
   15924 else
   15925   eval $cacheid=no
   15926 fi
   15927 rm -f core conftest.err conftest.$ac_objext \
   15928     conftest$ac_exeext conftest.$ac_ext
   15929 fi
   15930 
   15931 
   15932 		CFLAGS="$xorg_testset_save_CFLAGS"
   15933 
   15934 		eval supported=\$$cacheid
   15935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15936 $as_echo "$supported" >&6; }
   15937 		if test "$supported" = "yes" ; then
   15938 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15939 			found="yes"
   15940 		fi
   15941 	fi
   15942 
   15943 
   15944 
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 xorg_testset_save_CFLAGS="$CFLAGS"
   15958 
   15959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15962 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15963 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15964   $as_echo_n "(cached) " >&6
   15965 else
   15966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15967 /* end confdefs.h.  */
   15968 int i;
   15969 _ACEOF
   15970 if ac_fn_c_try_compile "$LINENO"; then :
   15971   xorg_cv_cc_flag_unknown_warning_option=yes
   15972 else
   15973   xorg_cv_cc_flag_unknown_warning_option=no
   15974 fi
   15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15976 fi
   15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15978 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15980 	CFLAGS="$xorg_testset_save_CFLAGS"
   15981 fi
   15982 
   15983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15986 	fi
   15987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15989 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15990 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15991   $as_echo_n "(cached) " >&6
   15992 else
   15993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15994 /* end confdefs.h.  */
   15995 int i;
   15996 _ACEOF
   15997 if ac_fn_c_try_compile "$LINENO"; then :
   15998   xorg_cv_cc_flag_unused_command_line_argument=yes
   15999 else
   16000   xorg_cv_cc_flag_unused_command_line_argument=no
   16001 fi
   16002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16003 fi
   16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16005 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16007 	CFLAGS="$xorg_testset_save_CFLAGS"
   16008 fi
   16009 
   16010 found="no"
   16011 
   16012 	if test $found = "no" ; then
   16013 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16015 		fi
   16016 
   16017 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16019 		fi
   16020 
   16021 		CFLAGS="$CFLAGS -Wmain"
   16022 
   16023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmain" >&5
   16024 $as_echo_n "checking if $CC supports-Wmain... " >&6; }
   16025 		cacheid=xorg_cv_cc_flag__Wmain
   16026 		if eval \${$cacheid+:} false; then :
   16027   $as_echo_n "(cached) " >&6
   16028 else
   16029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16030 /* end confdefs.h.  */
   16031 int i;
   16032 int
   16033 main ()
   16034 {
   16035 
   16036   ;
   16037   return 0;
   16038 }
   16039 _ACEOF
   16040 if ac_fn_c_try_link "$LINENO"; then :
   16041   eval $cacheid=yes
   16042 else
   16043   eval $cacheid=no
   16044 fi
   16045 rm -f core conftest.err conftest.$ac_objext \
   16046     conftest$ac_exeext conftest.$ac_ext
   16047 fi
   16048 
   16049 
   16050 		CFLAGS="$xorg_testset_save_CFLAGS"
   16051 
   16052 		eval supported=\$$cacheid
   16053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16054 $as_echo "$supported" >&6; }
   16055 		if test "$supported" = "yes" ; then
   16056 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16057 			found="yes"
   16058 		fi
   16059 	fi
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 xorg_testset_save_CFLAGS="$CFLAGS"
   16076 
   16077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16080 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16081 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16082   $as_echo_n "(cached) " >&6
   16083 else
   16084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16085 /* end confdefs.h.  */
   16086 int i;
   16087 _ACEOF
   16088 if ac_fn_c_try_compile "$LINENO"; then :
   16089   xorg_cv_cc_flag_unknown_warning_option=yes
   16090 else
   16091   xorg_cv_cc_flag_unknown_warning_option=no
   16092 fi
   16093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16094 fi
   16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16096 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16098 	CFLAGS="$xorg_testset_save_CFLAGS"
   16099 fi
   16100 
   16101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16104 	fi
   16105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16107 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16108 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16109   $as_echo_n "(cached) " >&6
   16110 else
   16111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16112 /* end confdefs.h.  */
   16113 int i;
   16114 _ACEOF
   16115 if ac_fn_c_try_compile "$LINENO"; then :
   16116   xorg_cv_cc_flag_unused_command_line_argument=yes
   16117 else
   16118   xorg_cv_cc_flag_unused_command_line_argument=no
   16119 fi
   16120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16121 fi
   16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16123 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16125 	CFLAGS="$xorg_testset_save_CFLAGS"
   16126 fi
   16127 
   16128 found="no"
   16129 
   16130 	if test $found = "no" ; then
   16131 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16133 		fi
   16134 
   16135 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16137 		fi
   16138 
   16139 		CFLAGS="$CFLAGS -Wmissing-braces"
   16140 
   16141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wmissing-braces" >&5
   16142 $as_echo_n "checking if $CC supports-Wmissing-braces... " >&6; }
   16143 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16144 		if eval \${$cacheid+:} false; then :
   16145   $as_echo_n "(cached) " >&6
   16146 else
   16147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16148 /* end confdefs.h.  */
   16149 int i;
   16150 int
   16151 main ()
   16152 {
   16153 
   16154   ;
   16155   return 0;
   16156 }
   16157 _ACEOF
   16158 if ac_fn_c_try_link "$LINENO"; then :
   16159   eval $cacheid=yes
   16160 else
   16161   eval $cacheid=no
   16162 fi
   16163 rm -f core conftest.err conftest.$ac_objext \
   16164     conftest$ac_exeext conftest.$ac_ext
   16165 fi
   16166 
   16167 
   16168 		CFLAGS="$xorg_testset_save_CFLAGS"
   16169 
   16170 		eval supported=\$$cacheid
   16171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16172 $as_echo "$supported" >&6; }
   16173 		if test "$supported" = "yes" ; then
   16174 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16175 			found="yes"
   16176 		fi
   16177 	fi
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 xorg_testset_save_CFLAGS="$CFLAGS"
   16194 
   16195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16198 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16199 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16200   $as_echo_n "(cached) " >&6
   16201 else
   16202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16203 /* end confdefs.h.  */
   16204 int i;
   16205 _ACEOF
   16206 if ac_fn_c_try_compile "$LINENO"; then :
   16207   xorg_cv_cc_flag_unknown_warning_option=yes
   16208 else
   16209   xorg_cv_cc_flag_unknown_warning_option=no
   16210 fi
   16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16212 fi
   16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16214 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16216 	CFLAGS="$xorg_testset_save_CFLAGS"
   16217 fi
   16218 
   16219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16222 	fi
   16223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16225 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16226 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16227   $as_echo_n "(cached) " >&6
   16228 else
   16229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16230 /* end confdefs.h.  */
   16231 int i;
   16232 _ACEOF
   16233 if ac_fn_c_try_compile "$LINENO"; then :
   16234   xorg_cv_cc_flag_unused_command_line_argument=yes
   16235 else
   16236   xorg_cv_cc_flag_unused_command_line_argument=no
   16237 fi
   16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16239 fi
   16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16241 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16243 	CFLAGS="$xorg_testset_save_CFLAGS"
   16244 fi
   16245 
   16246 found="no"
   16247 
   16248 	if test $found = "no" ; then
   16249 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16251 		fi
   16252 
   16253 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16255 		fi
   16256 
   16257 		CFLAGS="$CFLAGS -Wsequence-point"
   16258 
   16259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wsequence-point" >&5
   16260 $as_echo_n "checking if $CC supports-Wsequence-point... " >&6; }
   16261 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16262 		if eval \${$cacheid+:} false; then :
   16263   $as_echo_n "(cached) " >&6
   16264 else
   16265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16266 /* end confdefs.h.  */
   16267 int i;
   16268 int
   16269 main ()
   16270 {
   16271 
   16272   ;
   16273   return 0;
   16274 }
   16275 _ACEOF
   16276 if ac_fn_c_try_link "$LINENO"; then :
   16277   eval $cacheid=yes
   16278 else
   16279   eval $cacheid=no
   16280 fi
   16281 rm -f core conftest.err conftest.$ac_objext \
   16282     conftest$ac_exeext conftest.$ac_ext
   16283 fi
   16284 
   16285 
   16286 		CFLAGS="$xorg_testset_save_CFLAGS"
   16287 
   16288 		eval supported=\$$cacheid
   16289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16290 $as_echo "$supported" >&6; }
   16291 		if test "$supported" = "yes" ; then
   16292 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16293 			found="yes"
   16294 		fi
   16295 	fi
   16296 
   16297 
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 xorg_testset_save_CFLAGS="$CFLAGS"
   16312 
   16313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16318   $as_echo_n "(cached) " >&6
   16319 else
   16320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16321 /* end confdefs.h.  */
   16322 int i;
   16323 _ACEOF
   16324 if ac_fn_c_try_compile "$LINENO"; then :
   16325   xorg_cv_cc_flag_unknown_warning_option=yes
   16326 else
   16327   xorg_cv_cc_flag_unknown_warning_option=no
   16328 fi
   16329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16330 fi
   16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16334 	CFLAGS="$xorg_testset_save_CFLAGS"
   16335 fi
   16336 
   16337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16340 	fi
   16341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16345   $as_echo_n "(cached) " >&6
   16346 else
   16347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16348 /* end confdefs.h.  */
   16349 int i;
   16350 _ACEOF
   16351 if ac_fn_c_try_compile "$LINENO"; then :
   16352   xorg_cv_cc_flag_unused_command_line_argument=yes
   16353 else
   16354   xorg_cv_cc_flag_unused_command_line_argument=no
   16355 fi
   16356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16357 fi
   16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16361 	CFLAGS="$xorg_testset_save_CFLAGS"
   16362 fi
   16363 
   16364 found="no"
   16365 
   16366 	if test $found = "no" ; then
   16367 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16369 		fi
   16370 
   16371 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16373 		fi
   16374 
   16375 		CFLAGS="$CFLAGS -Wreturn-type"
   16376 
   16377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wreturn-type" >&5
   16378 $as_echo_n "checking if $CC supports-Wreturn-type... " >&6; }
   16379 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16380 		if eval \${$cacheid+:} false; then :
   16381   $as_echo_n "(cached) " >&6
   16382 else
   16383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16384 /* end confdefs.h.  */
   16385 int i;
   16386 int
   16387 main ()
   16388 {
   16389 
   16390   ;
   16391   return 0;
   16392 }
   16393 _ACEOF
   16394 if ac_fn_c_try_link "$LINENO"; then :
   16395   eval $cacheid=yes
   16396 else
   16397   eval $cacheid=no
   16398 fi
   16399 rm -f core conftest.err conftest.$ac_objext \
   16400     conftest$ac_exeext conftest.$ac_ext
   16401 fi
   16402 
   16403 
   16404 		CFLAGS="$xorg_testset_save_CFLAGS"
   16405 
   16406 		eval supported=\$$cacheid
   16407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16408 $as_echo "$supported" >&6; }
   16409 		if test "$supported" = "yes" ; then
   16410 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16411 			found="yes"
   16412 		fi
   16413 	fi
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 xorg_testset_save_CFLAGS="$CFLAGS"
   16430 
   16431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16434 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16435 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16436   $as_echo_n "(cached) " >&6
   16437 else
   16438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16439 /* end confdefs.h.  */
   16440 int i;
   16441 _ACEOF
   16442 if ac_fn_c_try_compile "$LINENO"; then :
   16443   xorg_cv_cc_flag_unknown_warning_option=yes
   16444 else
   16445   xorg_cv_cc_flag_unknown_warning_option=no
   16446 fi
   16447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16448 fi
   16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16450 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16452 	CFLAGS="$xorg_testset_save_CFLAGS"
   16453 fi
   16454 
   16455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16458 	fi
   16459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16461 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16462 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16463   $as_echo_n "(cached) " >&6
   16464 else
   16465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16466 /* end confdefs.h.  */
   16467 int i;
   16468 _ACEOF
   16469 if ac_fn_c_try_compile "$LINENO"; then :
   16470   xorg_cv_cc_flag_unused_command_line_argument=yes
   16471 else
   16472   xorg_cv_cc_flag_unused_command_line_argument=no
   16473 fi
   16474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16475 fi
   16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16477 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16479 	CFLAGS="$xorg_testset_save_CFLAGS"
   16480 fi
   16481 
   16482 found="no"
   16483 
   16484 	if test $found = "no" ; then
   16485 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16487 		fi
   16488 
   16489 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16491 		fi
   16492 
   16493 		CFLAGS="$CFLAGS -Wtrigraphs"
   16494 
   16495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wtrigraphs" >&5
   16496 $as_echo_n "checking if $CC supports-Wtrigraphs... " >&6; }
   16497 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16498 		if eval \${$cacheid+:} false; then :
   16499   $as_echo_n "(cached) " >&6
   16500 else
   16501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16502 /* end confdefs.h.  */
   16503 int i;
   16504 int
   16505 main ()
   16506 {
   16507 
   16508   ;
   16509   return 0;
   16510 }
   16511 _ACEOF
   16512 if ac_fn_c_try_link "$LINENO"; then :
   16513   eval $cacheid=yes
   16514 else
   16515   eval $cacheid=no
   16516 fi
   16517 rm -f core conftest.err conftest.$ac_objext \
   16518     conftest$ac_exeext conftest.$ac_ext
   16519 fi
   16520 
   16521 
   16522 		CFLAGS="$xorg_testset_save_CFLAGS"
   16523 
   16524 		eval supported=\$$cacheid
   16525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16526 $as_echo "$supported" >&6; }
   16527 		if test "$supported" = "yes" ; then
   16528 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16529 			found="yes"
   16530 		fi
   16531 	fi
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 xorg_testset_save_CFLAGS="$CFLAGS"
   16548 
   16549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16552 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16553 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16554   $as_echo_n "(cached) " >&6
   16555 else
   16556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16557 /* end confdefs.h.  */
   16558 int i;
   16559 _ACEOF
   16560 if ac_fn_c_try_compile "$LINENO"; then :
   16561   xorg_cv_cc_flag_unknown_warning_option=yes
   16562 else
   16563   xorg_cv_cc_flag_unknown_warning_option=no
   16564 fi
   16565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16566 fi
   16567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16568 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16570 	CFLAGS="$xorg_testset_save_CFLAGS"
   16571 fi
   16572 
   16573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16576 	fi
   16577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16579 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16580 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16581   $as_echo_n "(cached) " >&6
   16582 else
   16583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16584 /* end confdefs.h.  */
   16585 int i;
   16586 _ACEOF
   16587 if ac_fn_c_try_compile "$LINENO"; then :
   16588   xorg_cv_cc_flag_unused_command_line_argument=yes
   16589 else
   16590   xorg_cv_cc_flag_unused_command_line_argument=no
   16591 fi
   16592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16593 fi
   16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16595 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16597 	CFLAGS="$xorg_testset_save_CFLAGS"
   16598 fi
   16599 
   16600 found="no"
   16601 
   16602 	if test $found = "no" ; then
   16603 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16605 		fi
   16606 
   16607 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16609 		fi
   16610 
   16611 		CFLAGS="$CFLAGS -Warray-bounds"
   16612 
   16613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Warray-bounds" >&5
   16614 $as_echo_n "checking if $CC supports-Warray-bounds... " >&6; }
   16615 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16616 		if eval \${$cacheid+:} false; then :
   16617   $as_echo_n "(cached) " >&6
   16618 else
   16619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16620 /* end confdefs.h.  */
   16621 int i;
   16622 int
   16623 main ()
   16624 {
   16625 
   16626   ;
   16627   return 0;
   16628 }
   16629 _ACEOF
   16630 if ac_fn_c_try_link "$LINENO"; then :
   16631   eval $cacheid=yes
   16632 else
   16633   eval $cacheid=no
   16634 fi
   16635 rm -f core conftest.err conftest.$ac_objext \
   16636     conftest$ac_exeext conftest.$ac_ext
   16637 fi
   16638 
   16639 
   16640 		CFLAGS="$xorg_testset_save_CFLAGS"
   16641 
   16642 		eval supported=\$$cacheid
   16643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16644 $as_echo "$supported" >&6; }
   16645 		if test "$supported" = "yes" ; then
   16646 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16647 			found="yes"
   16648 		fi
   16649 	fi
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 xorg_testset_save_CFLAGS="$CFLAGS"
   16666 
   16667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16669 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16670 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16671 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16672   $as_echo_n "(cached) " >&6
   16673 else
   16674   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16675 /* end confdefs.h.  */
   16676 int i;
   16677 _ACEOF
   16678 if ac_fn_c_try_compile "$LINENO"; then :
   16679   xorg_cv_cc_flag_unknown_warning_option=yes
   16680 else
   16681   xorg_cv_cc_flag_unknown_warning_option=no
   16682 fi
   16683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16684 fi
   16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16686 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16688 	CFLAGS="$xorg_testset_save_CFLAGS"
   16689 fi
   16690 
   16691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16694 	fi
   16695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16696 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16697 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16698 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16699   $as_echo_n "(cached) " >&6
   16700 else
   16701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16702 /* end confdefs.h.  */
   16703 int i;
   16704 _ACEOF
   16705 if ac_fn_c_try_compile "$LINENO"; then :
   16706   xorg_cv_cc_flag_unused_command_line_argument=yes
   16707 else
   16708   xorg_cv_cc_flag_unused_command_line_argument=no
   16709 fi
   16710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16711 fi
   16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16713 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16715 	CFLAGS="$xorg_testset_save_CFLAGS"
   16716 fi
   16717 
   16718 found="no"
   16719 
   16720 	if test $found = "no" ; then
   16721 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16723 		fi
   16724 
   16725 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16727 		fi
   16728 
   16729 		CFLAGS="$CFLAGS -Wwrite-strings"
   16730 
   16731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wwrite-strings" >&5
   16732 $as_echo_n "checking if $CC supports-Wwrite-strings... " >&6; }
   16733 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16734 		if eval \${$cacheid+:} false; then :
   16735   $as_echo_n "(cached) " >&6
   16736 else
   16737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16738 /* end confdefs.h.  */
   16739 int i;
   16740 int
   16741 main ()
   16742 {
   16743 
   16744   ;
   16745   return 0;
   16746 }
   16747 _ACEOF
   16748 if ac_fn_c_try_link "$LINENO"; then :
   16749   eval $cacheid=yes
   16750 else
   16751   eval $cacheid=no
   16752 fi
   16753 rm -f core conftest.err conftest.$ac_objext \
   16754     conftest$ac_exeext conftest.$ac_ext
   16755 fi
   16756 
   16757 
   16758 		CFLAGS="$xorg_testset_save_CFLAGS"
   16759 
   16760 		eval supported=\$$cacheid
   16761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16762 $as_echo "$supported" >&6; }
   16763 		if test "$supported" = "yes" ; then
   16764 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16765 			found="yes"
   16766 		fi
   16767 	fi
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 xorg_testset_save_CFLAGS="$CFLAGS"
   16784 
   16785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16787 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16788 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16789 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16790   $as_echo_n "(cached) " >&6
   16791 else
   16792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16793 /* end confdefs.h.  */
   16794 int i;
   16795 _ACEOF
   16796 if ac_fn_c_try_compile "$LINENO"; then :
   16797   xorg_cv_cc_flag_unknown_warning_option=yes
   16798 else
   16799   xorg_cv_cc_flag_unknown_warning_option=no
   16800 fi
   16801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16802 fi
   16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16804 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16805 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16806 	CFLAGS="$xorg_testset_save_CFLAGS"
   16807 fi
   16808 
   16809 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16810 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16811 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16812 	fi
   16813 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16814 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16815 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16816 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16817   $as_echo_n "(cached) " >&6
   16818 else
   16819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16820 /* end confdefs.h.  */
   16821 int i;
   16822 _ACEOF
   16823 if ac_fn_c_try_compile "$LINENO"; then :
   16824   xorg_cv_cc_flag_unused_command_line_argument=yes
   16825 else
   16826   xorg_cv_cc_flag_unused_command_line_argument=no
   16827 fi
   16828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16829 fi
   16830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16831 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16833 	CFLAGS="$xorg_testset_save_CFLAGS"
   16834 fi
   16835 
   16836 found="no"
   16837 
   16838 	if test $found = "no" ; then
   16839 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16841 		fi
   16842 
   16843 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16845 		fi
   16846 
   16847 		CFLAGS="$CFLAGS -Waddress"
   16848 
   16849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Waddress" >&5
   16850 $as_echo_n "checking if $CC supports-Waddress... " >&6; }
   16851 		cacheid=xorg_cv_cc_flag__Waddress
   16852 		if eval \${$cacheid+:} false; then :
   16853   $as_echo_n "(cached) " >&6
   16854 else
   16855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16856 /* end confdefs.h.  */
   16857 int i;
   16858 int
   16859 main ()
   16860 {
   16861 
   16862   ;
   16863   return 0;
   16864 }
   16865 _ACEOF
   16866 if ac_fn_c_try_link "$LINENO"; then :
   16867   eval $cacheid=yes
   16868 else
   16869   eval $cacheid=no
   16870 fi
   16871 rm -f core conftest.err conftest.$ac_objext \
   16872     conftest$ac_exeext conftest.$ac_ext
   16873 fi
   16874 
   16875 
   16876 		CFLAGS="$xorg_testset_save_CFLAGS"
   16877 
   16878 		eval supported=\$$cacheid
   16879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16880 $as_echo "$supported" >&6; }
   16881 		if test "$supported" = "yes" ; then
   16882 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16883 			found="yes"
   16884 		fi
   16885 	fi
   16886 
   16887 
   16888 
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 xorg_testset_save_CFLAGS="$CFLAGS"
   16902 
   16903 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16904 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16905 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16906 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16907 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16908   $as_echo_n "(cached) " >&6
   16909 else
   16910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16911 /* end confdefs.h.  */
   16912 int i;
   16913 _ACEOF
   16914 if ac_fn_c_try_compile "$LINENO"; then :
   16915   xorg_cv_cc_flag_unknown_warning_option=yes
   16916 else
   16917   xorg_cv_cc_flag_unknown_warning_option=no
   16918 fi
   16919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16920 fi
   16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16922 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16923 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16924 	CFLAGS="$xorg_testset_save_CFLAGS"
   16925 fi
   16926 
   16927 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16928 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16929 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16930 	fi
   16931 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16932 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16933 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16934 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16935   $as_echo_n "(cached) " >&6
   16936 else
   16937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16938 /* end confdefs.h.  */
   16939 int i;
   16940 _ACEOF
   16941 if ac_fn_c_try_compile "$LINENO"; then :
   16942   xorg_cv_cc_flag_unused_command_line_argument=yes
   16943 else
   16944   xorg_cv_cc_flag_unused_command_line_argument=no
   16945 fi
   16946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16947 fi
   16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16949 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16951 	CFLAGS="$xorg_testset_save_CFLAGS"
   16952 fi
   16953 
   16954 found="no"
   16955 
   16956 	if test $found = "no" ; then
   16957 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16959 		fi
   16960 
   16961 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16963 		fi
   16964 
   16965 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16966 
   16967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wint-to-pointer-cast" >&5
   16968 $as_echo_n "checking if $CC supports-Wint-to-pointer-cast... " >&6; }
   16969 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16970 		if eval \${$cacheid+:} false; then :
   16971   $as_echo_n "(cached) " >&6
   16972 else
   16973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16974 /* end confdefs.h.  */
   16975 int i;
   16976 int
   16977 main ()
   16978 {
   16979 
   16980   ;
   16981   return 0;
   16982 }
   16983 _ACEOF
   16984 if ac_fn_c_try_link "$LINENO"; then :
   16985   eval $cacheid=yes
   16986 else
   16987   eval $cacheid=no
   16988 fi
   16989 rm -f core conftest.err conftest.$ac_objext \
   16990     conftest$ac_exeext conftest.$ac_ext
   16991 fi
   16992 
   16993 
   16994 		CFLAGS="$xorg_testset_save_CFLAGS"
   16995 
   16996 		eval supported=\$$cacheid
   16997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16998 $as_echo "$supported" >&6; }
   16999 		if test "$supported" = "yes" ; then
   17000 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17001 			found="yes"
   17002 		fi
   17003 	fi
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 xorg_testset_save_CFLAGS="$CFLAGS"
   17020 
   17021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17024 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17025 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17026   $as_echo_n "(cached) " >&6
   17027 else
   17028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17029 /* end confdefs.h.  */
   17030 int i;
   17031 _ACEOF
   17032 if ac_fn_c_try_compile "$LINENO"; then :
   17033   xorg_cv_cc_flag_unknown_warning_option=yes
   17034 else
   17035   xorg_cv_cc_flag_unknown_warning_option=no
   17036 fi
   17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17038 fi
   17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17040 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17042 	CFLAGS="$xorg_testset_save_CFLAGS"
   17043 fi
   17044 
   17045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17048 	fi
   17049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17051 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17052 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17053   $as_echo_n "(cached) " >&6
   17054 else
   17055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17056 /* end confdefs.h.  */
   17057 int i;
   17058 _ACEOF
   17059 if ac_fn_c_try_compile "$LINENO"; then :
   17060   xorg_cv_cc_flag_unused_command_line_argument=yes
   17061 else
   17062   xorg_cv_cc_flag_unused_command_line_argument=no
   17063 fi
   17064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17065 fi
   17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17067 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17068 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17069 	CFLAGS="$xorg_testset_save_CFLAGS"
   17070 fi
   17071 
   17072 found="no"
   17073 
   17074 	if test $found = "no" ; then
   17075 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17077 		fi
   17078 
   17079 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17081 		fi
   17082 
   17083 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17084 
   17085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Wpointer-to-int-cast" >&5
   17086 $as_echo_n "checking if $CC supports-Wpointer-to-int-cast... " >&6; }
   17087 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17088 		if eval \${$cacheid+:} false; then :
   17089   $as_echo_n "(cached) " >&6
   17090 else
   17091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17092 /* end confdefs.h.  */
   17093 int i;
   17094 int
   17095 main ()
   17096 {
   17097 
   17098   ;
   17099   return 0;
   17100 }
   17101 _ACEOF
   17102 if ac_fn_c_try_link "$LINENO"; then :
   17103   eval $cacheid=yes
   17104 else
   17105   eval $cacheid=no
   17106 fi
   17107 rm -f core conftest.err conftest.$ac_objext \
   17108     conftest$ac_exeext conftest.$ac_ext
   17109 fi
   17110 
   17111 
   17112 		CFLAGS="$xorg_testset_save_CFLAGS"
   17113 
   17114 		eval supported=\$$cacheid
   17115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17116 $as_echo "$supported" >&6; }
   17117 		if test "$supported" = "yes" ; then
   17118 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17119 			found="yes"
   17120 		fi
   17121 	fi
   17122 
   17123 
   17124 fi
   17125 
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 		CWARNFLAGS="$BASE_CFLAGS"
   17133 		if  test "x$GCC" = xyes ; then
   17134 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17135 		fi
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 
   17142 
   17143 
   17144 # Check whether --enable-strict-compilation was given.
   17145 if test "${enable_strict_compilation+set}" = set; then :
   17146   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17147 else
   17148   STRICT_COMPILE=no
   17149 fi
   17150 
   17151 
   17152 
   17153 
   17154 
   17155 
   17156 STRICT_CFLAGS=""
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 xorg_testset_save_CFLAGS="$CFLAGS"
   17171 
   17172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17175 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17176 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17177   $as_echo_n "(cached) " >&6
   17178 else
   17179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17180 /* end confdefs.h.  */
   17181 int i;
   17182 _ACEOF
   17183 if ac_fn_c_try_compile "$LINENO"; then :
   17184   xorg_cv_cc_flag_unknown_warning_option=yes
   17185 else
   17186   xorg_cv_cc_flag_unknown_warning_option=no
   17187 fi
   17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17189 fi
   17190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17191 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17193 	CFLAGS="$xorg_testset_save_CFLAGS"
   17194 fi
   17195 
   17196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17199 	fi
   17200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17201 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17202 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17203 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17204   $as_echo_n "(cached) " >&6
   17205 else
   17206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17207 /* end confdefs.h.  */
   17208 int i;
   17209 _ACEOF
   17210 if ac_fn_c_try_compile "$LINENO"; then :
   17211   xorg_cv_cc_flag_unused_command_line_argument=yes
   17212 else
   17213   xorg_cv_cc_flag_unused_command_line_argument=no
   17214 fi
   17215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17216 fi
   17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17218 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17220 	CFLAGS="$xorg_testset_save_CFLAGS"
   17221 fi
   17222 
   17223 found="no"
   17224 
   17225 	if test $found = "no" ; then
   17226 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17228 		fi
   17229 
   17230 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17232 		fi
   17233 
   17234 		CFLAGS="$CFLAGS -pedantic"
   17235 
   17236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-pedantic" >&5
   17237 $as_echo_n "checking if $CC supports-pedantic... " >&6; }
   17238 		cacheid=xorg_cv_cc_flag__pedantic
   17239 		if eval \${$cacheid+:} false; then :
   17240   $as_echo_n "(cached) " >&6
   17241 else
   17242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17243 /* end confdefs.h.  */
   17244 int i;
   17245 int
   17246 main ()
   17247 {
   17248 
   17249   ;
   17250   return 0;
   17251 }
   17252 _ACEOF
   17253 if ac_fn_c_try_link "$LINENO"; then :
   17254   eval $cacheid=yes
   17255 else
   17256   eval $cacheid=no
   17257 fi
   17258 rm -f core conftest.err conftest.$ac_objext \
   17259     conftest$ac_exeext conftest.$ac_ext
   17260 fi
   17261 
   17262 
   17263 		CFLAGS="$xorg_testset_save_CFLAGS"
   17264 
   17265 		eval supported=\$$cacheid
   17266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17267 $as_echo "$supported" >&6; }
   17268 		if test "$supported" = "yes" ; then
   17269 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17270 			found="yes"
   17271 		fi
   17272 	fi
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 xorg_testset_save_CFLAGS="$CFLAGS"
   17289 
   17290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17295   $as_echo_n "(cached) " >&6
   17296 else
   17297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17298 /* end confdefs.h.  */
   17299 int i;
   17300 _ACEOF
   17301 if ac_fn_c_try_compile "$LINENO"; then :
   17302   xorg_cv_cc_flag_unknown_warning_option=yes
   17303 else
   17304   xorg_cv_cc_flag_unknown_warning_option=no
   17305 fi
   17306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17307 fi
   17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17311 	CFLAGS="$xorg_testset_save_CFLAGS"
   17312 fi
   17313 
   17314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17317 	fi
   17318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17322   $as_echo_n "(cached) " >&6
   17323 else
   17324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17325 /* end confdefs.h.  */
   17326 int i;
   17327 _ACEOF
   17328 if ac_fn_c_try_compile "$LINENO"; then :
   17329   xorg_cv_cc_flag_unused_command_line_argument=yes
   17330 else
   17331   xorg_cv_cc_flag_unused_command_line_argument=no
   17332 fi
   17333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17334 fi
   17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17338 	CFLAGS="$xorg_testset_save_CFLAGS"
   17339 fi
   17340 
   17341 found="no"
   17342 
   17343 	if test $found = "no" ; then
   17344 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17346 		fi
   17347 
   17348 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17350 		fi
   17351 
   17352 		CFLAGS="$CFLAGS -Werror"
   17353 
   17354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror" >&5
   17355 $as_echo_n "checking if $CC supports-Werror... " >&6; }
   17356 		cacheid=xorg_cv_cc_flag__Werror
   17357 		if eval \${$cacheid+:} false; then :
   17358   $as_echo_n "(cached) " >&6
   17359 else
   17360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17361 /* end confdefs.h.  */
   17362 int i;
   17363 int
   17364 main ()
   17365 {
   17366 
   17367   ;
   17368   return 0;
   17369 }
   17370 _ACEOF
   17371 if ac_fn_c_try_link "$LINENO"; then :
   17372   eval $cacheid=yes
   17373 else
   17374   eval $cacheid=no
   17375 fi
   17376 rm -f core conftest.err conftest.$ac_objext \
   17377     conftest$ac_exeext conftest.$ac_ext
   17378 fi
   17379 
   17380 
   17381 		CFLAGS="$xorg_testset_save_CFLAGS"
   17382 
   17383 		eval supported=\$$cacheid
   17384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17385 $as_echo "$supported" >&6; }
   17386 		if test "$supported" = "yes" ; then
   17387 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17388 			found="yes"
   17389 		fi
   17390 	fi
   17391 
   17392 	if test $found = "no" ; then
   17393 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17395 		fi
   17396 
   17397 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17399 		fi
   17400 
   17401 		CFLAGS="$CFLAGS -errwarn"
   17402 
   17403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-errwarn" >&5
   17404 $as_echo_n "checking if $CC supports-errwarn... " >&6; }
   17405 		cacheid=xorg_cv_cc_flag__errwarn
   17406 		if eval \${$cacheid+:} false; then :
   17407   $as_echo_n "(cached) " >&6
   17408 else
   17409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17410 /* end confdefs.h.  */
   17411 int i;
   17412 int
   17413 main ()
   17414 {
   17415 
   17416   ;
   17417   return 0;
   17418 }
   17419 _ACEOF
   17420 if ac_fn_c_try_link "$LINENO"; then :
   17421   eval $cacheid=yes
   17422 else
   17423   eval $cacheid=no
   17424 fi
   17425 rm -f core conftest.err conftest.$ac_objext \
   17426     conftest$ac_exeext conftest.$ac_ext
   17427 fi
   17428 
   17429 
   17430 		CFLAGS="$xorg_testset_save_CFLAGS"
   17431 
   17432 		eval supported=\$$cacheid
   17433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17434 $as_echo "$supported" >&6; }
   17435 		if test "$supported" = "yes" ; then
   17436 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17437 			found="yes"
   17438 		fi
   17439 	fi
   17440 
   17441 
   17442 
   17443 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17444 # activate it with -Werror, so we add it here explicitly.
   17445 
   17446 
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 xorg_testset_save_CFLAGS="$CFLAGS"
   17459 
   17460 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17461 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17463 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17464 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17465   $as_echo_n "(cached) " >&6
   17466 else
   17467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17468 /* end confdefs.h.  */
   17469 int i;
   17470 _ACEOF
   17471 if ac_fn_c_try_compile "$LINENO"; then :
   17472   xorg_cv_cc_flag_unknown_warning_option=yes
   17473 else
   17474   xorg_cv_cc_flag_unknown_warning_option=no
   17475 fi
   17476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17477 fi
   17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17479 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17480 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17481 	CFLAGS="$xorg_testset_save_CFLAGS"
   17482 fi
   17483 
   17484 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17485 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17486 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17487 	fi
   17488 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17490 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17491 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17492   $as_echo_n "(cached) " >&6
   17493 else
   17494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17495 /* end confdefs.h.  */
   17496 int i;
   17497 _ACEOF
   17498 if ac_fn_c_try_compile "$LINENO"; then :
   17499   xorg_cv_cc_flag_unused_command_line_argument=yes
   17500 else
   17501   xorg_cv_cc_flag_unused_command_line_argument=no
   17502 fi
   17503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17504 fi
   17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17506 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17508 	CFLAGS="$xorg_testset_save_CFLAGS"
   17509 fi
   17510 
   17511 found="no"
   17512 
   17513 	if test $found = "no" ; then
   17514 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17516 		fi
   17517 
   17518 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17520 		fi
   17521 
   17522 		CFLAGS="$CFLAGS -Werror=attributes"
   17523 
   17524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports-Werror=attributes" >&5
   17525 $as_echo_n "checking if $CC supports-Werror=attributes... " >&6; }
   17526 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17527 		if eval \${$cacheid+:} false; then :
   17528   $as_echo_n "(cached) " >&6
   17529 else
   17530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17531 /* end confdefs.h.  */
   17532 int i;
   17533 int
   17534 main ()
   17535 {
   17536 
   17537   ;
   17538   return 0;
   17539 }
   17540 _ACEOF
   17541 if ac_fn_c_try_link "$LINENO"; then :
   17542   eval $cacheid=yes
   17543 else
   17544   eval $cacheid=no
   17545 fi
   17546 rm -f core conftest.err conftest.$ac_objext \
   17547     conftest$ac_exeext conftest.$ac_ext
   17548 fi
   17549 
   17550 
   17551 		CFLAGS="$xorg_testset_save_CFLAGS"
   17552 
   17553 		eval supported=\$$cacheid
   17554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17555 $as_echo "$supported" >&6; }
   17556 		if test "$supported" = "yes" ; then
   17557 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17558 			found="yes"
   17559 		fi
   17560 	fi
   17561 
   17562 
   17563 
   17564 if test "x$STRICT_COMPILE" = "xyes"; then
   17565     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17566     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17567 fi
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 cat >>confdefs.h <<_ACEOF
   17575 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17576 _ACEOF
   17577 
   17578 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17579 	if test "x$PVM" = "x"; then
   17580 		PVM="0"
   17581 	fi
   17582 
   17583 cat >>confdefs.h <<_ACEOF
   17584 #define PACKAGE_VERSION_MINOR $PVM
   17585 _ACEOF
   17586 
   17587 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17588 	if test "x$PVP" = "x"; then
   17589 		PVP="0"
   17590 	fi
   17591 
   17592 cat >>confdefs.h <<_ACEOF
   17593 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17594 _ACEOF
   17595 
   17596 
   17597 
   17598 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17599 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17600 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17601 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17602 
   17603 
   17604 
   17605 
   17606 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17607 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17608 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17609 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17610 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 if test x$APP_MAN_SUFFIX = x    ; then
   17618     APP_MAN_SUFFIX=1
   17619 fi
   17620 if test x$APP_MAN_DIR = x    ; then
   17621     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17622 fi
   17623 
   17624 if test x$LIB_MAN_SUFFIX = x    ; then
   17625     LIB_MAN_SUFFIX=3
   17626 fi
   17627 if test x$LIB_MAN_DIR = x    ; then
   17628     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17629 fi
   17630 
   17631 if test x$FILE_MAN_SUFFIX = x    ; then
   17632     case $host_os in
   17633 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17634 	*)		FILE_MAN_SUFFIX=5  ;;
   17635     esac
   17636 fi
   17637 if test x$FILE_MAN_DIR = x    ; then
   17638     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17639 fi
   17640 
   17641 if test x$MISC_MAN_SUFFIX = x    ; then
   17642     case $host_os in
   17643 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17644 	*)		MISC_MAN_SUFFIX=7  ;;
   17645     esac
   17646 fi
   17647 if test x$MISC_MAN_DIR = x    ; then
   17648     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17649 fi
   17650 
   17651 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17652     case $host_os in
   17653 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17654 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17655     esac
   17656 fi
   17657 if test x$DRIVER_MAN_DIR = x    ; then
   17658     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17659 fi
   17660 
   17661 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17662     case $host_os in
   17663 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17664 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17665     esac
   17666 fi
   17667 if test x$ADMIN_MAN_DIR = x    ; then
   17668     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17669 fi
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 XORG_MAN_PAGE="X Version 11"
   17686 
   17687 MAN_SUBSTS="\
   17688 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17689 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17690 	-e 's|__xservername__|Xorg|g' \
   17691 	-e 's|__xconfigfile__|xorg.conf|g' \
   17692 	-e 's|__projectroot__|\$(prefix)|g' \
   17693 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17694 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17695 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17696 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17697 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17698 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17699 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17700 
   17701 
   17702 
   17703 # Check whether --enable-silent-rules was given.
   17704 if test "${enable_silent_rules+set}" = set; then :
   17705   enableval=$enable_silent_rules;
   17706 fi
   17707 
   17708 case $enable_silent_rules in # (((
   17709   yes) AM_DEFAULT_VERBOSITY=0;;
   17710    no) AM_DEFAULT_VERBOSITY=1;;
   17711     *) AM_DEFAULT_VERBOSITY=0;;
   17712 esac
   17713 am_make=${MAKE-make}
   17714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17715 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17716 if ${am_cv_make_support_nested_variables+:} false; then :
   17717   $as_echo_n "(cached) " >&6
   17718 else
   17719   if $as_echo 'TRUE=$(BAR$(V))
   17720 BAR0=false
   17721 BAR1=true
   17722 V=1
   17723 am__doit:
   17724 	@$(TRUE)
   17725 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17726   am_cv_make_support_nested_variables=yes
   17727 else
   17728   am_cv_make_support_nested_variables=no
   17729 fi
   17730 fi
   17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17732 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17733 if test $am_cv_make_support_nested_variables = yes; then
   17734     AM_V='$(V)'
   17735   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17736 else
   17737   AM_V=$AM_DEFAULT_VERBOSITY
   17738   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17739 fi
   17740 AM_BACKSLASH='\'
   17741 
   17742 
   17743 
   17744 # Checks for library functions
   17745 for ac_func in strlcat
   17746 do :
   17747   ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   17748 if test "x$ac_cv_func_strlcat" = xyes; then :
   17749   cat >>confdefs.h <<_ACEOF
   17750 #define HAVE_STRLCAT 1
   17751 _ACEOF
   17752 
   17753 fi
   17754 done
   17755 
   17756 
   17757 # Obtain compiler/linker options for dependencies
   17758 
   17759 pkg_failed=no
   17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5
   17761 $as_echo_n "checking for XPM... " >&6; }
   17762 
   17763 if test -n "$XPM_CFLAGS"; then
   17764     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   17765  elif test -n "$PKG_CONFIG"; then
   17766     if test -n "$PKG_CONFIG" && \
   17767     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   17768   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   17769   ac_status=$?
   17770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17771   test $ac_status = 0; }; then
   17772   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
   17773 		      test "x$?" != "x0" && pkg_failed=yes
   17774 else
   17775   pkg_failed=yes
   17776 fi
   17777  else
   17778     pkg_failed=untried
   17779 fi
   17780 if test -n "$XPM_LIBS"; then
   17781     pkg_cv_XPM_LIBS="$XPM_LIBS"
   17782  elif test -n "$PKG_CONFIG"; then
   17783     if test -n "$PKG_CONFIG" && \
   17784     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   17785   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   17786   ac_status=$?
   17787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17788   test $ac_status = 0; }; then
   17789   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
   17790 		      test "x$?" != "x0" && pkg_failed=yes
   17791 else
   17792   pkg_failed=yes
   17793 fi
   17794  else
   17795     pkg_failed=untried
   17796 fi
   17797 
   17798 
   17799 
   17800 if test $pkg_failed = yes; then
   17801    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17802 $as_echo "no" >&6; }
   17803 
   17804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17805         _pkg_short_errors_supported=yes
   17806 else
   17807         _pkg_short_errors_supported=no
   17808 fi
   17809         if test $_pkg_short_errors_supported = yes; then
   17810 	        XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11" 2>&1`
   17811         else
   17812 	        XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11" 2>&1`
   17813         fi
   17814 	# Put the nasty error message in config.log where it belongs
   17815 	echo "$XPM_PKG_ERRORS" >&5
   17816 
   17817 	as_fn_error $? "Package requirements (xproto x11) were not met:
   17818 
   17819 $XPM_PKG_ERRORS
   17820 
   17821 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17822 installed software in a non-standard prefix.
   17823 
   17824 Alternatively, you may set the environment variables XPM_CFLAGS
   17825 and XPM_LIBS to avoid the need to call pkg-config.
   17826 See the pkg-config man page for more details." "$LINENO" 5
   17827 elif test $pkg_failed = untried; then
   17828      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17829 $as_echo "no" >&6; }
   17830 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17832 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17833 is in your PATH or set the PKG_CONFIG environment variable to the full
   17834 path to pkg-config.
   17835 
   17836 Alternatively, you may set the environment variables XPM_CFLAGS
   17837 and XPM_LIBS to avoid the need to call pkg-config.
   17838 See the pkg-config man page for more details.
   17839 
   17840 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17841 See \`config.log' for more details" "$LINENO" 5; }
   17842 else
   17843 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   17844 	XPM_LIBS=$pkg_cv_XPM_LIBS
   17845         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17846 $as_echo "yes" >&6; }
   17847 
   17848 fi
   17849 
   17850 pkg_failed=no
   17851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SXPM" >&5
   17852 $as_echo_n "checking for SXPM... " >&6; }
   17853 
   17854 if test -n "$SXPM_CFLAGS"; then
   17855     pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
   17856  elif test -n "$PKG_CONFIG"; then
   17857     if test -n "$PKG_CONFIG" && \
   17858     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   17859   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   17860   ac_status=$?
   17861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17862   test $ac_status = 0; }; then
   17863   pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   17864 		      test "x$?" != "x0" && pkg_failed=yes
   17865 else
   17866   pkg_failed=yes
   17867 fi
   17868  else
   17869     pkg_failed=untried
   17870 fi
   17871 if test -n "$SXPM_LIBS"; then
   17872     pkg_cv_SXPM_LIBS="$SXPM_LIBS"
   17873  elif test -n "$PKG_CONFIG"; then
   17874     if test -n "$PKG_CONFIG" && \
   17875     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   17876   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   17877   ac_status=$?
   17878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17879   test $ac_status = 0; }; then
   17880   pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   17881 		      test "x$?" != "x0" && pkg_failed=yes
   17882 else
   17883   pkg_failed=yes
   17884 fi
   17885  else
   17886     pkg_failed=untried
   17887 fi
   17888 
   17889 
   17890 
   17891 if test $pkg_failed = yes; then
   17892    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17893 $as_echo "no" >&6; }
   17894 
   17895 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17896         _pkg_short_errors_supported=yes
   17897 else
   17898         _pkg_short_errors_supported=no
   17899 fi
   17900         if test $_pkg_short_errors_supported = yes; then
   17901 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   17902         else
   17903 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   17904         fi
   17905 	# Put the nasty error message in config.log where it belongs
   17906 	echo "$SXPM_PKG_ERRORS" >&5
   17907 
   17908 	build_sxpm=false
   17909 elif test $pkg_failed = untried; then
   17910      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17911 $as_echo "no" >&6; }
   17912 	build_sxpm=false
   17913 else
   17914 	SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
   17915 	SXPM_LIBS=$pkg_cv_SXPM_LIBS
   17916         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17917 $as_echo "yes" >&6; }
   17918 	build_sxpm=true
   17919 fi
   17920  if test x$build_sxpm = xtrue; then
   17921   BUILD_SXPM_TRUE=
   17922   BUILD_SXPM_FALSE='#'
   17923 else
   17924   BUILD_SXPM_TRUE='#'
   17925   BUILD_SXPM_FALSE=
   17926 fi
   17927 
   17928 
   17929 # Internationalization & localization support
   17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   17931 $as_echo_n "checking for library containing gettext... " >&6; }
   17932 if ${ac_cv_search_gettext+:} false; then :
   17933   $as_echo_n "(cached) " >&6
   17934 else
   17935   ac_func_search_save_LIBS=$LIBS
   17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17937 /* end confdefs.h.  */
   17938 
   17939 /* Override any GCC internal prototype to avoid an error.
   17940    Use char because int might match the return type of a GCC
   17941    builtin and then its argument prototype would still apply.  */
   17942 #ifdef __cplusplus
   17943 extern "C"
   17944 #endif
   17945 char gettext ();
   17946 int
   17947 main ()
   17948 {
   17949 return gettext ();
   17950   ;
   17951   return 0;
   17952 }
   17953 _ACEOF
   17954 for ac_lib in '' intl; do
   17955   if test -z "$ac_lib"; then
   17956     ac_res="none required"
   17957   else
   17958     ac_res=-l$ac_lib
   17959     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17960   fi
   17961   if ac_fn_c_try_link "$LINENO"; then :
   17962   ac_cv_search_gettext=$ac_res
   17963 fi
   17964 rm -f core conftest.err conftest.$ac_objext \
   17965     conftest$ac_exeext
   17966   if ${ac_cv_search_gettext+:} false; then :
   17967   break
   17968 fi
   17969 done
   17970 if ${ac_cv_search_gettext+:} false; then :
   17971 
   17972 else
   17973   ac_cv_search_gettext=no
   17974 fi
   17975 rm conftest.$ac_ext
   17976 LIBS=$ac_func_search_save_LIBS
   17977 fi
   17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   17979 $as_echo "$ac_cv_search_gettext" >&6; }
   17980 ac_res=$ac_cv_search_gettext
   17981 if test "$ac_res" != no; then :
   17982   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17983   USE_GETTEXT="yes"
   17984 else
   17985   USE_GETTEXT="no"
   17986 fi
   17987 
   17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   17989 $as_echo_n "checking where to install localized messages... " >&6; }
   17990 
   17991 # Check whether --with-localedir was given.
   17992 if test "${with_localedir+set}" = set; then :
   17993   withval=$with_localedir; LOCALEDIR=${withval}
   17994 else
   17995   LOCALEDIR=${datadir}/locale
   17996 fi
   17997 
   17998 
   17999   prefix_NONE=
   18000   exec_prefix_NONE=
   18001   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   18002   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   18003   eval ax_define_dir="\"$LOCALEDIR\""
   18004   eval ax_define_dir="\"$ax_define_dir\""
   18005   LOCALEDIR="$ax_define_dir"
   18006 
   18007 
   18008 cat >>confdefs.h <<_ACEOF
   18009 #define LOCALEDIR "$ax_define_dir"
   18010 _ACEOF
   18011 
   18012   test "$prefix_NONE" && prefix=NONE
   18013   test "$exec_prefix_NONE" && exec_prefix=NONE
   18014 
   18015 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   18016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   18017 $as_echo "nowhere" >&6; }
   18018 	USE_GETTEXT="no"
   18019 else
   18020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   18021 $as_echo "$LOCALEDIR" >&6; }
   18022 fi
   18023 
   18024 if test "x$USE_GETTEXT" = "xyes" ; then
   18025 
   18026 $as_echo "#define USE_GETTEXT 1" >>confdefs.h
   18027 
   18028 fi
   18029  if test "x$USE_GETTEXT" = "xyes"; then
   18030   USE_GETTEXT_TRUE=
   18031   USE_GETTEXT_FALSE='#'
   18032 else
   18033   USE_GETTEXT_TRUE='#'
   18034   USE_GETTEXT_FALSE=
   18035 fi
   18036 
   18037 
   18038 # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
   18039 # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
   18040 # Check whether --enable-stat-zfile was given.
   18041 if test "${enable_stat_zfile+set}" = set; then :
   18042   enableval=$enable_stat_zfile; STAT_ZFILE=$enableval
   18043 else
   18044   STAT_ZFILE=yes
   18045 fi
   18046 
   18047 if test x$STAT_ZFILE = xyes ; then
   18048 
   18049 $as_echo "#define STAT_ZFILE 1" >>confdefs.h
   18050 
   18051 fi
   18052 
   18053 
   18054 case $host_os in
   18055 	*mingw*)
   18056 
   18057 $as_echo "#define NO_ZPIPE 1" >>confdefs.h
   18058 
   18059 	;;
   18060 	*)
   18061 	;;
   18062 esac
   18063 
   18064 ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile man/Makefile src/Makefile sxpm/Makefile cxpm/Makefile xpm.pc"
   18065 
   18066 cat >confcache <<\_ACEOF
   18067 # This file is a shell script that caches the results of configure
   18068 # tests run on this system so they can be shared between configure
   18069 # scripts and configure runs, see configure's option --config-cache.
   18070 # It is not useful on other systems.  If it contains results you don't
   18071 # want to keep, you may remove or edit it.
   18072 #
   18073 # config.status only pays attention to the cache file if you give it
   18074 # the --recheck option to rerun configure.
   18075 #
   18076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18078 # following values.
   18079 
   18080 _ACEOF
   18081 
   18082 # The following way of writing the cache mishandles newlines in values,
   18083 # but we know of no workaround that is simple, portable, and efficient.
   18084 # So, we kill variables containing newlines.
   18085 # Ultrix sh set writes to stderr and can't be redirected directly,
   18086 # and sets the high bit in the cache file unless we assign to the vars.
   18087 (
   18088   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18089     eval ac_val=\$$ac_var
   18090     case $ac_val in #(
   18091     *${as_nl}*)
   18092       case $ac_var in #(
   18093       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18094 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18095       esac
   18096       case $ac_var in #(
   18097       _ | IFS | as_nl) ;; #(
   18098       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18099       *) { eval $ac_var=; unset $ac_var;} ;;
   18100       esac ;;
   18101     esac
   18102   done
   18103 
   18104   (set) 2>&1 |
   18105     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18106     *${as_nl}ac_space=\ *)
   18107       # `set' does not quote correctly, so add quotes: double-quote
   18108       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18109       sed -n \
   18110 	"s/'/'\\\\''/g;
   18111 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18112       ;; #(
   18113     *)
   18114       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18115       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18116       ;;
   18117     esac |
   18118     sort
   18119 ) |
   18120   sed '
   18121      /^ac_cv_env_/b end
   18122      t clear
   18123      :clear
   18124      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18125      t end
   18126      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18127      :end' >>confcache
   18128 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18129   if test -w "$cache_file"; then
   18130     if test "x$cache_file" != "x/dev/null"; then
   18131       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18132 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18133       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18134 	cat confcache >"$cache_file"
   18135       else
   18136         case $cache_file in #(
   18137         */* | ?:*)
   18138 	  mv -f confcache "$cache_file"$$ &&
   18139 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18140         *)
   18141 	  mv -f confcache "$cache_file" ;;
   18142 	esac
   18143       fi
   18144     fi
   18145   else
   18146     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18147 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18148   fi
   18149 fi
   18150 rm -f confcache
   18151 
   18152 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18153 # Let make expand exec_prefix.
   18154 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18155 
   18156 DEFS=-DHAVE_CONFIG_H
   18157 
   18158 ac_libobjs=
   18159 ac_ltlibobjs=
   18160 U=
   18161 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18162   # 1. Remove the extension, and $U if already installed.
   18163   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18164   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18165   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18166   #    will be set to the directory where LIBOBJS objects are built.
   18167   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18168   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18169 done
   18170 LIBOBJS=$ac_libobjs
   18171 
   18172 LTLIBOBJS=$ac_ltlibobjs
   18173 
   18174 
   18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18176 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18177    if test -n "$am_sleep_pid"; then
   18178      # Hide warnings about reused PIDs.
   18179      wait $am_sleep_pid 2>/dev/null
   18180    fi
   18181    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18182 $as_echo "done" >&6; }
   18183  if test -n "$EXEEXT"; then
   18184   am__EXEEXT_TRUE=
   18185   am__EXEEXT_FALSE='#'
   18186 else
   18187   am__EXEEXT_TRUE='#'
   18188   am__EXEEXT_FALSE=
   18189 fi
   18190 
   18191 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18192   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18194 fi
   18195 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18196   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18198 fi
   18199 if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
   18200   as_fn_error $? "conditional \"BUILD_SXPM\" was never defined.
   18201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18202 fi
   18203 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   18204   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   18205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18206 fi
   18207 
   18208 : "${CONFIG_STATUS=./config.status}"
   18209 ac_write_fail=0
   18210 ac_clean_files_save=$ac_clean_files
   18211 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18212 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18213 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18214 as_write_fail=0
   18215 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18216 #! $SHELL
   18217 # Generated by $as_me.
   18218 # Run this file to recreate the current configuration.
   18219 # Compiler output produced by configure, useful for debugging
   18220 # configure, is in config.log if it exists.
   18221 
   18222 debug=false
   18223 ac_cs_recheck=false
   18224 ac_cs_silent=false
   18225 
   18226 SHELL=\${CONFIG_SHELL-$SHELL}
   18227 export SHELL
   18228 _ASEOF
   18229 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18230 ## -------------------- ##
   18231 ## M4sh Initialization. ##
   18232 ## -------------------- ##
   18233 
   18234 # Be more Bourne compatible
   18235 DUALCASE=1; export DUALCASE # for MKS sh
   18236 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18237   emulate sh
   18238   NULLCMD=:
   18239   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18240   # is contrary to our usage.  Disable this feature.
   18241   alias -g '${1+"$@"}'='"$@"'
   18242   setopt NO_GLOB_SUBST
   18243 else
   18244   case `(set -o) 2>/dev/null` in #(
   18245   *posix*) :
   18246     set -o posix ;; #(
   18247   *) :
   18248      ;;
   18249 esac
   18250 fi
   18251 
   18252 
   18253 as_nl='
   18254 '
   18255 export as_nl
   18256 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18257 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18258 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18259 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18260 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18261 # but without wasting forks for bash or zsh.
   18262 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18263     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18264   as_echo='print -r --'
   18265   as_echo_n='print -rn --'
   18266 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18267   as_echo='printf %s\n'
   18268   as_echo_n='printf %s'
   18269 else
   18270   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18271     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18272     as_echo_n='/usr/ucb/echo -n'
   18273   else
   18274     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18275     as_echo_n_body='eval
   18276       arg=$1;
   18277       case $arg in #(
   18278       *"$as_nl"*)
   18279 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18280 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18281       esac;
   18282       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18283     '
   18284     export as_echo_n_body
   18285     as_echo_n='sh -c $as_echo_n_body as_echo'
   18286   fi
   18287   export as_echo_body
   18288   as_echo='sh -c $as_echo_body as_echo'
   18289 fi
   18290 
   18291 # The user is always right.
   18292 if test "${PATH_SEPARATOR+set}" != set; then
   18293   PATH_SEPARATOR=:
   18294   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18295     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18296       PATH_SEPARATOR=';'
   18297   }
   18298 fi
   18299 
   18300 
   18301 # IFS
   18302 # We need space, tab and new line, in precisely that order.  Quoting is
   18303 # there to prevent editors from complaining about space-tab.
   18304 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18305 # splitting by setting IFS to empty value.)
   18306 IFS=" ""	$as_nl"
   18307 
   18308 # Find who we are.  Look in the path if we contain no directory separator.
   18309 as_myself=
   18310 case $0 in #((
   18311   *[\\/]* ) as_myself=$0 ;;
   18312   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18313 for as_dir in $PATH
   18314 do
   18315   IFS=$as_save_IFS
   18316   test -z "$as_dir" && as_dir=.
   18317     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18318   done
   18319 IFS=$as_save_IFS
   18320 
   18321      ;;
   18322 esac
   18323 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18324 # in which case we are not to be found in the path.
   18325 if test "x$as_myself" = x; then
   18326   as_myself=$0
   18327 fi
   18328 if test ! -f "$as_myself"; then
   18329   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18330   exit 1
   18331 fi
   18332 
   18333 # Unset variables that we do not need and which cause bugs (e.g. in
   18334 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18335 # suppresses any "Segmentation fault" message there.  '((' could
   18336 # trigger a bug in pdksh 5.2.14.
   18337 for as_var in BASH_ENV ENV MAIL MAILPATH
   18338 do eval test x\${$as_var+set} = xset \
   18339   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18340 done
   18341 PS1='$ '
   18342 PS2='> '
   18343 PS4='+ '
   18344 
   18345 # NLS nuisances.
   18346 LC_ALL=C
   18347 export LC_ALL
   18348 LANGUAGE=C
   18349 export LANGUAGE
   18350 
   18351 # CDPATH.
   18352 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18353 
   18354 
   18355 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18356 # ----------------------------------------
   18357 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18358 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18359 # script with STATUS, using 1 if that was 0.
   18360 as_fn_error ()
   18361 {
   18362   as_status=$1; test $as_status -eq 0 && as_status=1
   18363   if test "$4"; then
   18364     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18365     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18366   fi
   18367   $as_echo "$as_me: error: $2" >&2
   18368   as_fn_exit $as_status
   18369 } # as_fn_error
   18370 
   18371 
   18372 # as_fn_set_status STATUS
   18373 # -----------------------
   18374 # Set $? to STATUS, without forking.
   18375 as_fn_set_status ()
   18376 {
   18377   return $1
   18378 } # as_fn_set_status
   18379 
   18380 # as_fn_exit STATUS
   18381 # -----------------
   18382 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18383 as_fn_exit ()
   18384 {
   18385   set +e
   18386   as_fn_set_status $1
   18387   exit $1
   18388 } # as_fn_exit
   18389 
   18390 # as_fn_unset VAR
   18391 # ---------------
   18392 # Portably unset VAR.
   18393 as_fn_unset ()
   18394 {
   18395   { eval $1=; unset $1;}
   18396 }
   18397 as_unset=as_fn_unset
   18398 # as_fn_append VAR VALUE
   18399 # ----------------------
   18400 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18401 # advantage of any shell optimizations that allow amortized linear growth over
   18402 # repeated appends, instead of the typical quadratic growth present in naive
   18403 # implementations.
   18404 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18405   eval 'as_fn_append ()
   18406   {
   18407     eval $1+=\$2
   18408   }'
   18409 else
   18410   as_fn_append ()
   18411   {
   18412     eval $1=\$$1\$2
   18413   }
   18414 fi # as_fn_append
   18415 
   18416 # as_fn_arith ARG...
   18417 # ------------------
   18418 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18419 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18420 # must be portable across $(()) and expr.
   18421 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18422   eval 'as_fn_arith ()
   18423   {
   18424     as_val=$(( $* ))
   18425   }'
   18426 else
   18427   as_fn_arith ()
   18428   {
   18429     as_val=`expr "$@" || test $? -eq 1`
   18430   }
   18431 fi # as_fn_arith
   18432 
   18433 
   18434 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18435    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18436   as_expr=expr
   18437 else
   18438   as_expr=false
   18439 fi
   18440 
   18441 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18442   as_basename=basename
   18443 else
   18444   as_basename=false
   18445 fi
   18446 
   18447 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18448   as_dirname=dirname
   18449 else
   18450   as_dirname=false
   18451 fi
   18452 
   18453 as_me=`$as_basename -- "$0" ||
   18454 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18455 	 X"$0" : 'X\(//\)$' \| \
   18456 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18457 $as_echo X/"$0" |
   18458     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18459 	    s//\1/
   18460 	    q
   18461 	  }
   18462 	  /^X\/\(\/\/\)$/{
   18463 	    s//\1/
   18464 	    q
   18465 	  }
   18466 	  /^X\/\(\/\).*/{
   18467 	    s//\1/
   18468 	    q
   18469 	  }
   18470 	  s/.*/./; q'`
   18471 
   18472 # Avoid depending upon Character Ranges.
   18473 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18474 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18475 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18476 as_cr_digits='0123456789'
   18477 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18478 
   18479 ECHO_C= ECHO_N= ECHO_T=
   18480 case `echo -n x` in #(((((
   18481 -n*)
   18482   case `echo 'xy\c'` in
   18483   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18484   xy)  ECHO_C='\c';;
   18485   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18486        ECHO_T='	';;
   18487   esac;;
   18488 *)
   18489   ECHO_N='-n';;
   18490 esac
   18491 
   18492 rm -f conf$$ conf$$.exe conf$$.file
   18493 if test -d conf$$.dir; then
   18494   rm -f conf$$.dir/conf$$.file
   18495 else
   18496   rm -f conf$$.dir
   18497   mkdir conf$$.dir 2>/dev/null
   18498 fi
   18499 if (echo >conf$$.file) 2>/dev/null; then
   18500   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18501     as_ln_s='ln -s'
   18502     # ... but there are two gotchas:
   18503     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18504     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18505     # In both cases, we have to default to `cp -pR'.
   18506     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18507       as_ln_s='cp -pR'
   18508   elif ln conf$$.file conf$$ 2>/dev/null; then
   18509     as_ln_s=ln
   18510   else
   18511     as_ln_s='cp -pR'
   18512   fi
   18513 else
   18514   as_ln_s='cp -pR'
   18515 fi
   18516 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18517 rmdir conf$$.dir 2>/dev/null
   18518 
   18519 
   18520 # as_fn_mkdir_p
   18521 # -------------
   18522 # Create "$as_dir" as a directory, including parents if necessary.
   18523 as_fn_mkdir_p ()
   18524 {
   18525 
   18526   case $as_dir in #(
   18527   -*) as_dir=./$as_dir;;
   18528   esac
   18529   test -d "$as_dir" || eval $as_mkdir_p || {
   18530     as_dirs=
   18531     while :; do
   18532       case $as_dir in #(
   18533       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18534       *) as_qdir=$as_dir;;
   18535       esac
   18536       as_dirs="'$as_qdir' $as_dirs"
   18537       as_dir=`$as_dirname -- "$as_dir" ||
   18538 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18539 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18540 	 X"$as_dir" : 'X\(//\)$' \| \
   18541 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18542 $as_echo X"$as_dir" |
   18543     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18544 	    s//\1/
   18545 	    q
   18546 	  }
   18547 	  /^X\(\/\/\)[^/].*/{
   18548 	    s//\1/
   18549 	    q
   18550 	  }
   18551 	  /^X\(\/\/\)$/{
   18552 	    s//\1/
   18553 	    q
   18554 	  }
   18555 	  /^X\(\/\).*/{
   18556 	    s//\1/
   18557 	    q
   18558 	  }
   18559 	  s/.*/./; q'`
   18560       test -d "$as_dir" && break
   18561     done
   18562     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18563   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18564 
   18565 
   18566 } # as_fn_mkdir_p
   18567 if mkdir -p . 2>/dev/null; then
   18568   as_mkdir_p='mkdir -p "$as_dir"'
   18569 else
   18570   test -d ./-p && rmdir ./-p
   18571   as_mkdir_p=false
   18572 fi
   18573 
   18574 
   18575 # as_fn_executable_p FILE
   18576 # -----------------------
   18577 # Test if FILE is an executable regular file.
   18578 as_fn_executable_p ()
   18579 {
   18580   test -f "$1" && test -x "$1"
   18581 } # as_fn_executable_p
   18582 as_test_x='test -x'
   18583 as_executable_p=as_fn_executable_p
   18584 
   18585 # Sed expression to map a string onto a valid CPP name.
   18586 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18587 
   18588 # Sed expression to map a string onto a valid variable name.
   18589 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18590 
   18591 
   18592 exec 6>&1
   18593 ## ----------------------------------- ##
   18594 ## Main body of $CONFIG_STATUS script. ##
   18595 ## ----------------------------------- ##
   18596 _ASEOF
   18597 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18598 
   18599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18600 # Save the log message, to keep $0 and so on meaningful, and to
   18601 # report actual input values of CONFIG_FILES etc. instead of their
   18602 # values after options handling.
   18603 ac_log="
   18604 This file was extended by libXpm $as_me 3.5.12, which was
   18605 generated by GNU Autoconf 2.69.  Invocation command line was
   18606 
   18607   CONFIG_FILES    = $CONFIG_FILES
   18608   CONFIG_HEADERS  = $CONFIG_HEADERS
   18609   CONFIG_LINKS    = $CONFIG_LINKS
   18610   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18611   $ $0 $@
   18612 
   18613 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18614 "
   18615 
   18616 _ACEOF
   18617 
   18618 case $ac_config_files in *"
   18619 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18620 esac
   18621 
   18622 case $ac_config_headers in *"
   18623 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18624 esac
   18625 
   18626 
   18627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18628 # Files that config.status was made for.
   18629 config_files="$ac_config_files"
   18630 config_headers="$ac_config_headers"
   18631 config_commands="$ac_config_commands"
   18632 
   18633 _ACEOF
   18634 
   18635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18636 ac_cs_usage="\
   18637 \`$as_me' instantiates files and other configuration actions
   18638 from templates according to the current configuration.  Unless the files
   18639 and actions are specified as TAGs, all are instantiated by default.
   18640 
   18641 Usage: $0 [OPTION]... [TAG]...
   18642 
   18643   -h, --help       print this help, then exit
   18644   -V, --version    print version number and configuration settings, then exit
   18645       --config     print configuration, then exit
   18646   -q, --quiet, --silent
   18647                    do not print progress messages
   18648   -d, --debug      don't remove temporary files
   18649       --recheck    update $as_me by reconfiguring in the same conditions
   18650       --file=FILE[:TEMPLATE]
   18651                    instantiate the configuration file FILE
   18652       --header=FILE[:TEMPLATE]
   18653                    instantiate the configuration header FILE
   18654 
   18655 Configuration files:
   18656 $config_files
   18657 
   18658 Configuration headers:
   18659 $config_headers
   18660 
   18661 Configuration commands:
   18662 $config_commands
   18663 
   18664 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18665 
   18666 _ACEOF
   18667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18668 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18669 ac_cs_version="\\
   18670 libXpm config.status 3.5.12
   18671 configured by $0, generated by GNU Autoconf 2.69,
   18672   with options \\"\$ac_cs_config\\"
   18673 
   18674 Copyright (C) 2012 Free Software Foundation, Inc.
   18675 This config.status script is free software; the Free Software Foundation
   18676 gives unlimited permission to copy, distribute and modify it."
   18677 
   18678 ac_pwd='$ac_pwd'
   18679 srcdir='$srcdir'
   18680 INSTALL='$INSTALL'
   18681 MKDIR_P='$MKDIR_P'
   18682 AWK='$AWK'
   18683 test -n "\$AWK" || AWK=awk
   18684 _ACEOF
   18685 
   18686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18687 # The default lists apply if the user does not specify any file.
   18688 ac_need_defaults=:
   18689 while test $# != 0
   18690 do
   18691   case $1 in
   18692   --*=?*)
   18693     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18694     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18695     ac_shift=:
   18696     ;;
   18697   --*=)
   18698     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18699     ac_optarg=
   18700     ac_shift=:
   18701     ;;
   18702   *)
   18703     ac_option=$1
   18704     ac_optarg=$2
   18705     ac_shift=shift
   18706     ;;
   18707   esac
   18708 
   18709   case $ac_option in
   18710   # Handling of the options.
   18711   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18712     ac_cs_recheck=: ;;
   18713   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18714     $as_echo "$ac_cs_version"; exit ;;
   18715   --config | --confi | --conf | --con | --co | --c )
   18716     $as_echo "$ac_cs_config"; exit ;;
   18717   --debug | --debu | --deb | --de | --d | -d )
   18718     debug=: ;;
   18719   --file | --fil | --fi | --f )
   18720     $ac_shift
   18721     case $ac_optarg in
   18722     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18723     '') as_fn_error $? "missing file argument" ;;
   18724     esac
   18725     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18726     ac_need_defaults=false;;
   18727   --header | --heade | --head | --hea )
   18728     $ac_shift
   18729     case $ac_optarg in
   18730     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18731     esac
   18732     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18733     ac_need_defaults=false;;
   18734   --he | --h)
   18735     # Conflict between --help and --header
   18736     as_fn_error $? "ambiguous option: \`$1'
   18737 Try \`$0 --help' for more information.";;
   18738   --help | --hel | -h )
   18739     $as_echo "$ac_cs_usage"; exit ;;
   18740   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18741   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18742     ac_cs_silent=: ;;
   18743 
   18744   # This is an error.
   18745   -*) as_fn_error $? "unrecognized option: \`$1'
   18746 Try \`$0 --help' for more information." ;;
   18747 
   18748   *) as_fn_append ac_config_targets " $1"
   18749      ac_need_defaults=false ;;
   18750 
   18751   esac
   18752   shift
   18753 done
   18754 
   18755 ac_configure_extra_args=
   18756 
   18757 if $ac_cs_silent; then
   18758   exec 6>/dev/null
   18759   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18760 fi
   18761 
   18762 _ACEOF
   18763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18764 if \$ac_cs_recheck; then
   18765   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18766   shift
   18767   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18768   CONFIG_SHELL='$SHELL'
   18769   export CONFIG_SHELL
   18770   exec "\$@"
   18771 fi
   18772 
   18773 _ACEOF
   18774 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18775 exec 5>>config.log
   18776 {
   18777   echo
   18778   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18779 ## Running $as_me. ##
   18780 _ASBOX
   18781   $as_echo "$ac_log"
   18782 } >&5
   18783 
   18784 _ACEOF
   18785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18786 #
   18787 # INIT-COMMANDS
   18788 #
   18789 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18790 
   18791 
   18792 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18793 # if CDPATH is set.
   18794 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18795 
   18796 sed_quote_subst='$sed_quote_subst'
   18797 double_quote_subst='$double_quote_subst'
   18798 delay_variable_subst='$delay_variable_subst'
   18799 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18800 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18801 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18802 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18803 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18804 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18805 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18806 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18807 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18808 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18809 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18810 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18811 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18812 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18813 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18814 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18815 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18816 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18817 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18818 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18819 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18820 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18821 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18822 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18823 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18824 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18825 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18826 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18827 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18828 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18829 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18830 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18831 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18832 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18833 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18834 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18835 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18836 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18837 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18838 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18839 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18840 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18841 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18842 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18843 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18844 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18845 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18846 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18847 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18848 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18849 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18850 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18851 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18852 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18853 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18854 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18855 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"`'
   18856 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18857 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18858 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18859 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18860 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18861 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18862 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18863 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18864 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18865 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18866 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18867 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18868 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18869 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18870 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18871 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18872 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18873 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18874 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18875 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18876 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18877 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18878 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18879 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18880 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18881 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18882 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18883 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18884 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18885 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18886 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18887 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18888 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18889 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18890 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18891 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18892 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18893 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18894 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18895 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18896 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18897 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18898 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18899 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18900 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18901 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18902 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18903 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18904 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18905 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18906 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18907 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18908 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18909 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18910 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18911 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18912 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18913 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18914 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18915 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18916 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18917 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18918 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18919 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18920 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18921 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18922 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18923 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18924 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18925 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18926 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18927 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18928 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18929 
   18930 LTCC='$LTCC'
   18931 LTCFLAGS='$LTCFLAGS'
   18932 compiler='$compiler_DEFAULT'
   18933 
   18934 # A function that is used when there is no print builtin or printf.
   18935 func_fallback_echo ()
   18936 {
   18937   eval 'cat <<_LTECHO_EOF
   18938 \$1
   18939 _LTECHO_EOF'
   18940 }
   18941 
   18942 # Quote evaled strings.
   18943 for var in SHELL \
   18944 ECHO \
   18945 PATH_SEPARATOR \
   18946 SED \
   18947 GREP \
   18948 EGREP \
   18949 FGREP \
   18950 LD \
   18951 NM \
   18952 LN_S \
   18953 lt_SP2NL \
   18954 lt_NL2SP \
   18955 reload_flag \
   18956 OBJDUMP \
   18957 deplibs_check_method \
   18958 file_magic_cmd \
   18959 file_magic_glob \
   18960 want_nocaseglob \
   18961 DLLTOOL \
   18962 sharedlib_from_linklib_cmd \
   18963 AR \
   18964 AR_FLAGS \
   18965 archiver_list_spec \
   18966 STRIP \
   18967 RANLIB \
   18968 CC \
   18969 CFLAGS \
   18970 compiler \
   18971 lt_cv_sys_global_symbol_pipe \
   18972 lt_cv_sys_global_symbol_to_cdecl \
   18973 lt_cv_sys_global_symbol_to_c_name_address \
   18974 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18975 nm_file_list_spec \
   18976 lt_prog_compiler_no_builtin_flag \
   18977 lt_prog_compiler_pic \
   18978 lt_prog_compiler_wl \
   18979 lt_prog_compiler_static \
   18980 lt_cv_prog_compiler_c_o \
   18981 need_locks \
   18982 MANIFEST_TOOL \
   18983 DSYMUTIL \
   18984 NMEDIT \
   18985 LIPO \
   18986 OTOOL \
   18987 OTOOL64 \
   18988 shrext_cmds \
   18989 export_dynamic_flag_spec \
   18990 whole_archive_flag_spec \
   18991 compiler_needs_object \
   18992 with_gnu_ld \
   18993 allow_undefined_flag \
   18994 no_undefined_flag \
   18995 hardcode_libdir_flag_spec \
   18996 hardcode_libdir_separator \
   18997 exclude_expsyms \
   18998 include_expsyms \
   18999 file_list_spec \
   19000 variables_saved_for_relink \
   19001 libname_spec \
   19002 library_names_spec \
   19003 soname_spec \
   19004 install_override_mode \
   19005 finish_eval \
   19006 old_striplib \
   19007 striplib; do
   19008     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19009     *[\\\\\\\`\\"\\\$]*)
   19010       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19011       ;;
   19012     *)
   19013       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19014       ;;
   19015     esac
   19016 done
   19017 
   19018 # Double-quote double-evaled strings.
   19019 for var in reload_cmds \
   19020 old_postinstall_cmds \
   19021 old_postuninstall_cmds \
   19022 old_archive_cmds \
   19023 extract_expsyms_cmds \
   19024 old_archive_from_new_cmds \
   19025 old_archive_from_expsyms_cmds \
   19026 archive_cmds \
   19027 archive_expsym_cmds \
   19028 module_cmds \
   19029 module_expsym_cmds \
   19030 export_symbols_cmds \
   19031 prelink_cmds \
   19032 postlink_cmds \
   19033 postinstall_cmds \
   19034 postuninstall_cmds \
   19035 finish_cmds \
   19036 sys_lib_search_path_spec \
   19037 sys_lib_dlsearch_path_spec; do
   19038     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19039     *[\\\\\\\`\\"\\\$]*)
   19040       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19041       ;;
   19042     *)
   19043       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19044       ;;
   19045     esac
   19046 done
   19047 
   19048 ac_aux_dir='$ac_aux_dir'
   19049 xsi_shell='$xsi_shell'
   19050 lt_shell_append='$lt_shell_append'
   19051 
   19052 # See if we are running on zsh, and set the options which allow our
   19053 # commands through without removal of \ escapes INIT.
   19054 if test -n "\${ZSH_VERSION+set}" ; then
   19055    setopt NO_GLOB_SUBST
   19056 fi
   19057 
   19058 
   19059     PACKAGE='$PACKAGE'
   19060     VERSION='$VERSION'
   19061     TIMESTAMP='$TIMESTAMP'
   19062     RM='$RM'
   19063     ofile='$ofile'
   19064 
   19065 
   19066 
   19067 
   19068 _ACEOF
   19069 
   19070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19071 
   19072 # Handling of arguments.
   19073 for ac_config_target in $ac_config_targets
   19074 do
   19075   case $ac_config_target in
   19076     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19077     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19078     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19079     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19080     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   19081     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   19082     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19083     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19084     "sxpm/Makefile") CONFIG_FILES="$CONFIG_FILES sxpm/Makefile" ;;
   19085     "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
   19086     "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
   19087 
   19088   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19089   esac
   19090 done
   19091 
   19092 
   19093 # If the user did not use the arguments to specify the items to instantiate,
   19094 # then the envvar interface is used.  Set only those that are not.
   19095 # We use the long form for the default assignment because of an extremely
   19096 # bizarre bug on SunOS 4.1.3.
   19097 if $ac_need_defaults; then
   19098   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19099   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19100   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19101 fi
   19102 
   19103 # Have a temporary directory for convenience.  Make it in the build tree
   19104 # simply because there is no reason against having it here, and in addition,
   19105 # creating and moving files from /tmp can sometimes cause problems.
   19106 # Hook for its removal unless debugging.
   19107 # Note that there is a small window in which the directory will not be cleaned:
   19108 # after its creation but before its name has been assigned to `$tmp'.
   19109 $debug ||
   19110 {
   19111   tmp= ac_tmp=
   19112   trap 'exit_status=$?
   19113   : "${ac_tmp:=$tmp}"
   19114   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19115 ' 0
   19116   trap 'as_fn_exit 1' 1 2 13 15
   19117 }
   19118 # Create a (secure) tmp directory for tmp files.
   19119 
   19120 {
   19121   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19122   test -d "$tmp"
   19123 }  ||
   19124 {
   19125   tmp=./conf$$-$RANDOM
   19126   (umask 077 && mkdir "$tmp")
   19127 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19128 ac_tmp=$tmp
   19129 
   19130 # Set up the scripts for CONFIG_FILES section.
   19131 # No need to generate them if there are no CONFIG_FILES.
   19132 # This happens for instance with `./config.status config.h'.
   19133 if test -n "$CONFIG_FILES"; then
   19134 
   19135 
   19136 ac_cr=`echo X | tr X '\015'`
   19137 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19138 # But we know of no other shell where ac_cr would be empty at this
   19139 # point, so we can use a bashism as a fallback.
   19140 if test "x$ac_cr" = x; then
   19141   eval ac_cr=\$\'\\r\'
   19142 fi
   19143 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19144 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19145   ac_cs_awk_cr='\\r'
   19146 else
   19147   ac_cs_awk_cr=$ac_cr
   19148 fi
   19149 
   19150 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19151 _ACEOF
   19152 
   19153 
   19154 {
   19155   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19156   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19157   echo "_ACEOF"
   19158 } >conf$$subs.sh ||
   19159   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19160 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19161 ac_delim='%!_!# '
   19162 for ac_last_try in false false false false false :; do
   19163   . ./conf$$subs.sh ||
   19164     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19165 
   19166   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19167   if test $ac_delim_n = $ac_delim_num; then
   19168     break
   19169   elif $ac_last_try; then
   19170     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19171   else
   19172     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19173   fi
   19174 done
   19175 rm -f conf$$subs.sh
   19176 
   19177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19178 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19179 _ACEOF
   19180 sed -n '
   19181 h
   19182 s/^/S["/; s/!.*/"]=/
   19183 p
   19184 g
   19185 s/^[^!]*!//
   19186 :repl
   19187 t repl
   19188 s/'"$ac_delim"'$//
   19189 t delim
   19190 :nl
   19191 h
   19192 s/\(.\{148\}\)..*/\1/
   19193 t more1
   19194 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19195 p
   19196 n
   19197 b repl
   19198 :more1
   19199 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19200 p
   19201 g
   19202 s/.\{148\}//
   19203 t nl
   19204 :delim
   19205 h
   19206 s/\(.\{148\}\)..*/\1/
   19207 t more2
   19208 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19209 p
   19210 b
   19211 :more2
   19212 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19213 p
   19214 g
   19215 s/.\{148\}//
   19216 t delim
   19217 ' <conf$$subs.awk | sed '
   19218 /^[^""]/{
   19219   N
   19220   s/\n//
   19221 }
   19222 ' >>$CONFIG_STATUS || ac_write_fail=1
   19223 rm -f conf$$subs.awk
   19224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19225 _ACAWK
   19226 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19227   for (key in S) S_is_set[key] = 1
   19228   FS = ""
   19229 
   19230 }
   19231 {
   19232   line = $ 0
   19233   nfields = split(line, field, "@")
   19234   substed = 0
   19235   len = length(field[1])
   19236   for (i = 2; i < nfields; i++) {
   19237     key = field[i]
   19238     keylen = length(key)
   19239     if (S_is_set[key]) {
   19240       value = S[key]
   19241       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19242       len += length(value) + length(field[++i])
   19243       substed = 1
   19244     } else
   19245       len += 1 + keylen
   19246   }
   19247 
   19248   print line
   19249 }
   19250 
   19251 _ACAWK
   19252 _ACEOF
   19253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19254 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19255   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19256 else
   19257   cat
   19258 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19259   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19260 _ACEOF
   19261 
   19262 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19263 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19264 # trailing colons and then remove the whole line if VPATH becomes empty
   19265 # (actually we leave an empty line to preserve line numbers).
   19266 if test "x$srcdir" = x.; then
   19267   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19268 h
   19269 s///
   19270 s/^/:/
   19271 s/[	 ]*$/:/
   19272 s/:\$(srcdir):/:/g
   19273 s/:\${srcdir}:/:/g
   19274 s/:@srcdir@:/:/g
   19275 s/^:*//
   19276 s/:*$//
   19277 x
   19278 s/\(=[	 ]*\).*/\1/
   19279 G
   19280 s/\n//
   19281 s/^[^=]*=[	 ]*$//
   19282 }'
   19283 fi
   19284 
   19285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19286 fi # test -n "$CONFIG_FILES"
   19287 
   19288 # Set up the scripts for CONFIG_HEADERS section.
   19289 # No need to generate them if there are no CONFIG_HEADERS.
   19290 # This happens for instance with `./config.status Makefile'.
   19291 if test -n "$CONFIG_HEADERS"; then
   19292 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19293 BEGIN {
   19294 _ACEOF
   19295 
   19296 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19297 # here-document in config.status, that substitutes the proper values into
   19298 # config.h.in to produce config.h.
   19299 
   19300 # Create a delimiter string that does not exist in confdefs.h, to ease
   19301 # handling of long lines.
   19302 ac_delim='%!_!# '
   19303 for ac_last_try in false false :; do
   19304   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19305   if test -z "$ac_tt"; then
   19306     break
   19307   elif $ac_last_try; then
   19308     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19309   else
   19310     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19311   fi
   19312 done
   19313 
   19314 # For the awk script, D is an array of macro values keyed by name,
   19315 # likewise P contains macro parameters if any.  Preserve backslash
   19316 # newline sequences.
   19317 
   19318 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19319 sed -n '
   19320 s/.\{148\}/&'"$ac_delim"'/g
   19321 t rset
   19322 :rset
   19323 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19324 t def
   19325 d
   19326 :def
   19327 s/\\$//
   19328 t bsnl
   19329 s/["\\]/\\&/g
   19330 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19331 D["\1"]=" \3"/p
   19332 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19333 d
   19334 :bsnl
   19335 s/["\\]/\\&/g
   19336 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19337 D["\1"]=" \3\\\\\\n"\\/p
   19338 t cont
   19339 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19340 t cont
   19341 d
   19342 :cont
   19343 n
   19344 s/.\{148\}/&'"$ac_delim"'/g
   19345 t clear
   19346 :clear
   19347 s/\\$//
   19348 t bsnlc
   19349 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19350 d
   19351 :bsnlc
   19352 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19353 b cont
   19354 ' <confdefs.h | sed '
   19355 s/'"$ac_delim"'/"\\\
   19356 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19357 
   19358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19359   for (key in D) D_is_set[key] = 1
   19360   FS = ""
   19361 }
   19362 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19363   line = \$ 0
   19364   split(line, arg, " ")
   19365   if (arg[1] == "#") {
   19366     defundef = arg[2]
   19367     mac1 = arg[3]
   19368   } else {
   19369     defundef = substr(arg[1], 2)
   19370     mac1 = arg[2]
   19371   }
   19372   split(mac1, mac2, "(") #)
   19373   macro = mac2[1]
   19374   prefix = substr(line, 1, index(line, defundef) - 1)
   19375   if (D_is_set[macro]) {
   19376     # Preserve the white space surrounding the "#".
   19377     print prefix "define", macro P[macro] D[macro]
   19378     next
   19379   } else {
   19380     # Replace #undef with comments.  This is necessary, for example,
   19381     # in the case of _POSIX_SOURCE, which is predefined and required
   19382     # on some systems where configure will not decide to define it.
   19383     if (defundef == "undef") {
   19384       print "/*", prefix defundef, macro, "*/"
   19385       next
   19386     }
   19387   }
   19388 }
   19389 { print }
   19390 _ACAWK
   19391 _ACEOF
   19392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19393   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19394 fi # test -n "$CONFIG_HEADERS"
   19395 
   19396 
   19397 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19398 shift
   19399 for ac_tag
   19400 do
   19401   case $ac_tag in
   19402   :[FHLC]) ac_mode=$ac_tag; continue;;
   19403   esac
   19404   case $ac_mode$ac_tag in
   19405   :[FHL]*:*);;
   19406   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19407   :[FH]-) ac_tag=-:-;;
   19408   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19409   esac
   19410   ac_save_IFS=$IFS
   19411   IFS=:
   19412   set x $ac_tag
   19413   IFS=$ac_save_IFS
   19414   shift
   19415   ac_file=$1
   19416   shift
   19417 
   19418   case $ac_mode in
   19419   :L) ac_source=$1;;
   19420   :[FH])
   19421     ac_file_inputs=
   19422     for ac_f
   19423     do
   19424       case $ac_f in
   19425       -) ac_f="$ac_tmp/stdin";;
   19426       *) # Look for the file first in the build tree, then in the source tree
   19427 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19428 	 # because $ac_f cannot contain `:'.
   19429 	 test -f "$ac_f" ||
   19430 	   case $ac_f in
   19431 	   [\\/$]*) false;;
   19432 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19433 	   esac ||
   19434 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19435       esac
   19436       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19437       as_fn_append ac_file_inputs " '$ac_f'"
   19438     done
   19439 
   19440     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19441     # use $as_me), people would be surprised to read:
   19442     #    /* config.h.  Generated by config.status.  */
   19443     configure_input='Generated from '`
   19444 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19445 	`' by configure.'
   19446     if test x"$ac_file" != x-; then
   19447       configure_input="$ac_file.  $configure_input"
   19448       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19449 $as_echo "$as_me: creating $ac_file" >&6;}
   19450     fi
   19451     # Neutralize special characters interpreted by sed in replacement strings.
   19452     case $configure_input in #(
   19453     *\&* | *\|* | *\\* )
   19454        ac_sed_conf_input=`$as_echo "$configure_input" |
   19455        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19456     *) ac_sed_conf_input=$configure_input;;
   19457     esac
   19458 
   19459     case $ac_tag in
   19460     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19461       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19462     esac
   19463     ;;
   19464   esac
   19465 
   19466   ac_dir=`$as_dirname -- "$ac_file" ||
   19467 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19468 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19469 	 X"$ac_file" : 'X\(//\)$' \| \
   19470 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19471 $as_echo X"$ac_file" |
   19472     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19473 	    s//\1/
   19474 	    q
   19475 	  }
   19476 	  /^X\(\/\/\)[^/].*/{
   19477 	    s//\1/
   19478 	    q
   19479 	  }
   19480 	  /^X\(\/\/\)$/{
   19481 	    s//\1/
   19482 	    q
   19483 	  }
   19484 	  /^X\(\/\).*/{
   19485 	    s//\1/
   19486 	    q
   19487 	  }
   19488 	  s/.*/./; q'`
   19489   as_dir="$ac_dir"; as_fn_mkdir_p
   19490   ac_builddir=.
   19491 
   19492 case "$ac_dir" in
   19493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19494 *)
   19495   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19496   # A ".." for each directory in $ac_dir_suffix.
   19497   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19498   case $ac_top_builddir_sub in
   19499   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19500   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19501   esac ;;
   19502 esac
   19503 ac_abs_top_builddir=$ac_pwd
   19504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19505 # for backward compatibility:
   19506 ac_top_builddir=$ac_top_build_prefix
   19507 
   19508 case $srcdir in
   19509   .)  # We are building in place.
   19510     ac_srcdir=.
   19511     ac_top_srcdir=$ac_top_builddir_sub
   19512     ac_abs_top_srcdir=$ac_pwd ;;
   19513   [\\/]* | ?:[\\/]* )  # Absolute name.
   19514     ac_srcdir=$srcdir$ac_dir_suffix;
   19515     ac_top_srcdir=$srcdir
   19516     ac_abs_top_srcdir=$srcdir ;;
   19517   *) # Relative name.
   19518     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19519     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19520     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19521 esac
   19522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19523 
   19524 
   19525   case $ac_mode in
   19526   :F)
   19527   #
   19528   # CONFIG_FILE
   19529   #
   19530 
   19531   case $INSTALL in
   19532   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19533   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19534   esac
   19535   ac_MKDIR_P=$MKDIR_P
   19536   case $MKDIR_P in
   19537   [\\/$]* | ?:[\\/]* ) ;;
   19538   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19539   esac
   19540 _ACEOF
   19541 
   19542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19543 # If the template does not know about datarootdir, expand it.
   19544 # FIXME: This hack should be removed a few years after 2.60.
   19545 ac_datarootdir_hack=; ac_datarootdir_seen=
   19546 ac_sed_dataroot='
   19547 /datarootdir/ {
   19548   p
   19549   q
   19550 }
   19551 /@datadir@/p
   19552 /@docdir@/p
   19553 /@infodir@/p
   19554 /@localedir@/p
   19555 /@mandir@/p'
   19556 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19557 *datarootdir*) ac_datarootdir_seen=yes;;
   19558 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19559   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19560 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19561 _ACEOF
   19562 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19563   ac_datarootdir_hack='
   19564   s&@datadir@&$datadir&g
   19565   s&@docdir@&$docdir&g
   19566   s&@infodir@&$infodir&g
   19567   s&@localedir@&$localedir&g
   19568   s&@mandir@&$mandir&g
   19569   s&\\\${datarootdir}&$datarootdir&g' ;;
   19570 esac
   19571 _ACEOF
   19572 
   19573 # Neutralize VPATH when `$srcdir' = `.'.
   19574 # Shell code in configure.ac might set extrasub.
   19575 # FIXME: do we really want to maintain this feature?
   19576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19577 ac_sed_extra="$ac_vpsub
   19578 $extrasub
   19579 _ACEOF
   19580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19581 :t
   19582 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19583 s|@configure_input@|$ac_sed_conf_input|;t t
   19584 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19585 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19586 s&@srcdir@&$ac_srcdir&;t t
   19587 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19588 s&@top_srcdir@&$ac_top_srcdir&;t t
   19589 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19590 s&@builddir@&$ac_builddir&;t t
   19591 s&@abs_builddir@&$ac_abs_builddir&;t t
   19592 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19593 s&@INSTALL@&$ac_INSTALL&;t t
   19594 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19595 $ac_datarootdir_hack
   19596 "
   19597 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19598   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19599 
   19600 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19601   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19602   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19603       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19604   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19605 which seems to be undefined.  Please make sure it is defined" >&5
   19606 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19607 which seems to be undefined.  Please make sure it is defined" >&2;}
   19608 
   19609   rm -f "$ac_tmp/stdin"
   19610   case $ac_file in
   19611   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19612   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19613   esac \
   19614   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19615  ;;
   19616   :H)
   19617   #
   19618   # CONFIG_HEADER
   19619   #
   19620   if test x"$ac_file" != x-; then
   19621     {
   19622       $as_echo "/* $configure_input  */" \
   19623       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19624     } >"$ac_tmp/config.h" \
   19625       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19626     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19627       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19628 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19629     else
   19630       rm -f "$ac_file"
   19631       mv "$ac_tmp/config.h" "$ac_file" \
   19632 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19633     fi
   19634   else
   19635     $as_echo "/* $configure_input  */" \
   19636       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19637       || as_fn_error $? "could not create -" "$LINENO" 5
   19638   fi
   19639 # Compute "$ac_file"'s index in $config_headers.
   19640 _am_arg="$ac_file"
   19641 _am_stamp_count=1
   19642 for _am_header in $config_headers :; do
   19643   case $_am_header in
   19644     $_am_arg | $_am_arg:* )
   19645       break ;;
   19646     * )
   19647       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19648   esac
   19649 done
   19650 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19651 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19652 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19653 	 X"$_am_arg" : 'X\(//\)$' \| \
   19654 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19655 $as_echo X"$_am_arg" |
   19656     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19657 	    s//\1/
   19658 	    q
   19659 	  }
   19660 	  /^X\(\/\/\)[^/].*/{
   19661 	    s//\1/
   19662 	    q
   19663 	  }
   19664 	  /^X\(\/\/\)$/{
   19665 	    s//\1/
   19666 	    q
   19667 	  }
   19668 	  /^X\(\/\).*/{
   19669 	    s//\1/
   19670 	    q
   19671 	  }
   19672 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19673  ;;
   19674 
   19675   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19676 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19677  ;;
   19678   esac
   19679 
   19680 
   19681   case $ac_file$ac_mode in
   19682     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19683   # Older Autoconf quotes --file arguments for eval, but not when files
   19684   # are listed without --file.  Let's play safe and only enable the eval
   19685   # if we detect the quoting.
   19686   case $CONFIG_FILES in
   19687   *\'*) eval set x "$CONFIG_FILES" ;;
   19688   *)   set x $CONFIG_FILES ;;
   19689   esac
   19690   shift
   19691   for mf
   19692   do
   19693     # Strip MF so we end up with the name of the file.
   19694     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19695     # Check whether this is an Automake generated Makefile or not.
   19696     # We used to match only the files named 'Makefile.in', but
   19697     # some people rename them; so instead we look at the file content.
   19698     # Grep'ing the first line is not enough: some people post-process
   19699     # each Makefile.in and add a new line on top of each file to say so.
   19700     # Grep'ing the whole file is not good either: AIX grep has a line
   19701     # limit of 2048, but all sed's we know have understand at least 4000.
   19702     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19703       dirpart=`$as_dirname -- "$mf" ||
   19704 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19705 	 X"$mf" : 'X\(//\)[^/]' \| \
   19706 	 X"$mf" : 'X\(//\)$' \| \
   19707 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19708 $as_echo X"$mf" |
   19709     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19710 	    s//\1/
   19711 	    q
   19712 	  }
   19713 	  /^X\(\/\/\)[^/].*/{
   19714 	    s//\1/
   19715 	    q
   19716 	  }
   19717 	  /^X\(\/\/\)$/{
   19718 	    s//\1/
   19719 	    q
   19720 	  }
   19721 	  /^X\(\/\).*/{
   19722 	    s//\1/
   19723 	    q
   19724 	  }
   19725 	  s/.*/./; q'`
   19726     else
   19727       continue
   19728     fi
   19729     # Extract the definition of DEPDIR, am__include, and am__quote
   19730     # from the Makefile without running 'make'.
   19731     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19732     test -z "$DEPDIR" && continue
   19733     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19734     test -z "$am__include" && continue
   19735     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19736     # Find all dependency output files, they are included files with
   19737     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19738     # simplest approach to changing $(DEPDIR) to its actual value in the
   19739     # expansion.
   19740     for file in `sed -n "
   19741       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19742 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19743       # Make sure the directory exists.
   19744       test -f "$dirpart/$file" && continue
   19745       fdir=`$as_dirname -- "$file" ||
   19746 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19747 	 X"$file" : 'X\(//\)[^/]' \| \
   19748 	 X"$file" : 'X\(//\)$' \| \
   19749 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19750 $as_echo X"$file" |
   19751     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19752 	    s//\1/
   19753 	    q
   19754 	  }
   19755 	  /^X\(\/\/\)[^/].*/{
   19756 	    s//\1/
   19757 	    q
   19758 	  }
   19759 	  /^X\(\/\/\)$/{
   19760 	    s//\1/
   19761 	    q
   19762 	  }
   19763 	  /^X\(\/\).*/{
   19764 	    s//\1/
   19765 	    q
   19766 	  }
   19767 	  s/.*/./; q'`
   19768       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19769       # echo "creating $dirpart/$file"
   19770       echo '# dummy' > "$dirpart/$file"
   19771     done
   19772   done
   19773 }
   19774  ;;
   19775     "libtool":C)
   19776 
   19777     # See if we are running on zsh, and set the options which allow our
   19778     # commands through without removal of \ escapes.
   19779     if test -n "${ZSH_VERSION+set}" ; then
   19780       setopt NO_GLOB_SUBST
   19781     fi
   19782 
   19783     cfgfile="${ofile}T"
   19784     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19785     $RM "$cfgfile"
   19786 
   19787     cat <<_LT_EOF >> "$cfgfile"
   19788 #! $SHELL
   19789 
   19790 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19791 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19792 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19793 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19794 #
   19795 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19796 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19797 #                 Foundation, Inc.
   19798 #   Written by Gordon Matzigkeit, 1996
   19799 #
   19800 #   This file is part of GNU Libtool.
   19801 #
   19802 # GNU Libtool is free software; you can redistribute it and/or
   19803 # modify it under the terms of the GNU General Public License as
   19804 # published by the Free Software Foundation; either version 2 of
   19805 # the License, or (at your option) any later version.
   19806 #
   19807 # As a special exception to the GNU General Public License,
   19808 # if you distribute this file as part of a program or library that
   19809 # is built using GNU Libtool, you may include this file under the
   19810 # same distribution terms that you use for the rest of that program.
   19811 #
   19812 # GNU Libtool is distributed in the hope that it will be useful,
   19813 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19814 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19815 # GNU General Public License for more details.
   19816 #
   19817 # You should have received a copy of the GNU General Public License
   19818 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19819 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19820 # obtained by writing to the Free Software Foundation, Inc.,
   19821 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19822 
   19823 
   19824 # The names of the tagged configurations supported by this script.
   19825 available_tags=""
   19826 
   19827 # ### BEGIN LIBTOOL CONFIG
   19828 
   19829 # Which release of libtool.m4 was used?
   19830 macro_version=$macro_version
   19831 macro_revision=$macro_revision
   19832 
   19833 # Whether or not to build shared libraries.
   19834 build_libtool_libs=$enable_shared
   19835 
   19836 # Whether or not to build static libraries.
   19837 build_old_libs=$enable_static
   19838 
   19839 # What type of objects to build.
   19840 pic_mode=$pic_mode
   19841 
   19842 # Whether or not to optimize for fast installation.
   19843 fast_install=$enable_fast_install
   19844 
   19845 # Shell to use when invoking shell scripts.
   19846 SHELL=$lt_SHELL
   19847 
   19848 # An echo program that protects backslashes.
   19849 ECHO=$lt_ECHO
   19850 
   19851 # The PATH separator for the build system.
   19852 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19853 
   19854 # The host system.
   19855 host_alias=$host_alias
   19856 host=$host
   19857 host_os=$host_os
   19858 
   19859 # The build system.
   19860 build_alias=$build_alias
   19861 build=$build
   19862 build_os=$build_os
   19863 
   19864 # A sed program that does not truncate output.
   19865 SED=$lt_SED
   19866 
   19867 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19868 Xsed="\$SED -e 1s/^X//"
   19869 
   19870 # A grep program that handles long lines.
   19871 GREP=$lt_GREP
   19872 
   19873 # An ERE matcher.
   19874 EGREP=$lt_EGREP
   19875 
   19876 # A literal string matcher.
   19877 FGREP=$lt_FGREP
   19878 
   19879 # A BSD- or MS-compatible name lister.
   19880 NM=$lt_NM
   19881 
   19882 # Whether we need soft or hard links.
   19883 LN_S=$lt_LN_S
   19884 
   19885 # What is the maximum length of a command?
   19886 max_cmd_len=$max_cmd_len
   19887 
   19888 # Object file suffix (normally "o").
   19889 objext=$ac_objext
   19890 
   19891 # Executable file suffix (normally "").
   19892 exeext=$exeext
   19893 
   19894 # whether the shell understands "unset".
   19895 lt_unset=$lt_unset
   19896 
   19897 # turn spaces into newlines.
   19898 SP2NL=$lt_lt_SP2NL
   19899 
   19900 # turn newlines into spaces.
   19901 NL2SP=$lt_lt_NL2SP
   19902 
   19903 # convert \$build file names to \$host format.
   19904 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19905 
   19906 # convert \$build files to toolchain format.
   19907 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19908 
   19909 # An object symbol dumper.
   19910 OBJDUMP=$lt_OBJDUMP
   19911 
   19912 # Method to check whether dependent libraries are shared objects.
   19913 deplibs_check_method=$lt_deplibs_check_method
   19914 
   19915 # Command to use when deplibs_check_method = "file_magic".
   19916 file_magic_cmd=$lt_file_magic_cmd
   19917 
   19918 # How to find potential files when deplibs_check_method = "file_magic".
   19919 file_magic_glob=$lt_file_magic_glob
   19920 
   19921 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19922 want_nocaseglob=$lt_want_nocaseglob
   19923 
   19924 # DLL creation program.
   19925 DLLTOOL=$lt_DLLTOOL
   19926 
   19927 # Command to associate shared and link libraries.
   19928 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19929 
   19930 # The archiver.
   19931 AR=$lt_AR
   19932 
   19933 # Flags to create an archive.
   19934 AR_FLAGS=$lt_AR_FLAGS
   19935 
   19936 # How to feed a file listing to the archiver.
   19937 archiver_list_spec=$lt_archiver_list_spec
   19938 
   19939 # A symbol stripping program.
   19940 STRIP=$lt_STRIP
   19941 
   19942 # Commands used to install an old-style archive.
   19943 RANLIB=$lt_RANLIB
   19944 old_postinstall_cmds=$lt_old_postinstall_cmds
   19945 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19946 
   19947 # Whether to use a lock for old archive extraction.
   19948 lock_old_archive_extraction=$lock_old_archive_extraction
   19949 
   19950 # A C compiler.
   19951 LTCC=$lt_CC
   19952 
   19953 # LTCC compiler flags.
   19954 LTCFLAGS=$lt_CFLAGS
   19955 
   19956 # Take the output of nm and produce a listing of raw symbols and C names.
   19957 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19958 
   19959 # Transform the output of nm in a proper C declaration.
   19960 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19961 
   19962 # Transform the output of nm in a C name address pair.
   19963 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19964 
   19965 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19966 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19967 
   19968 # Specify filename containing input files for \$NM.
   19969 nm_file_list_spec=$lt_nm_file_list_spec
   19970 
   19971 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19972 lt_sysroot=$lt_sysroot
   19973 
   19974 # The name of the directory that contains temporary libtool files.
   19975 objdir=$objdir
   19976 
   19977 # Used to examine libraries when file_magic_cmd begins with "file".
   19978 MAGIC_CMD=$MAGIC_CMD
   19979 
   19980 # Must we lock files when doing compilation?
   19981 need_locks=$lt_need_locks
   19982 
   19983 # Manifest tool.
   19984 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19985 
   19986 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19987 DSYMUTIL=$lt_DSYMUTIL
   19988 
   19989 # Tool to change global to local symbols on Mac OS X.
   19990 NMEDIT=$lt_NMEDIT
   19991 
   19992 # Tool to manipulate fat objects and archives on Mac OS X.
   19993 LIPO=$lt_LIPO
   19994 
   19995 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19996 OTOOL=$lt_OTOOL
   19997 
   19998 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19999 OTOOL64=$lt_OTOOL64
   20000 
   20001 # Old archive suffix (normally "a").
   20002 libext=$libext
   20003 
   20004 # Shared library suffix (normally ".so").
   20005 shrext_cmds=$lt_shrext_cmds
   20006 
   20007 # The commands to extract the exported symbol list from a shared archive.
   20008 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20009 
   20010 # Variables whose values should be saved in libtool wrapper scripts and
   20011 # restored at link time.
   20012 variables_saved_for_relink=$lt_variables_saved_for_relink
   20013 
   20014 # Do we need the "lib" prefix for modules?
   20015 need_lib_prefix=$need_lib_prefix
   20016 
   20017 # Do we need a version for libraries?
   20018 need_version=$need_version
   20019 
   20020 # Library versioning type.
   20021 version_type=$version_type
   20022 
   20023 # Shared library runtime path variable.
   20024 runpath_var=$runpath_var
   20025 
   20026 # Shared library path variable.
   20027 shlibpath_var=$shlibpath_var
   20028 
   20029 # Is shlibpath searched before the hard-coded library search path?
   20030 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20031 
   20032 # Format of library name prefix.
   20033 libname_spec=$lt_libname_spec
   20034 
   20035 # List of archive names.  First name is the real one, the rest are links.
   20036 # The last name is the one that the linker finds with -lNAME
   20037 library_names_spec=$lt_library_names_spec
   20038 
   20039 # The coded name of the library, if different from the real name.
   20040 soname_spec=$lt_soname_spec
   20041 
   20042 # Permission mode override for installation of shared libraries.
   20043 install_override_mode=$lt_install_override_mode
   20044 
   20045 # Command to use after installation of a shared archive.
   20046 postinstall_cmds=$lt_postinstall_cmds
   20047 
   20048 # Command to use after uninstallation of a shared archive.
   20049 postuninstall_cmds=$lt_postuninstall_cmds
   20050 
   20051 # Commands used to finish a libtool library installation in a directory.
   20052 finish_cmds=$lt_finish_cmds
   20053 
   20054 # As "finish_cmds", except a single script fragment to be evaled but
   20055 # not shown.
   20056 finish_eval=$lt_finish_eval
   20057 
   20058 # Whether we should hardcode library paths into libraries.
   20059 hardcode_into_libs=$hardcode_into_libs
   20060 
   20061 # Compile-time system search path for libraries.
   20062 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20063 
   20064 # Run-time system search path for libraries.
   20065 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20066 
   20067 # Whether dlopen is supported.
   20068 dlopen_support=$enable_dlopen
   20069 
   20070 # Whether dlopen of programs is supported.
   20071 dlopen_self=$enable_dlopen_self
   20072 
   20073 # Whether dlopen of statically linked programs is supported.
   20074 dlopen_self_static=$enable_dlopen_self_static
   20075 
   20076 # Commands to strip libraries.
   20077 old_striplib=$lt_old_striplib
   20078 striplib=$lt_striplib
   20079 
   20080 
   20081 # The linker used to build libraries.
   20082 LD=$lt_LD
   20083 
   20084 # How to create reloadable object files.
   20085 reload_flag=$lt_reload_flag
   20086 reload_cmds=$lt_reload_cmds
   20087 
   20088 # Commands used to build an old-style archive.
   20089 old_archive_cmds=$lt_old_archive_cmds
   20090 
   20091 # A language specific compiler.
   20092 CC=$lt_compiler
   20093 
   20094 # Is the compiler the GNU compiler?
   20095 with_gcc=$GCC
   20096 
   20097 # Compiler flag to turn off builtin functions.
   20098 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20099 
   20100 # Additional compiler flags for building library objects.
   20101 pic_flag=$lt_lt_prog_compiler_pic
   20102 
   20103 # How to pass a linker flag through the compiler.
   20104 wl=$lt_lt_prog_compiler_wl
   20105 
   20106 # Compiler flag to prevent dynamic linking.
   20107 link_static_flag=$lt_lt_prog_compiler_static
   20108 
   20109 # Does compiler simultaneously support -c and -o options?
   20110 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20111 
   20112 # Whether or not to add -lc for building shared libraries.
   20113 build_libtool_need_lc=$archive_cmds_need_lc
   20114 
   20115 # Whether or not to disallow shared libs when runtime libs are static.
   20116 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20117 
   20118 # Compiler flag to allow reflexive dlopens.
   20119 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20120 
   20121 # Compiler flag to generate shared objects directly from archives.
   20122 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20123 
   20124 # Whether the compiler copes with passing no objects directly.
   20125 compiler_needs_object=$lt_compiler_needs_object
   20126 
   20127 # Create an old-style archive from a shared archive.
   20128 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20129 
   20130 # Create a temporary old-style archive to link instead of a shared archive.
   20131 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20132 
   20133 # Commands used to build a shared archive.
   20134 archive_cmds=$lt_archive_cmds
   20135 archive_expsym_cmds=$lt_archive_expsym_cmds
   20136 
   20137 # Commands used to build a loadable module if different from building
   20138 # a shared archive.
   20139 module_cmds=$lt_module_cmds
   20140 module_expsym_cmds=$lt_module_expsym_cmds
   20141 
   20142 # Whether we are building with GNU ld or not.
   20143 with_gnu_ld=$lt_with_gnu_ld
   20144 
   20145 # Flag that allows shared libraries with undefined symbols to be built.
   20146 allow_undefined_flag=$lt_allow_undefined_flag
   20147 
   20148 # Flag that enforces no undefined symbols.
   20149 no_undefined_flag=$lt_no_undefined_flag
   20150 
   20151 # Flag to hardcode \$libdir into a binary during linking.
   20152 # This must work even if \$libdir does not exist
   20153 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20154 
   20155 # Whether we need a single "-rpath" flag with a separated argument.
   20156 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20157 
   20158 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20159 # DIR into the resulting binary.
   20160 hardcode_direct=$hardcode_direct
   20161 
   20162 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20163 # DIR into the resulting binary and the resulting library dependency is
   20164 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20165 # library is relocated.
   20166 hardcode_direct_absolute=$hardcode_direct_absolute
   20167 
   20168 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20169 # into the resulting binary.
   20170 hardcode_minus_L=$hardcode_minus_L
   20171 
   20172 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20173 # into the resulting binary.
   20174 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20175 
   20176 # Set to "yes" if building a shared library automatically hardcodes DIR
   20177 # into the library and all subsequent libraries and executables linked
   20178 # against it.
   20179 hardcode_automatic=$hardcode_automatic
   20180 
   20181 # Set to yes if linker adds runtime paths of dependent libraries
   20182 # to runtime path list.
   20183 inherit_rpath=$inherit_rpath
   20184 
   20185 # Whether libtool must link a program against all its dependency libraries.
   20186 link_all_deplibs=$link_all_deplibs
   20187 
   20188 # Set to "yes" if exported symbols are required.
   20189 always_export_symbols=$always_export_symbols
   20190 
   20191 # The commands to list exported symbols.
   20192 export_symbols_cmds=$lt_export_symbols_cmds
   20193 
   20194 # Symbols that should not be listed in the preloaded symbols.
   20195 exclude_expsyms=$lt_exclude_expsyms
   20196 
   20197 # Symbols that must always be exported.
   20198 include_expsyms=$lt_include_expsyms
   20199 
   20200 # Commands necessary for linking programs (against libraries) with templates.
   20201 prelink_cmds=$lt_prelink_cmds
   20202 
   20203 # Commands necessary for finishing linking programs.
   20204 postlink_cmds=$lt_postlink_cmds
   20205 
   20206 # Specify filename containing input files.
   20207 file_list_spec=$lt_file_list_spec
   20208 
   20209 # How to hardcode a shared library path into an executable.
   20210 hardcode_action=$hardcode_action
   20211 
   20212 # ### END LIBTOOL CONFIG
   20213 
   20214 _LT_EOF
   20215 
   20216   case $host_os in
   20217   aix3*)
   20218     cat <<\_LT_EOF >> "$cfgfile"
   20219 # AIX sometimes has problems with the GCC collect2 program.  For some
   20220 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20221 # vanish in a puff of smoke.
   20222 if test "X${COLLECT_NAMES+set}" != Xset; then
   20223   COLLECT_NAMES=
   20224   export COLLECT_NAMES
   20225 fi
   20226 _LT_EOF
   20227     ;;
   20228   esac
   20229 
   20230 
   20231 ltmain="$ac_aux_dir/ltmain.sh"
   20232 
   20233 
   20234   # We use sed instead of cat because bash on DJGPP gets confused if
   20235   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20236   # text mode, it properly converts lines to CR/LF.  This bash problem
   20237   # is reportedly fixed, but why not run on old versions too?
   20238   sed '$q' "$ltmain" >> "$cfgfile" \
   20239      || (rm -f "$cfgfile"; exit 1)
   20240 
   20241   if test x"$xsi_shell" = xyes; then
   20242   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20243 func_dirname ()\
   20244 {\
   20245 \    case ${1} in\
   20246 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20247 \      *  ) func_dirname_result="${3}" ;;\
   20248 \    esac\
   20249 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20250   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20251     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20252 test 0 -eq $? || _lt_function_replace_fail=:
   20253 
   20254 
   20255   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20256 func_basename ()\
   20257 {\
   20258 \    func_basename_result="${1##*/}"\
   20259 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20260   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20261     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20262 test 0 -eq $? || _lt_function_replace_fail=:
   20263 
   20264 
   20265   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20266 func_dirname_and_basename ()\
   20267 {\
   20268 \    case ${1} in\
   20269 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20270 \      *  ) func_dirname_result="${3}" ;;\
   20271 \    esac\
   20272 \    func_basename_result="${1##*/}"\
   20273 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20274   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20275     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20276 test 0 -eq $? || _lt_function_replace_fail=:
   20277 
   20278 
   20279   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20280 func_stripname ()\
   20281 {\
   20282 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20283 \    # positional parameters, so assign one to ordinary parameter first.\
   20284 \    func_stripname_result=${3}\
   20285 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20286 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20287 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20288   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20289     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20290 test 0 -eq $? || _lt_function_replace_fail=:
   20291 
   20292 
   20293   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20294 func_split_long_opt ()\
   20295 {\
   20296 \    func_split_long_opt_name=${1%%=*}\
   20297 \    func_split_long_opt_arg=${1#*=}\
   20298 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20299   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20300     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20301 test 0 -eq $? || _lt_function_replace_fail=:
   20302 
   20303 
   20304   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20305 func_split_short_opt ()\
   20306 {\
   20307 \    func_split_short_opt_arg=${1#??}\
   20308 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20309 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20310   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20311     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20312 test 0 -eq $? || _lt_function_replace_fail=:
   20313 
   20314 
   20315   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20316 func_lo2o ()\
   20317 {\
   20318 \    case ${1} in\
   20319 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20320 \      *)    func_lo2o_result=${1} ;;\
   20321 \    esac\
   20322 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20323   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20324     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20325 test 0 -eq $? || _lt_function_replace_fail=:
   20326 
   20327 
   20328   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20329 func_xform ()\
   20330 {\
   20331     func_xform_result=${1%.*}.lo\
   20332 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20333   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20334     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20335 test 0 -eq $? || _lt_function_replace_fail=:
   20336 
   20337 
   20338   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20339 func_arith ()\
   20340 {\
   20341     func_arith_result=$(( $* ))\
   20342 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20343   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20344     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20345 test 0 -eq $? || _lt_function_replace_fail=:
   20346 
   20347 
   20348   sed -e '/^func_len ()$/,/^} # func_len /c\
   20349 func_len ()\
   20350 {\
   20351     func_len_result=${#1}\
   20352 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20353   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20354     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20355 test 0 -eq $? || _lt_function_replace_fail=:
   20356 
   20357 fi
   20358 
   20359 if test x"$lt_shell_append" = xyes; then
   20360   sed -e '/^func_append ()$/,/^} # func_append /c\
   20361 func_append ()\
   20362 {\
   20363     eval "${1}+=\\${2}"\
   20364 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20365   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20366     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20367 test 0 -eq $? || _lt_function_replace_fail=:
   20368 
   20369 
   20370   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20371 func_append_quoted ()\
   20372 {\
   20373 \    func_quote_for_eval "${2}"\
   20374 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20375 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20376   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20377     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20378 test 0 -eq $? || _lt_function_replace_fail=:
   20379 
   20380 
   20381   # Save a `func_append' function call where possible by direct use of '+='
   20382   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20383     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20384       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20385   test 0 -eq $? || _lt_function_replace_fail=:
   20386 else
   20387   # Save a `func_append' function call even when '+=' is not available
   20388   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 fi
   20393 
   20394 if test x"$_lt_function_replace_fail" = x":"; then
   20395   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20396 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20397 fi
   20398 
   20399 
   20400    mv -f "$cfgfile" "$ofile" ||
   20401     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20402   chmod +x "$ofile"
   20403 
   20404  ;;
   20405 
   20406   esac
   20407 done # for ac_tag
   20408 
   20409 
   20410 as_fn_exit 0
   20411 _ACEOF
   20412 ac_clean_files=$ac_clean_files_save
   20413 
   20414 test $ac_write_fail = 0 ||
   20415   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20416 
   20417 
   20418 # configure is writing to config.log, and then calls config.status.
   20419 # config.status does its own redirection, appending to config.log.
   20420 # Unfortunately, on DOS this fails, as config.log is still kept open
   20421 # by configure, so config.status won't be able to write to it; its
   20422 # output is simply discarded.  So we exec the FD to /dev/null,
   20423 # effectively closing config.log, so it can be properly (re)opened and
   20424 # appended to by config.status.  When coming back to configure, we
   20425 # need to make the FD available again.
   20426 if test "$no_create" != yes; then
   20427   ac_cs_success=:
   20428   ac_config_status_args=
   20429   test "$silent" = yes &&
   20430     ac_config_status_args="$ac_config_status_args --quiet"
   20431   exec 5>/dev/null
   20432   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20433   exec 5>>config.log
   20434   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20435   # would make configure fail if this is the last instruction.
   20436   $ac_cs_success || as_fn_exit 1
   20437 fi
   20438 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20439   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20440 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20441 fi
   20442 
   20443