Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7.2.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXpm 3.5.15.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues>.
      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://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues
    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.15'
    595 PACKAGE_STRING='libXpm 3.5.15'
    596 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues'
    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 HAVE_GLIB_FALSE
    641 HAVE_GLIB_TRUE
    642 GLIB_LIBS
    643 GLIB_CFLAGS
    644 ENABLE_UNIT_TESTS_FALSE
    645 ENABLE_UNIT_TESTS_TRUE
    646 XORG_MALLOC_DEBUG_ENV
    647 XPM_PATH_GZIP
    648 XPM_PATH_UNCOMPRESS
    649 XPM_PATH_COMPRESS
    650 COMPRESSED_PIXMAPS_FALSE
    651 COMPRESSED_PIXMAPS_TRUE
    652 USE_GETTEXT_FALSE
    653 USE_GETTEXT_TRUE
    654 LOCALEDIR
    655 BUILD_SXPM_FALSE
    656 BUILD_SXPM_TRUE
    657 SXPM_LIBS
    658 SXPM_CFLAGS
    659 XPM_LIBS
    660 XPM_CFLAGS
    661 MAN_SUBSTS
    662 XORG_MAN_PAGE
    663 ADMIN_MAN_DIR
    664 DRIVER_MAN_DIR
    665 MISC_MAN_DIR
    666 FILE_MAN_DIR
    667 LIB_MAN_DIR
    668 APP_MAN_DIR
    669 ADMIN_MAN_SUFFIX
    670 DRIVER_MAN_SUFFIX
    671 MISC_MAN_SUFFIX
    672 FILE_MAN_SUFFIX
    673 LIB_MAN_SUFFIX
    674 APP_MAN_SUFFIX
    675 INSTALL_CMD
    676 PKG_CONFIG_LIBDIR
    677 PKG_CONFIG_PATH
    678 PKG_CONFIG
    679 CHANGELOG_CMD
    680 STRICT_CFLAGS
    681 CWARNFLAGS
    682 BASE_CFLAGS
    683 CPP
    684 LT_SYS_LIBRARY_PATH
    685 OTOOL64
    686 OTOOL
    687 LIPO
    688 NMEDIT
    689 DSYMUTIL
    690 MANIFEST_TOOL
    691 RANLIB
    692 ac_ct_AR
    693 AR
    694 DLLTOOL
    695 OBJDUMP
    696 LN_S
    697 NM
    698 ac_ct_DUMPBIN
    699 DUMPBIN
    700 LD
    701 FGREP
    702 EGREP
    703 GREP
    704 SED
    705 am__fastdepCC_FALSE
    706 am__fastdepCC_TRUE
    707 CCDEPMODE
    708 am__nodep
    709 AMDEPBACKSLASH
    710 AMDEP_FALSE
    711 AMDEP_TRUE
    712 am__quote
    713 am__include
    714 DEPDIR
    715 OBJEXT
    716 EXEEXT
    717 ac_ct_CC
    718 CPPFLAGS
    719 LDFLAGS
    720 CFLAGS
    721 CC
    722 host_os
    723 host_vendor
    724 host_cpu
    725 host
    726 build_os
    727 build_vendor
    728 build_cpu
    729 build
    730 LIBTOOL
    731 AM_BACKSLASH
    732 AM_DEFAULT_VERBOSITY
    733 AM_DEFAULT_V
    734 AM_V
    735 am__untar
    736 am__tar
    737 AMTAR
    738 am__leading_dot
    739 SET_MAKE
    740 AWK
    741 mkdir_p
    742 MKDIR_P
    743 INSTALL_STRIP_PROGRAM
    744 STRIP
    745 install_sh
    746 MAKEINFO
    747 AUTOHEADER
    748 AUTOMAKE
    749 AUTOCONF
    750 ACLOCAL
    751 VERSION
    752 PACKAGE
    753 CYGPATH_W
    754 am__isrc
    755 INSTALL_DATA
    756 INSTALL_SCRIPT
    757 INSTALL_PROGRAM
    758 target_alias
    759 host_alias
    760 build_alias
    761 LIBS
    762 ECHO_T
    763 ECHO_N
    764 ECHO_C
    765 DEFS
    766 mandir
    767 localedir
    768 libdir
    769 psdir
    770 pdfdir
    771 dvidir
    772 htmldir
    773 infodir
    774 docdir
    775 oldincludedir
    776 includedir
    777 localstatedir
    778 sharedstatedir
    779 sysconfdir
    780 datadir
    781 datarootdir
    782 libexecdir
    783 sbindir
    784 bindir
    785 program_transform_name
    786 prefix
    787 exec_prefix
    788 PACKAGE_URL
    789 PACKAGE_BUGREPORT
    790 PACKAGE_STRING
    791 PACKAGE_VERSION
    792 PACKAGE_TARNAME
    793 PACKAGE_NAME
    794 PATH_SEPARATOR
    795 SHELL'
    796 ac_subst_files=''
    797 ac_user_opts='
    798 enable_option_checking
    799 enable_silent_rules
    800 enable_shared
    801 enable_static
    802 with_pic
    803 enable_fast_install
    804 with_aix_soname
    805 enable_dependency_tracking
    806 with_gnu_ld
    807 with_sysroot
    808 enable_libtool_lock
    809 enable_selective_werror
    810 enable_strict_compilation
    811 with_localedir
    812 enable_open_zfile
    813 enable_stat_zfile
    814 enable_unit_tests
    815 with_glib
    816 '
    817       ac_precious_vars='build_alias
    818 host_alias
    819 target_alias
    820 CC
    821 CFLAGS
    822 LDFLAGS
    823 LIBS
    824 CPPFLAGS
    825 LT_SYS_LIBRARY_PATH
    826 CPP
    827 PKG_CONFIG
    828 PKG_CONFIG_PATH
    829 PKG_CONFIG_LIBDIR
    830 XPM_CFLAGS
    831 XPM_LIBS
    832 SXPM_CFLAGS
    833 SXPM_LIBS
    834 XORG_MALLOC_DEBUG_ENV
    835 GLIB_CFLAGS
    836 GLIB_LIBS'
    837 
    838 
    839 # Initialize some variables set by options.
    840 ac_init_help=
    841 ac_init_version=false
    842 ac_unrecognized_opts=
    843 ac_unrecognized_sep=
    844 # The variables have the same names as the options, with
    845 # dashes changed to underlines.
    846 cache_file=/dev/null
    847 exec_prefix=NONE
    848 no_create=
    849 no_recursion=
    850 prefix=NONE
    851 program_prefix=NONE
    852 program_suffix=NONE
    853 program_transform_name=s,x,x,
    854 silent=
    855 site=
    856 srcdir=
    857 verbose=
    858 x_includes=NONE
    859 x_libraries=NONE
    860 
    861 # Installation directory options.
    862 # These are left unexpanded so users can "make install exec_prefix=/foo"
    863 # and all the variables that are supposed to be based on exec_prefix
    864 # by default will actually change.
    865 # Use braces instead of parens because sh, perl, etc. also accept them.
    866 # (The list follows the same order as the GNU Coding Standards.)
    867 bindir='${exec_prefix}/bin'
    868 sbindir='${exec_prefix}/sbin'
    869 libexecdir='${exec_prefix}/libexec'
    870 datarootdir='${prefix}/share'
    871 datadir='${datarootdir}'
    872 sysconfdir='${prefix}/etc'
    873 sharedstatedir='${prefix}/com'
    874 localstatedir='${prefix}/var'
    875 includedir='${prefix}/include'
    876 oldincludedir='/usr/include'
    877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    878 infodir='${datarootdir}/info'
    879 htmldir='${docdir}'
    880 dvidir='${docdir}'
    881 pdfdir='${docdir}'
    882 psdir='${docdir}'
    883 libdir='${exec_prefix}/lib'
    884 localedir='${datarootdir}/locale'
    885 mandir='${datarootdir}/man'
    886 
    887 ac_prev=
    888 ac_dashdash=
    889 for ac_option
    890 do
    891   # If the previous option needs an argument, assign it.
    892   if test -n "$ac_prev"; then
    893     eval $ac_prev=\$ac_option
    894     ac_prev=
    895     continue
    896   fi
    897 
    898   case $ac_option in
    899   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    900   *=)   ac_optarg= ;;
    901   *)    ac_optarg=yes ;;
    902   esac
    903 
    904   # Accept the important Cygnus configure options, so we can diagnose typos.
    905 
    906   case $ac_dashdash$ac_option in
    907   --)
    908     ac_dashdash=yes ;;
    909 
    910   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    911     ac_prev=bindir ;;
    912   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    913     bindir=$ac_optarg ;;
    914 
    915   -build | --build | --buil | --bui | --bu)
    916     ac_prev=build_alias ;;
    917   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    918     build_alias=$ac_optarg ;;
    919 
    920   -cache-file | --cache-file | --cache-fil | --cache-fi \
    921   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    922     ac_prev=cache_file ;;
    923   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    924   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    925     cache_file=$ac_optarg ;;
    926 
    927   --config-cache | -C)
    928     cache_file=config.cache ;;
    929 
    930   -datadir | --datadir | --datadi | --datad)
    931     ac_prev=datadir ;;
    932   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    933     datadir=$ac_optarg ;;
    934 
    935   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    936   | --dataroo | --dataro | --datar)
    937     ac_prev=datarootdir ;;
    938   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    939   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    940     datarootdir=$ac_optarg ;;
    941 
    942   -disable-* | --disable-*)
    943     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    944     # Reject names that are not valid shell variable names.
    945     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    946       as_fn_error $? "invalid feature name: $ac_useropt"
    947     ac_useropt_orig=$ac_useropt
    948     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    949     case $ac_user_opts in
    950       *"
    951 "enable_$ac_useropt"
    952 "*) ;;
    953       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    954 	 ac_unrecognized_sep=', ';;
    955     esac
    956     eval enable_$ac_useropt=no ;;
    957 
    958   -docdir | --docdir | --docdi | --doc | --do)
    959     ac_prev=docdir ;;
    960   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    961     docdir=$ac_optarg ;;
    962 
    963   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    964     ac_prev=dvidir ;;
    965   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    966     dvidir=$ac_optarg ;;
    967 
    968   -enable-* | --enable-*)
    969     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    970     # Reject names that are not valid shell variable names.
    971     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    972       as_fn_error $? "invalid feature name: $ac_useropt"
    973     ac_useropt_orig=$ac_useropt
    974     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    975     case $ac_user_opts in
    976       *"
    977 "enable_$ac_useropt"
    978 "*) ;;
    979       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    980 	 ac_unrecognized_sep=', ';;
    981     esac
    982     eval enable_$ac_useropt=\$ac_optarg ;;
    983 
    984   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    985   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    986   | --exec | --exe | --ex)
    987     ac_prev=exec_prefix ;;
    988   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    989   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    990   | --exec=* | --exe=* | --ex=*)
    991     exec_prefix=$ac_optarg ;;
    992 
    993   -gas | --gas | --ga | --g)
    994     # Obsolete; use --with-gas.
    995     with_gas=yes ;;
    996 
    997   -help | --help | --hel | --he | -h)
    998     ac_init_help=long ;;
    999   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1000     ac_init_help=recursive ;;
   1001   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1002     ac_init_help=short ;;
   1003 
   1004   -host | --host | --hos | --ho)
   1005     ac_prev=host_alias ;;
   1006   -host=* | --host=* | --hos=* | --ho=*)
   1007     host_alias=$ac_optarg ;;
   1008 
   1009   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1010     ac_prev=htmldir ;;
   1011   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1012   | --ht=*)
   1013     htmldir=$ac_optarg ;;
   1014 
   1015   -includedir | --includedir | --includedi | --included | --include \
   1016   | --includ | --inclu | --incl | --inc)
   1017     ac_prev=includedir ;;
   1018   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1019   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1020     includedir=$ac_optarg ;;
   1021 
   1022   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1023     ac_prev=infodir ;;
   1024   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1025     infodir=$ac_optarg ;;
   1026 
   1027   -libdir | --libdir | --libdi | --libd)
   1028     ac_prev=libdir ;;
   1029   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1030     libdir=$ac_optarg ;;
   1031 
   1032   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1033   | --libexe | --libex | --libe)
   1034     ac_prev=libexecdir ;;
   1035   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1036   | --libexe=* | --libex=* | --libe=*)
   1037     libexecdir=$ac_optarg ;;
   1038 
   1039   -localedir | --localedir | --localedi | --localed | --locale)
   1040     ac_prev=localedir ;;
   1041   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1042     localedir=$ac_optarg ;;
   1043 
   1044   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1045   | --localstate | --localstat | --localsta | --localst | --locals)
   1046     ac_prev=localstatedir ;;
   1047   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1048   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1049     localstatedir=$ac_optarg ;;
   1050 
   1051   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1052     ac_prev=mandir ;;
   1053   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1054     mandir=$ac_optarg ;;
   1055 
   1056   -nfp | --nfp | --nf)
   1057     # Obsolete; use --without-fp.
   1058     with_fp=no ;;
   1059 
   1060   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1061   | --no-cr | --no-c | -n)
   1062     no_create=yes ;;
   1063 
   1064   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1065   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1066     no_recursion=yes ;;
   1067 
   1068   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1069   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1070   | --oldin | --oldi | --old | --ol | --o)
   1071     ac_prev=oldincludedir ;;
   1072   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1073   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1074   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1075     oldincludedir=$ac_optarg ;;
   1076 
   1077   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1078     ac_prev=prefix ;;
   1079   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1080     prefix=$ac_optarg ;;
   1081 
   1082   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1083   | --program-pre | --program-pr | --program-p)
   1084     ac_prev=program_prefix ;;
   1085   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1086   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1087     program_prefix=$ac_optarg ;;
   1088 
   1089   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1090   | --program-suf | --program-su | --program-s)
   1091     ac_prev=program_suffix ;;
   1092   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1093   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1094     program_suffix=$ac_optarg ;;
   1095 
   1096   -program-transform-name | --program-transform-name \
   1097   | --program-transform-nam | --program-transform-na \
   1098   | --program-transform-n | --program-transform- \
   1099   | --program-transform | --program-transfor \
   1100   | --program-transfo | --program-transf \
   1101   | --program-trans | --program-tran \
   1102   | --progr-tra | --program-tr | --program-t)
   1103     ac_prev=program_transform_name ;;
   1104   -program-transform-name=* | --program-transform-name=* \
   1105   | --program-transform-nam=* | --program-transform-na=* \
   1106   | --program-transform-n=* | --program-transform-=* \
   1107   | --program-transform=* | --program-transfor=* \
   1108   | --program-transfo=* | --program-transf=* \
   1109   | --program-trans=* | --program-tran=* \
   1110   | --progr-tra=* | --program-tr=* | --program-t=*)
   1111     program_transform_name=$ac_optarg ;;
   1112 
   1113   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1114     ac_prev=pdfdir ;;
   1115   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1116     pdfdir=$ac_optarg ;;
   1117 
   1118   -psdir | --psdir | --psdi | --psd | --ps)
   1119     ac_prev=psdir ;;
   1120   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1121     psdir=$ac_optarg ;;
   1122 
   1123   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1124   | -silent | --silent | --silen | --sile | --sil)
   1125     silent=yes ;;
   1126 
   1127   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1128     ac_prev=sbindir ;;
   1129   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1130   | --sbi=* | --sb=*)
   1131     sbindir=$ac_optarg ;;
   1132 
   1133   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1134   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1135   | --sharedst | --shareds | --shared | --share | --shar \
   1136   | --sha | --sh)
   1137     ac_prev=sharedstatedir ;;
   1138   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1139   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1140   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1141   | --sha=* | --sh=*)
   1142     sharedstatedir=$ac_optarg ;;
   1143 
   1144   -site | --site | --sit)
   1145     ac_prev=site ;;
   1146   -site=* | --site=* | --sit=*)
   1147     site=$ac_optarg ;;
   1148 
   1149   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1150     ac_prev=srcdir ;;
   1151   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1152     srcdir=$ac_optarg ;;
   1153 
   1154   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1155   | --syscon | --sysco | --sysc | --sys | --sy)
   1156     ac_prev=sysconfdir ;;
   1157   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1158   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1159     sysconfdir=$ac_optarg ;;
   1160 
   1161   -target | --target | --targe | --targ | --tar | --ta | --t)
   1162     ac_prev=target_alias ;;
   1163   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1164     target_alias=$ac_optarg ;;
   1165 
   1166   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1167     verbose=yes ;;
   1168 
   1169   -version | --version | --versio | --versi | --vers | -V)
   1170     ac_init_version=: ;;
   1171 
   1172   -with-* | --with-*)
   1173     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1174     # Reject names that are not valid shell variable names.
   1175     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1176       as_fn_error $? "invalid package name: $ac_useropt"
   1177     ac_useropt_orig=$ac_useropt
   1178     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1179     case $ac_user_opts in
   1180       *"
   1181 "with_$ac_useropt"
   1182 "*) ;;
   1183       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1184 	 ac_unrecognized_sep=', ';;
   1185     esac
   1186     eval with_$ac_useropt=\$ac_optarg ;;
   1187 
   1188   -without-* | --without-*)
   1189     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1190     # Reject names that are not valid shell variable names.
   1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1192       as_fn_error $? "invalid package name: $ac_useropt"
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "with_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval with_$ac_useropt=no ;;
   1203 
   1204   --x)
   1205     # Obsolete; use --with-x.
   1206     with_x=yes ;;
   1207 
   1208   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1209   | --x-incl | --x-inc | --x-in | --x-i)
   1210     ac_prev=x_includes ;;
   1211   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1212   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1213     x_includes=$ac_optarg ;;
   1214 
   1215   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1216   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1217     ac_prev=x_libraries ;;
   1218   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1219   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1220     x_libraries=$ac_optarg ;;
   1221 
   1222   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1223 Try \`$0 --help' for more information"
   1224     ;;
   1225 
   1226   *=*)
   1227     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1228     # Reject names that are not valid shell variable names.
   1229     case $ac_envvar in #(
   1230       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1231       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1232     esac
   1233     eval $ac_envvar=\$ac_optarg
   1234     export $ac_envvar ;;
   1235 
   1236   *)
   1237     # FIXME: should be removed in autoconf 3.0.
   1238     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1239     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1240       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1241     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1242     ;;
   1243 
   1244   esac
   1245 done
   1246 
   1247 if test -n "$ac_prev"; then
   1248   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1249   as_fn_error $? "missing argument to $ac_option"
   1250 fi
   1251 
   1252 if test -n "$ac_unrecognized_opts"; then
   1253   case $enable_option_checking in
   1254     no) ;;
   1255     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1256     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1257   esac
   1258 fi
   1259 
   1260 # Check all directory arguments for consistency.
   1261 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1262 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1263 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1264 		libdir localedir mandir
   1265 do
   1266   eval ac_val=\$$ac_var
   1267   # Remove trailing slashes.
   1268   case $ac_val in
   1269     */ )
   1270       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1271       eval $ac_var=\$ac_val;;
   1272   esac
   1273   # Be sure to have absolute directory names.
   1274   case $ac_val in
   1275     [\\/$]* | ?:[\\/]* )  continue;;
   1276     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1277   esac
   1278   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1279 done
   1280 
   1281 # There might be people who depend on the old broken behavior: `$host'
   1282 # used to hold the argument of --host etc.
   1283 # FIXME: To remove some day.
   1284 build=$build_alias
   1285 host=$host_alias
   1286 target=$target_alias
   1287 
   1288 # FIXME: To remove some day.
   1289 if test "x$host_alias" != x; then
   1290   if test "x$build_alias" = x; then
   1291     cross_compiling=maybe
   1292   elif test "x$build_alias" != "x$host_alias"; then
   1293     cross_compiling=yes
   1294   fi
   1295 fi
   1296 
   1297 ac_tool_prefix=
   1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1299 
   1300 test "$silent" = yes && exec 6>/dev/null
   1301 
   1302 
   1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1304 ac_ls_di=`ls -di .` &&
   1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1306   as_fn_error $? "working directory cannot be determined"
   1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1308   as_fn_error $? "pwd does not report name of working directory"
   1309 
   1310 
   1311 # Find the source files, if location was not specified.
   1312 if test -z "$srcdir"; then
   1313   ac_srcdir_defaulted=yes
   1314   # Try the directory containing this script, then the parent directory.
   1315   ac_confdir=`$as_dirname -- "$as_myself" ||
   1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1317 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1318 	 X"$as_myself" : 'X\(//\)$' \| \
   1319 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1320 $as_echo X"$as_myself" |
   1321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1322 	    s//\1/
   1323 	    q
   1324 	  }
   1325 	  /^X\(\/\/\)[^/].*/{
   1326 	    s//\1/
   1327 	    q
   1328 	  }
   1329 	  /^X\(\/\/\)$/{
   1330 	    s//\1/
   1331 	    q
   1332 	  }
   1333 	  /^X\(\/\).*/{
   1334 	    s//\1/
   1335 	    q
   1336 	  }
   1337 	  s/.*/./; q'`
   1338   srcdir=$ac_confdir
   1339   if test ! -r "$srcdir/$ac_unique_file"; then
   1340     srcdir=..
   1341   fi
   1342 else
   1343   ac_srcdir_defaulted=no
   1344 fi
   1345 if test ! -r "$srcdir/$ac_unique_file"; then
   1346   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1347   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1348 fi
   1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1350 ac_abs_confdir=`(
   1351 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1352 	pwd)`
   1353 # When building in place, set srcdir=.
   1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1355   srcdir=.
   1356 fi
   1357 # Remove unnecessary trailing slashes from srcdir.
   1358 # Double slashes in file names in object file debugging info
   1359 # mess up M-x gdb in Emacs.
   1360 case $srcdir in
   1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1362 esac
   1363 for ac_var in $ac_precious_vars; do
   1364   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1365   eval ac_env_${ac_var}_value=\$${ac_var}
   1366   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1367   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1368 done
   1369 
   1370 #
   1371 # Report the --help message.
   1372 #
   1373 if test "$ac_init_help" = "long"; then
   1374   # Omit some internal or obsolete options to make the list less imposing.
   1375   # This message is too long to be a string in the A/UX 3.1 sh.
   1376   cat <<_ACEOF
   1377 \`configure' configures libXpm 3.5.15 to adapt to many kinds of systems.
   1378 
   1379 Usage: $0 [OPTION]... [VAR=VALUE]...
   1380 
   1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1382 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1383 
   1384 Defaults for the options are specified in brackets.
   1385 
   1386 Configuration:
   1387   -h, --help              display this help and exit
   1388       --help=short        display options specific to this package
   1389       --help=recursive    display the short help of all the included packages
   1390   -V, --version           display version information and exit
   1391   -q, --quiet, --silent   do not print \`checking ...' messages
   1392       --cache-file=FILE   cache test results in FILE [disabled]
   1393   -C, --config-cache      alias for \`--cache-file=config.cache'
   1394   -n, --no-create         do not create output files
   1395       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1396 
   1397 Installation directories:
   1398   --prefix=PREFIX         install architecture-independent files in PREFIX
   1399                           [$ac_default_prefix]
   1400   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1401                           [PREFIX]
   1402 
   1403 By default, \`make install' will install all the files in
   1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1406 for instance \`--prefix=\$HOME'.
   1407 
   1408 For better control, use the options below.
   1409 
   1410 Fine tuning of the installation directories:
   1411   --bindir=DIR            user executables [EPREFIX/bin]
   1412   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1413   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1414   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1415   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1416   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1417   --libdir=DIR            object code libraries [EPREFIX/lib]
   1418   --includedir=DIR        C header files [PREFIX/include]
   1419   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1420   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1421   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1422   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1423   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1424   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1425   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
   1426   --htmldir=DIR           html documentation [DOCDIR]
   1427   --dvidir=DIR            dvi documentation [DOCDIR]
   1428   --pdfdir=DIR            pdf documentation [DOCDIR]
   1429   --psdir=DIR             ps documentation [DOCDIR]
   1430 _ACEOF
   1431 
   1432   cat <<\_ACEOF
   1433 
   1434 Program names:
   1435   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1436   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1437   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1438 
   1439 System types:
   1440   --build=BUILD     configure for building on BUILD [guessed]
   1441   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1442 _ACEOF
   1443 fi
   1444 
   1445 if test -n "$ac_init_help"; then
   1446   case $ac_init_help in
   1447      short | recursive ) echo "Configuration of libXpm 3.5.15:";;
   1448    esac
   1449   cat <<\_ACEOF
   1450 
   1451 Optional Features:
   1452   --disable-option-checking  ignore unrecognized --enable/--with options
   1453   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1454   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1455   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1456   --disable-silent-rules  verbose build output (undo: "make V=0")
   1457   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1458   --enable-static[=PKGS]  build static libraries [default=yes]
   1459   --enable-fast-install[=PKGS]
   1460                           optimize for fast installation [default=yes]
   1461   --enable-dependency-tracking
   1462                           do not reject slow dependency extractors
   1463   --disable-dependency-tracking
   1464                           speeds up one-time build
   1465   --disable-libtool-lock  avoid locking (might break parallel builds)
   1466   --disable-selective-werror
   1467                           Turn off selective compiler errors. (default:
   1468                           enabled)
   1469   --enable-strict-compilation
   1470                           Enable all warnings from compiler and make them
   1471                           errors (default: disabled)
   1472   --enable-open-zfile     Search for files with .Z & .gz extensions
   1473                           automatically [default=auto]
   1474   --enable-stat-zfile     Search for files with .Z & .gz extensions
   1475                           automatically [default=auto]
   1476   --enable-unit-tests     Enable building unit test cases (default: auto)
   1477 
   1478 Optional Packages:
   1479   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1480   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1481   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1482                           both]
   1483   --with-aix-soname=aix|svr4|both
   1484                           shared library versioning (aka "SONAME") variant to
   1485                           provide on AIX, [default=aix].
   1486   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1487   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1488                           compiler's sysroot if not specified).
   1489   --with-localedir=<path> Path to install message files in (default:
   1490                           datadir/locale)
   1491   --with-glib             Use GLib library for unit testing (default: auto)
   1492 
   1493 Some influential environment variables:
   1494   CC          C compiler command
   1495   CFLAGS      C compiler flags
   1496   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1497               nonstandard directory <lib dir>
   1498   LIBS        libraries to pass to the linker, e.g. -l<library>
   1499   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1500               you have headers in a nonstandard directory <include dir>
   1501   LT_SYS_LIBRARY_PATH
   1502               User-defined run-time library search path.
   1503   CPP         C preprocessor
   1504   PKG_CONFIG  path to pkg-config utility
   1505   PKG_CONFIG_PATH
   1506               directories to add to pkg-config's search path
   1507   PKG_CONFIG_LIBDIR
   1508               path overriding pkg-config's built-in search path
   1509   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1510   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1511   SXPM_CFLAGS C compiler flags for SXPM, overriding pkg-config
   1512   SXPM_LIBS   linker flags for SXPM, overriding pkg-config
   1513   XORG_MALLOC_DEBUG_ENV
   1514               Environment variables to enable memory checking in tests
   1515   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   1516   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   1517 
   1518 Use these variables to override the choices made by `configure' or to help
   1519 it to find libraries and programs with nonstandard names/locations.
   1520 
   1521 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues>.
   1522 _ACEOF
   1523 ac_status=$?
   1524 fi
   1525 
   1526 if test "$ac_init_help" = "recursive"; then
   1527   # If there are subdirs, report their specific --help.
   1528   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1529     test -d "$ac_dir" ||
   1530       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1531       continue
   1532     ac_builddir=.
   1533 
   1534 case "$ac_dir" in
   1535 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1536 *)
   1537   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1538   # A ".." for each directory in $ac_dir_suffix.
   1539   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1540   case $ac_top_builddir_sub in
   1541   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1542   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1543   esac ;;
   1544 esac
   1545 ac_abs_top_builddir=$ac_pwd
   1546 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1547 # for backward compatibility:
   1548 ac_top_builddir=$ac_top_build_prefix
   1549 
   1550 case $srcdir in
   1551   .)  # We are building in place.
   1552     ac_srcdir=.
   1553     ac_top_srcdir=$ac_top_builddir_sub
   1554     ac_abs_top_srcdir=$ac_pwd ;;
   1555   [\\/]* | ?:[\\/]* )  # Absolute name.
   1556     ac_srcdir=$srcdir$ac_dir_suffix;
   1557     ac_top_srcdir=$srcdir
   1558     ac_abs_top_srcdir=$srcdir ;;
   1559   *) # Relative name.
   1560     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1561     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1562     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1563 esac
   1564 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1565 
   1566     cd "$ac_dir" || { ac_status=$?; continue; }
   1567     # Check for guested configure.
   1568     if test -f "$ac_srcdir/configure.gnu"; then
   1569       echo &&
   1570       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1571     elif test -f "$ac_srcdir/configure"; then
   1572       echo &&
   1573       $SHELL "$ac_srcdir/configure" --help=recursive
   1574     else
   1575       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1576     fi || ac_status=$?
   1577     cd "$ac_pwd" || { ac_status=$?; break; }
   1578   done
   1579 fi
   1580 
   1581 test -n "$ac_init_help" && exit $ac_status
   1582 if $ac_init_version; then
   1583   cat <<\_ACEOF
   1584 libXpm configure 3.5.15
   1585 generated by GNU Autoconf 2.69
   1586 
   1587 Copyright (C) 2012 Free Software Foundation, Inc.
   1588 This configure script is free software; the Free Software Foundation
   1589 gives unlimited permission to copy, distribute and modify it.
   1590 _ACEOF
   1591   exit
   1592 fi
   1593 
   1594 ## ------------------------ ##
   1595 ## Autoconf initialization. ##
   1596 ## ------------------------ ##
   1597 
   1598 # ac_fn_c_try_compile LINENO
   1599 # --------------------------
   1600 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1601 ac_fn_c_try_compile ()
   1602 {
   1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1604   rm -f conftest.$ac_objext
   1605   if { { ac_try="$ac_compile"
   1606 case "(($ac_try" in
   1607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1608   *) ac_try_echo=$ac_try;;
   1609 esac
   1610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1611 $as_echo "$ac_try_echo"; } >&5
   1612   (eval "$ac_compile") 2>conftest.err
   1613   ac_status=$?
   1614   if test -s conftest.err; then
   1615     grep -v '^ *+' conftest.err >conftest.er1
   1616     cat conftest.er1 >&5
   1617     mv -f conftest.er1 conftest.err
   1618   fi
   1619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1620   test $ac_status = 0; } && {
   1621 	 test -z "$ac_c_werror_flag" ||
   1622 	 test ! -s conftest.err
   1623        } && test -s conftest.$ac_objext; then :
   1624   ac_retval=0
   1625 else
   1626   $as_echo "$as_me: failed program was:" >&5
   1627 sed 's/^/| /' conftest.$ac_ext >&5
   1628 
   1629 	ac_retval=1
   1630 fi
   1631   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1632   as_fn_set_status $ac_retval
   1633 
   1634 } # ac_fn_c_try_compile
   1635 
   1636 # ac_fn_c_try_link LINENO
   1637 # -----------------------
   1638 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1639 ac_fn_c_try_link ()
   1640 {
   1641   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1642   rm -f conftest.$ac_objext conftest$ac_exeext
   1643   if { { ac_try="$ac_link"
   1644 case "(($ac_try" in
   1645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1646   *) ac_try_echo=$ac_try;;
   1647 esac
   1648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1649 $as_echo "$ac_try_echo"; } >&5
   1650   (eval "$ac_link") 2>conftest.err
   1651   ac_status=$?
   1652   if test -s conftest.err; then
   1653     grep -v '^ *+' conftest.err >conftest.er1
   1654     cat conftest.er1 >&5
   1655     mv -f conftest.er1 conftest.err
   1656   fi
   1657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1658   test $ac_status = 0; } && {
   1659 	 test -z "$ac_c_werror_flag" ||
   1660 	 test ! -s conftest.err
   1661        } && test -s conftest$ac_exeext && {
   1662 	 test "$cross_compiling" = yes ||
   1663 	 test -x conftest$ac_exeext
   1664        }; then :
   1665   ac_retval=0
   1666 else
   1667   $as_echo "$as_me: failed program was:" >&5
   1668 sed 's/^/| /' conftest.$ac_ext >&5
   1669 
   1670 	ac_retval=1
   1671 fi
   1672   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1673   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1674   # interfere with the next link command; also delete a directory that is
   1675   # left behind by Apple's compiler.  We do this before executing the actions.
   1676   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678   as_fn_set_status $ac_retval
   1679 
   1680 } # ac_fn_c_try_link
   1681 
   1682 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1683 # -------------------------------------------------------
   1684 # Tests whether HEADER exists and can be compiled using the include files in
   1685 # INCLUDES, setting the cache variable VAR accordingly.
   1686 ac_fn_c_check_header_compile ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1690 $as_echo_n "checking for $2... " >&6; }
   1691 if eval \${$3+:} false; then :
   1692   $as_echo_n "(cached) " >&6
   1693 else
   1694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1695 /* end confdefs.h.  */
   1696 $4
   1697 #include <$2>
   1698 _ACEOF
   1699 if ac_fn_c_try_compile "$LINENO"; then :
   1700   eval "$3=yes"
   1701 else
   1702   eval "$3=no"
   1703 fi
   1704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1705 fi
   1706 eval ac_res=\$$3
   1707 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1708 $as_echo "$ac_res" >&6; }
   1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1710 
   1711 } # ac_fn_c_check_header_compile
   1712 
   1713 # ac_fn_c_try_cpp LINENO
   1714 # ----------------------
   1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1716 ac_fn_c_try_cpp ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1720 case "(($ac_try" in
   1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1722   *) ac_try_echo=$ac_try;;
   1723 esac
   1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1725 $as_echo "$ac_try_echo"; } >&5
   1726   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1727   ac_status=$?
   1728   if test -s conftest.err; then
   1729     grep -v '^ *+' conftest.err >conftest.er1
   1730     cat conftest.er1 >&5
   1731     mv -f conftest.er1 conftest.err
   1732   fi
   1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1734   test $ac_status = 0; } > conftest.i && {
   1735 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1736 	 test ! -s conftest.err
   1737        }; then :
   1738   ac_retval=0
   1739 else
   1740   $as_echo "$as_me: failed program was:" >&5
   1741 sed 's/^/| /' conftest.$ac_ext >&5
   1742 
   1743     ac_retval=1
   1744 fi
   1745   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1746   as_fn_set_status $ac_retval
   1747 
   1748 } # ac_fn_c_try_cpp
   1749 
   1750 # ac_fn_c_try_run LINENO
   1751 # ----------------------
   1752 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1753 # that executables *can* be run.
   1754 ac_fn_c_try_run ()
   1755 {
   1756   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1757   if { { ac_try="$ac_link"
   1758 case "(($ac_try" in
   1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1760   *) ac_try_echo=$ac_try;;
   1761 esac
   1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1763 $as_echo "$ac_try_echo"; } >&5
   1764   (eval "$ac_link") 2>&5
   1765   ac_status=$?
   1766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1767   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1768   { { case "(($ac_try" in
   1769   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1770   *) ac_try_echo=$ac_try;;
   1771 esac
   1772 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1773 $as_echo "$ac_try_echo"; } >&5
   1774   (eval "$ac_try") 2>&5
   1775   ac_status=$?
   1776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1777   test $ac_status = 0; }; }; then :
   1778   ac_retval=0
   1779 else
   1780   $as_echo "$as_me: program exited with status $ac_status" >&5
   1781        $as_echo "$as_me: failed program was:" >&5
   1782 sed 's/^/| /' conftest.$ac_ext >&5
   1783 
   1784        ac_retval=$ac_status
   1785 fi
   1786   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1787   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1788   as_fn_set_status $ac_retval
   1789 
   1790 } # ac_fn_c_try_run
   1791 
   1792 # ac_fn_c_check_func LINENO FUNC VAR
   1793 # ----------------------------------
   1794 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1795 ac_fn_c_check_func ()
   1796 {
   1797   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1799 $as_echo_n "checking for $2... " >&6; }
   1800 if eval \${$3+:} false; then :
   1801   $as_echo_n "(cached) " >&6
   1802 else
   1803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1804 /* end confdefs.h.  */
   1805 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1807 #define $2 innocuous_$2
   1808 
   1809 /* System header to define __stub macros and hopefully few prototypes,
   1810     which can conflict with char $2 (); below.
   1811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1812     <limits.h> exists even on freestanding compilers.  */
   1813 
   1814 #ifdef __STDC__
   1815 # include <limits.h>
   1816 #else
   1817 # include <assert.h>
   1818 #endif
   1819 
   1820 #undef $2
   1821 
   1822 /* Override any GCC internal prototype to avoid an error.
   1823    Use char because int might match the return type of a GCC
   1824    builtin and then its argument prototype would still apply.  */
   1825 #ifdef __cplusplus
   1826 extern "C"
   1827 #endif
   1828 char $2 ();
   1829 /* The GNU C library defines this for functions which it implements
   1830     to always fail with ENOSYS.  Some functions are actually named
   1831     something starting with __ and the normal name is an alias.  */
   1832 #if defined __stub_$2 || defined __stub___$2
   1833 choke me
   1834 #endif
   1835 
   1836 int
   1837 main ()
   1838 {
   1839 return $2 ();
   1840   ;
   1841   return 0;
   1842 }
   1843 _ACEOF
   1844 if ac_fn_c_try_link "$LINENO"; then :
   1845   eval "$3=yes"
   1846 else
   1847   eval "$3=no"
   1848 fi
   1849 rm -f core conftest.err conftest.$ac_objext \
   1850     conftest$ac_exeext conftest.$ac_ext
   1851 fi
   1852 eval ac_res=\$$3
   1853 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1854 $as_echo "$ac_res" >&6; }
   1855   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1856 
   1857 } # ac_fn_c_check_func
   1858 
   1859 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1860 # ---------------------------------------------
   1861 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1862 # accordingly.
   1863 ac_fn_c_check_decl ()
   1864 {
   1865   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1866   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1867   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1869 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1870 if eval \${$3+:} false; then :
   1871   $as_echo_n "(cached) " >&6
   1872 else
   1873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1874 /* end confdefs.h.  */
   1875 $4
   1876 int
   1877 main ()
   1878 {
   1879 #ifndef $as_decl_name
   1880 #ifdef __cplusplus
   1881   (void) $as_decl_use;
   1882 #else
   1883   (void) $as_decl_name;
   1884 #endif
   1885 #endif
   1886 
   1887   ;
   1888   return 0;
   1889 }
   1890 _ACEOF
   1891 if ac_fn_c_try_compile "$LINENO"; then :
   1892   eval "$3=yes"
   1893 else
   1894   eval "$3=no"
   1895 fi
   1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1897 fi
   1898 eval ac_res=\$$3
   1899 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1900 $as_echo "$ac_res" >&6; }
   1901   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1902 
   1903 } # ac_fn_c_check_decl
   1904 cat >config.log <<_ACEOF
   1905 This file contains any messages produced by compilers while
   1906 running configure, to aid debugging if configure makes a mistake.
   1907 
   1908 It was created by libXpm $as_me 3.5.15, which was
   1909 generated by GNU Autoconf 2.69.  Invocation command line was
   1910 
   1911   $ $0 $@
   1912 
   1913 _ACEOF
   1914 exec 5>>config.log
   1915 {
   1916 cat <<_ASUNAME
   1917 ## --------- ##
   1918 ## Platform. ##
   1919 ## --------- ##
   1920 
   1921 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1922 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1923 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1924 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1925 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1926 
   1927 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1928 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1929 
   1930 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1931 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1932 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1933 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1934 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1935 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1936 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1937 
   1938 _ASUNAME
   1939 
   1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1941 for as_dir in $PATH
   1942 do
   1943   IFS=$as_save_IFS
   1944   test -z "$as_dir" && as_dir=.
   1945     $as_echo "PATH: $as_dir"
   1946   done
   1947 IFS=$as_save_IFS
   1948 
   1949 } >&5
   1950 
   1951 cat >&5 <<_ACEOF
   1952 
   1953 
   1954 ## ----------- ##
   1955 ## Core tests. ##
   1956 ## ----------- ##
   1957 
   1958 _ACEOF
   1959 
   1960 
   1961 # Keep a trace of the command line.
   1962 # Strip out --no-create and --no-recursion so they do not pile up.
   1963 # Strip out --silent because we don't want to record it for future runs.
   1964 # Also quote any args containing shell meta-characters.
   1965 # Make two passes to allow for proper duplicate-argument suppression.
   1966 ac_configure_args=
   1967 ac_configure_args0=
   1968 ac_configure_args1=
   1969 ac_must_keep_next=false
   1970 for ac_pass in 1 2
   1971 do
   1972   for ac_arg
   1973   do
   1974     case $ac_arg in
   1975     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1976     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1977     | -silent | --silent | --silen | --sile | --sil)
   1978       continue ;;
   1979     *\'*)
   1980       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1981     esac
   1982     case $ac_pass in
   1983     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1984     2)
   1985       as_fn_append ac_configure_args1 " '$ac_arg'"
   1986       if test $ac_must_keep_next = true; then
   1987 	ac_must_keep_next=false # Got value, back to normal.
   1988       else
   1989 	case $ac_arg in
   1990 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1991 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1992 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1993 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1994 	    case "$ac_configure_args0 " in
   1995 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1996 	    esac
   1997 	    ;;
   1998 	  -* ) ac_must_keep_next=true ;;
   1999 	esac
   2000       fi
   2001       as_fn_append ac_configure_args " '$ac_arg'"
   2002       ;;
   2003     esac
   2004   done
   2005 done
   2006 { ac_configure_args0=; unset ac_configure_args0;}
   2007 { ac_configure_args1=; unset ac_configure_args1;}
   2008 
   2009 # When interrupted or exit'd, cleanup temporary files, and complete
   2010 # config.log.  We remove comments because anyway the quotes in there
   2011 # would cause problems or look ugly.
   2012 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2013 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2014 trap 'exit_status=$?
   2015   # Save into config.log some information that might help in debugging.
   2016   {
   2017     echo
   2018 
   2019     $as_echo "## ---------------- ##
   2020 ## Cache variables. ##
   2021 ## ---------------- ##"
   2022     echo
   2023     # The following way of writing the cache mishandles newlines in values,
   2024 (
   2025   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2026     eval ac_val=\$$ac_var
   2027     case $ac_val in #(
   2028     *${as_nl}*)
   2029       case $ac_var in #(
   2030       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2031 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2032       esac
   2033       case $ac_var in #(
   2034       _ | IFS | as_nl) ;; #(
   2035       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2036       *) { eval $ac_var=; unset $ac_var;} ;;
   2037       esac ;;
   2038     esac
   2039   done
   2040   (set) 2>&1 |
   2041     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2042     *${as_nl}ac_space=\ *)
   2043       sed -n \
   2044 	"s/'\''/'\''\\\\'\'''\''/g;
   2045 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2046       ;; #(
   2047     *)
   2048       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2049       ;;
   2050     esac |
   2051     sort
   2052 )
   2053     echo
   2054 
   2055     $as_echo "## ----------------- ##
   2056 ## Output variables. ##
   2057 ## ----------------- ##"
   2058     echo
   2059     for ac_var in $ac_subst_vars
   2060     do
   2061       eval ac_val=\$$ac_var
   2062       case $ac_val in
   2063       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2064       esac
   2065       $as_echo "$ac_var='\''$ac_val'\''"
   2066     done | sort
   2067     echo
   2068 
   2069     if test -n "$ac_subst_files"; then
   2070       $as_echo "## ------------------- ##
   2071 ## File substitutions. ##
   2072 ## ------------------- ##"
   2073       echo
   2074       for ac_var in $ac_subst_files
   2075       do
   2076 	eval ac_val=\$$ac_var
   2077 	case $ac_val in
   2078 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2079 	esac
   2080 	$as_echo "$ac_var='\''$ac_val'\''"
   2081       done | sort
   2082       echo
   2083     fi
   2084 
   2085     if test -s confdefs.h; then
   2086       $as_echo "## ----------- ##
   2087 ## confdefs.h. ##
   2088 ## ----------- ##"
   2089       echo
   2090       cat confdefs.h
   2091       echo
   2092     fi
   2093     test "$ac_signal" != 0 &&
   2094       $as_echo "$as_me: caught signal $ac_signal"
   2095     $as_echo "$as_me: exit $exit_status"
   2096   } >&5
   2097   rm -f core *.core core.conftest.* &&
   2098     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2099     exit $exit_status
   2100 ' 0
   2101 for ac_signal in 1 2 13 15; do
   2102   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2103 done
   2104 ac_signal=0
   2105 
   2106 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2107 rm -f -r conftest* confdefs.h
   2108 
   2109 $as_echo "/* confdefs.h */" > confdefs.h
   2110 
   2111 # Predefined preprocessor variables.
   2112 
   2113 cat >>confdefs.h <<_ACEOF
   2114 #define PACKAGE_NAME "$PACKAGE_NAME"
   2115 _ACEOF
   2116 
   2117 cat >>confdefs.h <<_ACEOF
   2118 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2119 _ACEOF
   2120 
   2121 cat >>confdefs.h <<_ACEOF
   2122 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2123 _ACEOF
   2124 
   2125 cat >>confdefs.h <<_ACEOF
   2126 #define PACKAGE_STRING "$PACKAGE_STRING"
   2127 _ACEOF
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_URL "$PACKAGE_URL"
   2135 _ACEOF
   2136 
   2137 
   2138 # Let the site file select an alternate cache file if it wants to.
   2139 # Prefer an explicitly selected file to automatically selected ones.
   2140 ac_site_file1=NONE
   2141 ac_site_file2=NONE
   2142 if test -n "$CONFIG_SITE"; then
   2143   # We do not want a PATH search for config.site.
   2144   case $CONFIG_SITE in #((
   2145     -*)  ac_site_file1=./$CONFIG_SITE;;
   2146     */*) ac_site_file1=$CONFIG_SITE;;
   2147     *)   ac_site_file1=./$CONFIG_SITE;;
   2148   esac
   2149 elif test "x$prefix" != xNONE; then
   2150   ac_site_file1=$prefix/share/config.site
   2151   ac_site_file2=$prefix/etc/config.site
   2152 else
   2153   ac_site_file1=$ac_default_prefix/share/config.site
   2154   ac_site_file2=$ac_default_prefix/etc/config.site
   2155 fi
   2156 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2157 do
   2158   test "x$ac_site_file" = xNONE && continue
   2159   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2160     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2161 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2162     sed 's/^/| /' "$ac_site_file" >&5
   2163     . "$ac_site_file" \
   2164       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2166 as_fn_error $? "failed to load site script $ac_site_file
   2167 See \`config.log' for more details" "$LINENO" 5; }
   2168   fi
   2169 done
   2170 
   2171 if test -r "$cache_file"; then
   2172   # Some versions of bash will fail to source /dev/null (special files
   2173   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2174   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2175     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2176 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2177     case $cache_file in
   2178       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2179       *)                      . "./$cache_file";;
   2180     esac
   2181   fi
   2182 else
   2183   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2184 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2185   >$cache_file
   2186 fi
   2187 
   2188 # Check that the precious variables saved in the cache have kept the same
   2189 # value.
   2190 ac_cache_corrupted=false
   2191 for ac_var in $ac_precious_vars; do
   2192   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2193   eval ac_new_set=\$ac_env_${ac_var}_set
   2194   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2195   eval ac_new_val=\$ac_env_${ac_var}_value
   2196   case $ac_old_set,$ac_new_set in
   2197     set,)
   2198       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2199 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2200       ac_cache_corrupted=: ;;
   2201     ,set)
   2202       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2203 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2204       ac_cache_corrupted=: ;;
   2205     ,);;
   2206     *)
   2207       if test "x$ac_old_val" != "x$ac_new_val"; then
   2208 	# differences in whitespace do not lead to failure.
   2209 	ac_old_val_w=`echo x $ac_old_val`
   2210 	ac_new_val_w=`echo x $ac_new_val`
   2211 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2212 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2213 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2214 	  ac_cache_corrupted=:
   2215 	else
   2216 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2217 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2218 	  eval $ac_var=\$ac_old_val
   2219 	fi
   2220 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2221 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2222 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2223 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2224       fi;;
   2225   esac
   2226   # Pass precious variables to config.status.
   2227   if test "$ac_new_set" = set; then
   2228     case $ac_new_val in
   2229     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2230     *) ac_arg=$ac_var=$ac_new_val ;;
   2231     esac
   2232     case " $ac_configure_args " in
   2233       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2234       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2235     esac
   2236   fi
   2237 done
   2238 if $ac_cache_corrupted; then
   2239   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2241   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2242 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2243   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2244 fi
   2245 ## -------------------- ##
   2246 ## Main body of script. ##
   2247 ## -------------------- ##
   2248 
   2249 ac_ext=c
   2250 ac_cpp='$CPP $CPPFLAGS'
   2251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2254 
   2255 
   2256 
   2257 ac_config_headers="$ac_config_headers config.h"
   2258 
   2259 
   2260 
   2261 # Initialize Automake
   2262 am__api_version='1.15'
   2263 
   2264 ac_aux_dir=
   2265 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2266   if test -f "$ac_dir/install-sh"; then
   2267     ac_aux_dir=$ac_dir
   2268     ac_install_sh="$ac_aux_dir/install-sh -c"
   2269     break
   2270   elif test -f "$ac_dir/install.sh"; then
   2271     ac_aux_dir=$ac_dir
   2272     ac_install_sh="$ac_aux_dir/install.sh -c"
   2273     break
   2274   elif test -f "$ac_dir/shtool"; then
   2275     ac_aux_dir=$ac_dir
   2276     ac_install_sh="$ac_aux_dir/shtool install -c"
   2277     break
   2278   fi
   2279 done
   2280 if test -z "$ac_aux_dir"; then
   2281   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2282 fi
   2283 
   2284 # These three variables are undocumented and unsupported,
   2285 # and are intended to be withdrawn in a future Autoconf release.
   2286 # They can cause serious problems if a builder's source tree is in a directory
   2287 # whose full name contains unusual characters.
   2288 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2289 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2290 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2291 
   2292 
   2293 # Find a good install program.  We prefer a C program (faster),
   2294 # so one script is as good as another.  But avoid the broken or
   2295 # incompatible versions:
   2296 # SysV /etc/install, /usr/sbin/install
   2297 # SunOS /usr/etc/install
   2298 # IRIX /sbin/install
   2299 # AIX /bin/install
   2300 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2301 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2302 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2303 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2304 # OS/2's system install, which has a completely different semantic
   2305 # ./install, which can be erroneously created by make from ./install.sh.
   2306 # Reject install programs that cannot install multiple files.
   2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2308 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2309 if test -z "$INSTALL"; then
   2310 if ${ac_cv_path_install+:} false; then :
   2311   $as_echo_n "(cached) " >&6
   2312 else
   2313   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2314 for as_dir in $PATH
   2315 do
   2316   IFS=$as_save_IFS
   2317   test -z "$as_dir" && as_dir=.
   2318     # Account for people who put trailing slashes in PATH elements.
   2319 case $as_dir/ in #((
   2320   ./ | .// | /[cC]/* | \
   2321   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2322   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2323   /usr/ucb/* ) ;;
   2324   *)
   2325     # OSF1 and SCO ODT 3.0 have their own names for install.
   2326     # Don't use installbsd from OSF since it installs stuff as root
   2327     # by default.
   2328     for ac_prog in ginstall scoinst install; do
   2329       for ac_exec_ext in '' $ac_executable_extensions; do
   2330 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2331 	  if test $ac_prog = install &&
   2332 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2333 	    # AIX install.  It has an incompatible calling convention.
   2334 	    :
   2335 	  elif test $ac_prog = install &&
   2336 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2337 	    # program-specific install script used by HP pwplus--don't use.
   2338 	    :
   2339 	  else
   2340 	    rm -rf conftest.one conftest.two conftest.dir
   2341 	    echo one > conftest.one
   2342 	    echo two > conftest.two
   2343 	    mkdir conftest.dir
   2344 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2345 	      test -s conftest.one && test -s conftest.two &&
   2346 	      test -s conftest.dir/conftest.one &&
   2347 	      test -s conftest.dir/conftest.two
   2348 	    then
   2349 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2350 	      break 3
   2351 	    fi
   2352 	  fi
   2353 	fi
   2354       done
   2355     done
   2356     ;;
   2357 esac
   2358 
   2359   done
   2360 IFS=$as_save_IFS
   2361 
   2362 rm -rf conftest.one conftest.two conftest.dir
   2363 
   2364 fi
   2365   if test "${ac_cv_path_install+set}" = set; then
   2366     INSTALL=$ac_cv_path_install
   2367   else
   2368     # As a last resort, use the slow shell script.  Don't cache a
   2369     # value for INSTALL within a source directory, because that will
   2370     # break other packages using the cache if that directory is
   2371     # removed, or if the value is a relative name.
   2372     INSTALL=$ac_install_sh
   2373   fi
   2374 fi
   2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2376 $as_echo "$INSTALL" >&6; }
   2377 
   2378 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2379 # It thinks the first close brace ends the variable substitution.
   2380 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2381 
   2382 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2383 
   2384 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2385 
   2386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2387 $as_echo_n "checking whether build environment is sane... " >&6; }
   2388 # Reject unsafe characters in $srcdir or the absolute working directory
   2389 # name.  Accept space and tab only in the latter.
   2390 am_lf='
   2391 '
   2392 case `pwd` in
   2393   *[\\\"\#\$\&\'\`$am_lf]*)
   2394     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2395 esac
   2396 case $srcdir in
   2397   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2398     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2399 esac
   2400 
   2401 # Do 'set' in a subshell so we don't clobber the current shell's
   2402 # arguments.  Must try -L first in case configure is actually a
   2403 # symlink; some systems play weird games with the mod time of symlinks
   2404 # (eg FreeBSD returns the mod time of the symlink's containing
   2405 # directory).
   2406 if (
   2407    am_has_slept=no
   2408    for am_try in 1 2; do
   2409      echo "timestamp, slept: $am_has_slept" > conftest.file
   2410      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2411      if test "$*" = "X"; then
   2412 	# -L didn't work.
   2413 	set X `ls -t "$srcdir/configure" conftest.file`
   2414      fi
   2415      if test "$*" != "X $srcdir/configure conftest.file" \
   2416 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2417 
   2418 	# If neither matched, then we have a broken ls.  This can happen
   2419 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2420 	# broken ls alias from the environment.  This has actually
   2421 	# happened.  Such a system could not be considered "sane".
   2422 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2423   alias in your environment" "$LINENO" 5
   2424      fi
   2425      if test "$2" = conftest.file || test $am_try -eq 2; then
   2426        break
   2427      fi
   2428      # Just in case.
   2429      sleep 1
   2430      am_has_slept=yes
   2431    done
   2432    test "$2" = conftest.file
   2433    )
   2434 then
   2435    # Ok.
   2436    :
   2437 else
   2438    as_fn_error $? "newly created file is older than distributed files!
   2439 Check your system clock" "$LINENO" 5
   2440 fi
   2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2442 $as_echo "yes" >&6; }
   2443 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2444 # generated files are strictly newer.
   2445 am_sleep_pid=
   2446 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2447   ( sleep 1 ) &
   2448   am_sleep_pid=$!
   2449 fi
   2450 
   2451 rm -f conftest.file
   2452 
   2453 test "$program_prefix" != NONE &&
   2454   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2455 # Use a double $ so make ignores it.
   2456 test "$program_suffix" != NONE &&
   2457   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2458 # Double any \ or $.
   2459 # By default was `s,x,x', remove it if useless.
   2460 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2461 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2462 
   2463 # Expand $ac_aux_dir to an absolute path.
   2464 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2465 
   2466 if test x"${MISSING+set}" != xset; then
   2467   case $am_aux_dir in
   2468   *\ * | *\	*)
   2469     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2470   *)
   2471     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2472   esac
   2473 fi
   2474 # Use eval to expand $SHELL
   2475 if eval "$MISSING --is-lightweight"; then
   2476   am_missing_run="$MISSING "
   2477 else
   2478   am_missing_run=
   2479   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2480 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2481 fi
   2482 
   2483 if test x"${install_sh+set}" != xset; then
   2484   case $am_aux_dir in
   2485   *\ * | *\	*)
   2486     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2487   *)
   2488     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2489   esac
   2490 fi
   2491 
   2492 # Installed binaries are usually stripped using 'strip' when the user
   2493 # run "make install-strip".  However 'strip' might not be the right
   2494 # tool to use in cross-compilation environments, therefore Automake
   2495 # will honor the 'STRIP' environment variable to overrule this program.
   2496 if test "$cross_compiling" != no; then
   2497   if test -n "$ac_tool_prefix"; then
   2498   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2499 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2501 $as_echo_n "checking for $ac_word... " >&6; }
   2502 if ${ac_cv_prog_STRIP+:} false; then :
   2503   $as_echo_n "(cached) " >&6
   2504 else
   2505   if test -n "$STRIP"; then
   2506   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2507 else
   2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2509 for as_dir in $PATH
   2510 do
   2511   IFS=$as_save_IFS
   2512   test -z "$as_dir" && as_dir=.
   2513     for ac_exec_ext in '' $ac_executable_extensions; do
   2514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2515     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2517     break 2
   2518   fi
   2519 done
   2520   done
   2521 IFS=$as_save_IFS
   2522 
   2523 fi
   2524 fi
   2525 STRIP=$ac_cv_prog_STRIP
   2526 if test -n "$STRIP"; then
   2527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2528 $as_echo "$STRIP" >&6; }
   2529 else
   2530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2531 $as_echo "no" >&6; }
   2532 fi
   2533 
   2534 
   2535 fi
   2536 if test -z "$ac_cv_prog_STRIP"; then
   2537   ac_ct_STRIP=$STRIP
   2538   # Extract the first word of "strip", so it can be a program name with args.
   2539 set dummy strip; ac_word=$2
   2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2541 $as_echo_n "checking for $ac_word... " >&6; }
   2542 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2543   $as_echo_n "(cached) " >&6
   2544 else
   2545   if test -n "$ac_ct_STRIP"; then
   2546   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2547 else
   2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2549 for as_dir in $PATH
   2550 do
   2551   IFS=$as_save_IFS
   2552   test -z "$as_dir" && as_dir=.
   2553     for ac_exec_ext in '' $ac_executable_extensions; do
   2554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2555     ac_cv_prog_ac_ct_STRIP="strip"
   2556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2557     break 2
   2558   fi
   2559 done
   2560   done
   2561 IFS=$as_save_IFS
   2562 
   2563 fi
   2564 fi
   2565 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2566 if test -n "$ac_ct_STRIP"; then
   2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2568 $as_echo "$ac_ct_STRIP" >&6; }
   2569 else
   2570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2571 $as_echo "no" >&6; }
   2572 fi
   2573 
   2574   if test "x$ac_ct_STRIP" = x; then
   2575     STRIP=":"
   2576   else
   2577     case $cross_compiling:$ac_tool_warned in
   2578 yes:)
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2581 ac_tool_warned=yes ;;
   2582 esac
   2583     STRIP=$ac_ct_STRIP
   2584   fi
   2585 else
   2586   STRIP="$ac_cv_prog_STRIP"
   2587 fi
   2588 
   2589 fi
   2590 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2591 
   2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2593 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2594 if test -z "$MKDIR_P"; then
   2595   if ${ac_cv_path_mkdir+:} false; then :
   2596   $as_echo_n "(cached) " >&6
   2597 else
   2598   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2599 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2600 do
   2601   IFS=$as_save_IFS
   2602   test -z "$as_dir" && as_dir=.
   2603     for ac_prog in mkdir gmkdir; do
   2604 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2605 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2606 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2607 	     'mkdir (GNU coreutils) '* | \
   2608 	     'mkdir (coreutils) '* | \
   2609 	     'mkdir (fileutils) '4.1*)
   2610 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2611 	       break 3;;
   2612 	   esac
   2613 	 done
   2614        done
   2615   done
   2616 IFS=$as_save_IFS
   2617 
   2618 fi
   2619 
   2620   test -d ./--version && rmdir ./--version
   2621   if test "${ac_cv_path_mkdir+set}" = set; then
   2622     MKDIR_P="$ac_cv_path_mkdir -p"
   2623   else
   2624     # As a last resort, use the slow shell script.  Don't cache a
   2625     # value for MKDIR_P within a source directory, because that will
   2626     # break other packages using the cache if that directory is
   2627     # removed, or if the value is a relative name.
   2628     MKDIR_P="$ac_install_sh -d"
   2629   fi
   2630 fi
   2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2632 $as_echo "$MKDIR_P" >&6; }
   2633 
   2634 for ac_prog in gawk mawk nawk awk
   2635 do
   2636   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2637 set dummy $ac_prog; ac_word=$2
   2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2639 $as_echo_n "checking for $ac_word... " >&6; }
   2640 if ${ac_cv_prog_AWK+:} false; then :
   2641   $as_echo_n "(cached) " >&6
   2642 else
   2643   if test -n "$AWK"; then
   2644   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2645 else
   2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2647 for as_dir in $PATH
   2648 do
   2649   IFS=$as_save_IFS
   2650   test -z "$as_dir" && as_dir=.
   2651     for ac_exec_ext in '' $ac_executable_extensions; do
   2652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2653     ac_cv_prog_AWK="$ac_prog"
   2654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2655     break 2
   2656   fi
   2657 done
   2658   done
   2659 IFS=$as_save_IFS
   2660 
   2661 fi
   2662 fi
   2663 AWK=$ac_cv_prog_AWK
   2664 if test -n "$AWK"; then
   2665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2666 $as_echo "$AWK" >&6; }
   2667 else
   2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2669 $as_echo "no" >&6; }
   2670 fi
   2671 
   2672 
   2673   test -n "$AWK" && break
   2674 done
   2675 
   2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2677 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2678 set x ${MAKE-make}
   2679 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2680 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2681   $as_echo_n "(cached) " >&6
   2682 else
   2683   cat >conftest.make <<\_ACEOF
   2684 SHELL = /bin/sh
   2685 all:
   2686 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2687 _ACEOF
   2688 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2689 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2690   *@@@%%%=?*=@@@%%%*)
   2691     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2692   *)
   2693     eval ac_cv_prog_make_${ac_make}_set=no;;
   2694 esac
   2695 rm -f conftest.make
   2696 fi
   2697 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2699 $as_echo "yes" >&6; }
   2700   SET_MAKE=
   2701 else
   2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2703 $as_echo "no" >&6; }
   2704   SET_MAKE="MAKE=${MAKE-make}"
   2705 fi
   2706 
   2707 rm -rf .tst 2>/dev/null
   2708 mkdir .tst 2>/dev/null
   2709 if test -d .tst; then
   2710   am__leading_dot=.
   2711 else
   2712   am__leading_dot=_
   2713 fi
   2714 rmdir .tst 2>/dev/null
   2715 
   2716 # Check whether --enable-silent-rules was given.
   2717 if test "${enable_silent_rules+set}" = set; then :
   2718   enableval=$enable_silent_rules;
   2719 fi
   2720 
   2721 case $enable_silent_rules in # (((
   2722   yes) AM_DEFAULT_VERBOSITY=0;;
   2723    no) AM_DEFAULT_VERBOSITY=1;;
   2724     *) AM_DEFAULT_VERBOSITY=1;;
   2725 esac
   2726 am_make=${MAKE-make}
   2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2728 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2729 if ${am_cv_make_support_nested_variables+:} false; then :
   2730   $as_echo_n "(cached) " >&6
   2731 else
   2732   if $as_echo 'TRUE=$(BAR$(V))
   2733 BAR0=false
   2734 BAR1=true
   2735 V=1
   2736 am__doit:
   2737 	@$(TRUE)
   2738 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2739   am_cv_make_support_nested_variables=yes
   2740 else
   2741   am_cv_make_support_nested_variables=no
   2742 fi
   2743 fi
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2745 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2746 if test $am_cv_make_support_nested_variables = yes; then
   2747     AM_V='$(V)'
   2748   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2749 else
   2750   AM_V=$AM_DEFAULT_VERBOSITY
   2751   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2752 fi
   2753 AM_BACKSLASH='\'
   2754 
   2755 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2756   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2757   # is not polluted with repeated "-I."
   2758   am__isrc=' -I$(srcdir)'
   2759   # test to see if srcdir already configured
   2760   if test -f $srcdir/config.status; then
   2761     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2762   fi
   2763 fi
   2764 
   2765 # test whether we have cygpath
   2766 if test -z "$CYGPATH_W"; then
   2767   if (cygpath --version) >/dev/null 2>/dev/null; then
   2768     CYGPATH_W='cygpath -w'
   2769   else
   2770     CYGPATH_W=echo
   2771   fi
   2772 fi
   2773 
   2774 
   2775 # Define the identity of the package.
   2776  PACKAGE='libXpm'
   2777  VERSION='3.5.15'
   2778 
   2779 
   2780 cat >>confdefs.h <<_ACEOF
   2781 #define PACKAGE "$PACKAGE"
   2782 _ACEOF
   2783 
   2784 
   2785 cat >>confdefs.h <<_ACEOF
   2786 #define VERSION "$VERSION"
   2787 _ACEOF
   2788 
   2789 # Some tools Automake needs.
   2790 
   2791 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2792 
   2793 
   2794 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2795 
   2796 
   2797 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2798 
   2799 
   2800 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2801 
   2802 
   2803 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2804 
   2805 # For better backward compatibility.  To be removed once Automake 1.9.x
   2806 # dies out for good.  For more background, see:
   2807 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2808 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2809 mkdir_p='$(MKDIR_P)'
   2810 
   2811 # We need awk for the "check" target (and possibly the TAP driver).  The
   2812 # system "awk" is bad on some platforms.
   2813 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2814 # in the wild :-(  We should find a proper way to deprecate it ...
   2815 AMTAR='$${TAR-tar}'
   2816 
   2817 
   2818 # We'll loop over all known methods to create a tar archive until one works.
   2819 _am_tools='gnutar  pax cpio none'
   2820 
   2821 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2822 
   2823 
   2824 
   2825 
   2826 
   2827 
   2828 # POSIX will say in a future version that running "rm -f" with no argument
   2829 # is OK; and we want to be able to make that assumption in our Makefile
   2830 # recipes.  So use an aggressive probe to check that the usage we want is
   2831 # actually supported "in the wild" to an acceptable degree.
   2832 # See automake bug#10828.
   2833 # To make any issue more visible, cause the running configure to be aborted
   2834 # by default if the 'rm' program in use doesn't match our expectations; the
   2835 # user can still override this though.
   2836 if rm -f && rm -fr && rm -rf; then : OK; else
   2837   cat >&2 <<'END'
   2838 Oops!
   2839 
   2840 Your 'rm' program seems unable to run without file operands specified
   2841 on the command line, even when the '-f' option is present.  This is contrary
   2842 to the behaviour of most rm programs out there, and not conforming with
   2843 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2844 
   2845 Please tell bug-automake@gnu.org about your system, including the value
   2846 of your $PATH and any error possibly output before this message.  This
   2847 can help us improve future automake versions.
   2848 
   2849 END
   2850   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2851     echo 'Configuration will proceed anyway, since you have set the' >&2
   2852     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2853     echo >&2
   2854   else
   2855     cat >&2 <<'END'
   2856 Aborting the configuration process, to ensure you take notice of the issue.
   2857 
   2858 You can download and install GNU coreutils to get an 'rm' implementation
   2859 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2860 
   2861 If you want to complete the configuration process using your problematic
   2862 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2863 to "yes", and re-run configure.
   2864 
   2865 END
   2866     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2867   fi
   2868 fi
   2869 
   2870 
   2871 # Initialize libtool
   2872 case `pwd` in
   2873   *\ * | *\	*)
   2874     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2875 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2876 esac
   2877 
   2878 
   2879 
   2880 macro_version='2.4.6'
   2881 macro_revision='2.4.6'
   2882 
   2883 
   2884 
   2885 
   2886 
   2887 
   2888 
   2889 
   2890 
   2891 
   2892 
   2893 
   2894 
   2895 ltmain=$ac_aux_dir/ltmain.sh
   2896 
   2897 # Make sure we can run config.sub.
   2898 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2899   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2900 
   2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2902 $as_echo_n "checking build system type... " >&6; }
   2903 if ${ac_cv_build+:} false; then :
   2904   $as_echo_n "(cached) " >&6
   2905 else
   2906   ac_build_alias=$build_alias
   2907 test "x$ac_build_alias" = x &&
   2908   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2909 test "x$ac_build_alias" = x &&
   2910   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2911 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2912   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2913 
   2914 fi
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2916 $as_echo "$ac_cv_build" >&6; }
   2917 case $ac_cv_build in
   2918 *-*-*) ;;
   2919 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2920 esac
   2921 build=$ac_cv_build
   2922 ac_save_IFS=$IFS; IFS='-'
   2923 set x $ac_cv_build
   2924 shift
   2925 build_cpu=$1
   2926 build_vendor=$2
   2927 shift; shift
   2928 # Remember, the first character of IFS is used to create $*,
   2929 # except with old shells:
   2930 build_os=$*
   2931 IFS=$ac_save_IFS
   2932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2933 
   2934 
   2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2936 $as_echo_n "checking host system type... " >&6; }
   2937 if ${ac_cv_host+:} false; then :
   2938   $as_echo_n "(cached) " >&6
   2939 else
   2940   if test "x$host_alias" = x; then
   2941   ac_cv_host=$ac_cv_build
   2942 else
   2943   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2944     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2945 fi
   2946 
   2947 fi
   2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2949 $as_echo "$ac_cv_host" >&6; }
   2950 case $ac_cv_host in
   2951 *-*-*) ;;
   2952 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2953 esac
   2954 host=$ac_cv_host
   2955 ac_save_IFS=$IFS; IFS='-'
   2956 set x $ac_cv_host
   2957 shift
   2958 host_cpu=$1
   2959 host_vendor=$2
   2960 shift; shift
   2961 # Remember, the first character of IFS is used to create $*,
   2962 # except with old shells:
   2963 host_os=$*
   2964 IFS=$ac_save_IFS
   2965 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2966 
   2967 
   2968 # Backslashify metacharacters that are still active within
   2969 # double-quoted strings.
   2970 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2971 
   2972 # Same as above, but do not quote variable references.
   2973 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2974 
   2975 # Sed substitution to delay expansion of an escaped shell variable in a
   2976 # double_quote_subst'ed string.
   2977 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2978 
   2979 # Sed substitution to delay expansion of an escaped single quote.
   2980 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2981 
   2982 # Sed substitution to avoid accidental globbing in evaled expressions
   2983 no_glob_subst='s/\*/\\\*/g'
   2984 
   2985 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2986 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2987 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2988 
   2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2990 $as_echo_n "checking how to print strings... " >&6; }
   2991 # Test print first, because it will be a builtin if present.
   2992 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2993    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2994   ECHO='print -r --'
   2995 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2996   ECHO='printf %s\n'
   2997 else
   2998   # Use this function as a fallback that always works.
   2999   func_fallback_echo ()
   3000   {
   3001     eval 'cat <<_LTECHO_EOF
   3002 $1
   3003 _LTECHO_EOF'
   3004   }
   3005   ECHO='func_fallback_echo'
   3006 fi
   3007 
   3008 # func_echo_all arg...
   3009 # Invoke $ECHO with all args, space-separated.
   3010 func_echo_all ()
   3011 {
   3012     $ECHO ""
   3013 }
   3014 
   3015 case $ECHO in
   3016   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3017 $as_echo "printf" >&6; } ;;
   3018   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3019 $as_echo "print -r" >&6; } ;;
   3020   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3021 $as_echo "cat" >&6; } ;;
   3022 esac
   3023 
   3024 
   3025 
   3026 
   3027 
   3028 
   3029 
   3030 
   3031 
   3032 
   3033 
   3034 
   3035 
   3036 
   3037 DEPDIR="${am__leading_dot}deps"
   3038 
   3039 ac_config_commands="$ac_config_commands depfiles"
   3040 
   3041 
   3042 am_make=${MAKE-make}
   3043 cat > confinc << 'END'
   3044 am__doit:
   3045 	@echo this is the am__doit target
   3046 .PHONY: am__doit
   3047 END
   3048 # If we don't find an include directive, just comment out the code.
   3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3050 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3051 am__include="#"
   3052 am__quote=
   3053 _am_result=none
   3054 # First try GNU make style include.
   3055 echo "include confinc" > confmf
   3056 # Ignore all kinds of additional output from 'make'.
   3057 case `$am_make -s -f confmf 2> /dev/null` in #(
   3058 *the\ am__doit\ target*)
   3059   am__include=include
   3060   am__quote=
   3061   _am_result=GNU
   3062   ;;
   3063 esac
   3064 # Now try BSD make style include.
   3065 if test "$am__include" = "#"; then
   3066    echo '.include "confinc"' > confmf
   3067    case `$am_make -s -f confmf 2> /dev/null` in #(
   3068    *the\ am__doit\ target*)
   3069      am__include=.include
   3070      am__quote="\""
   3071      _am_result=BSD
   3072      ;;
   3073    esac
   3074 fi
   3075 
   3076 
   3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3078 $as_echo "$_am_result" >&6; }
   3079 rm -f confinc confmf
   3080 
   3081 # Check whether --enable-dependency-tracking was given.
   3082 if test "${enable_dependency_tracking+set}" = set; then :
   3083   enableval=$enable_dependency_tracking;
   3084 fi
   3085 
   3086 if test "x$enable_dependency_tracking" != xno; then
   3087   am_depcomp="$ac_aux_dir/depcomp"
   3088   AMDEPBACKSLASH='\'
   3089   am__nodep='_no'
   3090 fi
   3091  if test "x$enable_dependency_tracking" != xno; then
   3092   AMDEP_TRUE=
   3093   AMDEP_FALSE='#'
   3094 else
   3095   AMDEP_TRUE='#'
   3096   AMDEP_FALSE=
   3097 fi
   3098 
   3099 
   3100 ac_ext=c
   3101 ac_cpp='$CPP $CPPFLAGS'
   3102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3105 if test -n "$ac_tool_prefix"; then
   3106   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3107 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3109 $as_echo_n "checking for $ac_word... " >&6; }
   3110 if ${ac_cv_prog_CC+:} false; then :
   3111   $as_echo_n "(cached) " >&6
   3112 else
   3113   if test -n "$CC"; then
   3114   ac_cv_prog_CC="$CC" # Let the user override the test.
   3115 else
   3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3117 for as_dir in $PATH
   3118 do
   3119   IFS=$as_save_IFS
   3120   test -z "$as_dir" && as_dir=.
   3121     for ac_exec_ext in '' $ac_executable_extensions; do
   3122   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3123     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3125     break 2
   3126   fi
   3127 done
   3128   done
   3129 IFS=$as_save_IFS
   3130 
   3131 fi
   3132 fi
   3133 CC=$ac_cv_prog_CC
   3134 if test -n "$CC"; then
   3135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3136 $as_echo "$CC" >&6; }
   3137 else
   3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3139 $as_echo "no" >&6; }
   3140 fi
   3141 
   3142 
   3143 fi
   3144 if test -z "$ac_cv_prog_CC"; then
   3145   ac_ct_CC=$CC
   3146   # Extract the first word of "gcc", so it can be a program name with args.
   3147 set dummy gcc; ac_word=$2
   3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3149 $as_echo_n "checking for $ac_word... " >&6; }
   3150 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3151   $as_echo_n "(cached) " >&6
   3152 else
   3153   if test -n "$ac_ct_CC"; then
   3154   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3155 else
   3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3157 for as_dir in $PATH
   3158 do
   3159   IFS=$as_save_IFS
   3160   test -z "$as_dir" && as_dir=.
   3161     for ac_exec_ext in '' $ac_executable_extensions; do
   3162   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3163     ac_cv_prog_ac_ct_CC="gcc"
   3164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3165     break 2
   3166   fi
   3167 done
   3168   done
   3169 IFS=$as_save_IFS
   3170 
   3171 fi
   3172 fi
   3173 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3174 if test -n "$ac_ct_CC"; then
   3175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3176 $as_echo "$ac_ct_CC" >&6; }
   3177 else
   3178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3179 $as_echo "no" >&6; }
   3180 fi
   3181 
   3182   if test "x$ac_ct_CC" = x; then
   3183     CC=""
   3184   else
   3185     case $cross_compiling:$ac_tool_warned in
   3186 yes:)
   3187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3189 ac_tool_warned=yes ;;
   3190 esac
   3191     CC=$ac_ct_CC
   3192   fi
   3193 else
   3194   CC="$ac_cv_prog_CC"
   3195 fi
   3196 
   3197 if test -z "$CC"; then
   3198           if test -n "$ac_tool_prefix"; then
   3199     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3200 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3202 $as_echo_n "checking for $ac_word... " >&6; }
   3203 if ${ac_cv_prog_CC+:} false; then :
   3204   $as_echo_n "(cached) " >&6
   3205 else
   3206   if test -n "$CC"; then
   3207   ac_cv_prog_CC="$CC" # Let the user override the test.
   3208 else
   3209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3210 for as_dir in $PATH
   3211 do
   3212   IFS=$as_save_IFS
   3213   test -z "$as_dir" && as_dir=.
   3214     for ac_exec_ext in '' $ac_executable_extensions; do
   3215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3216     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3218     break 2
   3219   fi
   3220 done
   3221   done
   3222 IFS=$as_save_IFS
   3223 
   3224 fi
   3225 fi
   3226 CC=$ac_cv_prog_CC
   3227 if test -n "$CC"; then
   3228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3229 $as_echo "$CC" >&6; }
   3230 else
   3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3232 $as_echo "no" >&6; }
   3233 fi
   3234 
   3235 
   3236   fi
   3237 fi
   3238 if test -z "$CC"; then
   3239   # Extract the first word of "cc", so it can be a program name with args.
   3240 set dummy cc; ac_word=$2
   3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3242 $as_echo_n "checking for $ac_word... " >&6; }
   3243 if ${ac_cv_prog_CC+:} false; then :
   3244   $as_echo_n "(cached) " >&6
   3245 else
   3246   if test -n "$CC"; then
   3247   ac_cv_prog_CC="$CC" # Let the user override the test.
   3248 else
   3249   ac_prog_rejected=no
   3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3251 for as_dir in $PATH
   3252 do
   3253   IFS=$as_save_IFS
   3254   test -z "$as_dir" && as_dir=.
   3255     for ac_exec_ext in '' $ac_executable_extensions; do
   3256   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3257     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3258        ac_prog_rejected=yes
   3259        continue
   3260      fi
   3261     ac_cv_prog_CC="cc"
   3262     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3263     break 2
   3264   fi
   3265 done
   3266   done
   3267 IFS=$as_save_IFS
   3268 
   3269 if test $ac_prog_rejected = yes; then
   3270   # We found a bogon in the path, so make sure we never use it.
   3271   set dummy $ac_cv_prog_CC
   3272   shift
   3273   if test $# != 0; then
   3274     # We chose a different compiler from the bogus one.
   3275     # However, it has the same basename, so the bogon will be chosen
   3276     # first if we set CC to just the basename; use the full file name.
   3277     shift
   3278     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3279   fi
   3280 fi
   3281 fi
   3282 fi
   3283 CC=$ac_cv_prog_CC
   3284 if test -n "$CC"; then
   3285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3286 $as_echo "$CC" >&6; }
   3287 else
   3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3289 $as_echo "no" >&6; }
   3290 fi
   3291 
   3292 
   3293 fi
   3294 if test -z "$CC"; then
   3295   if test -n "$ac_tool_prefix"; then
   3296   for ac_prog in cl.exe
   3297   do
   3298     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3299 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3301 $as_echo_n "checking for $ac_word... " >&6; }
   3302 if ${ac_cv_prog_CC+:} false; then :
   3303   $as_echo_n "(cached) " >&6
   3304 else
   3305   if test -n "$CC"; then
   3306   ac_cv_prog_CC="$CC" # Let the user override the test.
   3307 else
   3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3309 for as_dir in $PATH
   3310 do
   3311   IFS=$as_save_IFS
   3312   test -z "$as_dir" && as_dir=.
   3313     for ac_exec_ext in '' $ac_executable_extensions; do
   3314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3315     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3317     break 2
   3318   fi
   3319 done
   3320   done
   3321 IFS=$as_save_IFS
   3322 
   3323 fi
   3324 fi
   3325 CC=$ac_cv_prog_CC
   3326 if test -n "$CC"; then
   3327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3328 $as_echo "$CC" >&6; }
   3329 else
   3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3331 $as_echo "no" >&6; }
   3332 fi
   3333 
   3334 
   3335     test -n "$CC" && break
   3336   done
   3337 fi
   3338 if test -z "$CC"; then
   3339   ac_ct_CC=$CC
   3340   for ac_prog in cl.exe
   3341 do
   3342   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3343 set dummy $ac_prog; ac_word=$2
   3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3345 $as_echo_n "checking for $ac_word... " >&6; }
   3346 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3347   $as_echo_n "(cached) " >&6
   3348 else
   3349   if test -n "$ac_ct_CC"; then
   3350   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3351 else
   3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3353 for as_dir in $PATH
   3354 do
   3355   IFS=$as_save_IFS
   3356   test -z "$as_dir" && as_dir=.
   3357     for ac_exec_ext in '' $ac_executable_extensions; do
   3358   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3359     ac_cv_prog_ac_ct_CC="$ac_prog"
   3360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3361     break 2
   3362   fi
   3363 done
   3364   done
   3365 IFS=$as_save_IFS
   3366 
   3367 fi
   3368 fi
   3369 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3370 if test -n "$ac_ct_CC"; then
   3371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3372 $as_echo "$ac_ct_CC" >&6; }
   3373 else
   3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3375 $as_echo "no" >&6; }
   3376 fi
   3377 
   3378 
   3379   test -n "$ac_ct_CC" && break
   3380 done
   3381 
   3382   if test "x$ac_ct_CC" = x; then
   3383     CC=""
   3384   else
   3385     case $cross_compiling:$ac_tool_warned in
   3386 yes:)
   3387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3389 ac_tool_warned=yes ;;
   3390 esac
   3391     CC=$ac_ct_CC
   3392   fi
   3393 fi
   3394 
   3395 fi
   3396 
   3397 
   3398 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3400 as_fn_error $? "no acceptable C compiler found in \$PATH
   3401 See \`config.log' for more details" "$LINENO" 5; }
   3402 
   3403 # Provide some information about the compiler.
   3404 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3405 set X $ac_compile
   3406 ac_compiler=$2
   3407 for ac_option in --version -v -V -qversion; do
   3408   { { ac_try="$ac_compiler $ac_option >&5"
   3409 case "(($ac_try" in
   3410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3411   *) ac_try_echo=$ac_try;;
   3412 esac
   3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3414 $as_echo "$ac_try_echo"; } >&5
   3415   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3416   ac_status=$?
   3417   if test -s conftest.err; then
   3418     sed '10a\
   3419 ... rest of stderr output deleted ...
   3420          10q' conftest.err >conftest.er1
   3421     cat conftest.er1 >&5
   3422   fi
   3423   rm -f conftest.er1 conftest.err
   3424   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3425   test $ac_status = 0; }
   3426 done
   3427 
   3428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3429 /* end confdefs.h.  */
   3430 
   3431 int
   3432 main ()
   3433 {
   3434 
   3435   ;
   3436   return 0;
   3437 }
   3438 _ACEOF
   3439 ac_clean_files_save=$ac_clean_files
   3440 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3441 # Try to create an executable without -o first, disregard a.out.
   3442 # It will help us diagnose broken compilers, and finding out an intuition
   3443 # of exeext.
   3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3445 $as_echo_n "checking whether the C compiler works... " >&6; }
   3446 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3447 
   3448 # The possible output files:
   3449 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3450 
   3451 ac_rmfiles=
   3452 for ac_file in $ac_files
   3453 do
   3454   case $ac_file in
   3455     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3456     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3457   esac
   3458 done
   3459 rm -f $ac_rmfiles
   3460 
   3461 if { { ac_try="$ac_link_default"
   3462 case "(($ac_try" in
   3463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3464   *) ac_try_echo=$ac_try;;
   3465 esac
   3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3467 $as_echo "$ac_try_echo"; } >&5
   3468   (eval "$ac_link_default") 2>&5
   3469   ac_status=$?
   3470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3471   test $ac_status = 0; }; then :
   3472   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3473 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3474 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3475 # so that the user can short-circuit this test for compilers unknown to
   3476 # Autoconf.
   3477 for ac_file in $ac_files ''
   3478 do
   3479   test -f "$ac_file" || continue
   3480   case $ac_file in
   3481     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3482 	;;
   3483     [ab].out )
   3484 	# We found the default executable, but exeext='' is most
   3485 	# certainly right.
   3486 	break;;
   3487     *.* )
   3488 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3489 	then :; else
   3490 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3491 	fi
   3492 	# We set ac_cv_exeext here because the later test for it is not
   3493 	# safe: cross compilers may not add the suffix if given an `-o'
   3494 	# argument, so we may need to know it at that point already.
   3495 	# Even if this section looks crufty: it has the advantage of
   3496 	# actually working.
   3497 	break;;
   3498     * )
   3499 	break;;
   3500   esac
   3501 done
   3502 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3503 
   3504 else
   3505   ac_file=''
   3506 fi
   3507 if test -z "$ac_file"; then :
   3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3509 $as_echo "no" >&6; }
   3510 $as_echo "$as_me: failed program was:" >&5
   3511 sed 's/^/| /' conftest.$ac_ext >&5
   3512 
   3513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3515 as_fn_error 77 "C compiler cannot create executables
   3516 See \`config.log' for more details" "$LINENO" 5; }
   3517 else
   3518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3519 $as_echo "yes" >&6; }
   3520 fi
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3522 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3524 $as_echo "$ac_file" >&6; }
   3525 ac_exeext=$ac_cv_exeext
   3526 
   3527 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3528 ac_clean_files=$ac_clean_files_save
   3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3530 $as_echo_n "checking for suffix of executables... " >&6; }
   3531 if { { ac_try="$ac_link"
   3532 case "(($ac_try" in
   3533   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3534   *) ac_try_echo=$ac_try;;
   3535 esac
   3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3537 $as_echo "$ac_try_echo"; } >&5
   3538   (eval "$ac_link") 2>&5
   3539   ac_status=$?
   3540   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3541   test $ac_status = 0; }; then :
   3542   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3543 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3544 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3545 # `rm'.
   3546 for ac_file in conftest.exe conftest conftest.*; do
   3547   test -f "$ac_file" || continue
   3548   case $ac_file in
   3549     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3550     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3551 	  break;;
   3552     * ) break;;
   3553   esac
   3554 done
   3555 else
   3556   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3558 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3559 See \`config.log' for more details" "$LINENO" 5; }
   3560 fi
   3561 rm -f conftest conftest$ac_cv_exeext
   3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3563 $as_echo "$ac_cv_exeext" >&6; }
   3564 
   3565 rm -f conftest.$ac_ext
   3566 EXEEXT=$ac_cv_exeext
   3567 ac_exeext=$EXEEXT
   3568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3569 /* end confdefs.h.  */
   3570 #include <stdio.h>
   3571 int
   3572 main ()
   3573 {
   3574 FILE *f = fopen ("conftest.out", "w");
   3575  return ferror (f) || fclose (f) != 0;
   3576 
   3577   ;
   3578   return 0;
   3579 }
   3580 _ACEOF
   3581 ac_clean_files="$ac_clean_files conftest.out"
   3582 # Check that the compiler produces executables we can run.  If not, either
   3583 # the compiler is broken, or we cross compile.
   3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3585 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3586 if test "$cross_compiling" != yes; then
   3587   { { ac_try="$ac_link"
   3588 case "(($ac_try" in
   3589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3590   *) ac_try_echo=$ac_try;;
   3591 esac
   3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3593 $as_echo "$ac_try_echo"; } >&5
   3594   (eval "$ac_link") 2>&5
   3595   ac_status=$?
   3596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3597   test $ac_status = 0; }
   3598   if { ac_try='./conftest$ac_cv_exeext'
   3599   { { case "(($ac_try" in
   3600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3601   *) ac_try_echo=$ac_try;;
   3602 esac
   3603 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3604 $as_echo "$ac_try_echo"; } >&5
   3605   (eval "$ac_try") 2>&5
   3606   ac_status=$?
   3607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3608   test $ac_status = 0; }; }; then
   3609     cross_compiling=no
   3610   else
   3611     if test "$cross_compiling" = maybe; then
   3612 	cross_compiling=yes
   3613     else
   3614 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3616 as_fn_error $? "cannot run C compiled programs.
   3617 If you meant to cross compile, use \`--host'.
   3618 See \`config.log' for more details" "$LINENO" 5; }
   3619     fi
   3620   fi
   3621 fi
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3623 $as_echo "$cross_compiling" >&6; }
   3624 
   3625 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3626 ac_clean_files=$ac_clean_files_save
   3627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3628 $as_echo_n "checking for suffix of object files... " >&6; }
   3629 if ${ac_cv_objext+:} false; then :
   3630   $as_echo_n "(cached) " >&6
   3631 else
   3632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3633 /* end confdefs.h.  */
   3634 
   3635 int
   3636 main ()
   3637 {
   3638 
   3639   ;
   3640   return 0;
   3641 }
   3642 _ACEOF
   3643 rm -f conftest.o conftest.obj
   3644 if { { ac_try="$ac_compile"
   3645 case "(($ac_try" in
   3646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3647   *) ac_try_echo=$ac_try;;
   3648 esac
   3649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3650 $as_echo "$ac_try_echo"; } >&5
   3651   (eval "$ac_compile") 2>&5
   3652   ac_status=$?
   3653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3654   test $ac_status = 0; }; then :
   3655   for ac_file in conftest.o conftest.obj conftest.*; do
   3656   test -f "$ac_file" || continue;
   3657   case $ac_file in
   3658     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3659     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3660        break;;
   3661   esac
   3662 done
   3663 else
   3664   $as_echo "$as_me: failed program was:" >&5
   3665 sed 's/^/| /' conftest.$ac_ext >&5
   3666 
   3667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3669 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3670 See \`config.log' for more details" "$LINENO" 5; }
   3671 fi
   3672 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3673 fi
   3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3675 $as_echo "$ac_cv_objext" >&6; }
   3676 OBJEXT=$ac_cv_objext
   3677 ac_objext=$OBJEXT
   3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3679 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3680 if ${ac_cv_c_compiler_gnu+:} false; then :
   3681   $as_echo_n "(cached) " >&6
   3682 else
   3683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3684 /* end confdefs.h.  */
   3685 
   3686 int
   3687 main ()
   3688 {
   3689 #ifndef __GNUC__
   3690        choke me
   3691 #endif
   3692 
   3693   ;
   3694   return 0;
   3695 }
   3696 _ACEOF
   3697 if ac_fn_c_try_compile "$LINENO"; then :
   3698   ac_compiler_gnu=yes
   3699 else
   3700   ac_compiler_gnu=no
   3701 fi
   3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3703 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3704 
   3705 fi
   3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3707 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3708 if test $ac_compiler_gnu = yes; then
   3709   GCC=yes
   3710 else
   3711   GCC=
   3712 fi
   3713 ac_test_CFLAGS=${CFLAGS+set}
   3714 ac_save_CFLAGS=$CFLAGS
   3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3716 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3717 if ${ac_cv_prog_cc_g+:} false; then :
   3718   $as_echo_n "(cached) " >&6
   3719 else
   3720   ac_save_c_werror_flag=$ac_c_werror_flag
   3721    ac_c_werror_flag=yes
   3722    ac_cv_prog_cc_g=no
   3723    CFLAGS="-g"
   3724    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3725 /* end confdefs.h.  */
   3726 
   3727 int
   3728 main ()
   3729 {
   3730 
   3731   ;
   3732   return 0;
   3733 }
   3734 _ACEOF
   3735 if ac_fn_c_try_compile "$LINENO"; then :
   3736   ac_cv_prog_cc_g=yes
   3737 else
   3738   CFLAGS=""
   3739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3740 /* end confdefs.h.  */
   3741 
   3742 int
   3743 main ()
   3744 {
   3745 
   3746   ;
   3747   return 0;
   3748 }
   3749 _ACEOF
   3750 if ac_fn_c_try_compile "$LINENO"; then :
   3751 
   3752 else
   3753   ac_c_werror_flag=$ac_save_c_werror_flag
   3754 	 CFLAGS="-g"
   3755 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3756 /* end confdefs.h.  */
   3757 
   3758 int
   3759 main ()
   3760 {
   3761 
   3762   ;
   3763   return 0;
   3764 }
   3765 _ACEOF
   3766 if ac_fn_c_try_compile "$LINENO"; then :
   3767   ac_cv_prog_cc_g=yes
   3768 fi
   3769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3770 fi
   3771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3772 fi
   3773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3774    ac_c_werror_flag=$ac_save_c_werror_flag
   3775 fi
   3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3777 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3778 if test "$ac_test_CFLAGS" = set; then
   3779   CFLAGS=$ac_save_CFLAGS
   3780 elif test $ac_cv_prog_cc_g = yes; then
   3781   if test "$GCC" = yes; then
   3782     CFLAGS="-g -O2"
   3783   else
   3784     CFLAGS="-g"
   3785   fi
   3786 else
   3787   if test "$GCC" = yes; then
   3788     CFLAGS="-O2"
   3789   else
   3790     CFLAGS=
   3791   fi
   3792 fi
   3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3794 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3795 if ${ac_cv_prog_cc_c89+:} false; then :
   3796   $as_echo_n "(cached) " >&6
   3797 else
   3798   ac_cv_prog_cc_c89=no
   3799 ac_save_CC=$CC
   3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3801 /* end confdefs.h.  */
   3802 #include <stdarg.h>
   3803 #include <stdio.h>
   3804 struct stat;
   3805 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3806 struct buf { int x; };
   3807 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3808 static char *e (p, i)
   3809      char **p;
   3810      int i;
   3811 {
   3812   return p[i];
   3813 }
   3814 static char *f (char * (*g) (char **, int), char **p, ...)
   3815 {
   3816   char *s;
   3817   va_list v;
   3818   va_start (v,p);
   3819   s = g (p, va_arg (v,int));
   3820   va_end (v);
   3821   return s;
   3822 }
   3823 
   3824 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3825    function prototypes and stuff, but not '\xHH' hex character constants.
   3826    These don't provoke an error unfortunately, instead are silently treated
   3827    as 'x'.  The following induces an error, until -std is added to get
   3828    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3829    array size at least.  It's necessary to write '\x00'==0 to get something
   3830    that's true only with -std.  */
   3831 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3832 
   3833 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3834    inside strings and character constants.  */
   3835 #define FOO(x) 'x'
   3836 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3837 
   3838 int test (int i, double x);
   3839 struct s1 {int (*f) (int a);};
   3840 struct s2 {int (*f) (double a);};
   3841 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3842 int argc;
   3843 char **argv;
   3844 int
   3845 main ()
   3846 {
   3847 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3848   ;
   3849   return 0;
   3850 }
   3851 _ACEOF
   3852 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3853 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3854 do
   3855   CC="$ac_save_CC $ac_arg"
   3856   if ac_fn_c_try_compile "$LINENO"; then :
   3857   ac_cv_prog_cc_c89=$ac_arg
   3858 fi
   3859 rm -f core conftest.err conftest.$ac_objext
   3860   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3861 done
   3862 rm -f conftest.$ac_ext
   3863 CC=$ac_save_CC
   3864 
   3865 fi
   3866 # AC_CACHE_VAL
   3867 case "x$ac_cv_prog_cc_c89" in
   3868   x)
   3869     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3870 $as_echo "none needed" >&6; } ;;
   3871   xno)
   3872     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3873 $as_echo "unsupported" >&6; } ;;
   3874   *)
   3875     CC="$CC $ac_cv_prog_cc_c89"
   3876     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3877 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3878 esac
   3879 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3880 
   3881 fi
   3882 
   3883 ac_ext=c
   3884 ac_cpp='$CPP $CPPFLAGS'
   3885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3888 
   3889 ac_ext=c
   3890 ac_cpp='$CPP $CPPFLAGS'
   3891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3895 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3896 if ${am_cv_prog_cc_c_o+:} false; then :
   3897   $as_echo_n "(cached) " >&6
   3898 else
   3899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3900 /* end confdefs.h.  */
   3901 
   3902 int
   3903 main ()
   3904 {
   3905 
   3906   ;
   3907   return 0;
   3908 }
   3909 _ACEOF
   3910   # Make sure it works both with $CC and with simple cc.
   3911   # Following AC_PROG_CC_C_O, we do the test twice because some
   3912   # compilers refuse to overwrite an existing .o file with -o,
   3913   # though they will create one.
   3914   am_cv_prog_cc_c_o=yes
   3915   for am_i in 1 2; do
   3916     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3917    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3918    ac_status=$?
   3919    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3920    (exit $ac_status); } \
   3921          && test -f conftest2.$ac_objext; then
   3922       : OK
   3923     else
   3924       am_cv_prog_cc_c_o=no
   3925       break
   3926     fi
   3927   done
   3928   rm -f core conftest*
   3929   unset am_i
   3930 fi
   3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3932 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3933 if test "$am_cv_prog_cc_c_o" != yes; then
   3934    # Losing compiler, so override with the script.
   3935    # FIXME: It is wrong to rewrite CC.
   3936    # But if we don't then we get into trouble of one sort or another.
   3937    # A longer-term fix would be to have automake use am__CC in this case,
   3938    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3939    CC="$am_aux_dir/compile $CC"
   3940 fi
   3941 ac_ext=c
   3942 ac_cpp='$CPP $CPPFLAGS'
   3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3946 
   3947 
   3948 depcc="$CC"   am_compiler_list=
   3949 
   3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3951 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3952 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3953   $as_echo_n "(cached) " >&6
   3954 else
   3955   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3956   # We make a subdir and do the tests there.  Otherwise we can end up
   3957   # making bogus files that we don't know about and never remove.  For
   3958   # instance it was reported that on HP-UX the gcc test will end up
   3959   # making a dummy file named 'D' -- because '-MD' means "put the output
   3960   # in D".
   3961   rm -rf conftest.dir
   3962   mkdir conftest.dir
   3963   # Copy depcomp to subdir because otherwise we won't find it if we're
   3964   # using a relative directory.
   3965   cp "$am_depcomp" conftest.dir
   3966   cd conftest.dir
   3967   # We will build objects and dependencies in a subdirectory because
   3968   # it helps to detect inapplicable dependency modes.  For instance
   3969   # both Tru64's cc and ICC support -MD to output dependencies as a
   3970   # side effect of compilation, but ICC will put the dependencies in
   3971   # the current directory while Tru64 will put them in the object
   3972   # directory.
   3973   mkdir sub
   3974 
   3975   am_cv_CC_dependencies_compiler_type=none
   3976   if test "$am_compiler_list" = ""; then
   3977      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3978   fi
   3979   am__universal=false
   3980   case " $depcc " in #(
   3981      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3982      esac
   3983 
   3984   for depmode in $am_compiler_list; do
   3985     # Setup a source with many dependencies, because some compilers
   3986     # like to wrap large dependency lists on column 80 (with \), and
   3987     # we should not choose a depcomp mode which is confused by this.
   3988     #
   3989     # We need to recreate these files for each test, as the compiler may
   3990     # overwrite some of them when testing with obscure command lines.
   3991     # This happens at least with the AIX C compiler.
   3992     : > sub/conftest.c
   3993     for i in 1 2 3 4 5 6; do
   3994       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3995       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3996       # Solaris 10 /bin/sh.
   3997       echo '/* dummy */' > sub/conftst$i.h
   3998     done
   3999     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4000 
   4001     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4002     # mode.  It turns out that the SunPro C++ compiler does not properly
   4003     # handle '-M -o', and we need to detect this.  Also, some Intel
   4004     # versions had trouble with output in subdirs.
   4005     am__obj=sub/conftest.${OBJEXT-o}
   4006     am__minus_obj="-o $am__obj"
   4007     case $depmode in
   4008     gcc)
   4009       # This depmode causes a compiler race in universal mode.
   4010       test "$am__universal" = false || continue
   4011       ;;
   4012     nosideeffect)
   4013       # After this tag, mechanisms are not by side-effect, so they'll
   4014       # only be used when explicitly requested.
   4015       if test "x$enable_dependency_tracking" = xyes; then
   4016 	continue
   4017       else
   4018 	break
   4019       fi
   4020       ;;
   4021     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4022       # This compiler won't grok '-c -o', but also, the minuso test has
   4023       # not run yet.  These depmodes are late enough in the game, and
   4024       # so weak that their functioning should not be impacted.
   4025       am__obj=conftest.${OBJEXT-o}
   4026       am__minus_obj=
   4027       ;;
   4028     none) break ;;
   4029     esac
   4030     if depmode=$depmode \
   4031        source=sub/conftest.c object=$am__obj \
   4032        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4033        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4034          >/dev/null 2>conftest.err &&
   4035        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4036        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4037        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4038        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4039       # icc doesn't choke on unknown options, it will just issue warnings
   4040       # or remarks (even with -Werror).  So we grep stderr for any message
   4041       # that says an option was ignored or not supported.
   4042       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4043       #   icc: Command line warning: ignoring option '-M'; no argument required
   4044       # The diagnosis changed in icc 8.0:
   4045       #   icc: Command line remark: option '-MP' not supported
   4046       if (grep 'ignoring option' conftest.err ||
   4047           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4048         am_cv_CC_dependencies_compiler_type=$depmode
   4049         break
   4050       fi
   4051     fi
   4052   done
   4053 
   4054   cd ..
   4055   rm -rf conftest.dir
   4056 else
   4057   am_cv_CC_dependencies_compiler_type=none
   4058 fi
   4059 
   4060 fi
   4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4062 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4063 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4064 
   4065  if
   4066   test "x$enable_dependency_tracking" != xno \
   4067   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4068   am__fastdepCC_TRUE=
   4069   am__fastdepCC_FALSE='#'
   4070 else
   4071   am__fastdepCC_TRUE='#'
   4072   am__fastdepCC_FALSE=
   4073 fi
   4074 
   4075 
   4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4077 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4078 if ${ac_cv_path_SED+:} false; then :
   4079   $as_echo_n "(cached) " >&6
   4080 else
   4081             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4082      for ac_i in 1 2 3 4 5 6 7; do
   4083        ac_script="$ac_script$as_nl$ac_script"
   4084      done
   4085      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4086      { ac_script=; unset ac_script;}
   4087      if test -z "$SED"; then
   4088   ac_path_SED_found=false
   4089   # Loop through the user's path and test for each of PROGNAME-LIST
   4090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4091 for as_dir in $PATH
   4092 do
   4093   IFS=$as_save_IFS
   4094   test -z "$as_dir" && as_dir=.
   4095     for ac_prog in sed gsed; do
   4096     for ac_exec_ext in '' $ac_executable_extensions; do
   4097       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4098       as_fn_executable_p "$ac_path_SED" || continue
   4099 # Check for GNU ac_path_SED and select it if it is found.
   4100   # Check for GNU $ac_path_SED
   4101 case `"$ac_path_SED" --version 2>&1` in
   4102 *GNU*)
   4103   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4104 *)
   4105   ac_count=0
   4106   $as_echo_n 0123456789 >"conftest.in"
   4107   while :
   4108   do
   4109     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4110     mv "conftest.tmp" "conftest.in"
   4111     cp "conftest.in" "conftest.nl"
   4112     $as_echo '' >> "conftest.nl"
   4113     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4114     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4115     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4116     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4117       # Best one so far, save it but keep looking for a better one
   4118       ac_cv_path_SED="$ac_path_SED"
   4119       ac_path_SED_max=$ac_count
   4120     fi
   4121     # 10*(2^10) chars as input seems more than enough
   4122     test $ac_count -gt 10 && break
   4123   done
   4124   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4125 esac
   4126 
   4127       $ac_path_SED_found && break 3
   4128     done
   4129   done
   4130   done
   4131 IFS=$as_save_IFS
   4132   if test -z "$ac_cv_path_SED"; then
   4133     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4134   fi
   4135 else
   4136   ac_cv_path_SED=$SED
   4137 fi
   4138 
   4139 fi
   4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4141 $as_echo "$ac_cv_path_SED" >&6; }
   4142  SED="$ac_cv_path_SED"
   4143   rm -f conftest.sed
   4144 
   4145 test -z "$SED" && SED=sed
   4146 Xsed="$SED -e 1s/^X//"
   4147 
   4148 
   4149 
   4150 
   4151 
   4152 
   4153 
   4154 
   4155 
   4156 
   4157 
   4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4159 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4160 if ${ac_cv_path_GREP+:} false; then :
   4161   $as_echo_n "(cached) " >&6
   4162 else
   4163   if test -z "$GREP"; then
   4164   ac_path_GREP_found=false
   4165   # Loop through the user's path and test for each of PROGNAME-LIST
   4166   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4167 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4168 do
   4169   IFS=$as_save_IFS
   4170   test -z "$as_dir" && as_dir=.
   4171     for ac_prog in grep ggrep; do
   4172     for ac_exec_ext in '' $ac_executable_extensions; do
   4173       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4174       as_fn_executable_p "$ac_path_GREP" || continue
   4175 # Check for GNU ac_path_GREP and select it if it is found.
   4176   # Check for GNU $ac_path_GREP
   4177 case `"$ac_path_GREP" --version 2>&1` in
   4178 *GNU*)
   4179   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4180 *)
   4181   ac_count=0
   4182   $as_echo_n 0123456789 >"conftest.in"
   4183   while :
   4184   do
   4185     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4186     mv "conftest.tmp" "conftest.in"
   4187     cp "conftest.in" "conftest.nl"
   4188     $as_echo 'GREP' >> "conftest.nl"
   4189     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4190     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4191     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4192     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4193       # Best one so far, save it but keep looking for a better one
   4194       ac_cv_path_GREP="$ac_path_GREP"
   4195       ac_path_GREP_max=$ac_count
   4196     fi
   4197     # 10*(2^10) chars as input seems more than enough
   4198     test $ac_count -gt 10 && break
   4199   done
   4200   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4201 esac
   4202 
   4203       $ac_path_GREP_found && break 3
   4204     done
   4205   done
   4206   done
   4207 IFS=$as_save_IFS
   4208   if test -z "$ac_cv_path_GREP"; then
   4209     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4210   fi
   4211 else
   4212   ac_cv_path_GREP=$GREP
   4213 fi
   4214 
   4215 fi
   4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4217 $as_echo "$ac_cv_path_GREP" >&6; }
   4218  GREP="$ac_cv_path_GREP"
   4219 
   4220 
   4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4222 $as_echo_n "checking for egrep... " >&6; }
   4223 if ${ac_cv_path_EGREP+:} false; then :
   4224   $as_echo_n "(cached) " >&6
   4225 else
   4226   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4227    then ac_cv_path_EGREP="$GREP -E"
   4228    else
   4229      if test -z "$EGREP"; then
   4230   ac_path_EGREP_found=false
   4231   # Loop through the user's path and test for each of PROGNAME-LIST
   4232   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4233 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4234 do
   4235   IFS=$as_save_IFS
   4236   test -z "$as_dir" && as_dir=.
   4237     for ac_prog in egrep; do
   4238     for ac_exec_ext in '' $ac_executable_extensions; do
   4239       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4240       as_fn_executable_p "$ac_path_EGREP" || continue
   4241 # Check for GNU ac_path_EGREP and select it if it is found.
   4242   # Check for GNU $ac_path_EGREP
   4243 case `"$ac_path_EGREP" --version 2>&1` in
   4244 *GNU*)
   4245   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4246 *)
   4247   ac_count=0
   4248   $as_echo_n 0123456789 >"conftest.in"
   4249   while :
   4250   do
   4251     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4252     mv "conftest.tmp" "conftest.in"
   4253     cp "conftest.in" "conftest.nl"
   4254     $as_echo 'EGREP' >> "conftest.nl"
   4255     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4256     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4257     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4258     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4259       # Best one so far, save it but keep looking for a better one
   4260       ac_cv_path_EGREP="$ac_path_EGREP"
   4261       ac_path_EGREP_max=$ac_count
   4262     fi
   4263     # 10*(2^10) chars as input seems more than enough
   4264     test $ac_count -gt 10 && break
   4265   done
   4266   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4267 esac
   4268 
   4269       $ac_path_EGREP_found && break 3
   4270     done
   4271   done
   4272   done
   4273 IFS=$as_save_IFS
   4274   if test -z "$ac_cv_path_EGREP"; then
   4275     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4276   fi
   4277 else
   4278   ac_cv_path_EGREP=$EGREP
   4279 fi
   4280 
   4281    fi
   4282 fi
   4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4284 $as_echo "$ac_cv_path_EGREP" >&6; }
   4285  EGREP="$ac_cv_path_EGREP"
   4286 
   4287 
   4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4289 $as_echo_n "checking for fgrep... " >&6; }
   4290 if ${ac_cv_path_FGREP+:} false; then :
   4291   $as_echo_n "(cached) " >&6
   4292 else
   4293   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4294    then ac_cv_path_FGREP="$GREP -F"
   4295    else
   4296      if test -z "$FGREP"; then
   4297   ac_path_FGREP_found=false
   4298   # Loop through the user's path and test for each of PROGNAME-LIST
   4299   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4300 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4301 do
   4302   IFS=$as_save_IFS
   4303   test -z "$as_dir" && as_dir=.
   4304     for ac_prog in fgrep; do
   4305     for ac_exec_ext in '' $ac_executable_extensions; do
   4306       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4307       as_fn_executable_p "$ac_path_FGREP" || continue
   4308 # Check for GNU ac_path_FGREP and select it if it is found.
   4309   # Check for GNU $ac_path_FGREP
   4310 case `"$ac_path_FGREP" --version 2>&1` in
   4311 *GNU*)
   4312   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4313 *)
   4314   ac_count=0
   4315   $as_echo_n 0123456789 >"conftest.in"
   4316   while :
   4317   do
   4318     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4319     mv "conftest.tmp" "conftest.in"
   4320     cp "conftest.in" "conftest.nl"
   4321     $as_echo 'FGREP' >> "conftest.nl"
   4322     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4323     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4324     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4325     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4326       # Best one so far, save it but keep looking for a better one
   4327       ac_cv_path_FGREP="$ac_path_FGREP"
   4328       ac_path_FGREP_max=$ac_count
   4329     fi
   4330     # 10*(2^10) chars as input seems more than enough
   4331     test $ac_count -gt 10 && break
   4332   done
   4333   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4334 esac
   4335 
   4336       $ac_path_FGREP_found && break 3
   4337     done
   4338   done
   4339   done
   4340 IFS=$as_save_IFS
   4341   if test -z "$ac_cv_path_FGREP"; then
   4342     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4343   fi
   4344 else
   4345   ac_cv_path_FGREP=$FGREP
   4346 fi
   4347 
   4348    fi
   4349 fi
   4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4351 $as_echo "$ac_cv_path_FGREP" >&6; }
   4352  FGREP="$ac_cv_path_FGREP"
   4353 
   4354 
   4355 test -z "$GREP" && GREP=grep
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 
   4367 
   4368 
   4369 
   4370 
   4371 
   4372 
   4373 
   4374 
   4375 # Check whether --with-gnu-ld was given.
   4376 if test "${with_gnu_ld+set}" = set; then :
   4377   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4378 else
   4379   with_gnu_ld=no
   4380 fi
   4381 
   4382 ac_prog=ld
   4383 if test yes = "$GCC"; then
   4384   # Check if gcc -print-prog-name=ld gives a path.
   4385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4386 $as_echo_n "checking for ld used by $CC... " >&6; }
   4387   case $host in
   4388   *-*-mingw*)
   4389     # gcc leaves a trailing carriage return, which upsets mingw
   4390     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4391   *)
   4392     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4393   esac
   4394   case $ac_prog in
   4395     # Accept absolute paths.
   4396     [\\/]* | ?:[\\/]*)
   4397       re_direlt='/[^/][^/]*/\.\./'
   4398       # Canonicalize the pathname of ld
   4399       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4400       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4401 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4402       done
   4403       test -z "$LD" && LD=$ac_prog
   4404       ;;
   4405   "")
   4406     # If it fails, then pretend we aren't using GCC.
   4407     ac_prog=ld
   4408     ;;
   4409   *)
   4410     # If it is relative, then search for the first ld in PATH.
   4411     with_gnu_ld=unknown
   4412     ;;
   4413   esac
   4414 elif test yes = "$with_gnu_ld"; then
   4415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4416 $as_echo_n "checking for GNU ld... " >&6; }
   4417 else
   4418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4419 $as_echo_n "checking for non-GNU ld... " >&6; }
   4420 fi
   4421 if ${lt_cv_path_LD+:} false; then :
   4422   $as_echo_n "(cached) " >&6
   4423 else
   4424   if test -z "$LD"; then
   4425   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4426   for ac_dir in $PATH; do
   4427     IFS=$lt_save_ifs
   4428     test -z "$ac_dir" && ac_dir=.
   4429     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4430       lt_cv_path_LD=$ac_dir/$ac_prog
   4431       # Check to see if the program is GNU ld.  I'd rather use --version,
   4432       # but apparently some variants of GNU ld only accept -v.
   4433       # Break only if it was the GNU/non-GNU ld that we prefer.
   4434       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4435       *GNU* | *'with BFD'*)
   4436 	test no != "$with_gnu_ld" && break
   4437 	;;
   4438       *)
   4439 	test yes != "$with_gnu_ld" && break
   4440 	;;
   4441       esac
   4442     fi
   4443   done
   4444   IFS=$lt_save_ifs
   4445 else
   4446   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4447 fi
   4448 fi
   4449 
   4450 LD=$lt_cv_path_LD
   4451 if test -n "$LD"; then
   4452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4453 $as_echo "$LD" >&6; }
   4454 else
   4455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4456 $as_echo "no" >&6; }
   4457 fi
   4458 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4460 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4461 if ${lt_cv_prog_gnu_ld+:} false; then :
   4462   $as_echo_n "(cached) " >&6
   4463 else
   4464   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4465 case `$LD -v 2>&1 </dev/null` in
   4466 *GNU* | *'with BFD'*)
   4467   lt_cv_prog_gnu_ld=yes
   4468   ;;
   4469 *)
   4470   lt_cv_prog_gnu_ld=no
   4471   ;;
   4472 esac
   4473 fi
   4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4475 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4476 with_gnu_ld=$lt_cv_prog_gnu_ld
   4477 
   4478 
   4479 
   4480 
   4481 
   4482 
   4483 
   4484 
   4485 
   4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4487 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4488 if ${lt_cv_path_NM+:} false; then :
   4489   $as_echo_n "(cached) " >&6
   4490 else
   4491   if test -n "$NM"; then
   4492   # Let the user override the test.
   4493   lt_cv_path_NM=$NM
   4494 else
   4495   lt_nm_to_check=${ac_tool_prefix}nm
   4496   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4497     lt_nm_to_check="$lt_nm_to_check nm"
   4498   fi
   4499   for lt_tmp_nm in $lt_nm_to_check; do
   4500     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4501     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4502       IFS=$lt_save_ifs
   4503       test -z "$ac_dir" && ac_dir=.
   4504       tmp_nm=$ac_dir/$lt_tmp_nm
   4505       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   4506 	# Check to see if the nm accepts a BSD-compat flag.
   4507 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   4508 	#   nm: unknown option "B" ignored
   4509 	# Tru64's nm complains that /dev/null is an invalid object file
   4510 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   4511 	case $build_os in
   4512 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   4513 	*) lt_bad_file=/dev/null ;;
   4514 	esac
   4515 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   4516 	*$lt_bad_file* | *'Invalid file or object type'*)
   4517 	  lt_cv_path_NM="$tmp_nm -B"
   4518 	  break 2
   4519 	  ;;
   4520 	*)
   4521 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4522 	  */dev/null*)
   4523 	    lt_cv_path_NM="$tmp_nm -p"
   4524 	    break 2
   4525 	    ;;
   4526 	  *)
   4527 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4528 	    continue # so that we can try to find one that supports BSD flags
   4529 	    ;;
   4530 	  esac
   4531 	  ;;
   4532 	esac
   4533       fi
   4534     done
   4535     IFS=$lt_save_ifs
   4536   done
   4537   : ${lt_cv_path_NM=no}
   4538 fi
   4539 fi
   4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4541 $as_echo "$lt_cv_path_NM" >&6; }
   4542 if test no != "$lt_cv_path_NM"; then
   4543   NM=$lt_cv_path_NM
   4544 else
   4545   # Didn't find any BSD compatible name lister, look for dumpbin.
   4546   if test -n "$DUMPBIN"; then :
   4547     # Let the user override the test.
   4548   else
   4549     if test -n "$ac_tool_prefix"; then
   4550   for ac_prog in dumpbin "link -dump"
   4551   do
   4552     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4553 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4555 $as_echo_n "checking for $ac_word... " >&6; }
   4556 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4557   $as_echo_n "(cached) " >&6
   4558 else
   4559   if test -n "$DUMPBIN"; then
   4560   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4561 else
   4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4563 for as_dir in $PATH
   4564 do
   4565   IFS=$as_save_IFS
   4566   test -z "$as_dir" && as_dir=.
   4567     for ac_exec_ext in '' $ac_executable_extensions; do
   4568   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4569     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4571     break 2
   4572   fi
   4573 done
   4574   done
   4575 IFS=$as_save_IFS
   4576 
   4577 fi
   4578 fi
   4579 DUMPBIN=$ac_cv_prog_DUMPBIN
   4580 if test -n "$DUMPBIN"; then
   4581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4582 $as_echo "$DUMPBIN" >&6; }
   4583 else
   4584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4585 $as_echo "no" >&6; }
   4586 fi
   4587 
   4588 
   4589     test -n "$DUMPBIN" && break
   4590   done
   4591 fi
   4592 if test -z "$DUMPBIN"; then
   4593   ac_ct_DUMPBIN=$DUMPBIN
   4594   for ac_prog in dumpbin "link -dump"
   4595 do
   4596   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4597 set dummy $ac_prog; ac_word=$2
   4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4599 $as_echo_n "checking for $ac_word... " >&6; }
   4600 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4601   $as_echo_n "(cached) " >&6
   4602 else
   4603   if test -n "$ac_ct_DUMPBIN"; then
   4604   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4605 else
   4606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4607 for as_dir in $PATH
   4608 do
   4609   IFS=$as_save_IFS
   4610   test -z "$as_dir" && as_dir=.
   4611     for ac_exec_ext in '' $ac_executable_extensions; do
   4612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4613     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4615     break 2
   4616   fi
   4617 done
   4618   done
   4619 IFS=$as_save_IFS
   4620 
   4621 fi
   4622 fi
   4623 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4624 if test -n "$ac_ct_DUMPBIN"; then
   4625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4626 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4627 else
   4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4629 $as_echo "no" >&6; }
   4630 fi
   4631 
   4632 
   4633   test -n "$ac_ct_DUMPBIN" && break
   4634 done
   4635 
   4636   if test "x$ac_ct_DUMPBIN" = x; then
   4637     DUMPBIN=":"
   4638   else
   4639     case $cross_compiling:$ac_tool_warned in
   4640 yes:)
   4641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4643 ac_tool_warned=yes ;;
   4644 esac
   4645     DUMPBIN=$ac_ct_DUMPBIN
   4646   fi
   4647 fi
   4648 
   4649     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   4650     *COFF*)
   4651       DUMPBIN="$DUMPBIN -symbols -headers"
   4652       ;;
   4653     *)
   4654       DUMPBIN=:
   4655       ;;
   4656     esac
   4657   fi
   4658 
   4659   if test : != "$DUMPBIN"; then
   4660     NM=$DUMPBIN
   4661   fi
   4662 fi
   4663 test -z "$NM" && NM=nm
   4664 
   4665 
   4666 
   4667 
   4668 
   4669 
   4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4671 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4672 if ${lt_cv_nm_interface+:} false; then :
   4673   $as_echo_n "(cached) " >&6
   4674 else
   4675   lt_cv_nm_interface="BSD nm"
   4676   echo "int some_variable = 0;" > conftest.$ac_ext
   4677   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4678   (eval "$ac_compile" 2>conftest.err)
   4679   cat conftest.err >&5
   4680   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4681   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4682   cat conftest.err >&5
   4683   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4684   cat conftest.out >&5
   4685   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4686     lt_cv_nm_interface="MS dumpbin"
   4687   fi
   4688   rm -f conftest*
   4689 fi
   4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4691 $as_echo "$lt_cv_nm_interface" >&6; }
   4692 
   4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4694 $as_echo_n "checking whether ln -s works... " >&6; }
   4695 LN_S=$as_ln_s
   4696 if test "$LN_S" = "ln -s"; then
   4697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4698 $as_echo "yes" >&6; }
   4699 else
   4700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4701 $as_echo "no, using $LN_S" >&6; }
   4702 fi
   4703 
   4704 # find the maximum length of command line arguments
   4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4706 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4707 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4708   $as_echo_n "(cached) " >&6
   4709 else
   4710     i=0
   4711   teststring=ABCD
   4712 
   4713   case $build_os in
   4714   msdosdjgpp*)
   4715     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4716     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4717     # during glob expansion).  Even if it were fixed, the result of this
   4718     # check would be larger than it should be.
   4719     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4720     ;;
   4721 
   4722   gnu*)
   4723     # Under GNU Hurd, this test is not required because there is
   4724     # no limit to the length of command line arguments.
   4725     # Libtool will interpret -1 as no limit whatsoever
   4726     lt_cv_sys_max_cmd_len=-1;
   4727     ;;
   4728 
   4729   cygwin* | mingw* | cegcc*)
   4730     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4731     # about 5 minutes as the teststring grows exponentially.
   4732     # Worse, since 9x/ME are not pre-emptively multitasking,
   4733     # you end up with a "frozen" computer, even though with patience
   4734     # the test eventually succeeds (with a max line length of 256k).
   4735     # Instead, let's just punt: use the minimum linelength reported by
   4736     # all of the supported platforms: 8192 (on NT/2K/XP).
   4737     lt_cv_sys_max_cmd_len=8192;
   4738     ;;
   4739 
   4740   mint*)
   4741     # On MiNT this can take a long time and run out of memory.
   4742     lt_cv_sys_max_cmd_len=8192;
   4743     ;;
   4744 
   4745   amigaos*)
   4746     # On AmigaOS with pdksh, this test takes hours, literally.
   4747     # So we just punt and use a minimum line length of 8192.
   4748     lt_cv_sys_max_cmd_len=8192;
   4749     ;;
   4750 
   4751   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   4752     # This has been around since 386BSD, at least.  Likely further.
   4753     if test -x /sbin/sysctl; then
   4754       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4755     elif test -x /usr/sbin/sysctl; then
   4756       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4757     else
   4758       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4759     fi
   4760     # And add a safety zone
   4761     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4762     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4763     ;;
   4764 
   4765   interix*)
   4766     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4767     lt_cv_sys_max_cmd_len=196608
   4768     ;;
   4769 
   4770   os2*)
   4771     # The test takes a long time on OS/2.
   4772     lt_cv_sys_max_cmd_len=8192
   4773     ;;
   4774 
   4775   osf*)
   4776     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4777     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4778     # nice to cause kernel panics so lets avoid the loop below.
   4779     # First set a reasonable default.
   4780     lt_cv_sys_max_cmd_len=16384
   4781     #
   4782     if test -x /sbin/sysconfig; then
   4783       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4784         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4785       esac
   4786     fi
   4787     ;;
   4788   sco3.2v5*)
   4789     lt_cv_sys_max_cmd_len=102400
   4790     ;;
   4791   sysv5* | sco5v6* | sysv4.2uw2*)
   4792     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4793     if test -n "$kargmax"; then
   4794       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4795     else
   4796       lt_cv_sys_max_cmd_len=32768
   4797     fi
   4798     ;;
   4799   *)
   4800     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4801     if test -n "$lt_cv_sys_max_cmd_len" && \
   4802        test undefined != "$lt_cv_sys_max_cmd_len"; then
   4803       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4804       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4805     else
   4806       # Make teststring a little bigger before we do anything with it.
   4807       # a 1K string should be a reasonable start.
   4808       for i in 1 2 3 4 5 6 7 8; do
   4809         teststring=$teststring$teststring
   4810       done
   4811       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4812       # If test is not a shell built-in, we'll probably end up computing a
   4813       # maximum length that is only half of the actual maximum length, but
   4814       # we can't tell.
   4815       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   4816 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4817 	      test 17 != "$i" # 1/2 MB should be enough
   4818       do
   4819         i=`expr $i + 1`
   4820         teststring=$teststring$teststring
   4821       done
   4822       # Only check the string length outside the loop.
   4823       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4824       teststring=
   4825       # Add a significant safety factor because C++ compilers can tack on
   4826       # massive amounts of additional arguments before passing them to the
   4827       # linker.  It appears as though 1/2 is a usable value.
   4828       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4829     fi
   4830     ;;
   4831   esac
   4832 
   4833 fi
   4834 
   4835 if test -n "$lt_cv_sys_max_cmd_len"; then
   4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4837 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4838 else
   4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4840 $as_echo "none" >&6; }
   4841 fi
   4842 max_cmd_len=$lt_cv_sys_max_cmd_len
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 : ${CP="cp -f"}
   4850 : ${MV="mv -f"}
   4851 : ${RM="rm -f"}
   4852 
   4853 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4854   lt_unset=unset
   4855 else
   4856   lt_unset=false
   4857 fi
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 # test EBCDIC or ASCII
   4864 case `echo X|tr X '\101'` in
   4865  A) # ASCII based system
   4866     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4867   lt_SP2NL='tr \040 \012'
   4868   lt_NL2SP='tr \015\012 \040\040'
   4869   ;;
   4870  *) # EBCDIC based system
   4871   lt_SP2NL='tr \100 \n'
   4872   lt_NL2SP='tr \r\n \100\100'
   4873   ;;
   4874 esac
   4875 
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4885 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4886 if ${lt_cv_to_host_file_cmd+:} false; then :
   4887   $as_echo_n "(cached) " >&6
   4888 else
   4889   case $host in
   4890   *-*-mingw* )
   4891     case $build in
   4892       *-*-mingw* ) # actually msys
   4893         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4894         ;;
   4895       *-*-cygwin* )
   4896         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4897         ;;
   4898       * ) # otherwise, assume *nix
   4899         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4900         ;;
   4901     esac
   4902     ;;
   4903   *-*-cygwin* )
   4904     case $build in
   4905       *-*-mingw* ) # actually msys
   4906         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4907         ;;
   4908       *-*-cygwin* )
   4909         lt_cv_to_host_file_cmd=func_convert_file_noop
   4910         ;;
   4911       * ) # otherwise, assume *nix
   4912         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4913         ;;
   4914     esac
   4915     ;;
   4916   * ) # unhandled hosts (and "normal" native builds)
   4917     lt_cv_to_host_file_cmd=func_convert_file_noop
   4918     ;;
   4919 esac
   4920 
   4921 fi
   4922 
   4923 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4925 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4932 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4933 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4934   $as_echo_n "(cached) " >&6
   4935 else
   4936   #assume ordinary cross tools, or native build.
   4937 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4938 case $host in
   4939   *-*-mingw* )
   4940     case $build in
   4941       *-*-mingw* ) # actually msys
   4942         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4943         ;;
   4944     esac
   4945     ;;
   4946 esac
   4947 
   4948 fi
   4949 
   4950 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4952 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4959 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4960 if ${lt_cv_ld_reload_flag+:} false; then :
   4961   $as_echo_n "(cached) " >&6
   4962 else
   4963   lt_cv_ld_reload_flag='-r'
   4964 fi
   4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4966 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4967 reload_flag=$lt_cv_ld_reload_flag
   4968 case $reload_flag in
   4969 "" | " "*) ;;
   4970 *) reload_flag=" $reload_flag" ;;
   4971 esac
   4972 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4973 case $host_os in
   4974   cygwin* | mingw* | pw32* | cegcc*)
   4975     if test yes != "$GCC"; then
   4976       reload_cmds=false
   4977     fi
   4978     ;;
   4979   darwin*)
   4980     if test yes = "$GCC"; then
   4981       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   4982     else
   4983       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4984     fi
   4985     ;;
   4986 esac
   4987 
   4988 
   4989 
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 if test -n "$ac_tool_prefix"; then
   4997   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4998 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5000 $as_echo_n "checking for $ac_word... " >&6; }
   5001 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5002   $as_echo_n "(cached) " >&6
   5003 else
   5004   if test -n "$OBJDUMP"; then
   5005   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5006 else
   5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5008 for as_dir in $PATH
   5009 do
   5010   IFS=$as_save_IFS
   5011   test -z "$as_dir" && as_dir=.
   5012     for ac_exec_ext in '' $ac_executable_extensions; do
   5013   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5014     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5016     break 2
   5017   fi
   5018 done
   5019   done
   5020 IFS=$as_save_IFS
   5021 
   5022 fi
   5023 fi
   5024 OBJDUMP=$ac_cv_prog_OBJDUMP
   5025 if test -n "$OBJDUMP"; then
   5026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5027 $as_echo "$OBJDUMP" >&6; }
   5028 else
   5029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5030 $as_echo "no" >&6; }
   5031 fi
   5032 
   5033 
   5034 fi
   5035 if test -z "$ac_cv_prog_OBJDUMP"; then
   5036   ac_ct_OBJDUMP=$OBJDUMP
   5037   # Extract the first word of "objdump", so it can be a program name with args.
   5038 set dummy objdump; ac_word=$2
   5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5040 $as_echo_n "checking for $ac_word... " >&6; }
   5041 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5042   $as_echo_n "(cached) " >&6
   5043 else
   5044   if test -n "$ac_ct_OBJDUMP"; then
   5045   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5046 else
   5047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5048 for as_dir in $PATH
   5049 do
   5050   IFS=$as_save_IFS
   5051   test -z "$as_dir" && as_dir=.
   5052     for ac_exec_ext in '' $ac_executable_extensions; do
   5053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5054     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5056     break 2
   5057   fi
   5058 done
   5059   done
   5060 IFS=$as_save_IFS
   5061 
   5062 fi
   5063 fi
   5064 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5065 if test -n "$ac_ct_OBJDUMP"; then
   5066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5067 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5068 else
   5069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5070 $as_echo "no" >&6; }
   5071 fi
   5072 
   5073   if test "x$ac_ct_OBJDUMP" = x; then
   5074     OBJDUMP="false"
   5075   else
   5076     case $cross_compiling:$ac_tool_warned in
   5077 yes:)
   5078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5080 ac_tool_warned=yes ;;
   5081 esac
   5082     OBJDUMP=$ac_ct_OBJDUMP
   5083   fi
   5084 else
   5085   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5086 fi
   5087 
   5088 test -z "$OBJDUMP" && OBJDUMP=objdump
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5099 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5100 if ${lt_cv_deplibs_check_method+:} false; then :
   5101   $as_echo_n "(cached) " >&6
   5102 else
   5103   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5104 lt_cv_file_magic_test_file=
   5105 lt_cv_deplibs_check_method='unknown'
   5106 # Need to set the preceding variable on all platforms that support
   5107 # interlibrary dependencies.
   5108 # 'none' -- dependencies not supported.
   5109 # 'unknown' -- same as none, but documents that we really don't know.
   5110 # 'pass_all' -- all dependencies passed with no checks.
   5111 # 'test_compile' -- check by making test program.
   5112 # 'file_magic [[regex]]' -- check by looking for files in library path
   5113 # that responds to the $file_magic_cmd with a given extended regex.
   5114 # If you have 'file' or equivalent on your system and you're not sure
   5115 # whether 'pass_all' will *always* work, you probably want this one.
   5116 
   5117 case $host_os in
   5118 aix[4-9]*)
   5119   lt_cv_deplibs_check_method=pass_all
   5120   ;;
   5121 
   5122 beos*)
   5123   lt_cv_deplibs_check_method=pass_all
   5124   ;;
   5125 
   5126 bsdi[45]*)
   5127   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5128   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5129   lt_cv_file_magic_test_file=/shlib/libc.so
   5130   ;;
   5131 
   5132 cygwin*)
   5133   # func_win32_libid is a shell function defined in ltmain.sh
   5134   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5135   lt_cv_file_magic_cmd='func_win32_libid'
   5136   ;;
   5137 
   5138 mingw* | pw32*)
   5139   # Base MSYS/MinGW do not provide the 'file' command needed by
   5140   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5141   # unless we find 'file', for example because we are cross-compiling.
   5142   if ( file / ) >/dev/null 2>&1; then
   5143     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5144     lt_cv_file_magic_cmd='func_win32_libid'
   5145   else
   5146     # Keep this pattern in sync with the one in func_win32_libid.
   5147     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5148     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5149   fi
   5150   ;;
   5151 
   5152 cegcc*)
   5153   # use the weaker test based on 'objdump'. See mingw*.
   5154   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5155   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5156   ;;
   5157 
   5158 darwin* | rhapsody*)
   5159   lt_cv_deplibs_check_method=pass_all
   5160   ;;
   5161 
   5162 freebsd* | dragonfly*)
   5163   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5164     case $host_cpu in
   5165     i*86 )
   5166       # Not sure whether the presence of OpenBSD here was a mistake.
   5167       # Let's accept both of them until this is cleared up.
   5168       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5169       lt_cv_file_magic_cmd=/usr/bin/file
   5170       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5171       ;;
   5172     esac
   5173   else
   5174     lt_cv_deplibs_check_method=pass_all
   5175   fi
   5176   ;;
   5177 
   5178 haiku*)
   5179   lt_cv_deplibs_check_method=pass_all
   5180   ;;
   5181 
   5182 hpux10.20* | hpux11*)
   5183   lt_cv_file_magic_cmd=/usr/bin/file
   5184   case $host_cpu in
   5185   ia64*)
   5186     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5187     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5188     ;;
   5189   hppa*64*)
   5190     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]'
   5191     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5192     ;;
   5193   *)
   5194     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5195     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5196     ;;
   5197   esac
   5198   ;;
   5199 
   5200 interix[3-9]*)
   5201   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5202   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5203   ;;
   5204 
   5205 irix5* | irix6* | nonstopux*)
   5206   case $LD in
   5207   *-32|*"-32 ") libmagic=32-bit;;
   5208   *-n32|*"-n32 ") libmagic=N32;;
   5209   *-64|*"-64 ") libmagic=64-bit;;
   5210   *) libmagic=never-match;;
   5211   esac
   5212   lt_cv_deplibs_check_method=pass_all
   5213   ;;
   5214 
   5215 # This must be glibc/ELF.
   5216 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5217   lt_cv_deplibs_check_method=pass_all
   5218   ;;
   5219 
   5220 netbsd*)
   5221   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5222     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5223   else
   5224     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5225   fi
   5226   ;;
   5227 
   5228 newos6*)
   5229   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5230   lt_cv_file_magic_cmd=/usr/bin/file
   5231   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5232   ;;
   5233 
   5234 *nto* | *qnx*)
   5235   lt_cv_deplibs_check_method=pass_all
   5236   ;;
   5237 
   5238 openbsd* | bitrig*)
   5239   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5240     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5241   else
   5242     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5243   fi
   5244   ;;
   5245 
   5246 osf3* | osf4* | osf5*)
   5247   lt_cv_deplibs_check_method=pass_all
   5248   ;;
   5249 
   5250 rdos*)
   5251   lt_cv_deplibs_check_method=pass_all
   5252   ;;
   5253 
   5254 solaris*)
   5255   lt_cv_deplibs_check_method=pass_all
   5256   ;;
   5257 
   5258 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5259   lt_cv_deplibs_check_method=pass_all
   5260   ;;
   5261 
   5262 sysv4 | sysv4.3*)
   5263   case $host_vendor in
   5264   motorola)
   5265     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]'
   5266     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5267     ;;
   5268   ncr)
   5269     lt_cv_deplibs_check_method=pass_all
   5270     ;;
   5271   sequent)
   5272     lt_cv_file_magic_cmd='/bin/file'
   5273     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5274     ;;
   5275   sni)
   5276     lt_cv_file_magic_cmd='/bin/file'
   5277     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5278     lt_cv_file_magic_test_file=/lib/libc.so
   5279     ;;
   5280   siemens)
   5281     lt_cv_deplibs_check_method=pass_all
   5282     ;;
   5283   pc)
   5284     lt_cv_deplibs_check_method=pass_all
   5285     ;;
   5286   esac
   5287   ;;
   5288 
   5289 tpf*)
   5290   lt_cv_deplibs_check_method=pass_all
   5291   ;;
   5292 os2*)
   5293   lt_cv_deplibs_check_method=pass_all
   5294   ;;
   5295 esac
   5296 
   5297 fi
   5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5299 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5300 
   5301 file_magic_glob=
   5302 want_nocaseglob=no
   5303 if test "$build" = "$host"; then
   5304   case $host_os in
   5305   mingw* | pw32*)
   5306     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5307       want_nocaseglob=yes
   5308     else
   5309       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5310     fi
   5311     ;;
   5312   esac
   5313 fi
   5314 
   5315 file_magic_cmd=$lt_cv_file_magic_cmd
   5316 deplibs_check_method=$lt_cv_deplibs_check_method
   5317 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 if test -n "$ac_tool_prefix"; then
   5341   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5342 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5344 $as_echo_n "checking for $ac_word... " >&6; }
   5345 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5346   $as_echo_n "(cached) " >&6
   5347 else
   5348   if test -n "$DLLTOOL"; then
   5349   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5350 else
   5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5352 for as_dir in $PATH
   5353 do
   5354   IFS=$as_save_IFS
   5355   test -z "$as_dir" && as_dir=.
   5356     for ac_exec_ext in '' $ac_executable_extensions; do
   5357   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5358     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5360     break 2
   5361   fi
   5362 done
   5363   done
   5364 IFS=$as_save_IFS
   5365 
   5366 fi
   5367 fi
   5368 DLLTOOL=$ac_cv_prog_DLLTOOL
   5369 if test -n "$DLLTOOL"; then
   5370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5371 $as_echo "$DLLTOOL" >&6; }
   5372 else
   5373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5374 $as_echo "no" >&6; }
   5375 fi
   5376 
   5377 
   5378 fi
   5379 if test -z "$ac_cv_prog_DLLTOOL"; then
   5380   ac_ct_DLLTOOL=$DLLTOOL
   5381   # Extract the first word of "dlltool", so it can be a program name with args.
   5382 set dummy dlltool; ac_word=$2
   5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5384 $as_echo_n "checking for $ac_word... " >&6; }
   5385 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5386   $as_echo_n "(cached) " >&6
   5387 else
   5388   if test -n "$ac_ct_DLLTOOL"; then
   5389   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5390 else
   5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5392 for as_dir in $PATH
   5393 do
   5394   IFS=$as_save_IFS
   5395   test -z "$as_dir" && as_dir=.
   5396     for ac_exec_ext in '' $ac_executable_extensions; do
   5397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5398     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5400     break 2
   5401   fi
   5402 done
   5403   done
   5404 IFS=$as_save_IFS
   5405 
   5406 fi
   5407 fi
   5408 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5409 if test -n "$ac_ct_DLLTOOL"; then
   5410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5411 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5412 else
   5413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5414 $as_echo "no" >&6; }
   5415 fi
   5416 
   5417   if test "x$ac_ct_DLLTOOL" = x; then
   5418     DLLTOOL="false"
   5419   else
   5420     case $cross_compiling:$ac_tool_warned in
   5421 yes:)
   5422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5424 ac_tool_warned=yes ;;
   5425 esac
   5426     DLLTOOL=$ac_ct_DLLTOOL
   5427   fi
   5428 else
   5429   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5430 fi
   5431 
   5432 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5444 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5445 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5446   $as_echo_n "(cached) " >&6
   5447 else
   5448   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5449 
   5450 case $host_os in
   5451 cygwin* | mingw* | pw32* | cegcc*)
   5452   # two different shell functions defined in ltmain.sh;
   5453   # decide which one to use based on capabilities of $DLLTOOL
   5454   case `$DLLTOOL --help 2>&1` in
   5455   *--identify-strict*)
   5456     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5457     ;;
   5458   *)
   5459     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5460     ;;
   5461   esac
   5462   ;;
   5463 *)
   5464   # fallback: assume linklib IS sharedlib
   5465   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5466   ;;
   5467 esac
   5468 
   5469 fi
   5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5471 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5472 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5473 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 if test -n "$ac_tool_prefix"; then
   5483   for ac_prog in ar
   5484   do
   5485     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5486 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5488 $as_echo_n "checking for $ac_word... " >&6; }
   5489 if ${ac_cv_prog_AR+:} false; then :
   5490   $as_echo_n "(cached) " >&6
   5491 else
   5492   if test -n "$AR"; then
   5493   ac_cv_prog_AR="$AR" # Let the user override the test.
   5494 else
   5495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5496 for as_dir in $PATH
   5497 do
   5498   IFS=$as_save_IFS
   5499   test -z "$as_dir" && as_dir=.
   5500     for ac_exec_ext in '' $ac_executable_extensions; do
   5501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5502     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5504     break 2
   5505   fi
   5506 done
   5507   done
   5508 IFS=$as_save_IFS
   5509 
   5510 fi
   5511 fi
   5512 AR=$ac_cv_prog_AR
   5513 if test -n "$AR"; then
   5514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5515 $as_echo "$AR" >&6; }
   5516 else
   5517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5518 $as_echo "no" >&6; }
   5519 fi
   5520 
   5521 
   5522     test -n "$AR" && break
   5523   done
   5524 fi
   5525 if test -z "$AR"; then
   5526   ac_ct_AR=$AR
   5527   for ac_prog in ar
   5528 do
   5529   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5530 set dummy $ac_prog; ac_word=$2
   5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5532 $as_echo_n "checking for $ac_word... " >&6; }
   5533 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5534   $as_echo_n "(cached) " >&6
   5535 else
   5536   if test -n "$ac_ct_AR"; then
   5537   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5538 else
   5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5540 for as_dir in $PATH
   5541 do
   5542   IFS=$as_save_IFS
   5543   test -z "$as_dir" && as_dir=.
   5544     for ac_exec_ext in '' $ac_executable_extensions; do
   5545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5546     ac_cv_prog_ac_ct_AR="$ac_prog"
   5547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5548     break 2
   5549   fi
   5550 done
   5551   done
   5552 IFS=$as_save_IFS
   5553 
   5554 fi
   5555 fi
   5556 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5557 if test -n "$ac_ct_AR"; then
   5558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5559 $as_echo "$ac_ct_AR" >&6; }
   5560 else
   5561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5562 $as_echo "no" >&6; }
   5563 fi
   5564 
   5565 
   5566   test -n "$ac_ct_AR" && break
   5567 done
   5568 
   5569   if test "x$ac_ct_AR" = x; then
   5570     AR="false"
   5571   else
   5572     case $cross_compiling:$ac_tool_warned in
   5573 yes:)
   5574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5576 ac_tool_warned=yes ;;
   5577 esac
   5578     AR=$ac_ct_AR
   5579   fi
   5580 fi
   5581 
   5582 : ${AR=ar}
   5583 : ${AR_FLAGS=cru}
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5596 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5597 if ${lt_cv_ar_at_file+:} false; then :
   5598   $as_echo_n "(cached) " >&6
   5599 else
   5600   lt_cv_ar_at_file=no
   5601    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5602 /* end confdefs.h.  */
   5603 
   5604 int
   5605 main ()
   5606 {
   5607 
   5608   ;
   5609   return 0;
   5610 }
   5611 _ACEOF
   5612 if ac_fn_c_try_compile "$LINENO"; then :
   5613   echo conftest.$ac_objext > conftest.lst
   5614       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5615       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5616   (eval $lt_ar_try) 2>&5
   5617   ac_status=$?
   5618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5619   test $ac_status = 0; }
   5620       if test 0 -eq "$ac_status"; then
   5621 	# Ensure the archiver fails upon bogus file names.
   5622 	rm -f conftest.$ac_objext libconftest.a
   5623 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5624   (eval $lt_ar_try) 2>&5
   5625   ac_status=$?
   5626   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5627   test $ac_status = 0; }
   5628 	if test 0 -ne "$ac_status"; then
   5629           lt_cv_ar_at_file=@
   5630         fi
   5631       fi
   5632       rm -f conftest.* libconftest.a
   5633 
   5634 fi
   5635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5636 
   5637 fi
   5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5639 $as_echo "$lt_cv_ar_at_file" >&6; }
   5640 
   5641 if test no = "$lt_cv_ar_at_file"; then
   5642   archiver_list_spec=
   5643 else
   5644   archiver_list_spec=$lt_cv_ar_at_file
   5645 fi
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 if test -n "$ac_tool_prefix"; then
   5654   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5655 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5657 $as_echo_n "checking for $ac_word... " >&6; }
   5658 if ${ac_cv_prog_STRIP+:} false; then :
   5659   $as_echo_n "(cached) " >&6
   5660 else
   5661   if test -n "$STRIP"; then
   5662   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5663 else
   5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5665 for as_dir in $PATH
   5666 do
   5667   IFS=$as_save_IFS
   5668   test -z "$as_dir" && as_dir=.
   5669     for ac_exec_ext in '' $ac_executable_extensions; do
   5670   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5671     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5673     break 2
   5674   fi
   5675 done
   5676   done
   5677 IFS=$as_save_IFS
   5678 
   5679 fi
   5680 fi
   5681 STRIP=$ac_cv_prog_STRIP
   5682 if test -n "$STRIP"; then
   5683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5684 $as_echo "$STRIP" >&6; }
   5685 else
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5687 $as_echo "no" >&6; }
   5688 fi
   5689 
   5690 
   5691 fi
   5692 if test -z "$ac_cv_prog_STRIP"; then
   5693   ac_ct_STRIP=$STRIP
   5694   # Extract the first word of "strip", so it can be a program name with args.
   5695 set dummy strip; ac_word=$2
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5697 $as_echo_n "checking for $ac_word... " >&6; }
   5698 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5699   $as_echo_n "(cached) " >&6
   5700 else
   5701   if test -n "$ac_ct_STRIP"; then
   5702   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5703 else
   5704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5705 for as_dir in $PATH
   5706 do
   5707   IFS=$as_save_IFS
   5708   test -z "$as_dir" && as_dir=.
   5709     for ac_exec_ext in '' $ac_executable_extensions; do
   5710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5711     ac_cv_prog_ac_ct_STRIP="strip"
   5712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5713     break 2
   5714   fi
   5715 done
   5716   done
   5717 IFS=$as_save_IFS
   5718 
   5719 fi
   5720 fi
   5721 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5722 if test -n "$ac_ct_STRIP"; then
   5723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5724 $as_echo "$ac_ct_STRIP" >&6; }
   5725 else
   5726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5727 $as_echo "no" >&6; }
   5728 fi
   5729 
   5730   if test "x$ac_ct_STRIP" = x; then
   5731     STRIP=":"
   5732   else
   5733     case $cross_compiling:$ac_tool_warned in
   5734 yes:)
   5735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5737 ac_tool_warned=yes ;;
   5738 esac
   5739     STRIP=$ac_ct_STRIP
   5740   fi
   5741 else
   5742   STRIP="$ac_cv_prog_STRIP"
   5743 fi
   5744 
   5745 test -z "$STRIP" && STRIP=:
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 if test -n "$ac_tool_prefix"; then
   5753   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5754 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5756 $as_echo_n "checking for $ac_word... " >&6; }
   5757 if ${ac_cv_prog_RANLIB+:} false; then :
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   if test -n "$RANLIB"; then
   5761   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5762 else
   5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5764 for as_dir in $PATH
   5765 do
   5766   IFS=$as_save_IFS
   5767   test -z "$as_dir" && as_dir=.
   5768     for ac_exec_ext in '' $ac_executable_extensions; do
   5769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5770     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5772     break 2
   5773   fi
   5774 done
   5775   done
   5776 IFS=$as_save_IFS
   5777 
   5778 fi
   5779 fi
   5780 RANLIB=$ac_cv_prog_RANLIB
   5781 if test -n "$RANLIB"; then
   5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5783 $as_echo "$RANLIB" >&6; }
   5784 else
   5785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5786 $as_echo "no" >&6; }
   5787 fi
   5788 
   5789 
   5790 fi
   5791 if test -z "$ac_cv_prog_RANLIB"; then
   5792   ac_ct_RANLIB=$RANLIB
   5793   # Extract the first word of "ranlib", so it can be a program name with args.
   5794 set dummy ranlib; ac_word=$2
   5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5796 $as_echo_n "checking for $ac_word... " >&6; }
   5797 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5798   $as_echo_n "(cached) " >&6
   5799 else
   5800   if test -n "$ac_ct_RANLIB"; then
   5801   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5802 else
   5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5804 for as_dir in $PATH
   5805 do
   5806   IFS=$as_save_IFS
   5807   test -z "$as_dir" && as_dir=.
   5808     for ac_exec_ext in '' $ac_executable_extensions; do
   5809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5810     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5812     break 2
   5813   fi
   5814 done
   5815   done
   5816 IFS=$as_save_IFS
   5817 
   5818 fi
   5819 fi
   5820 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5821 if test -n "$ac_ct_RANLIB"; then
   5822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5823 $as_echo "$ac_ct_RANLIB" >&6; }
   5824 else
   5825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5826 $as_echo "no" >&6; }
   5827 fi
   5828 
   5829   if test "x$ac_ct_RANLIB" = x; then
   5830     RANLIB=":"
   5831   else
   5832     case $cross_compiling:$ac_tool_warned in
   5833 yes:)
   5834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5836 ac_tool_warned=yes ;;
   5837 esac
   5838     RANLIB=$ac_ct_RANLIB
   5839   fi
   5840 else
   5841   RANLIB="$ac_cv_prog_RANLIB"
   5842 fi
   5843 
   5844 test -z "$RANLIB" && RANLIB=:
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 # Determine commands to create old-style static archives.
   5852 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5853 old_postinstall_cmds='chmod 644 $oldlib'
   5854 old_postuninstall_cmds=
   5855 
   5856 if test -n "$RANLIB"; then
   5857   case $host_os in
   5858   bitrig* | openbsd*)
   5859     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5860     ;;
   5861   *)
   5862     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5863     ;;
   5864   esac
   5865   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5866 fi
   5867 
   5868 case $host_os in
   5869   darwin*)
   5870     lock_old_archive_extraction=yes ;;
   5871   *)
   5872     lock_old_archive_extraction=no ;;
   5873 esac
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 # If no C compiler was specified, use CC.
   5914 LTCC=${LTCC-"$CC"}
   5915 
   5916 # If no C compiler flags were specified, use CFLAGS.
   5917 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5918 
   5919 # Allow CC to be a program name with arguments.
   5920 compiler=$CC
   5921 
   5922 
   5923 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5925 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5926 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5927   $as_echo_n "(cached) " >&6
   5928 else
   5929 
   5930 # These are sane defaults that work on at least a few old systems.
   5931 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5932 
   5933 # Character class describing NM global symbol codes.
   5934 symcode='[BCDEGRST]'
   5935 
   5936 # Regexp to match symbols that can be accessed directly from C.
   5937 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5938 
   5939 # Define system-specific variables.
   5940 case $host_os in
   5941 aix*)
   5942   symcode='[BCDT]'
   5943   ;;
   5944 cygwin* | mingw* | pw32* | cegcc*)
   5945   symcode='[ABCDGISTW]'
   5946   ;;
   5947 hpux*)
   5948   if test ia64 = "$host_cpu"; then
   5949     symcode='[ABCDEGRST]'
   5950   fi
   5951   ;;
   5952 irix* | nonstopux*)
   5953   symcode='[BCDEGRST]'
   5954   ;;
   5955 osf*)
   5956   symcode='[BCDEGQRST]'
   5957   ;;
   5958 solaris*)
   5959   symcode='[BDRT]'
   5960   ;;
   5961 sco3.2v5*)
   5962   symcode='[DT]'
   5963   ;;
   5964 sysv4.2uw2*)
   5965   symcode='[DT]'
   5966   ;;
   5967 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5968   symcode='[ABDT]'
   5969   ;;
   5970 sysv4)
   5971   symcode='[DFNSTU]'
   5972   ;;
   5973 esac
   5974 
   5975 # If we're using GNU nm, then use its standard symbol codes.
   5976 case `$NM -V 2>&1` in
   5977 *GNU* | *'with BFD'*)
   5978   symcode='[ABCDGIRSTW]' ;;
   5979 esac
   5980 
   5981 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5982   # Gets list of data symbols to import.
   5983   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   5984   # Adjust the below global symbol transforms to fixup imported variables.
   5985   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   5986   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   5987   lt_c_name_lib_hook="\
   5988   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   5989   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   5990 else
   5991   # Disable hooks by default.
   5992   lt_cv_sys_global_symbol_to_import=
   5993   lt_cdecl_hook=
   5994   lt_c_name_hook=
   5995   lt_c_name_lib_hook=
   5996 fi
   5997 
   5998 # Transform an extracted symbol line into a proper C declaration.
   5999 # Some systems (esp. on ia64) link data and code symbols differently,
   6000 # so use this general approach.
   6001 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6002 $lt_cdecl_hook\
   6003 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6004 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6005 
   6006 # Transform an extracted symbol line into symbol name and symbol address
   6007 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6008 $lt_c_name_hook\
   6009 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6010 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6011 
   6012 # Transform an extracted symbol line into symbol name with lib prefix and
   6013 # symbol address.
   6014 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6015 $lt_c_name_lib_hook\
   6016 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6017 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6018 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6019 
   6020 # Handle CRLF in mingw tool chain
   6021 opt_cr=
   6022 case $build_os in
   6023 mingw*)
   6024   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6025   ;;
   6026 esac
   6027 
   6028 # Try without a prefix underscore, then with it.
   6029 for ac_symprfx in "" "_"; do
   6030 
   6031   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6032   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6033 
   6034   # Write the raw and C identifiers.
   6035   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6036     # Fake it for dumpbin and say T for any non-static function,
   6037     # D for any global variable and I for any imported variable.
   6038     # Also find C++ and __fastcall symbols from MSVC++,
   6039     # which start with @ or ?.
   6040     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6041 "     {last_section=section; section=\$ 3};"\
   6042 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6043 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6044 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6045 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6046 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6047 "     \$ 0!~/External *\|/{next};"\
   6048 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6049 "     {if(hide[section]) next};"\
   6050 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6051 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6052 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6053 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6054 "     ' prfx=^$ac_symprfx"
   6055   else
   6056     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6057   fi
   6058   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6059 
   6060   # Check to see that the pipe works correctly.
   6061   pipe_works=no
   6062 
   6063   rm -f conftest*
   6064   cat > conftest.$ac_ext <<_LT_EOF
   6065 #ifdef __cplusplus
   6066 extern "C" {
   6067 #endif
   6068 char nm_test_var;
   6069 void nm_test_func(void);
   6070 void nm_test_func(void){}
   6071 #ifdef __cplusplus
   6072 }
   6073 #endif
   6074 int main(){nm_test_var='a';nm_test_func();return(0);}
   6075 _LT_EOF
   6076 
   6077   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6078   (eval $ac_compile) 2>&5
   6079   ac_status=$?
   6080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6081   test $ac_status = 0; }; then
   6082     # Now try to grab the symbols.
   6083     nlist=conftest.nm
   6084     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6085   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6086   ac_status=$?
   6087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6088   test $ac_status = 0; } && test -s "$nlist"; then
   6089       # Try sorting and uniquifying the output.
   6090       if sort "$nlist" | uniq > "$nlist"T; then
   6091 	mv -f "$nlist"T "$nlist"
   6092       else
   6093 	rm -f "$nlist"T
   6094       fi
   6095 
   6096       # Make sure that we snagged all the symbols we need.
   6097       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6098 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6099 	  cat <<_LT_EOF > conftest.$ac_ext
   6100 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6101 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6102 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6103    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6104 # define LT_DLSYM_CONST
   6105 #elif defined __osf__
   6106 /* This system does not cope well with relocations in const data.  */
   6107 # define LT_DLSYM_CONST
   6108 #else
   6109 # define LT_DLSYM_CONST const
   6110 #endif
   6111 
   6112 #ifdef __cplusplus
   6113 extern "C" {
   6114 #endif
   6115 
   6116 _LT_EOF
   6117 	  # Now generate the symbol file.
   6118 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6119 
   6120 	  cat <<_LT_EOF >> conftest.$ac_ext
   6121 
   6122 /* The mapping between symbol names and symbols.  */
   6123 LT_DLSYM_CONST struct {
   6124   const char *name;
   6125   void       *address;
   6126 }
   6127 lt__PROGRAM__LTX_preloaded_symbols[] =
   6128 {
   6129   { "@PROGRAM@", (void *) 0 },
   6130 _LT_EOF
   6131 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6132 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6133   {0, (void *) 0}
   6134 };
   6135 
   6136 /* This works around a problem in FreeBSD linker */
   6137 #ifdef FREEBSD_WORKAROUND
   6138 static const void *lt_preloaded_setup() {
   6139   return lt__PROGRAM__LTX_preloaded_symbols;
   6140 }
   6141 #endif
   6142 
   6143 #ifdef __cplusplus
   6144 }
   6145 #endif
   6146 _LT_EOF
   6147 	  # Now try linking the two files.
   6148 	  mv conftest.$ac_objext conftstm.$ac_objext
   6149 	  lt_globsym_save_LIBS=$LIBS
   6150 	  lt_globsym_save_CFLAGS=$CFLAGS
   6151 	  LIBS=conftstm.$ac_objext
   6152 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6153 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6154   (eval $ac_link) 2>&5
   6155   ac_status=$?
   6156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6157   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6158 	    pipe_works=yes
   6159 	  fi
   6160 	  LIBS=$lt_globsym_save_LIBS
   6161 	  CFLAGS=$lt_globsym_save_CFLAGS
   6162 	else
   6163 	  echo "cannot find nm_test_func in $nlist" >&5
   6164 	fi
   6165       else
   6166 	echo "cannot find nm_test_var in $nlist" >&5
   6167       fi
   6168     else
   6169       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6170     fi
   6171   else
   6172     echo "$progname: failed program was:" >&5
   6173     cat conftest.$ac_ext >&5
   6174   fi
   6175   rm -rf conftest* conftst*
   6176 
   6177   # Do not use the global_symbol_pipe unless it works.
   6178   if test yes = "$pipe_works"; then
   6179     break
   6180   else
   6181     lt_cv_sys_global_symbol_pipe=
   6182   fi
   6183 done
   6184 
   6185 fi
   6186 
   6187 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6188   lt_cv_sys_global_symbol_to_cdecl=
   6189 fi
   6190 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6192 $as_echo "failed" >&6; }
   6193 else
   6194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6195 $as_echo "ok" >&6; }
   6196 fi
   6197 
   6198 # Response file support.
   6199 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6200   nm_file_list_spec='@'
   6201 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6202   nm_file_list_spec='@'
   6203 fi
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6242 $as_echo_n "checking for sysroot... " >&6; }
   6243 
   6244 # Check whether --with-sysroot was given.
   6245 if test "${with_sysroot+set}" = set; then :
   6246   withval=$with_sysroot;
   6247 else
   6248   with_sysroot=no
   6249 fi
   6250 
   6251 
   6252 lt_sysroot=
   6253 case $with_sysroot in #(
   6254  yes)
   6255    if test yes = "$GCC"; then
   6256      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6257    fi
   6258    ;; #(
   6259  /*)
   6260    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6261    ;; #(
   6262  no|'')
   6263    ;; #(
   6264  *)
   6265    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6266 $as_echo "$with_sysroot" >&6; }
   6267    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6268    ;;
   6269 esac
   6270 
   6271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6272 $as_echo "${lt_sysroot:-no}" >&6; }
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6279 $as_echo_n "checking for a working dd... " >&6; }
   6280 if ${ac_cv_path_lt_DD+:} false; then :
   6281   $as_echo_n "(cached) " >&6
   6282 else
   6283   printf 0123456789abcdef0123456789abcdef >conftest.i
   6284 cat conftest.i conftest.i >conftest2.i
   6285 : ${lt_DD:=$DD}
   6286 if test -z "$lt_DD"; then
   6287   ac_path_lt_DD_found=false
   6288   # Loop through the user's path and test for each of PROGNAME-LIST
   6289   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6290 for as_dir in $PATH
   6291 do
   6292   IFS=$as_save_IFS
   6293   test -z "$as_dir" && as_dir=.
   6294     for ac_prog in dd; do
   6295     for ac_exec_ext in '' $ac_executable_extensions; do
   6296       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6297       as_fn_executable_p "$ac_path_lt_DD" || continue
   6298 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6299   cmp -s conftest.i conftest.out \
   6300   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6301 fi
   6302       $ac_path_lt_DD_found && break 3
   6303     done
   6304   done
   6305   done
   6306 IFS=$as_save_IFS
   6307   if test -z "$ac_cv_path_lt_DD"; then
   6308     :
   6309   fi
   6310 else
   6311   ac_cv_path_lt_DD=$lt_DD
   6312 fi
   6313 
   6314 rm -f conftest.i conftest2.i conftest.out
   6315 fi
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6317 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6318 
   6319 
   6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6321 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6322 if ${lt_cv_truncate_bin+:} false; then :
   6323   $as_echo_n "(cached) " >&6
   6324 else
   6325   printf 0123456789abcdef0123456789abcdef >conftest.i
   6326 cat conftest.i conftest.i >conftest2.i
   6327 lt_cv_truncate_bin=
   6328 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6329   cmp -s conftest.i conftest.out \
   6330   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6331 fi
   6332 rm -f conftest.i conftest2.i conftest.out
   6333 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6334 fi
   6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6336 $as_echo "$lt_cv_truncate_bin" >&6; }
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6345 func_cc_basename ()
   6346 {
   6347     for cc_temp in $*""; do
   6348       case $cc_temp in
   6349         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6350         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6351         \-*) ;;
   6352         *) break;;
   6353       esac
   6354     done
   6355     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6356 }
   6357 
   6358 # Check whether --enable-libtool-lock was given.
   6359 if test "${enable_libtool_lock+set}" = set; then :
   6360   enableval=$enable_libtool_lock;
   6361 fi
   6362 
   6363 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6364 
   6365 # Some flags need to be propagated to the compiler or linker for good
   6366 # libtool support.
   6367 case $host in
   6368 ia64-*-hpux*)
   6369   # Find out what ABI is being produced by ac_compile, and set mode
   6370   # options accordingly.
   6371   echo 'int i;' > conftest.$ac_ext
   6372   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6373   (eval $ac_compile) 2>&5
   6374   ac_status=$?
   6375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6376   test $ac_status = 0; }; then
   6377     case `/usr/bin/file conftest.$ac_objext` in
   6378       *ELF-32*)
   6379 	HPUX_IA64_MODE=32
   6380 	;;
   6381       *ELF-64*)
   6382 	HPUX_IA64_MODE=64
   6383 	;;
   6384     esac
   6385   fi
   6386   rm -rf conftest*
   6387   ;;
   6388 *-*-irix6*)
   6389   # Find out what ABI is being produced by ac_compile, and set linker
   6390   # options accordingly.
   6391   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6392   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6393   (eval $ac_compile) 2>&5
   6394   ac_status=$?
   6395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6396   test $ac_status = 0; }; then
   6397     if test yes = "$lt_cv_prog_gnu_ld"; then
   6398       case `/usr/bin/file conftest.$ac_objext` in
   6399 	*32-bit*)
   6400 	  LD="${LD-ld} -melf32bsmip"
   6401 	  ;;
   6402 	*N32*)
   6403 	  LD="${LD-ld} -melf32bmipn32"
   6404 	  ;;
   6405 	*64-bit*)
   6406 	  LD="${LD-ld} -melf64bmip"
   6407 	;;
   6408       esac
   6409     else
   6410       case `/usr/bin/file conftest.$ac_objext` in
   6411 	*32-bit*)
   6412 	  LD="${LD-ld} -32"
   6413 	  ;;
   6414 	*N32*)
   6415 	  LD="${LD-ld} -n32"
   6416 	  ;;
   6417 	*64-bit*)
   6418 	  LD="${LD-ld} -64"
   6419 	  ;;
   6420       esac
   6421     fi
   6422   fi
   6423   rm -rf conftest*
   6424   ;;
   6425 
   6426 mips64*-*linux*)
   6427   # Find out what ABI is being produced by ac_compile, and set linker
   6428   # options accordingly.
   6429   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6430   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6431   (eval $ac_compile) 2>&5
   6432   ac_status=$?
   6433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6434   test $ac_status = 0; }; then
   6435     emul=elf
   6436     case `/usr/bin/file conftest.$ac_objext` in
   6437       *32-bit*)
   6438 	emul="${emul}32"
   6439 	;;
   6440       *64-bit*)
   6441 	emul="${emul}64"
   6442 	;;
   6443     esac
   6444     case `/usr/bin/file conftest.$ac_objext` in
   6445       *MSB*)
   6446 	emul="${emul}btsmip"
   6447 	;;
   6448       *LSB*)
   6449 	emul="${emul}ltsmip"
   6450 	;;
   6451     esac
   6452     case `/usr/bin/file conftest.$ac_objext` in
   6453       *N32*)
   6454 	emul="${emul}n32"
   6455 	;;
   6456     esac
   6457     LD="${LD-ld} -m $emul"
   6458   fi
   6459   rm -rf conftest*
   6460   ;;
   6461 
   6462 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6463 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6464   # Find out what ABI is being produced by ac_compile, and set linker
   6465   # options accordingly.  Note that the listed cases only cover the
   6466   # situations where additional linker options are needed (such as when
   6467   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6468   # vice versa); the common cases where no linker options are needed do
   6469   # not appear in the list.
   6470   echo 'int i;' > conftest.$ac_ext
   6471   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6472   (eval $ac_compile) 2>&5
   6473   ac_status=$?
   6474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6475   test $ac_status = 0; }; then
   6476     case `/usr/bin/file conftest.o` in
   6477       *32-bit*)
   6478 	case $host in
   6479 	  x86_64-*kfreebsd*-gnu)
   6480 	    LD="${LD-ld} -m elf_i386_fbsd"
   6481 	    ;;
   6482 	  x86_64-*linux*)
   6483 	    case `/usr/bin/file conftest.o` in
   6484 	      *x86-64*)
   6485 		LD="${LD-ld} -m elf32_x86_64"
   6486 		;;
   6487 	      *)
   6488 		LD="${LD-ld} -m elf_i386"
   6489 		;;
   6490 	    esac
   6491 	    ;;
   6492 	  powerpc64le-*linux*)
   6493 	    LD="${LD-ld} -m elf32lppclinux"
   6494 	    ;;
   6495 	  powerpc64-*linux*)
   6496 	    LD="${LD-ld} -m elf32ppclinux"
   6497 	    ;;
   6498 	  s390x-*linux*)
   6499 	    LD="${LD-ld} -m elf_s390"
   6500 	    ;;
   6501 	  sparc64-*linux*)
   6502 	    LD="${LD-ld} -m elf32_sparc"
   6503 	    ;;
   6504 	esac
   6505 	;;
   6506       *64-bit*)
   6507 	case $host in
   6508 	  x86_64-*kfreebsd*-gnu)
   6509 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6510 	    ;;
   6511 	  x86_64-*linux*)
   6512 	    LD="${LD-ld} -m elf_x86_64"
   6513 	    ;;
   6514 	  powerpcle-*linux*)
   6515 	    LD="${LD-ld} -m elf64lppc"
   6516 	    ;;
   6517 	  powerpc-*linux*)
   6518 	    LD="${LD-ld} -m elf64ppc"
   6519 	    ;;
   6520 	  s390*-*linux*|s390*-*tpf*)
   6521 	    LD="${LD-ld} -m elf64_s390"
   6522 	    ;;
   6523 	  sparc*-*linux*)
   6524 	    LD="${LD-ld} -m elf64_sparc"
   6525 	    ;;
   6526 	esac
   6527 	;;
   6528     esac
   6529   fi
   6530   rm -rf conftest*
   6531   ;;
   6532 
   6533 *-*-sco3.2v5*)
   6534   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6535   SAVE_CFLAGS=$CFLAGS
   6536   CFLAGS="$CFLAGS -belf"
   6537   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6538 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6539 if ${lt_cv_cc_needs_belf+:} false; then :
   6540   $as_echo_n "(cached) " >&6
   6541 else
   6542   ac_ext=c
   6543 ac_cpp='$CPP $CPPFLAGS'
   6544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6547 
   6548      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6549 /* end confdefs.h.  */
   6550 
   6551 int
   6552 main ()
   6553 {
   6554 
   6555   ;
   6556   return 0;
   6557 }
   6558 _ACEOF
   6559 if ac_fn_c_try_link "$LINENO"; then :
   6560   lt_cv_cc_needs_belf=yes
   6561 else
   6562   lt_cv_cc_needs_belf=no
   6563 fi
   6564 rm -f core conftest.err conftest.$ac_objext \
   6565     conftest$ac_exeext conftest.$ac_ext
   6566      ac_ext=c
   6567 ac_cpp='$CPP $CPPFLAGS'
   6568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6571 
   6572 fi
   6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6574 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6575   if test yes != "$lt_cv_cc_needs_belf"; then
   6576     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6577     CFLAGS=$SAVE_CFLAGS
   6578   fi
   6579   ;;
   6580 *-*solaris*)
   6581   # Find out what ABI is being produced by ac_compile, and set linker
   6582   # options accordingly.
   6583   echo 'int i;' > conftest.$ac_ext
   6584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6585   (eval $ac_compile) 2>&5
   6586   ac_status=$?
   6587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6588   test $ac_status = 0; }; then
   6589     case `/usr/bin/file conftest.o` in
   6590     *64-bit*)
   6591       case $lt_cv_prog_gnu_ld in
   6592       yes*)
   6593         case $host in
   6594         i?86-*-solaris*|x86_64-*-solaris*)
   6595           LD="${LD-ld} -m elf_x86_64"
   6596           ;;
   6597         sparc*-*-solaris*)
   6598           LD="${LD-ld} -m elf64_sparc"
   6599           ;;
   6600         esac
   6601         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6602         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6603           LD=${LD-ld}_sol2
   6604         fi
   6605         ;;
   6606       *)
   6607 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6608 	  LD="${LD-ld} -64"
   6609 	fi
   6610 	;;
   6611       esac
   6612       ;;
   6613     esac
   6614   fi
   6615   rm -rf conftest*
   6616   ;;
   6617 esac
   6618 
   6619 need_locks=$enable_libtool_lock
   6620 
   6621 if test -n "$ac_tool_prefix"; then
   6622   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6623 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6625 $as_echo_n "checking for $ac_word... " >&6; }
   6626 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6627   $as_echo_n "(cached) " >&6
   6628 else
   6629   if test -n "$MANIFEST_TOOL"; then
   6630   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6631 else
   6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6633 for as_dir in $PATH
   6634 do
   6635   IFS=$as_save_IFS
   6636   test -z "$as_dir" && as_dir=.
   6637     for ac_exec_ext in '' $ac_executable_extensions; do
   6638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6639     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6641     break 2
   6642   fi
   6643 done
   6644   done
   6645 IFS=$as_save_IFS
   6646 
   6647 fi
   6648 fi
   6649 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6650 if test -n "$MANIFEST_TOOL"; then
   6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6652 $as_echo "$MANIFEST_TOOL" >&6; }
   6653 else
   6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6655 $as_echo "no" >&6; }
   6656 fi
   6657 
   6658 
   6659 fi
   6660 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6661   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6662   # Extract the first word of "mt", so it can be a program name with args.
   6663 set dummy mt; ac_word=$2
   6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6665 $as_echo_n "checking for $ac_word... " >&6; }
   6666 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6667   $as_echo_n "(cached) " >&6
   6668 else
   6669   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6670   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6671 else
   6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6673 for as_dir in $PATH
   6674 do
   6675   IFS=$as_save_IFS
   6676   test -z "$as_dir" && as_dir=.
   6677     for ac_exec_ext in '' $ac_executable_extensions; do
   6678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6679     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6681     break 2
   6682   fi
   6683 done
   6684   done
   6685 IFS=$as_save_IFS
   6686 
   6687 fi
   6688 fi
   6689 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6690 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6692 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6693 else
   6694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6695 $as_echo "no" >&6; }
   6696 fi
   6697 
   6698   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6699     MANIFEST_TOOL=":"
   6700   else
   6701     case $cross_compiling:$ac_tool_warned in
   6702 yes:)
   6703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6705 ac_tool_warned=yes ;;
   6706 esac
   6707     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6708   fi
   6709 else
   6710   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6711 fi
   6712 
   6713 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6715 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6716 if ${lt_cv_path_mainfest_tool+:} false; then :
   6717   $as_echo_n "(cached) " >&6
   6718 else
   6719   lt_cv_path_mainfest_tool=no
   6720   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6721   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6722   cat conftest.err >&5
   6723   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6724     lt_cv_path_mainfest_tool=yes
   6725   fi
   6726   rm -f conftest*
   6727 fi
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6729 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6730 if test yes != "$lt_cv_path_mainfest_tool"; then
   6731   MANIFEST_TOOL=:
   6732 fi
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739   case $host_os in
   6740     rhapsody* | darwin*)
   6741     if test -n "$ac_tool_prefix"; then
   6742   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6743 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6745 $as_echo_n "checking for $ac_word... " >&6; }
   6746 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6747   $as_echo_n "(cached) " >&6
   6748 else
   6749   if test -n "$DSYMUTIL"; then
   6750   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6751 else
   6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6753 for as_dir in $PATH
   6754 do
   6755   IFS=$as_save_IFS
   6756   test -z "$as_dir" && as_dir=.
   6757     for ac_exec_ext in '' $ac_executable_extensions; do
   6758   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6759     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6761     break 2
   6762   fi
   6763 done
   6764   done
   6765 IFS=$as_save_IFS
   6766 
   6767 fi
   6768 fi
   6769 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6770 if test -n "$DSYMUTIL"; then
   6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6772 $as_echo "$DSYMUTIL" >&6; }
   6773 else
   6774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6775 $as_echo "no" >&6; }
   6776 fi
   6777 
   6778 
   6779 fi
   6780 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6781   ac_ct_DSYMUTIL=$DSYMUTIL
   6782   # Extract the first word of "dsymutil", so it can be a program name with args.
   6783 set dummy dsymutil; ac_word=$2
   6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6785 $as_echo_n "checking for $ac_word... " >&6; }
   6786 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6787   $as_echo_n "(cached) " >&6
   6788 else
   6789   if test -n "$ac_ct_DSYMUTIL"; then
   6790   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6791 else
   6792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6793 for as_dir in $PATH
   6794 do
   6795   IFS=$as_save_IFS
   6796   test -z "$as_dir" && as_dir=.
   6797     for ac_exec_ext in '' $ac_executable_extensions; do
   6798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6799     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6801     break 2
   6802   fi
   6803 done
   6804   done
   6805 IFS=$as_save_IFS
   6806 
   6807 fi
   6808 fi
   6809 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6810 if test -n "$ac_ct_DSYMUTIL"; then
   6811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6812 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6813 else
   6814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6815 $as_echo "no" >&6; }
   6816 fi
   6817 
   6818   if test "x$ac_ct_DSYMUTIL" = x; then
   6819     DSYMUTIL=":"
   6820   else
   6821     case $cross_compiling:$ac_tool_warned in
   6822 yes:)
   6823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6825 ac_tool_warned=yes ;;
   6826 esac
   6827     DSYMUTIL=$ac_ct_DSYMUTIL
   6828   fi
   6829 else
   6830   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6831 fi
   6832 
   6833     if test -n "$ac_tool_prefix"; then
   6834   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6835 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6837 $as_echo_n "checking for $ac_word... " >&6; }
   6838 if ${ac_cv_prog_NMEDIT+:} false; then :
   6839   $as_echo_n "(cached) " >&6
   6840 else
   6841   if test -n "$NMEDIT"; then
   6842   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6843 else
   6844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6845 for as_dir in $PATH
   6846 do
   6847   IFS=$as_save_IFS
   6848   test -z "$as_dir" && as_dir=.
   6849     for ac_exec_ext in '' $ac_executable_extensions; do
   6850   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6851     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6853     break 2
   6854   fi
   6855 done
   6856   done
   6857 IFS=$as_save_IFS
   6858 
   6859 fi
   6860 fi
   6861 NMEDIT=$ac_cv_prog_NMEDIT
   6862 if test -n "$NMEDIT"; then
   6863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6864 $as_echo "$NMEDIT" >&6; }
   6865 else
   6866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6867 $as_echo "no" >&6; }
   6868 fi
   6869 
   6870 
   6871 fi
   6872 if test -z "$ac_cv_prog_NMEDIT"; then
   6873   ac_ct_NMEDIT=$NMEDIT
   6874   # Extract the first word of "nmedit", so it can be a program name with args.
   6875 set dummy nmedit; ac_word=$2
   6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6877 $as_echo_n "checking for $ac_word... " >&6; }
   6878 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6879   $as_echo_n "(cached) " >&6
   6880 else
   6881   if test -n "$ac_ct_NMEDIT"; then
   6882   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6883 else
   6884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6885 for as_dir in $PATH
   6886 do
   6887   IFS=$as_save_IFS
   6888   test -z "$as_dir" && as_dir=.
   6889     for ac_exec_ext in '' $ac_executable_extensions; do
   6890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6891     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6893     break 2
   6894   fi
   6895 done
   6896   done
   6897 IFS=$as_save_IFS
   6898 
   6899 fi
   6900 fi
   6901 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6902 if test -n "$ac_ct_NMEDIT"; then
   6903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6904 $as_echo "$ac_ct_NMEDIT" >&6; }
   6905 else
   6906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6907 $as_echo "no" >&6; }
   6908 fi
   6909 
   6910   if test "x$ac_ct_NMEDIT" = x; then
   6911     NMEDIT=":"
   6912   else
   6913     case $cross_compiling:$ac_tool_warned in
   6914 yes:)
   6915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6917 ac_tool_warned=yes ;;
   6918 esac
   6919     NMEDIT=$ac_ct_NMEDIT
   6920   fi
   6921 else
   6922   NMEDIT="$ac_cv_prog_NMEDIT"
   6923 fi
   6924 
   6925     if test -n "$ac_tool_prefix"; then
   6926   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6927 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6929 $as_echo_n "checking for $ac_word... " >&6; }
   6930 if ${ac_cv_prog_LIPO+:} false; then :
   6931   $as_echo_n "(cached) " >&6
   6932 else
   6933   if test -n "$LIPO"; then
   6934   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6935 else
   6936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6937 for as_dir in $PATH
   6938 do
   6939   IFS=$as_save_IFS
   6940   test -z "$as_dir" && as_dir=.
   6941     for ac_exec_ext in '' $ac_executable_extensions; do
   6942   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6943     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6945     break 2
   6946   fi
   6947 done
   6948   done
   6949 IFS=$as_save_IFS
   6950 
   6951 fi
   6952 fi
   6953 LIPO=$ac_cv_prog_LIPO
   6954 if test -n "$LIPO"; then
   6955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6956 $as_echo "$LIPO" >&6; }
   6957 else
   6958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6959 $as_echo "no" >&6; }
   6960 fi
   6961 
   6962 
   6963 fi
   6964 if test -z "$ac_cv_prog_LIPO"; then
   6965   ac_ct_LIPO=$LIPO
   6966   # Extract the first word of "lipo", so it can be a program name with args.
   6967 set dummy lipo; ac_word=$2
   6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6969 $as_echo_n "checking for $ac_word... " >&6; }
   6970 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6971   $as_echo_n "(cached) " >&6
   6972 else
   6973   if test -n "$ac_ct_LIPO"; then
   6974   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6975 else
   6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6977 for as_dir in $PATH
   6978 do
   6979   IFS=$as_save_IFS
   6980   test -z "$as_dir" && as_dir=.
   6981     for ac_exec_ext in '' $ac_executable_extensions; do
   6982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6983     ac_cv_prog_ac_ct_LIPO="lipo"
   6984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6985     break 2
   6986   fi
   6987 done
   6988   done
   6989 IFS=$as_save_IFS
   6990 
   6991 fi
   6992 fi
   6993 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6994 if test -n "$ac_ct_LIPO"; then
   6995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6996 $as_echo "$ac_ct_LIPO" >&6; }
   6997 else
   6998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6999 $as_echo "no" >&6; }
   7000 fi
   7001 
   7002   if test "x$ac_ct_LIPO" = x; then
   7003     LIPO=":"
   7004   else
   7005     case $cross_compiling:$ac_tool_warned in
   7006 yes:)
   7007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7009 ac_tool_warned=yes ;;
   7010 esac
   7011     LIPO=$ac_ct_LIPO
   7012   fi
   7013 else
   7014   LIPO="$ac_cv_prog_LIPO"
   7015 fi
   7016 
   7017     if test -n "$ac_tool_prefix"; then
   7018   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7019 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7021 $as_echo_n "checking for $ac_word... " >&6; }
   7022 if ${ac_cv_prog_OTOOL+:} false; then :
   7023   $as_echo_n "(cached) " >&6
   7024 else
   7025   if test -n "$OTOOL"; then
   7026   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7027 else
   7028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7029 for as_dir in $PATH
   7030 do
   7031   IFS=$as_save_IFS
   7032   test -z "$as_dir" && as_dir=.
   7033     for ac_exec_ext in '' $ac_executable_extensions; do
   7034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7035     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7037     break 2
   7038   fi
   7039 done
   7040   done
   7041 IFS=$as_save_IFS
   7042 
   7043 fi
   7044 fi
   7045 OTOOL=$ac_cv_prog_OTOOL
   7046 if test -n "$OTOOL"; then
   7047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7048 $as_echo "$OTOOL" >&6; }
   7049 else
   7050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7051 $as_echo "no" >&6; }
   7052 fi
   7053 
   7054 
   7055 fi
   7056 if test -z "$ac_cv_prog_OTOOL"; then
   7057   ac_ct_OTOOL=$OTOOL
   7058   # Extract the first word of "otool", so it can be a program name with args.
   7059 set dummy otool; ac_word=$2
   7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7061 $as_echo_n "checking for $ac_word... " >&6; }
   7062 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7063   $as_echo_n "(cached) " >&6
   7064 else
   7065   if test -n "$ac_ct_OTOOL"; then
   7066   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7067 else
   7068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7069 for as_dir in $PATH
   7070 do
   7071   IFS=$as_save_IFS
   7072   test -z "$as_dir" && as_dir=.
   7073     for ac_exec_ext in '' $ac_executable_extensions; do
   7074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7075     ac_cv_prog_ac_ct_OTOOL="otool"
   7076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7077     break 2
   7078   fi
   7079 done
   7080   done
   7081 IFS=$as_save_IFS
   7082 
   7083 fi
   7084 fi
   7085 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7086 if test -n "$ac_ct_OTOOL"; then
   7087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7088 $as_echo "$ac_ct_OTOOL" >&6; }
   7089 else
   7090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7091 $as_echo "no" >&6; }
   7092 fi
   7093 
   7094   if test "x$ac_ct_OTOOL" = x; then
   7095     OTOOL=":"
   7096   else
   7097     case $cross_compiling:$ac_tool_warned in
   7098 yes:)
   7099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7101 ac_tool_warned=yes ;;
   7102 esac
   7103     OTOOL=$ac_ct_OTOOL
   7104   fi
   7105 else
   7106   OTOOL="$ac_cv_prog_OTOOL"
   7107 fi
   7108 
   7109     if test -n "$ac_tool_prefix"; then
   7110   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7111 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7113 $as_echo_n "checking for $ac_word... " >&6; }
   7114 if ${ac_cv_prog_OTOOL64+:} false; then :
   7115   $as_echo_n "(cached) " >&6
   7116 else
   7117   if test -n "$OTOOL64"; then
   7118   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7119 else
   7120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7121 for as_dir in $PATH
   7122 do
   7123   IFS=$as_save_IFS
   7124   test -z "$as_dir" && as_dir=.
   7125     for ac_exec_ext in '' $ac_executable_extensions; do
   7126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7127     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7129     break 2
   7130   fi
   7131 done
   7132   done
   7133 IFS=$as_save_IFS
   7134 
   7135 fi
   7136 fi
   7137 OTOOL64=$ac_cv_prog_OTOOL64
   7138 if test -n "$OTOOL64"; then
   7139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7140 $as_echo "$OTOOL64" >&6; }
   7141 else
   7142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7143 $as_echo "no" >&6; }
   7144 fi
   7145 
   7146 
   7147 fi
   7148 if test -z "$ac_cv_prog_OTOOL64"; then
   7149   ac_ct_OTOOL64=$OTOOL64
   7150   # Extract the first word of "otool64", so it can be a program name with args.
   7151 set dummy otool64; ac_word=$2
   7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7153 $as_echo_n "checking for $ac_word... " >&6; }
   7154 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7155   $as_echo_n "(cached) " >&6
   7156 else
   7157   if test -n "$ac_ct_OTOOL64"; then
   7158   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7159 else
   7160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7161 for as_dir in $PATH
   7162 do
   7163   IFS=$as_save_IFS
   7164   test -z "$as_dir" && as_dir=.
   7165     for ac_exec_ext in '' $ac_executable_extensions; do
   7166   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7167     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7168     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7169     break 2
   7170   fi
   7171 done
   7172   done
   7173 IFS=$as_save_IFS
   7174 
   7175 fi
   7176 fi
   7177 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7178 if test -n "$ac_ct_OTOOL64"; then
   7179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7180 $as_echo "$ac_ct_OTOOL64" >&6; }
   7181 else
   7182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7183 $as_echo "no" >&6; }
   7184 fi
   7185 
   7186   if test "x$ac_ct_OTOOL64" = x; then
   7187     OTOOL64=":"
   7188   else
   7189     case $cross_compiling:$ac_tool_warned in
   7190 yes:)
   7191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7193 ac_tool_warned=yes ;;
   7194 esac
   7195     OTOOL64=$ac_ct_OTOOL64
   7196   fi
   7197 else
   7198   OTOOL64="$ac_cv_prog_OTOOL64"
   7199 fi
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7228 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7229 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7230   $as_echo_n "(cached) " >&6
   7231 else
   7232   lt_cv_apple_cc_single_mod=no
   7233       if test -z "$LT_MULTI_MODULE"; then
   7234 	# By default we will add the -single_module flag. You can override
   7235 	# by either setting the environment variable LT_MULTI_MODULE
   7236 	# non-empty at configure time, or by adding -multi_module to the
   7237 	# link flags.
   7238 	rm -rf libconftest.dylib*
   7239 	echo "int foo(void){return 1;}" > conftest.c
   7240 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7241 -dynamiclib -Wl,-single_module conftest.c" >&5
   7242 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7243 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7244         _lt_result=$?
   7245 	# If there is a non-empty error log, and "single_module"
   7246 	# appears in it, assume the flag caused a linker warning
   7247         if test -s conftest.err && $GREP single_module conftest.err; then
   7248 	  cat conftest.err >&5
   7249 	# Otherwise, if the output was created with a 0 exit code from
   7250 	# the compiler, it worked.
   7251 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7252 	  lt_cv_apple_cc_single_mod=yes
   7253 	else
   7254 	  cat conftest.err >&5
   7255 	fi
   7256 	rm -rf libconftest.dylib*
   7257 	rm -f conftest.*
   7258       fi
   7259 fi
   7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7261 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7262 
   7263     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7264 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7265 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7266   $as_echo_n "(cached) " >&6
   7267 else
   7268   lt_cv_ld_exported_symbols_list=no
   7269       save_LDFLAGS=$LDFLAGS
   7270       echo "_main" > conftest.sym
   7271       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7272       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7273 /* end confdefs.h.  */
   7274 
   7275 int
   7276 main ()
   7277 {
   7278 
   7279   ;
   7280   return 0;
   7281 }
   7282 _ACEOF
   7283 if ac_fn_c_try_link "$LINENO"; then :
   7284   lt_cv_ld_exported_symbols_list=yes
   7285 else
   7286   lt_cv_ld_exported_symbols_list=no
   7287 fi
   7288 rm -f core conftest.err conftest.$ac_objext \
   7289     conftest$ac_exeext conftest.$ac_ext
   7290 	LDFLAGS=$save_LDFLAGS
   7291 
   7292 fi
   7293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7294 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7295 
   7296     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7297 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7298 if ${lt_cv_ld_force_load+:} false; then :
   7299   $as_echo_n "(cached) " >&6
   7300 else
   7301   lt_cv_ld_force_load=no
   7302       cat > conftest.c << _LT_EOF
   7303 int forced_loaded() { return 2;}
   7304 _LT_EOF
   7305       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7306       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7307       echo "$AR cru libconftest.a conftest.o" >&5
   7308       $AR cru libconftest.a conftest.o 2>&5
   7309       echo "$RANLIB libconftest.a" >&5
   7310       $RANLIB libconftest.a 2>&5
   7311       cat > conftest.c << _LT_EOF
   7312 int main() { return 0;}
   7313 _LT_EOF
   7314       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7315       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7316       _lt_result=$?
   7317       if test -s conftest.err && $GREP force_load conftest.err; then
   7318 	cat conftest.err >&5
   7319       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7320 	lt_cv_ld_force_load=yes
   7321       else
   7322 	cat conftest.err >&5
   7323       fi
   7324         rm -f conftest.err libconftest.a conftest conftest.c
   7325         rm -rf conftest.dSYM
   7326 
   7327 fi
   7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7329 $as_echo "$lt_cv_ld_force_load" >&6; }
   7330     case $host_os in
   7331     rhapsody* | darwin1.[012])
   7332       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7333     darwin1.*)
   7334       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7335     darwin*) # darwin 5.x on
   7336       # if running on 10.5 or later, the deployment target defaults
   7337       # to the OS version, if on x86, and 10.4, the deployment
   7338       # target defaults to 10.4. Don't you love it?
   7339       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7340 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7341 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7342 	10.[012][,.]*)
   7343 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7344 	10.*)
   7345 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7346       esac
   7347     ;;
   7348   esac
   7349     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7350       _lt_dar_single_mod='$single_module'
   7351     fi
   7352     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7353       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7354     else
   7355       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7356     fi
   7357     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7358       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7359     else
   7360       _lt_dsymutil=
   7361     fi
   7362     ;;
   7363   esac
   7364 
   7365 # func_munge_path_list VARIABLE PATH
   7366 # -----------------------------------
   7367 # VARIABLE is name of variable containing _space_ separated list of
   7368 # directories to be munged by the contents of PATH, which is string
   7369 # having a format:
   7370 # "DIR[:DIR]:"
   7371 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7372 # ":DIR[:DIR]"
   7373 #       string "DIR[ DIR]" will be appended to VARIABLE
   7374 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7375 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7376 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7377 # "DIR[:DIR]"
   7378 #       VARIABLE will be replaced by "DIR[ DIR]"
   7379 func_munge_path_list ()
   7380 {
   7381     case x$2 in
   7382     x)
   7383         ;;
   7384     *:)
   7385         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7386         ;;
   7387     x:*)
   7388         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7389         ;;
   7390     *::*)
   7391         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7392         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7393         ;;
   7394     *)
   7395         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7396         ;;
   7397     esac
   7398 }
   7399 
   7400 ac_ext=c
   7401 ac_cpp='$CPP $CPPFLAGS'
   7402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7406 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7407 # On Suns, sometimes $CPP names a directory.
   7408 if test -n "$CPP" && test -d "$CPP"; then
   7409   CPP=
   7410 fi
   7411 if test -z "$CPP"; then
   7412   if ${ac_cv_prog_CPP+:} false; then :
   7413   $as_echo_n "(cached) " >&6
   7414 else
   7415       # Double quotes because CPP needs to be expanded
   7416     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7417     do
   7418       ac_preproc_ok=false
   7419 for ac_c_preproc_warn_flag in '' yes
   7420 do
   7421   # Use a header file that comes with gcc, so configuring glibc
   7422   # with a fresh cross-compiler works.
   7423   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7424   # <limits.h> exists even on freestanding compilers.
   7425   # On the NeXT, cc -E runs the code through the compiler's parser,
   7426   # not just through cpp. "Syntax error" is here to catch this case.
   7427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7428 /* end confdefs.h.  */
   7429 #ifdef __STDC__
   7430 # include <limits.h>
   7431 #else
   7432 # include <assert.h>
   7433 #endif
   7434 		     Syntax error
   7435 _ACEOF
   7436 if ac_fn_c_try_cpp "$LINENO"; then :
   7437 
   7438 else
   7439   # Broken: fails on valid input.
   7440 continue
   7441 fi
   7442 rm -f conftest.err conftest.i conftest.$ac_ext
   7443 
   7444   # OK, works on sane cases.  Now check whether nonexistent headers
   7445   # can be detected and how.
   7446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7447 /* end confdefs.h.  */
   7448 #include <ac_nonexistent.h>
   7449 _ACEOF
   7450 if ac_fn_c_try_cpp "$LINENO"; then :
   7451   # Broken: success on invalid input.
   7452 continue
   7453 else
   7454   # Passes both tests.
   7455 ac_preproc_ok=:
   7456 break
   7457 fi
   7458 rm -f conftest.err conftest.i conftest.$ac_ext
   7459 
   7460 done
   7461 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7462 rm -f conftest.i conftest.err conftest.$ac_ext
   7463 if $ac_preproc_ok; then :
   7464   break
   7465 fi
   7466 
   7467     done
   7468     ac_cv_prog_CPP=$CPP
   7469 
   7470 fi
   7471   CPP=$ac_cv_prog_CPP
   7472 else
   7473   ac_cv_prog_CPP=$CPP
   7474 fi
   7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7476 $as_echo "$CPP" >&6; }
   7477 ac_preproc_ok=false
   7478 for ac_c_preproc_warn_flag in '' yes
   7479 do
   7480   # Use a header file that comes with gcc, so configuring glibc
   7481   # with a fresh cross-compiler works.
   7482   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7483   # <limits.h> exists even on freestanding compilers.
   7484   # On the NeXT, cc -E runs the code through the compiler's parser,
   7485   # not just through cpp. "Syntax error" is here to catch this case.
   7486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7487 /* end confdefs.h.  */
   7488 #ifdef __STDC__
   7489 # include <limits.h>
   7490 #else
   7491 # include <assert.h>
   7492 #endif
   7493 		     Syntax error
   7494 _ACEOF
   7495 if ac_fn_c_try_cpp "$LINENO"; then :
   7496 
   7497 else
   7498   # Broken: fails on valid input.
   7499 continue
   7500 fi
   7501 rm -f conftest.err conftest.i conftest.$ac_ext
   7502 
   7503   # OK, works on sane cases.  Now check whether nonexistent headers
   7504   # can be detected and how.
   7505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7506 /* end confdefs.h.  */
   7507 #include <ac_nonexistent.h>
   7508 _ACEOF
   7509 if ac_fn_c_try_cpp "$LINENO"; then :
   7510   # Broken: success on invalid input.
   7511 continue
   7512 else
   7513   # Passes both tests.
   7514 ac_preproc_ok=:
   7515 break
   7516 fi
   7517 rm -f conftest.err conftest.i conftest.$ac_ext
   7518 
   7519 done
   7520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7521 rm -f conftest.i conftest.err conftest.$ac_ext
   7522 if $ac_preproc_ok; then :
   7523 
   7524 else
   7525   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7527 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7528 See \`config.log' for more details" "$LINENO" 5; }
   7529 fi
   7530 
   7531 ac_ext=c
   7532 ac_cpp='$CPP $CPPFLAGS'
   7533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7536 
   7537 
   7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7539 $as_echo_n "checking for ANSI C header files... " >&6; }
   7540 if ${ac_cv_header_stdc+:} false; then :
   7541   $as_echo_n "(cached) " >&6
   7542 else
   7543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7544 /* end confdefs.h.  */
   7545 #include <stdlib.h>
   7546 #include <stdarg.h>
   7547 #include <string.h>
   7548 #include <float.h>
   7549 
   7550 int
   7551 main ()
   7552 {
   7553 
   7554   ;
   7555   return 0;
   7556 }
   7557 _ACEOF
   7558 if ac_fn_c_try_compile "$LINENO"; then :
   7559   ac_cv_header_stdc=yes
   7560 else
   7561   ac_cv_header_stdc=no
   7562 fi
   7563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7564 
   7565 if test $ac_cv_header_stdc = yes; then
   7566   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7568 /* end confdefs.h.  */
   7569 #include <string.h>
   7570 
   7571 _ACEOF
   7572 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7573   $EGREP "memchr" >/dev/null 2>&1; then :
   7574 
   7575 else
   7576   ac_cv_header_stdc=no
   7577 fi
   7578 rm -f conftest*
   7579 
   7580 fi
   7581 
   7582 if test $ac_cv_header_stdc = yes; then
   7583   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7585 /* end confdefs.h.  */
   7586 #include <stdlib.h>
   7587 
   7588 _ACEOF
   7589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7590   $EGREP "free" >/dev/null 2>&1; then :
   7591 
   7592 else
   7593   ac_cv_header_stdc=no
   7594 fi
   7595 rm -f conftest*
   7596 
   7597 fi
   7598 
   7599 if test $ac_cv_header_stdc = yes; then
   7600   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7601   if test "$cross_compiling" = yes; then :
   7602   :
   7603 else
   7604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7605 /* end confdefs.h.  */
   7606 #include <ctype.h>
   7607 #include <stdlib.h>
   7608 #if ((' ' & 0x0FF) == 0x020)
   7609 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7610 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7611 #else
   7612 # define ISLOWER(c) \
   7613 		   (('a' <= (c) && (c) <= 'i') \
   7614 		     || ('j' <= (c) && (c) <= 'r') \
   7615 		     || ('s' <= (c) && (c) <= 'z'))
   7616 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7617 #endif
   7618 
   7619 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7620 int
   7621 main ()
   7622 {
   7623   int i;
   7624   for (i = 0; i < 256; i++)
   7625     if (XOR (islower (i), ISLOWER (i))
   7626 	|| toupper (i) != TOUPPER (i))
   7627       return 2;
   7628   return 0;
   7629 }
   7630 _ACEOF
   7631 if ac_fn_c_try_run "$LINENO"; then :
   7632 
   7633 else
   7634   ac_cv_header_stdc=no
   7635 fi
   7636 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7637   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7638 fi
   7639 
   7640 fi
   7641 fi
   7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7643 $as_echo "$ac_cv_header_stdc" >&6; }
   7644 if test $ac_cv_header_stdc = yes; then
   7645 
   7646 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7647 
   7648 fi
   7649 
   7650 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7651 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7652 		  inttypes.h stdint.h unistd.h
   7653 do :
   7654   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7655 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7656 "
   7657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7658   cat >>confdefs.h <<_ACEOF
   7659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7660 _ACEOF
   7661 
   7662 fi
   7663 
   7664 done
   7665 
   7666 
   7667 for ac_header in dlfcn.h
   7668 do :
   7669   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7670 "
   7671 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7672   cat >>confdefs.h <<_ACEOF
   7673 #define HAVE_DLFCN_H 1
   7674 _ACEOF
   7675 
   7676 fi
   7677 
   7678 done
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 # Set options
   7685 
   7686 
   7687 
   7688         enable_dlopen=no
   7689 
   7690 
   7691   enable_win32_dll=no
   7692 
   7693 
   7694             # Check whether --enable-shared was given.
   7695 if test "${enable_shared+set}" = set; then :
   7696   enableval=$enable_shared; p=${PACKAGE-default}
   7697     case $enableval in
   7698     yes) enable_shared=yes ;;
   7699     no) enable_shared=no ;;
   7700     *)
   7701       enable_shared=no
   7702       # Look at the argument we got.  We use all the common list separators.
   7703       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7704       for pkg in $enableval; do
   7705 	IFS=$lt_save_ifs
   7706 	if test "X$pkg" = "X$p"; then
   7707 	  enable_shared=yes
   7708 	fi
   7709       done
   7710       IFS=$lt_save_ifs
   7711       ;;
   7712     esac
   7713 else
   7714   enable_shared=yes
   7715 fi
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725   # Check whether --enable-static was given.
   7726 if test "${enable_static+set}" = set; then :
   7727   enableval=$enable_static; p=${PACKAGE-default}
   7728     case $enableval in
   7729     yes) enable_static=yes ;;
   7730     no) enable_static=no ;;
   7731     *)
   7732      enable_static=no
   7733       # Look at the argument we got.  We use all the common list separators.
   7734       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7735       for pkg in $enableval; do
   7736 	IFS=$lt_save_ifs
   7737 	if test "X$pkg" = "X$p"; then
   7738 	  enable_static=yes
   7739 	fi
   7740       done
   7741       IFS=$lt_save_ifs
   7742       ;;
   7743     esac
   7744 else
   7745   enable_static=yes
   7746 fi
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 # Check whether --with-pic was given.
   7758 if test "${with_pic+set}" = set; then :
   7759   withval=$with_pic; lt_p=${PACKAGE-default}
   7760     case $withval in
   7761     yes|no) pic_mode=$withval ;;
   7762     *)
   7763       pic_mode=default
   7764       # Look at the argument we got.  We use all the common list separators.
   7765       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7766       for lt_pkg in $withval; do
   7767 	IFS=$lt_save_ifs
   7768 	if test "X$lt_pkg" = "X$lt_p"; then
   7769 	  pic_mode=yes
   7770 	fi
   7771       done
   7772       IFS=$lt_save_ifs
   7773       ;;
   7774     esac
   7775 else
   7776   pic_mode=default
   7777 fi
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786   # Check whether --enable-fast-install was given.
   7787 if test "${enable_fast_install+set}" = set; then :
   7788   enableval=$enable_fast_install; p=${PACKAGE-default}
   7789     case $enableval in
   7790     yes) enable_fast_install=yes ;;
   7791     no) enable_fast_install=no ;;
   7792     *)
   7793       enable_fast_install=no
   7794       # Look at the argument we got.  We use all the common list separators.
   7795       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7796       for pkg in $enableval; do
   7797 	IFS=$lt_save_ifs
   7798 	if test "X$pkg" = "X$p"; then
   7799 	  enable_fast_install=yes
   7800 	fi
   7801       done
   7802       IFS=$lt_save_ifs
   7803       ;;
   7804     esac
   7805 else
   7806   enable_fast_install=yes
   7807 fi
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816   shared_archive_member_spec=
   7817 case $host,$enable_shared in
   7818 power*-*-aix[5-9]*,yes)
   7819   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   7820 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   7821 
   7822 # Check whether --with-aix-soname was given.
   7823 if test "${with_aix_soname+set}" = set; then :
   7824   withval=$with_aix_soname; case $withval in
   7825     aix|svr4|both)
   7826       ;;
   7827     *)
   7828       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   7829       ;;
   7830     esac
   7831     lt_cv_with_aix_soname=$with_aix_soname
   7832 else
   7833   if ${lt_cv_with_aix_soname+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   lt_cv_with_aix_soname=aix
   7837 fi
   7838 
   7839     with_aix_soname=$lt_cv_with_aix_soname
   7840 fi
   7841 
   7842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   7843 $as_echo "$with_aix_soname" >&6; }
   7844   if test aix != "$with_aix_soname"; then
   7845     # For the AIX way of multilib, we name the shared archive member
   7846     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   7847     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   7848     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   7849     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   7850     if test 64 = "${OBJECT_MODE-32}"; then
   7851       shared_archive_member_spec=shr_64
   7852     else
   7853       shared_archive_member_spec=shr
   7854     fi
   7855   fi
   7856   ;;
   7857 *)
   7858   with_aix_soname=aix
   7859   ;;
   7860 esac
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 # This can be used to rebuild libtool when needed
   7872 LIBTOOL_DEPS=$ltmain
   7873 
   7874 # Always use our own libtool.
   7875 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 
   7906 test -z "$LN_S" && LN_S="ln -s"
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 if test -n "${ZSH_VERSION+set}"; then
   7922    setopt NO_GLOB_SUBST
   7923 fi
   7924 
   7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7926 $as_echo_n "checking for objdir... " >&6; }
   7927 if ${lt_cv_objdir+:} false; then :
   7928   $as_echo_n "(cached) " >&6
   7929 else
   7930   rm -f .libs 2>/dev/null
   7931 mkdir .libs 2>/dev/null
   7932 if test -d .libs; then
   7933   lt_cv_objdir=.libs
   7934 else
   7935   # MS-DOS does not allow filenames that begin with a dot.
   7936   lt_cv_objdir=_libs
   7937 fi
   7938 rmdir .libs 2>/dev/null
   7939 fi
   7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7941 $as_echo "$lt_cv_objdir" >&6; }
   7942 objdir=$lt_cv_objdir
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 cat >>confdefs.h <<_ACEOF
   7949 #define LT_OBJDIR "$lt_cv_objdir/"
   7950 _ACEOF
   7951 
   7952 
   7953 
   7954 
   7955 case $host_os in
   7956 aix3*)
   7957   # AIX sometimes has problems with the GCC collect2 program.  For some
   7958   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7959   # vanish in a puff of smoke.
   7960   if test set != "${COLLECT_NAMES+set}"; then
   7961     COLLECT_NAMES=
   7962     export COLLECT_NAMES
   7963   fi
   7964   ;;
   7965 esac
   7966 
   7967 # Global variables:
   7968 ofile=libtool
   7969 can_build_shared=yes
   7970 
   7971 # All known linkers require a '.a' archive for static linking (except MSVC,
   7972 # which needs '.lib').
   7973 libext=a
   7974 
   7975 with_gnu_ld=$lt_cv_prog_gnu_ld
   7976 
   7977 old_CC=$CC
   7978 old_CFLAGS=$CFLAGS
   7979 
   7980 # Set sane defaults for various variables
   7981 test -z "$CC" && CC=cc
   7982 test -z "$LTCC" && LTCC=$CC
   7983 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7984 test -z "$LD" && LD=ld
   7985 test -z "$ac_objext" && ac_objext=o
   7986 
   7987 func_cc_basename $compiler
   7988 cc_basename=$func_cc_basename_result
   7989 
   7990 
   7991 # Only perform the check for file, if the check method requires it
   7992 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7993 case $deplibs_check_method in
   7994 file_magic*)
   7995   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7996     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7997 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7998 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7999   $as_echo_n "(cached) " >&6
   8000 else
   8001   case $MAGIC_CMD in
   8002 [\\/*] |  ?:[\\/]*)
   8003   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8004   ;;
   8005 *)
   8006   lt_save_MAGIC_CMD=$MAGIC_CMD
   8007   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8008   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8009   for ac_dir in $ac_dummy; do
   8010     IFS=$lt_save_ifs
   8011     test -z "$ac_dir" && ac_dir=.
   8012     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8013       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8014       if test -n "$file_magic_test_file"; then
   8015 	case $deplibs_check_method in
   8016 	"file_magic "*)
   8017 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8018 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8019 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8020 	    $EGREP "$file_magic_regex" > /dev/null; then
   8021 	    :
   8022 	  else
   8023 	    cat <<_LT_EOF 1>&2
   8024 
   8025 *** Warning: the command libtool uses to detect shared libraries,
   8026 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8027 *** The result is that libtool may fail to recognize shared libraries
   8028 *** as such.  This will affect the creation of libtool libraries that
   8029 *** depend on shared libraries, but programs linked with such libtool
   8030 *** libraries will work regardless of this problem.  Nevertheless, you
   8031 *** may want to report the problem to your system manager and/or to
   8032 *** bug-libtool (at] gnu.org
   8033 
   8034 _LT_EOF
   8035 	  fi ;;
   8036 	esac
   8037       fi
   8038       break
   8039     fi
   8040   done
   8041   IFS=$lt_save_ifs
   8042   MAGIC_CMD=$lt_save_MAGIC_CMD
   8043   ;;
   8044 esac
   8045 fi
   8046 
   8047 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8048 if test -n "$MAGIC_CMD"; then
   8049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8050 $as_echo "$MAGIC_CMD" >&6; }
   8051 else
   8052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8053 $as_echo "no" >&6; }
   8054 fi
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8061   if test -n "$ac_tool_prefix"; then
   8062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8063 $as_echo_n "checking for file... " >&6; }
   8064 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8065   $as_echo_n "(cached) " >&6
   8066 else
   8067   case $MAGIC_CMD in
   8068 [\\/*] |  ?:[\\/]*)
   8069   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8070   ;;
   8071 *)
   8072   lt_save_MAGIC_CMD=$MAGIC_CMD
   8073   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8074   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8075   for ac_dir in $ac_dummy; do
   8076     IFS=$lt_save_ifs
   8077     test -z "$ac_dir" && ac_dir=.
   8078     if test -f "$ac_dir/file"; then
   8079       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8080       if test -n "$file_magic_test_file"; then
   8081 	case $deplibs_check_method in
   8082 	"file_magic "*)
   8083 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8084 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8085 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8086 	    $EGREP "$file_magic_regex" > /dev/null; then
   8087 	    :
   8088 	  else
   8089 	    cat <<_LT_EOF 1>&2
   8090 
   8091 *** Warning: the command libtool uses to detect shared libraries,
   8092 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8093 *** The result is that libtool may fail to recognize shared libraries
   8094 *** as such.  This will affect the creation of libtool libraries that
   8095 *** depend on shared libraries, but programs linked with such libtool
   8096 *** libraries will work regardless of this problem.  Nevertheless, you
   8097 *** may want to report the problem to your system manager and/or to
   8098 *** bug-libtool (at] gnu.org
   8099 
   8100 _LT_EOF
   8101 	  fi ;;
   8102 	esac
   8103       fi
   8104       break
   8105     fi
   8106   done
   8107   IFS=$lt_save_ifs
   8108   MAGIC_CMD=$lt_save_MAGIC_CMD
   8109   ;;
   8110 esac
   8111 fi
   8112 
   8113 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8114 if test -n "$MAGIC_CMD"; then
   8115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8116 $as_echo "$MAGIC_CMD" >&6; }
   8117 else
   8118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8119 $as_echo "no" >&6; }
   8120 fi
   8121 
   8122 
   8123   else
   8124     MAGIC_CMD=:
   8125   fi
   8126 fi
   8127 
   8128   fi
   8129   ;;
   8130 esac
   8131 
   8132 # Use C for the default configuration in the libtool script
   8133 
   8134 lt_save_CC=$CC
   8135 ac_ext=c
   8136 ac_cpp='$CPP $CPPFLAGS'
   8137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8140 
   8141 
   8142 # Source file extension for C test sources.
   8143 ac_ext=c
   8144 
   8145 # Object file extension for compiled C test sources.
   8146 objext=o
   8147 objext=$objext
   8148 
   8149 # Code to be used in simple compile tests
   8150 lt_simple_compile_test_code="int some_variable = 0;"
   8151 
   8152 # Code to be used in simple link tests
   8153 lt_simple_link_test_code='int main(){return(0);}'
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 # If no C compiler was specified, use CC.
   8162 LTCC=${LTCC-"$CC"}
   8163 
   8164 # If no C compiler flags were specified, use CFLAGS.
   8165 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8166 
   8167 # Allow CC to be a program name with arguments.
   8168 compiler=$CC
   8169 
   8170 # Save the default compiler, since it gets overwritten when the other
   8171 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8172 compiler_DEFAULT=$CC
   8173 
   8174 # save warnings/boilerplate of simple test code
   8175 ac_outfile=conftest.$ac_objext
   8176 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8177 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8178 _lt_compiler_boilerplate=`cat conftest.err`
   8179 $RM conftest*
   8180 
   8181 ac_outfile=conftest.$ac_objext
   8182 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8183 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8184 _lt_linker_boilerplate=`cat conftest.err`
   8185 $RM -r conftest*
   8186 
   8187 
   8188 ## CAVEAT EMPTOR:
   8189 ## There is no encapsulation within the following macros, do not change
   8190 ## the running order or otherwise move them around unless you know exactly
   8191 ## what you are doing...
   8192 if test -n "$compiler"; then
   8193 
   8194 lt_prog_compiler_no_builtin_flag=
   8195 
   8196 if test yes = "$GCC"; then
   8197   case $cc_basename in
   8198   nvcc*)
   8199     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8200   *)
   8201     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8202   esac
   8203 
   8204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8205 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8206 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8207   $as_echo_n "(cached) " >&6
   8208 else
   8209   lt_cv_prog_compiler_rtti_exceptions=no
   8210    ac_outfile=conftest.$ac_objext
   8211    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8212    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8213    # Insert the option either (1) after the last *FLAGS variable, or
   8214    # (2) before a word containing "conftest.", or (3) at the end.
   8215    # Note that $ac_compile itself does not contain backslashes and begins
   8216    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8217    # The option is referenced via a variable to avoid confusing sed.
   8218    lt_compile=`echo "$ac_compile" | $SED \
   8219    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8220    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8221    -e 's:$: $lt_compiler_flag:'`
   8222    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8223    (eval "$lt_compile" 2>conftest.err)
   8224    ac_status=$?
   8225    cat conftest.err >&5
   8226    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8227    if (exit $ac_status) && test -s "$ac_outfile"; then
   8228      # The compiler can only warn and ignore the option if not recognized
   8229      # So say no if there are warnings other than the usual output.
   8230      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8231      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8232      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8233        lt_cv_prog_compiler_rtti_exceptions=yes
   8234      fi
   8235    fi
   8236    $RM conftest*
   8237 
   8238 fi
   8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8240 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8241 
   8242 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8243     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8244 else
   8245     :
   8246 fi
   8247 
   8248 fi
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255   lt_prog_compiler_wl=
   8256 lt_prog_compiler_pic=
   8257 lt_prog_compiler_static=
   8258 
   8259 
   8260   if test yes = "$GCC"; then
   8261     lt_prog_compiler_wl='-Wl,'
   8262     lt_prog_compiler_static='-static'
   8263 
   8264     case $host_os in
   8265       aix*)
   8266       # All AIX code is PIC.
   8267       if test ia64 = "$host_cpu"; then
   8268 	# AIX 5 now supports IA64 processor
   8269 	lt_prog_compiler_static='-Bstatic'
   8270       fi
   8271       lt_prog_compiler_pic='-fPIC'
   8272       ;;
   8273 
   8274     amigaos*)
   8275       case $host_cpu in
   8276       powerpc)
   8277             # see comment about AmigaOS4 .so support
   8278             lt_prog_compiler_pic='-fPIC'
   8279         ;;
   8280       m68k)
   8281             # FIXME: we need at least 68020 code to build shared libraries, but
   8282             # adding the '-m68020' flag to GCC prevents building anything better,
   8283             # like '-m68040'.
   8284             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8285         ;;
   8286       esac
   8287       ;;
   8288 
   8289     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8290       # PIC is the default for these OSes.
   8291       ;;
   8292 
   8293     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8294       # This hack is so that the source file can tell whether it is being
   8295       # built for inclusion in a dll (and should export symbols for example).
   8296       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8297       # (--disable-auto-import) libraries
   8298       lt_prog_compiler_pic='-DDLL_EXPORT'
   8299       case $host_os in
   8300       os2*)
   8301 	lt_prog_compiler_static='$wl-static'
   8302 	;;
   8303       esac
   8304       ;;
   8305 
   8306     darwin* | rhapsody*)
   8307       # PIC is the default on this platform
   8308       # Common symbols not allowed in MH_DYLIB files
   8309       lt_prog_compiler_pic='-fno-common'
   8310       ;;
   8311 
   8312     haiku*)
   8313       # PIC is the default for Haiku.
   8314       # The "-static" flag exists, but is broken.
   8315       lt_prog_compiler_static=
   8316       ;;
   8317 
   8318     hpux*)
   8319       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8320       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8321       # sets the default TLS model and affects inlining.
   8322       case $host_cpu in
   8323       hppa*64*)
   8324 	# +Z the default
   8325 	;;
   8326       *)
   8327 	lt_prog_compiler_pic='-fPIC'
   8328 	;;
   8329       esac
   8330       ;;
   8331 
   8332     interix[3-9]*)
   8333       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8334       # Instead, we relocate shared libraries at runtime.
   8335       ;;
   8336 
   8337     msdosdjgpp*)
   8338       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8339       # on systems that don't support them.
   8340       lt_prog_compiler_can_build_shared=no
   8341       enable_shared=no
   8342       ;;
   8343 
   8344     *nto* | *qnx*)
   8345       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8346       # it will coredump.
   8347       lt_prog_compiler_pic='-fPIC -shared'
   8348       ;;
   8349 
   8350     sysv4*MP*)
   8351       if test -d /usr/nec; then
   8352 	lt_prog_compiler_pic=-Kconform_pic
   8353       fi
   8354       ;;
   8355 
   8356     *)
   8357       lt_prog_compiler_pic='-fPIC'
   8358       ;;
   8359     esac
   8360 
   8361     case $cc_basename in
   8362     nvcc*) # Cuda Compiler Driver 2.2
   8363       lt_prog_compiler_wl='-Xlinker '
   8364       if test -n "$lt_prog_compiler_pic"; then
   8365         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8366       fi
   8367       ;;
   8368     esac
   8369   else
   8370     # PORTME Check for flag to pass linker flags through the system compiler.
   8371     case $host_os in
   8372     aix*)
   8373       lt_prog_compiler_wl='-Wl,'
   8374       if test ia64 = "$host_cpu"; then
   8375 	# AIX 5 now supports IA64 processor
   8376 	lt_prog_compiler_static='-Bstatic'
   8377       else
   8378 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8379       fi
   8380       ;;
   8381 
   8382     darwin* | rhapsody*)
   8383       # PIC is the default on this platform
   8384       # Common symbols not allowed in MH_DYLIB files
   8385       lt_prog_compiler_pic='-fno-common'
   8386       case $cc_basename in
   8387       nagfor*)
   8388         # NAG Fortran compiler
   8389         lt_prog_compiler_wl='-Wl,-Wl,,'
   8390         lt_prog_compiler_pic='-PIC'
   8391         lt_prog_compiler_static='-Bstatic'
   8392         ;;
   8393       esac
   8394       ;;
   8395 
   8396     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8397       # This hack is so that the source file can tell whether it is being
   8398       # built for inclusion in a dll (and should export symbols for example).
   8399       lt_prog_compiler_pic='-DDLL_EXPORT'
   8400       case $host_os in
   8401       os2*)
   8402 	lt_prog_compiler_static='$wl-static'
   8403 	;;
   8404       esac
   8405       ;;
   8406 
   8407     hpux9* | hpux10* | hpux11*)
   8408       lt_prog_compiler_wl='-Wl,'
   8409       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8410       # not for PA HP-UX.
   8411       case $host_cpu in
   8412       hppa*64*|ia64*)
   8413 	# +Z the default
   8414 	;;
   8415       *)
   8416 	lt_prog_compiler_pic='+Z'
   8417 	;;
   8418       esac
   8419       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8420       lt_prog_compiler_static='$wl-a ${wl}archive'
   8421       ;;
   8422 
   8423     irix5* | irix6* | nonstopux*)
   8424       lt_prog_compiler_wl='-Wl,'
   8425       # PIC (with -KPIC) is the default.
   8426       lt_prog_compiler_static='-non_shared'
   8427       ;;
   8428 
   8429     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8430       case $cc_basename in
   8431       # old Intel for x86_64, which still supported -KPIC.
   8432       ecc*)
   8433 	lt_prog_compiler_wl='-Wl,'
   8434 	lt_prog_compiler_pic='-KPIC'
   8435 	lt_prog_compiler_static='-static'
   8436         ;;
   8437       # icc used to be incompatible with GCC.
   8438       # ICC 10 doesn't accept -KPIC any more.
   8439       icc* | ifort*)
   8440 	lt_prog_compiler_wl='-Wl,'
   8441 	lt_prog_compiler_pic='-fPIC'
   8442 	lt_prog_compiler_static='-static'
   8443         ;;
   8444       # Lahey Fortran 8.1.
   8445       lf95*)
   8446 	lt_prog_compiler_wl='-Wl,'
   8447 	lt_prog_compiler_pic='--shared'
   8448 	lt_prog_compiler_static='--static'
   8449 	;;
   8450       nagfor*)
   8451 	# NAG Fortran compiler
   8452 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8453 	lt_prog_compiler_pic='-PIC'
   8454 	lt_prog_compiler_static='-Bstatic'
   8455 	;;
   8456       tcc*)
   8457 	# Fabrice Bellard et al's Tiny C Compiler
   8458 	lt_prog_compiler_wl='-Wl,'
   8459 	lt_prog_compiler_pic='-fPIC'
   8460 	lt_prog_compiler_static='-static'
   8461 	;;
   8462       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8463         # Portland Group compilers (*not* the Pentium gcc compiler,
   8464 	# which looks to be a dead project)
   8465 	lt_prog_compiler_wl='-Wl,'
   8466 	lt_prog_compiler_pic='-fpic'
   8467 	lt_prog_compiler_static='-Bstatic'
   8468         ;;
   8469       ccc*)
   8470         lt_prog_compiler_wl='-Wl,'
   8471         # All Alpha code is PIC.
   8472         lt_prog_compiler_static='-non_shared'
   8473         ;;
   8474       xl* | bgxl* | bgf* | mpixl*)
   8475 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8476 	lt_prog_compiler_wl='-Wl,'
   8477 	lt_prog_compiler_pic='-qpic'
   8478 	lt_prog_compiler_static='-qstaticlink'
   8479 	;;
   8480       *)
   8481 	case `$CC -V 2>&1 | sed 5q` in
   8482 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8483 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8484 	  lt_prog_compiler_pic='-KPIC'
   8485 	  lt_prog_compiler_static='-Bstatic'
   8486 	  lt_prog_compiler_wl=''
   8487 	  ;;
   8488 	*Sun\ F* | *Sun*Fortran*)
   8489 	  lt_prog_compiler_pic='-KPIC'
   8490 	  lt_prog_compiler_static='-Bstatic'
   8491 	  lt_prog_compiler_wl='-Qoption ld '
   8492 	  ;;
   8493 	*Sun\ C*)
   8494 	  # Sun C 5.9
   8495 	  lt_prog_compiler_pic='-KPIC'
   8496 	  lt_prog_compiler_static='-Bstatic'
   8497 	  lt_prog_compiler_wl='-Wl,'
   8498 	  ;;
   8499         *Intel*\ [CF]*Compiler*)
   8500 	  lt_prog_compiler_wl='-Wl,'
   8501 	  lt_prog_compiler_pic='-fPIC'
   8502 	  lt_prog_compiler_static='-static'
   8503 	  ;;
   8504 	*Portland\ Group*)
   8505 	  lt_prog_compiler_wl='-Wl,'
   8506 	  lt_prog_compiler_pic='-fpic'
   8507 	  lt_prog_compiler_static='-Bstatic'
   8508 	  ;;
   8509 	esac
   8510 	;;
   8511       esac
   8512       ;;
   8513 
   8514     newsos6)
   8515       lt_prog_compiler_pic='-KPIC'
   8516       lt_prog_compiler_static='-Bstatic'
   8517       ;;
   8518 
   8519     *nto* | *qnx*)
   8520       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8521       # it will coredump.
   8522       lt_prog_compiler_pic='-fPIC -shared'
   8523       ;;
   8524 
   8525     osf3* | osf4* | osf5*)
   8526       lt_prog_compiler_wl='-Wl,'
   8527       # All OSF/1 code is PIC.
   8528       lt_prog_compiler_static='-non_shared'
   8529       ;;
   8530 
   8531     rdos*)
   8532       lt_prog_compiler_static='-non_shared'
   8533       ;;
   8534 
   8535     solaris*)
   8536       lt_prog_compiler_pic='-KPIC'
   8537       lt_prog_compiler_static='-Bstatic'
   8538       case $cc_basename in
   8539       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8540 	lt_prog_compiler_wl='-Qoption ld ';;
   8541       *)
   8542 	lt_prog_compiler_wl='-Wl,';;
   8543       esac
   8544       ;;
   8545 
   8546     sunos4*)
   8547       lt_prog_compiler_wl='-Qoption ld '
   8548       lt_prog_compiler_pic='-PIC'
   8549       lt_prog_compiler_static='-Bstatic'
   8550       ;;
   8551 
   8552     sysv4 | sysv4.2uw2* | sysv4.3*)
   8553       lt_prog_compiler_wl='-Wl,'
   8554       lt_prog_compiler_pic='-KPIC'
   8555       lt_prog_compiler_static='-Bstatic'
   8556       ;;
   8557 
   8558     sysv4*MP*)
   8559       if test -d /usr/nec; then
   8560 	lt_prog_compiler_pic='-Kconform_pic'
   8561 	lt_prog_compiler_static='-Bstatic'
   8562       fi
   8563       ;;
   8564 
   8565     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8566       lt_prog_compiler_wl='-Wl,'
   8567       lt_prog_compiler_pic='-KPIC'
   8568       lt_prog_compiler_static='-Bstatic'
   8569       ;;
   8570 
   8571     unicos*)
   8572       lt_prog_compiler_wl='-Wl,'
   8573       lt_prog_compiler_can_build_shared=no
   8574       ;;
   8575 
   8576     uts4*)
   8577       lt_prog_compiler_pic='-pic'
   8578       lt_prog_compiler_static='-Bstatic'
   8579       ;;
   8580 
   8581     *)
   8582       lt_prog_compiler_can_build_shared=no
   8583       ;;
   8584     esac
   8585   fi
   8586 
   8587 case $host_os in
   8588   # For platforms that do not support PIC, -DPIC is meaningless:
   8589   *djgpp*)
   8590     lt_prog_compiler_pic=
   8591     ;;
   8592   *)
   8593     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8594     ;;
   8595 esac
   8596 
   8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8598 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8599 if ${lt_cv_prog_compiler_pic+:} false; then :
   8600   $as_echo_n "(cached) " >&6
   8601 else
   8602   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8603 fi
   8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8605 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8606 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8607 
   8608 #
   8609 # Check to make sure the PIC flag actually works.
   8610 #
   8611 if test -n "$lt_prog_compiler_pic"; then
   8612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8613 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8614 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8615   $as_echo_n "(cached) " >&6
   8616 else
   8617   lt_cv_prog_compiler_pic_works=no
   8618    ac_outfile=conftest.$ac_objext
   8619    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8620    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8621    # Insert the option either (1) after the last *FLAGS variable, or
   8622    # (2) before a word containing "conftest.", or (3) at the end.
   8623    # Note that $ac_compile itself does not contain backslashes and begins
   8624    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8625    # The option is referenced via a variable to avoid confusing sed.
   8626    lt_compile=`echo "$ac_compile" | $SED \
   8627    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8628    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8629    -e 's:$: $lt_compiler_flag:'`
   8630    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8631    (eval "$lt_compile" 2>conftest.err)
   8632    ac_status=$?
   8633    cat conftest.err >&5
   8634    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8635    if (exit $ac_status) && test -s "$ac_outfile"; then
   8636      # The compiler can only warn and ignore the option if not recognized
   8637      # So say no if there are warnings other than the usual output.
   8638      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8639      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8640      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8641        lt_cv_prog_compiler_pic_works=yes
   8642      fi
   8643    fi
   8644    $RM conftest*
   8645 
   8646 fi
   8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8648 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8649 
   8650 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8651     case $lt_prog_compiler_pic in
   8652      "" | " "*) ;;
   8653      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8654      esac
   8655 else
   8656     lt_prog_compiler_pic=
   8657      lt_prog_compiler_can_build_shared=no
   8658 fi
   8659 
   8660 fi
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 #
   8673 # Check to make sure the static flag actually works.
   8674 #
   8675 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8677 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8678 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8679   $as_echo_n "(cached) " >&6
   8680 else
   8681   lt_cv_prog_compiler_static_works=no
   8682    save_LDFLAGS=$LDFLAGS
   8683    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8684    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8685    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8686      # The linker can only warn and ignore the option if not recognized
   8687      # So say no if there are warnings
   8688      if test -s conftest.err; then
   8689        # Append any errors to the config.log.
   8690        cat conftest.err 1>&5
   8691        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8692        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8693        if diff conftest.exp conftest.er2 >/dev/null; then
   8694          lt_cv_prog_compiler_static_works=yes
   8695        fi
   8696      else
   8697        lt_cv_prog_compiler_static_works=yes
   8698      fi
   8699    fi
   8700    $RM -r conftest*
   8701    LDFLAGS=$save_LDFLAGS
   8702 
   8703 fi
   8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8705 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8706 
   8707 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8708     :
   8709 else
   8710     lt_prog_compiler_static=
   8711 fi
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8720 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8721 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8722   $as_echo_n "(cached) " >&6
   8723 else
   8724   lt_cv_prog_compiler_c_o=no
   8725    $RM -r conftest 2>/dev/null
   8726    mkdir conftest
   8727    cd conftest
   8728    mkdir out
   8729    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8730 
   8731    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8732    # Insert the option either (1) after the last *FLAGS variable, or
   8733    # (2) before a word containing "conftest.", or (3) at the end.
   8734    # Note that $ac_compile itself does not contain backslashes and begins
   8735    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8736    lt_compile=`echo "$ac_compile" | $SED \
   8737    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8738    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8739    -e 's:$: $lt_compiler_flag:'`
   8740    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8741    (eval "$lt_compile" 2>out/conftest.err)
   8742    ac_status=$?
   8743    cat out/conftest.err >&5
   8744    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8745    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8746    then
   8747      # The compiler can only warn and ignore the option if not recognized
   8748      # So say no if there are warnings
   8749      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8750      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8751      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8752        lt_cv_prog_compiler_c_o=yes
   8753      fi
   8754    fi
   8755    chmod u+w . 2>&5
   8756    $RM conftest*
   8757    # SGI C++ compiler will create directory out/ii_files/ for
   8758    # template instantiation
   8759    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8760    $RM out/* && rmdir out
   8761    cd ..
   8762    $RM -r conftest
   8763    $RM conftest*
   8764 
   8765 fi
   8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8767 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8775 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8776 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8777   $as_echo_n "(cached) " >&6
   8778 else
   8779   lt_cv_prog_compiler_c_o=no
   8780    $RM -r conftest 2>/dev/null
   8781    mkdir conftest
   8782    cd conftest
   8783    mkdir out
   8784    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8785 
   8786    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8787    # Insert the option either (1) after the last *FLAGS variable, or
   8788    # (2) before a word containing "conftest.", or (3) at the end.
   8789    # Note that $ac_compile itself does not contain backslashes and begins
   8790    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8791    lt_compile=`echo "$ac_compile" | $SED \
   8792    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8793    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8794    -e 's:$: $lt_compiler_flag:'`
   8795    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8796    (eval "$lt_compile" 2>out/conftest.err)
   8797    ac_status=$?
   8798    cat out/conftest.err >&5
   8799    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8800    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8801    then
   8802      # The compiler can only warn and ignore the option if not recognized
   8803      # So say no if there are warnings
   8804      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8805      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8806      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8807        lt_cv_prog_compiler_c_o=yes
   8808      fi
   8809    fi
   8810    chmod u+w . 2>&5
   8811    $RM conftest*
   8812    # SGI C++ compiler will create directory out/ii_files/ for
   8813    # template instantiation
   8814    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8815    $RM out/* && rmdir out
   8816    cd ..
   8817    $RM -r conftest
   8818    $RM conftest*
   8819 
   8820 fi
   8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8822 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8823 
   8824 
   8825 
   8826 
   8827 hard_links=nottested
   8828 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   8829   # do not overwrite the value of need_locks provided by the user
   8830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8831 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8832   hard_links=yes
   8833   $RM conftest*
   8834   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8835   touch conftest.a
   8836   ln conftest.a conftest.b 2>&5 || hard_links=no
   8837   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8839 $as_echo "$hard_links" >&6; }
   8840   if test no = "$hard_links"; then
   8841     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   8842 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   8843     need_locks=warn
   8844   fi
   8845 else
   8846   need_locks=no
   8847 fi
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8855 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8856 
   8857   runpath_var=
   8858   allow_undefined_flag=
   8859   always_export_symbols=no
   8860   archive_cmds=
   8861   archive_expsym_cmds=
   8862   compiler_needs_object=no
   8863   enable_shared_with_static_runtimes=no
   8864   export_dynamic_flag_spec=
   8865   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8866   hardcode_automatic=no
   8867   hardcode_direct=no
   8868   hardcode_direct_absolute=no
   8869   hardcode_libdir_flag_spec=
   8870   hardcode_libdir_separator=
   8871   hardcode_minus_L=no
   8872   hardcode_shlibpath_var=unsupported
   8873   inherit_rpath=no
   8874   link_all_deplibs=unknown
   8875   module_cmds=
   8876   module_expsym_cmds=
   8877   old_archive_from_new_cmds=
   8878   old_archive_from_expsyms_cmds=
   8879   thread_safe_flag_spec=
   8880   whole_archive_flag_spec=
   8881   # include_expsyms should be a list of space-separated symbols to be *always*
   8882   # included in the symbol list
   8883   include_expsyms=
   8884   # exclude_expsyms can be an extended regexp of symbols to exclude
   8885   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   8886   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   8887   # as well as any symbol that contains 'd'.
   8888   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8889   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8890   # platforms (ab)use it in PIC code, but their linkers get confused if
   8891   # the symbol is explicitly referenced.  Since portable code cannot
   8892   # rely on this symbol name, it's probably fine to never include it in
   8893   # preloaded symbol tables.
   8894   # Exclude shared library initialization/finalization symbols.
   8895   extract_expsyms_cmds=
   8896 
   8897   case $host_os in
   8898   cygwin* | mingw* | pw32* | cegcc*)
   8899     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8900     # When not using gcc, we currently assume that we are using
   8901     # Microsoft Visual C++.
   8902     if test yes != "$GCC"; then
   8903       with_gnu_ld=no
   8904     fi
   8905     ;;
   8906   interix*)
   8907     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8908     with_gnu_ld=yes
   8909     ;;
   8910   openbsd* | bitrig*)
   8911     with_gnu_ld=no
   8912     ;;
   8913   esac
   8914 
   8915   ld_shlibs=yes
   8916 
   8917   # On some targets, GNU ld is compatible enough with the native linker
   8918   # that we're better off using the native interface for both.
   8919   lt_use_gnu_ld_interface=no
   8920   if test yes = "$with_gnu_ld"; then
   8921     case $host_os in
   8922       aix*)
   8923 	# The AIX port of GNU ld has always aspired to compatibility
   8924 	# with the native linker.  However, as the warning in the GNU ld
   8925 	# block says, versions before 2.19.5* couldn't really create working
   8926 	# shared libraries, regardless of the interface used.
   8927 	case `$LD -v 2>&1` in
   8928 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8929 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8930 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8931 	  *)
   8932 	    lt_use_gnu_ld_interface=yes
   8933 	    ;;
   8934 	esac
   8935 	;;
   8936       *)
   8937 	lt_use_gnu_ld_interface=yes
   8938 	;;
   8939     esac
   8940   fi
   8941 
   8942   if test yes = "$lt_use_gnu_ld_interface"; then
   8943     # If archive_cmds runs LD, not CC, wlarc should be empty
   8944     wlarc='$wl'
   8945 
   8946     # Set some defaults for GNU ld with shared library support. These
   8947     # are reset later if shared libraries are not supported. Putting them
   8948     # here allows them to be overridden if necessary.
   8949     runpath_var=LD_RUN_PATH
   8950     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   8951     export_dynamic_flag_spec='$wl--export-dynamic'
   8952     # ancient GNU ld didn't support --whole-archive et. al.
   8953     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8954       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   8955     else
   8956       whole_archive_flag_spec=
   8957     fi
   8958     supports_anon_versioning=no
   8959     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   8960       *GNU\ gold*) supports_anon_versioning=yes ;;
   8961       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8962       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8963       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8964       *\ 2.11.*) ;; # other 2.11 versions
   8965       *) supports_anon_versioning=yes ;;
   8966     esac
   8967 
   8968     # See if GNU ld supports shared libraries.
   8969     case $host_os in
   8970     aix[3-9]*)
   8971       # On AIX/PPC, the GNU linker is very broken
   8972       if test ia64 != "$host_cpu"; then
   8973 	ld_shlibs=no
   8974 	cat <<_LT_EOF 1>&2
   8975 
   8976 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8977 *** to be unable to reliably create shared libraries on AIX.
   8978 *** Therefore, libtool is disabling shared libraries support.  If you
   8979 *** really care for shared libraries, you may want to install binutils
   8980 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8981 *** You will then need to restart the configuration process.
   8982 
   8983 _LT_EOF
   8984       fi
   8985       ;;
   8986 
   8987     amigaos*)
   8988       case $host_cpu in
   8989       powerpc)
   8990             # see comment about AmigaOS4 .so support
   8991             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   8992             archive_expsym_cmds=''
   8993         ;;
   8994       m68k)
   8995             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)'
   8996             hardcode_libdir_flag_spec='-L$libdir'
   8997             hardcode_minus_L=yes
   8998         ;;
   8999       esac
   9000       ;;
   9001 
   9002     beos*)
   9003       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9004 	allow_undefined_flag=unsupported
   9005 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9006 	# support --undefined.  This deserves some investigation.  FIXME
   9007 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9008       else
   9009 	ld_shlibs=no
   9010       fi
   9011       ;;
   9012 
   9013     cygwin* | mingw* | pw32* | cegcc*)
   9014       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9015       # as there is no search path for DLLs.
   9016       hardcode_libdir_flag_spec='-L$libdir'
   9017       export_dynamic_flag_spec='$wl--export-all-symbols'
   9018       allow_undefined_flag=unsupported
   9019       always_export_symbols=no
   9020       enable_shared_with_static_runtimes=yes
   9021       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'
   9022       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9023 
   9024       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9025         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9026 	# If the export-symbols file already is a .def file, use it as
   9027 	# is; otherwise, prepend EXPORTS...
   9028 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9029           cp $export_symbols $output_objdir/$soname.def;
   9030         else
   9031           echo EXPORTS > $output_objdir/$soname.def;
   9032           cat $export_symbols >> $output_objdir/$soname.def;
   9033         fi~
   9034         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9035       else
   9036 	ld_shlibs=no
   9037       fi
   9038       ;;
   9039 
   9040     haiku*)
   9041       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9042       link_all_deplibs=yes
   9043       ;;
   9044 
   9045     os2*)
   9046       hardcode_libdir_flag_spec='-L$libdir'
   9047       hardcode_minus_L=yes
   9048       allow_undefined_flag=unsupported
   9049       shrext_cmds=.dll
   9050       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9051 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9052 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9053 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9054 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9055 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9056 	emximp -o $lib $output_objdir/$libname.def'
   9057       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9058 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9059 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9060 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9061 	prefix_cmds="$SED"~
   9062 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9063 	  prefix_cmds="$prefix_cmds -e 1d";
   9064 	fi~
   9065 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9066 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9067 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9068 	emximp -o $lib $output_objdir/$libname.def'
   9069       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9070       enable_shared_with_static_runtimes=yes
   9071       ;;
   9072 
   9073     interix[3-9]*)
   9074       hardcode_direct=no
   9075       hardcode_shlibpath_var=no
   9076       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9077       export_dynamic_flag_spec='$wl-E'
   9078       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9079       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9080       # default) and relocated if they conflict, which is a slow very memory
   9081       # consuming and fragmenting process.  To avoid this, we pick a random,
   9082       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9083       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9084       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9085       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'
   9086       ;;
   9087 
   9088     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9089       tmp_diet=no
   9090       if test linux-dietlibc = "$host_os"; then
   9091 	case $cc_basename in
   9092 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9093 	esac
   9094       fi
   9095       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9096 	 && test no = "$tmp_diet"
   9097       then
   9098 	tmp_addflag=' $pic_flag'
   9099 	tmp_sharedflag='-shared'
   9100 	case $cc_basename,$host_cpu in
   9101         pgcc*)				# Portland Group C compiler
   9102 	  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'
   9103 	  tmp_addflag=' $pic_flag'
   9104 	  ;;
   9105 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9106 					# Portland Group f77 and f90 compilers
   9107 	  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'
   9108 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9109 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9110 	  tmp_addflag=' -i_dynamic' ;;
   9111 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9112 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9113 	ifc* | ifort*)			# Intel Fortran compiler
   9114 	  tmp_addflag=' -nofor_main' ;;
   9115 	lf95*)				# Lahey Fortran 8.1
   9116 	  whole_archive_flag_spec=
   9117 	  tmp_sharedflag='--shared' ;;
   9118         nagfor*)                        # NAGFOR 5.3
   9119           tmp_sharedflag='-Wl,-shared' ;;
   9120 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9121 	  tmp_sharedflag='-qmkshrobj'
   9122 	  tmp_addflag= ;;
   9123 	nvcc*)	# Cuda Compiler Driver 2.2
   9124 	  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'
   9125 	  compiler_needs_object=yes
   9126 	  ;;
   9127 	esac
   9128 	case `$CC -V 2>&1 | sed 5q` in
   9129 	*Sun\ C*)			# Sun C 5.9
   9130 	  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'
   9131 	  compiler_needs_object=yes
   9132 	  tmp_sharedflag='-G' ;;
   9133 	*Sun\ F*)			# Sun Fortran 8.3
   9134 	  tmp_sharedflag='-G' ;;
   9135 	esac
   9136 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9137 
   9138         if test yes = "$supports_anon_versioning"; then
   9139           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9140             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9141             echo "local: *; };" >> $output_objdir/$libname.ver~
   9142             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9143         fi
   9144 
   9145 	case $cc_basename in
   9146 	tcc*)
   9147 	  export_dynamic_flag_spec='-rdynamic'
   9148 	  ;;
   9149 	xlf* | bgf* | bgxlf* | mpixlf*)
   9150 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9151 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9152 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9153 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9154 	  if test yes = "$supports_anon_versioning"; then
   9155 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9156               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9157               echo "local: *; };" >> $output_objdir/$libname.ver~
   9158               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9159 	  fi
   9160 	  ;;
   9161 	esac
   9162       else
   9163         ld_shlibs=no
   9164       fi
   9165       ;;
   9166 
   9167     netbsd*)
   9168       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9169 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9170 	wlarc=
   9171       else
   9172 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9173 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9174       fi
   9175       ;;
   9176 
   9177     solaris*)
   9178       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9179 	ld_shlibs=no
   9180 	cat <<_LT_EOF 1>&2
   9181 
   9182 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9183 *** create shared libraries on Solaris systems.  Therefore, libtool
   9184 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9185 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9186 *** your PATH or compiler configuration so that the native linker is
   9187 *** used, and then restart.
   9188 
   9189 _LT_EOF
   9190       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9191 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9192 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9193       else
   9194 	ld_shlibs=no
   9195       fi
   9196       ;;
   9197 
   9198     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9199       case `$LD -v 2>&1` in
   9200         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9201 	ld_shlibs=no
   9202 	cat <<_LT_EOF 1>&2
   9203 
   9204 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9205 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9206 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9207 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9208 *** your PATH or compiler configuration so that the native linker is
   9209 *** used, and then restart.
   9210 
   9211 _LT_EOF
   9212 	;;
   9213 	*)
   9214 	  # For security reasons, it is highly recommended that you always
   9215 	  # use absolute paths for naming shared libraries, and exclude the
   9216 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9217 	  # requires that you compile everything twice, which is a pain.
   9218 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9219 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9220 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9221 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9222 	  else
   9223 	    ld_shlibs=no
   9224 	  fi
   9225 	;;
   9226       esac
   9227       ;;
   9228 
   9229     sunos4*)
   9230       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9231       wlarc=
   9232       hardcode_direct=yes
   9233       hardcode_shlibpath_var=no
   9234       ;;
   9235 
   9236     *)
   9237       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9238 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9239 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9240       else
   9241 	ld_shlibs=no
   9242       fi
   9243       ;;
   9244     esac
   9245 
   9246     if test no = "$ld_shlibs"; then
   9247       runpath_var=
   9248       hardcode_libdir_flag_spec=
   9249       export_dynamic_flag_spec=
   9250       whole_archive_flag_spec=
   9251     fi
   9252   else
   9253     # PORTME fill in a description of your system's linker (not GNU ld)
   9254     case $host_os in
   9255     aix3*)
   9256       allow_undefined_flag=unsupported
   9257       always_export_symbols=yes
   9258       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'
   9259       # Note: this linker hardcodes the directories in LIBPATH if there
   9260       # are no directories specified by -L.
   9261       hardcode_minus_L=yes
   9262       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9263 	# Neither direct hardcoding nor static linking is supported with a
   9264 	# broken collect2.
   9265 	hardcode_direct=unsupported
   9266       fi
   9267       ;;
   9268 
   9269     aix[4-9]*)
   9270       if test ia64 = "$host_cpu"; then
   9271 	# On IA64, the linker does run time linking by default, so we don't
   9272 	# have to do anything special.
   9273 	aix_use_runtimelinking=no
   9274 	exp_sym_flag='-Bexport'
   9275 	no_entry_flag=
   9276       else
   9277 	# If we're using GNU nm, then we don't want the "-C" option.
   9278 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9279 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9280 	# weak defined symbols like other global defined symbols, whereas
   9281 	# GNU nm marks them as "W".
   9282 	# While the 'weak' keyword is ignored in the Export File, we need
   9283 	# it in the Import File for the 'aix-soname' feature, so we have
   9284 	# to replace the "-B" option with "-P" for AIX nm.
   9285 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9286 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   9287 	else
   9288 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9289 	fi
   9290 	aix_use_runtimelinking=no
   9291 
   9292 	# Test if we are trying to use run time linking or normal
   9293 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9294 	# have runtime linking enabled, and use it for executables.
   9295 	# For shared libraries, we enable/disable runtime linking
   9296 	# depending on the kind of the shared library created -
   9297 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9298 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9299 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9300 	#            lib.a           static archive
   9301 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9302 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9303 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9304 	#            lib.a(lib.so.V) shared, rtl:no
   9305 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9306 	#            lib.a           static archive
   9307 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9308 	  for ld_flag in $LDFLAGS; do
   9309 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9310 	    aix_use_runtimelinking=yes
   9311 	    break
   9312 	  fi
   9313 	  done
   9314 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9315 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9316 	    # so we don't have lib.a shared libs to link our executables.
   9317 	    # We have to force runtime linking in this case.
   9318 	    aix_use_runtimelinking=yes
   9319 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9320 	  fi
   9321 	  ;;
   9322 	esac
   9323 
   9324 	exp_sym_flag='-bexport'
   9325 	no_entry_flag='-bnoentry'
   9326       fi
   9327 
   9328       # When large executables or shared objects are built, AIX ld can
   9329       # have problems creating the table of contents.  If linking a library
   9330       # or program results in "error TOC overflow" add -mminimal-toc to
   9331       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9332       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9333 
   9334       archive_cmds=''
   9335       hardcode_direct=yes
   9336       hardcode_direct_absolute=yes
   9337       hardcode_libdir_separator=':'
   9338       link_all_deplibs=yes
   9339       file_list_spec='$wl-f,'
   9340       case $with_aix_soname,$aix_use_runtimelinking in
   9341       aix,*) ;; # traditional, no import file
   9342       svr4,* | *,yes) # use import file
   9343 	# The Import File defines what to hardcode.
   9344 	hardcode_direct=no
   9345 	hardcode_direct_absolute=no
   9346 	;;
   9347       esac
   9348 
   9349       if test yes = "$GCC"; then
   9350 	case $host_os in aix4.[012]|aix4.[012].*)
   9351 	# We only want to do this on AIX 4.2 and lower, the check
   9352 	# below for broken collect2 doesn't work under 4.3+
   9353 	  collect2name=`$CC -print-prog-name=collect2`
   9354 	  if test -f "$collect2name" &&
   9355 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9356 	  then
   9357 	  # We have reworked collect2
   9358 	  :
   9359 	  else
   9360 	  # We have old collect2
   9361 	  hardcode_direct=unsupported
   9362 	  # It fails to find uninstalled libraries when the uninstalled
   9363 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9364 	  # to unsupported forces relinking
   9365 	  hardcode_minus_L=yes
   9366 	  hardcode_libdir_flag_spec='-L$libdir'
   9367 	  hardcode_libdir_separator=
   9368 	  fi
   9369 	  ;;
   9370 	esac
   9371 	shared_flag='-shared'
   9372 	if test yes = "$aix_use_runtimelinking"; then
   9373 	  shared_flag="$shared_flag "'$wl-G'
   9374 	fi
   9375 	# Need to ensure runtime linking is disabled for the traditional
   9376 	# shared library, or the linker may eventually find shared libraries
   9377 	# /with/ Import File - we do not want to mix them.
   9378 	shared_flag_aix='-shared'
   9379 	shared_flag_svr4='-shared $wl-G'
   9380       else
   9381 	# not using gcc
   9382 	if test ia64 = "$host_cpu"; then
   9383 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9384 	# chokes on -Wl,-G. The following line is correct:
   9385 	  shared_flag='-G'
   9386 	else
   9387 	  if test yes = "$aix_use_runtimelinking"; then
   9388 	    shared_flag='$wl-G'
   9389 	  else
   9390 	    shared_flag='$wl-bM:SRE'
   9391 	  fi
   9392 	  shared_flag_aix='$wl-bM:SRE'
   9393 	  shared_flag_svr4='$wl-G'
   9394 	fi
   9395       fi
   9396 
   9397       export_dynamic_flag_spec='$wl-bexpall'
   9398       # It seems that -bexpall does not export symbols beginning with
   9399       # underscore (_), so it is better to generate a list of symbols to export.
   9400       always_export_symbols=yes
   9401       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9402 	# Warning - without using the other runtime loading flags (-brtl),
   9403 	# -berok will link without error, but may produce a broken library.
   9404 	allow_undefined_flag='-berok'
   9405         # Determine the default libpath from the value encoded in an
   9406         # empty executable.
   9407         if test set = "${lt_cv_aix_libpath+set}"; then
   9408   aix_libpath=$lt_cv_aix_libpath
   9409 else
   9410   if ${lt_cv_aix_libpath_+:} false; then :
   9411   $as_echo_n "(cached) " >&6
   9412 else
   9413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9414 /* end confdefs.h.  */
   9415 
   9416 int
   9417 main ()
   9418 {
   9419 
   9420   ;
   9421   return 0;
   9422 }
   9423 _ACEOF
   9424 if ac_fn_c_try_link "$LINENO"; then :
   9425 
   9426   lt_aix_libpath_sed='
   9427       /Import File Strings/,/^$/ {
   9428 	  /^0/ {
   9429 	      s/^0  *\([^ ]*\) *$/\1/
   9430 	      p
   9431 	  }
   9432       }'
   9433   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9434   # Check for a 64-bit object if we didn't find anything.
   9435   if test -z "$lt_cv_aix_libpath_"; then
   9436     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9437   fi
   9438 fi
   9439 rm -f core conftest.err conftest.$ac_objext \
   9440     conftest$ac_exeext conftest.$ac_ext
   9441   if test -z "$lt_cv_aix_libpath_"; then
   9442     lt_cv_aix_libpath_=/usr/lib:/lib
   9443   fi
   9444 
   9445 fi
   9446 
   9447   aix_libpath=$lt_cv_aix_libpath_
   9448 fi
   9449 
   9450         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9451         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   9452       else
   9453 	if test ia64 = "$host_cpu"; then
   9454 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9455 	  allow_undefined_flag="-z nodefs"
   9456 	  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"
   9457 	else
   9458 	 # Determine the default libpath from the value encoded in an
   9459 	 # empty executable.
   9460 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9461   aix_libpath=$lt_cv_aix_libpath
   9462 else
   9463   if ${lt_cv_aix_libpath_+:} false; then :
   9464   $as_echo_n "(cached) " >&6
   9465 else
   9466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9467 /* end confdefs.h.  */
   9468 
   9469 int
   9470 main ()
   9471 {
   9472 
   9473   ;
   9474   return 0;
   9475 }
   9476 _ACEOF
   9477 if ac_fn_c_try_link "$LINENO"; then :
   9478 
   9479   lt_aix_libpath_sed='
   9480       /Import File Strings/,/^$/ {
   9481 	  /^0/ {
   9482 	      s/^0  *\([^ ]*\) *$/\1/
   9483 	      p
   9484 	  }
   9485       }'
   9486   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9487   # Check for a 64-bit object if we didn't find anything.
   9488   if test -z "$lt_cv_aix_libpath_"; then
   9489     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9490   fi
   9491 fi
   9492 rm -f core conftest.err conftest.$ac_objext \
   9493     conftest$ac_exeext conftest.$ac_ext
   9494   if test -z "$lt_cv_aix_libpath_"; then
   9495     lt_cv_aix_libpath_=/usr/lib:/lib
   9496   fi
   9497 
   9498 fi
   9499 
   9500   aix_libpath=$lt_cv_aix_libpath_
   9501 fi
   9502 
   9503 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9504 	  # Warning - without using the other run time loading flags,
   9505 	  # -berok will link without error, but may produce a broken library.
   9506 	  no_undefined_flag=' $wl-bernotok'
   9507 	  allow_undefined_flag=' $wl-berok'
   9508 	  if test yes = "$with_gnu_ld"; then
   9509 	    # We only use this code for GNU lds that support --whole-archive.
   9510 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9511 	  else
   9512 	    # Exported symbols can be pulled into shared objects from archives
   9513 	    whole_archive_flag_spec='$convenience'
   9514 	  fi
   9515 	  archive_cmds_need_lc=yes
   9516 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9517 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9518 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9519 	  if test svr4 != "$with_aix_soname"; then
   9520 	    # This is similar to how AIX traditionally builds its shared libraries.
   9521 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   9522 	  fi
   9523 	  if test aix != "$with_aix_soname"; then
   9524 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   9525 	  else
   9526 	    # used by -dlpreopen to get the symbols
   9527 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9528 	  fi
   9529 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9530 	fi
   9531       fi
   9532       ;;
   9533 
   9534     amigaos*)
   9535       case $host_cpu in
   9536       powerpc)
   9537             # see comment about AmigaOS4 .so support
   9538             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9539             archive_expsym_cmds=''
   9540         ;;
   9541       m68k)
   9542             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)'
   9543             hardcode_libdir_flag_spec='-L$libdir'
   9544             hardcode_minus_L=yes
   9545         ;;
   9546       esac
   9547       ;;
   9548 
   9549     bsdi[45]*)
   9550       export_dynamic_flag_spec=-rdynamic
   9551       ;;
   9552 
   9553     cygwin* | mingw* | pw32* | cegcc*)
   9554       # When not using gcc, we currently assume that we are using
   9555       # Microsoft Visual C++.
   9556       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9557       # no search path for DLLs.
   9558       case $cc_basename in
   9559       cl*)
   9560 	# Native MSVC
   9561 	hardcode_libdir_flag_spec=' '
   9562 	allow_undefined_flag=unsupported
   9563 	always_export_symbols=yes
   9564 	file_list_spec='@'
   9565 	# Tell ltmain to make .lib files, not .a files.
   9566 	libext=lib
   9567 	# Tell ltmain to make .dll files, not .so files.
   9568 	shrext_cmds=.dll
   9569 	# FIXME: Setting linknames here is a bad hack.
   9570 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9571 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9572             cp "$export_symbols" "$output_objdir/$soname.def";
   9573             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9574           else
   9575             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9576           fi~
   9577           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9578           linknames='
   9579 	# The linker will not automatically build a static lib if we build a DLL.
   9580 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9581 	enable_shared_with_static_runtimes=yes
   9582 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9583 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9584 	# Don't use ranlib
   9585 	old_postinstall_cmds='chmod 644 $oldlib'
   9586 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9587           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9588           case $lt_outputfile in
   9589             *.exe|*.EXE) ;;
   9590             *)
   9591               lt_outputfile=$lt_outputfile.exe
   9592               lt_tool_outputfile=$lt_tool_outputfile.exe
   9593               ;;
   9594           esac~
   9595           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9596             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9597             $RM "$lt_outputfile.manifest";
   9598           fi'
   9599 	;;
   9600       *)
   9601 	# Assume MSVC wrapper
   9602 	hardcode_libdir_flag_spec=' '
   9603 	allow_undefined_flag=unsupported
   9604 	# Tell ltmain to make .lib files, not .a files.
   9605 	libext=lib
   9606 	# Tell ltmain to make .dll files, not .so files.
   9607 	shrext_cmds=.dll
   9608 	# FIXME: Setting linknames here is a bad hack.
   9609 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9610 	# The linker will automatically build a .lib file if we build a DLL.
   9611 	old_archive_from_new_cmds='true'
   9612 	# FIXME: Should let the user specify the lib program.
   9613 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9614 	enable_shared_with_static_runtimes=yes
   9615 	;;
   9616       esac
   9617       ;;
   9618 
   9619     darwin* | rhapsody*)
   9620 
   9621 
   9622   archive_cmds_need_lc=no
   9623   hardcode_direct=no
   9624   hardcode_automatic=yes
   9625   hardcode_shlibpath_var=unsupported
   9626   if test yes = "$lt_cv_ld_force_load"; then
   9627     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\"`'
   9628 
   9629   else
   9630     whole_archive_flag_spec=''
   9631   fi
   9632   link_all_deplibs=yes
   9633   allow_undefined_flag=$_lt_dar_allow_undefined
   9634   case $cc_basename in
   9635      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9636      *) _lt_dar_can_shared=$GCC ;;
   9637   esac
   9638   if test yes = "$_lt_dar_can_shared"; then
   9639     output_verbose_link_cmd=func_echo_all
   9640     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9641     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9642     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"
   9643     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"
   9644 
   9645   else
   9646   ld_shlibs=no
   9647   fi
   9648 
   9649       ;;
   9650 
   9651     dgux*)
   9652       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9653       hardcode_libdir_flag_spec='-L$libdir'
   9654       hardcode_shlibpath_var=no
   9655       ;;
   9656 
   9657     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9658     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9659     # does not break anything, and helps significantly (at the cost of a little
   9660     # extra space).
   9661     freebsd2.2*)
   9662       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9663       hardcode_libdir_flag_spec='-R$libdir'
   9664       hardcode_direct=yes
   9665       hardcode_shlibpath_var=no
   9666       ;;
   9667 
   9668     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9669     freebsd2.*)
   9670       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9671       hardcode_direct=yes
   9672       hardcode_minus_L=yes
   9673       hardcode_shlibpath_var=no
   9674       ;;
   9675 
   9676     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9677     freebsd* | dragonfly*)
   9678       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9679       hardcode_libdir_flag_spec='-R$libdir'
   9680       hardcode_direct=yes
   9681       hardcode_shlibpath_var=no
   9682       ;;
   9683 
   9684     hpux9*)
   9685       if test yes = "$GCC"; then
   9686 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9687       else
   9688 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9689       fi
   9690       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9691       hardcode_libdir_separator=:
   9692       hardcode_direct=yes
   9693 
   9694       # hardcode_minus_L: Not really in the search PATH,
   9695       # but as the default location of the library.
   9696       hardcode_minus_L=yes
   9697       export_dynamic_flag_spec='$wl-E'
   9698       ;;
   9699 
   9700     hpux10*)
   9701       if test yes,no = "$GCC,$with_gnu_ld"; then
   9702 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9703       else
   9704 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9705       fi
   9706       if test no = "$with_gnu_ld"; then
   9707 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9708 	hardcode_libdir_separator=:
   9709 	hardcode_direct=yes
   9710 	hardcode_direct_absolute=yes
   9711 	export_dynamic_flag_spec='$wl-E'
   9712 	# hardcode_minus_L: Not really in the search PATH,
   9713 	# but as the default location of the library.
   9714 	hardcode_minus_L=yes
   9715       fi
   9716       ;;
   9717 
   9718     hpux11*)
   9719       if test yes,no = "$GCC,$with_gnu_ld"; then
   9720 	case $host_cpu in
   9721 	hppa*64*)
   9722 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9723 	  ;;
   9724 	ia64*)
   9725 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9726 	  ;;
   9727 	*)
   9728 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9729 	  ;;
   9730 	esac
   9731       else
   9732 	case $host_cpu in
   9733 	hppa*64*)
   9734 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9735 	  ;;
   9736 	ia64*)
   9737 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9738 	  ;;
   9739 	*)
   9740 
   9741 	  # Older versions of the 11.00 compiler do not understand -b yet
   9742 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9743 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9744 $as_echo_n "checking if $CC understands -b... " >&6; }
   9745 if ${lt_cv_prog_compiler__b+:} false; then :
   9746   $as_echo_n "(cached) " >&6
   9747 else
   9748   lt_cv_prog_compiler__b=no
   9749    save_LDFLAGS=$LDFLAGS
   9750    LDFLAGS="$LDFLAGS -b"
   9751    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9752    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9753      # The linker can only warn and ignore the option if not recognized
   9754      # So say no if there are warnings
   9755      if test -s conftest.err; then
   9756        # Append any errors to the config.log.
   9757        cat conftest.err 1>&5
   9758        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9759        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9760        if diff conftest.exp conftest.er2 >/dev/null; then
   9761          lt_cv_prog_compiler__b=yes
   9762        fi
   9763      else
   9764        lt_cv_prog_compiler__b=yes
   9765      fi
   9766    fi
   9767    $RM -r conftest*
   9768    LDFLAGS=$save_LDFLAGS
   9769 
   9770 fi
   9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9772 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9773 
   9774 if test yes = "$lt_cv_prog_compiler__b"; then
   9775     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9776 else
   9777     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9778 fi
   9779 
   9780 	  ;;
   9781 	esac
   9782       fi
   9783       if test no = "$with_gnu_ld"; then
   9784 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9785 	hardcode_libdir_separator=:
   9786 
   9787 	case $host_cpu in
   9788 	hppa*64*|ia64*)
   9789 	  hardcode_direct=no
   9790 	  hardcode_shlibpath_var=no
   9791 	  ;;
   9792 	*)
   9793 	  hardcode_direct=yes
   9794 	  hardcode_direct_absolute=yes
   9795 	  export_dynamic_flag_spec='$wl-E'
   9796 
   9797 	  # hardcode_minus_L: Not really in the search PATH,
   9798 	  # but as the default location of the library.
   9799 	  hardcode_minus_L=yes
   9800 	  ;;
   9801 	esac
   9802       fi
   9803       ;;
   9804 
   9805     irix5* | irix6* | nonstopux*)
   9806       if test yes = "$GCC"; then
   9807 	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'
   9808 	# Try to use the -exported_symbol ld option, if it does not
   9809 	# work, assume that -exports_file does not work either and
   9810 	# implicitly export all symbols.
   9811 	# This should be the same for all languages, so no per-tag cache variable.
   9812 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9813 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9814 if ${lt_cv_irix_exported_symbol+:} false; then :
   9815   $as_echo_n "(cached) " >&6
   9816 else
   9817   save_LDFLAGS=$LDFLAGS
   9818 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   9819 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9820 /* end confdefs.h.  */
   9821 int foo (void) { return 0; }
   9822 _ACEOF
   9823 if ac_fn_c_try_link "$LINENO"; then :
   9824   lt_cv_irix_exported_symbol=yes
   9825 else
   9826   lt_cv_irix_exported_symbol=no
   9827 fi
   9828 rm -f core conftest.err conftest.$ac_objext \
   9829     conftest$ac_exeext conftest.$ac_ext
   9830            LDFLAGS=$save_LDFLAGS
   9831 fi
   9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9833 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9834 	if test yes = "$lt_cv_irix_exported_symbol"; then
   9835           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'
   9836 	fi
   9837       else
   9838 	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'
   9839 	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'
   9840       fi
   9841       archive_cmds_need_lc='no'
   9842       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9843       hardcode_libdir_separator=:
   9844       inherit_rpath=yes
   9845       link_all_deplibs=yes
   9846       ;;
   9847 
   9848     linux*)
   9849       case $cc_basename in
   9850       tcc*)
   9851 	# Fabrice Bellard et al's Tiny C Compiler
   9852 	ld_shlibs=yes
   9853 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9854 	;;
   9855       esac
   9856       ;;
   9857 
   9858     netbsd*)
   9859       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9860 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9861       else
   9862 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9863       fi
   9864       hardcode_libdir_flag_spec='-R$libdir'
   9865       hardcode_direct=yes
   9866       hardcode_shlibpath_var=no
   9867       ;;
   9868 
   9869     newsos6)
   9870       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9871       hardcode_direct=yes
   9872       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9873       hardcode_libdir_separator=:
   9874       hardcode_shlibpath_var=no
   9875       ;;
   9876 
   9877     *nto* | *qnx*)
   9878       ;;
   9879 
   9880     openbsd* | bitrig*)
   9881       if test -f /usr/libexec/ld.so; then
   9882 	hardcode_direct=yes
   9883 	hardcode_shlibpath_var=no
   9884 	hardcode_direct_absolute=yes
   9885 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   9886 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9887 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   9888 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9889 	  export_dynamic_flag_spec='$wl-E'
   9890 	else
   9891 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9892 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9893 	fi
   9894       else
   9895 	ld_shlibs=no
   9896       fi
   9897       ;;
   9898 
   9899     os2*)
   9900       hardcode_libdir_flag_spec='-L$libdir'
   9901       hardcode_minus_L=yes
   9902       allow_undefined_flag=unsupported
   9903       shrext_cmds=.dll
   9904       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9905 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9906 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9907 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9908 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9909 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9910 	emximp -o $lib $output_objdir/$libname.def'
   9911       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9912 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9913 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9914 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9915 	prefix_cmds="$SED"~
   9916 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9917 	  prefix_cmds="$prefix_cmds -e 1d";
   9918 	fi~
   9919 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9920 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9921 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9922 	emximp -o $lib $output_objdir/$libname.def'
   9923       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9924       enable_shared_with_static_runtimes=yes
   9925       ;;
   9926 
   9927     osf3*)
   9928       if test yes = "$GCC"; then
   9929 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   9930 	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'
   9931       else
   9932 	allow_undefined_flag=' -expect_unresolved \*'
   9933 	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'
   9934       fi
   9935       archive_cmds_need_lc='no'
   9936       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9937       hardcode_libdir_separator=:
   9938       ;;
   9939 
   9940     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9941       if test yes = "$GCC"; then
   9942 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   9943 	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'
   9944 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9945       else
   9946 	allow_undefined_flag=' -expect_unresolved \*'
   9947 	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'
   9948 	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~
   9949           $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'
   9950 
   9951 	# Both c and cxx compiler support -rpath directly
   9952 	hardcode_libdir_flag_spec='-rpath $libdir'
   9953       fi
   9954       archive_cmds_need_lc='no'
   9955       hardcode_libdir_separator=:
   9956       ;;
   9957 
   9958     solaris*)
   9959       no_undefined_flag=' -z defs'
   9960       if test yes = "$GCC"; then
   9961 	wlarc='$wl'
   9962 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9963 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9964           $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'
   9965       else
   9966 	case `$CC -V 2>&1` in
   9967 	*"Compilers 5.0"*)
   9968 	  wlarc=''
   9969 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9970 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9971             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9972 	  ;;
   9973 	*)
   9974 	  wlarc='$wl'
   9975 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9976 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9977             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9978 	  ;;
   9979 	esac
   9980       fi
   9981       hardcode_libdir_flag_spec='-R$libdir'
   9982       hardcode_shlibpath_var=no
   9983       case $host_os in
   9984       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9985       *)
   9986 	# The compiler driver will combine and reorder linker options,
   9987 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   9988 	# but is careful enough not to reorder.
   9989 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9990 	if test yes = "$GCC"; then
   9991 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   9992 	else
   9993 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9994 	fi
   9995 	;;
   9996       esac
   9997       link_all_deplibs=yes
   9998       ;;
   9999 
   10000     sunos4*)
   10001       if test sequent = "$host_vendor"; then
   10002 	# Use $CC to link under sequent, because it throws in some extra .o
   10003 	# files that make .init and .fini sections work.
   10004 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10005       else
   10006 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10007       fi
   10008       hardcode_libdir_flag_spec='-L$libdir'
   10009       hardcode_direct=yes
   10010       hardcode_minus_L=yes
   10011       hardcode_shlibpath_var=no
   10012       ;;
   10013 
   10014     sysv4)
   10015       case $host_vendor in
   10016 	sni)
   10017 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10018 	  hardcode_direct=yes # is this really true???
   10019 	;;
   10020 	siemens)
   10021 	  ## LD is ld it makes a PLAMLIB
   10022 	  ## CC just makes a GrossModule.
   10023 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10024 	  reload_cmds='$CC -r -o $output$reload_objs'
   10025 	  hardcode_direct=no
   10026         ;;
   10027 	motorola)
   10028 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10029 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10030 	;;
   10031       esac
   10032       runpath_var='LD_RUN_PATH'
   10033       hardcode_shlibpath_var=no
   10034       ;;
   10035 
   10036     sysv4.3*)
   10037       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10038       hardcode_shlibpath_var=no
   10039       export_dynamic_flag_spec='-Bexport'
   10040       ;;
   10041 
   10042     sysv4*MP*)
   10043       if test -d /usr/nec; then
   10044 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10045 	hardcode_shlibpath_var=no
   10046 	runpath_var=LD_RUN_PATH
   10047 	hardcode_runpath_var=yes
   10048 	ld_shlibs=yes
   10049       fi
   10050       ;;
   10051 
   10052     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10053       no_undefined_flag='$wl-z,text'
   10054       archive_cmds_need_lc=no
   10055       hardcode_shlibpath_var=no
   10056       runpath_var='LD_RUN_PATH'
   10057 
   10058       if test yes = "$GCC"; then
   10059 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10060 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10061       else
   10062 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10063 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10064       fi
   10065       ;;
   10066 
   10067     sysv5* | sco3.2v5* | sco5v6*)
   10068       # Note: We CANNOT use -z defs as we might desire, because we do not
   10069       # link with -lc, and that would cause any symbols used from libc to
   10070       # always be unresolved, which means just about no library would
   10071       # ever link correctly.  If we're not using GNU ld we use -z text
   10072       # though, which does catch some bad symbols but isn't as heavy-handed
   10073       # as -z defs.
   10074       no_undefined_flag='$wl-z,text'
   10075       allow_undefined_flag='$wl-z,nodefs'
   10076       archive_cmds_need_lc=no
   10077       hardcode_shlibpath_var=no
   10078       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10079       hardcode_libdir_separator=':'
   10080       link_all_deplibs=yes
   10081       export_dynamic_flag_spec='$wl-Bexport'
   10082       runpath_var='LD_RUN_PATH'
   10083 
   10084       if test yes = "$GCC"; then
   10085 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10086 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10087       else
   10088 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10089 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10090       fi
   10091       ;;
   10092 
   10093     uts4*)
   10094       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10095       hardcode_libdir_flag_spec='-L$libdir'
   10096       hardcode_shlibpath_var=no
   10097       ;;
   10098 
   10099     *)
   10100       ld_shlibs=no
   10101       ;;
   10102     esac
   10103 
   10104     if test sni = "$host_vendor"; then
   10105       case $host in
   10106       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10107 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10108 	;;
   10109       esac
   10110     fi
   10111   fi
   10112 
   10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10114 $as_echo "$ld_shlibs" >&6; }
   10115 test no = "$ld_shlibs" && can_build_shared=no
   10116 
   10117 with_gnu_ld=$with_gnu_ld
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 #
   10134 # Do we need to explicitly link libc?
   10135 #
   10136 case "x$archive_cmds_need_lc" in
   10137 x|xyes)
   10138   # Assume -lc should be added
   10139   archive_cmds_need_lc=yes
   10140 
   10141   if test yes,yes = "$GCC,$enable_shared"; then
   10142     case $archive_cmds in
   10143     *'~'*)
   10144       # FIXME: we may have to deal with multi-command sequences.
   10145       ;;
   10146     '$CC '*)
   10147       # Test whether the compiler implicitly links with -lc since on some
   10148       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10149       # to ld, don't add -lc before -lgcc.
   10150       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10151 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10152 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10153   $as_echo_n "(cached) " >&6
   10154 else
   10155   $RM conftest*
   10156 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10157 
   10158 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10159   (eval $ac_compile) 2>&5
   10160   ac_status=$?
   10161   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10162   test $ac_status = 0; } 2>conftest.err; then
   10163 	  soname=conftest
   10164 	  lib=conftest
   10165 	  libobjs=conftest.$ac_objext
   10166 	  deplibs=
   10167 	  wl=$lt_prog_compiler_wl
   10168 	  pic_flag=$lt_prog_compiler_pic
   10169 	  compiler_flags=-v
   10170 	  linker_flags=-v
   10171 	  verstring=
   10172 	  output_objdir=.
   10173 	  libname=conftest
   10174 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10175 	  allow_undefined_flag=
   10176 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10177   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10178   ac_status=$?
   10179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10180   test $ac_status = 0; }
   10181 	  then
   10182 	    lt_cv_archive_cmds_need_lc=no
   10183 	  else
   10184 	    lt_cv_archive_cmds_need_lc=yes
   10185 	  fi
   10186 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10187 	else
   10188 	  cat conftest.err 1>&5
   10189 	fi
   10190 	$RM conftest*
   10191 
   10192 fi
   10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10194 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10195       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10196       ;;
   10197     esac
   10198   fi
   10199   ;;
   10200 esac
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10354 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10355 
   10356 if test yes = "$GCC"; then
   10357   case $host_os in
   10358     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10359     *) lt_awk_arg='/^libraries:/' ;;
   10360   esac
   10361   case $host_os in
   10362     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10363     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10364   esac
   10365   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10366   case $lt_search_path_spec in
   10367   *\;*)
   10368     # if the path contains ";" then we assume it to be the separator
   10369     # otherwise default to the standard path separator (i.e. ":") - it is
   10370     # assumed that no part of a normal pathname contains ";" but that should
   10371     # okay in the real world where ";" in dirpaths is itself problematic.
   10372     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10373     ;;
   10374   *)
   10375     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10376     ;;
   10377   esac
   10378   # Ok, now we have the path, separated by spaces, we can step through it
   10379   # and add multilib dir if necessary...
   10380   lt_tmp_lt_search_path_spec=
   10381   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10382   # ...but if some path component already ends with the multilib dir we assume
   10383   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10384   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10385   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10386     lt_multi_os_dir=
   10387     ;;
   10388   esac
   10389   for lt_sys_path in $lt_search_path_spec; do
   10390     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10391       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10392     elif test -n "$lt_multi_os_dir"; then
   10393       test -d "$lt_sys_path" && \
   10394 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10395     fi
   10396   done
   10397   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10398 BEGIN {RS = " "; FS = "/|\n";} {
   10399   lt_foo = "";
   10400   lt_count = 0;
   10401   for (lt_i = NF; lt_i > 0; lt_i--) {
   10402     if ($lt_i != "" && $lt_i != ".") {
   10403       if ($lt_i == "..") {
   10404         lt_count++;
   10405       } else {
   10406         if (lt_count == 0) {
   10407           lt_foo = "/" $lt_i lt_foo;
   10408         } else {
   10409           lt_count--;
   10410         }
   10411       }
   10412     }
   10413   }
   10414   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10415   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10416 }'`
   10417   # AWK program above erroneously prepends '/' to C:/dos/paths
   10418   # for these hosts.
   10419   case $host_os in
   10420     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10421       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10422   esac
   10423   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10424 else
   10425   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10426 fi
   10427 library_names_spec=
   10428 libname_spec='lib$name'
   10429 soname_spec=
   10430 shrext_cmds=.so
   10431 postinstall_cmds=
   10432 postuninstall_cmds=
   10433 finish_cmds=
   10434 finish_eval=
   10435 shlibpath_var=
   10436 shlibpath_overrides_runpath=unknown
   10437 version_type=none
   10438 dynamic_linker="$host_os ld.so"
   10439 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10440 need_lib_prefix=unknown
   10441 hardcode_into_libs=no
   10442 
   10443 # when you set need_version to no, make sure it does not cause -set_version
   10444 # flags to be left without arguments
   10445 need_version=unknown
   10446 
   10447 
   10448 
   10449 case $host_os in
   10450 aix3*)
   10451   version_type=linux # correct to gnu/linux during the next big refactor
   10452   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10453   shlibpath_var=LIBPATH
   10454 
   10455   # AIX 3 has no versioning support, so we append a major version to the name.
   10456   soname_spec='$libname$release$shared_ext$major'
   10457   ;;
   10458 
   10459 aix[4-9]*)
   10460   version_type=linux # correct to gnu/linux during the next big refactor
   10461   need_lib_prefix=no
   10462   need_version=no
   10463   hardcode_into_libs=yes
   10464   if test ia64 = "$host_cpu"; then
   10465     # AIX 5 supports IA64
   10466     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10467     shlibpath_var=LD_LIBRARY_PATH
   10468   else
   10469     # With GCC up to 2.95.x, collect2 would create an import file
   10470     # for dependence libraries.  The import file would start with
   10471     # the line '#! .'.  This would cause the generated library to
   10472     # depend on '.', always an invalid library.  This was fixed in
   10473     # development snapshots of GCC prior to 3.0.
   10474     case $host_os in
   10475       aix4 | aix4.[01] | aix4.[01].*)
   10476       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10477 	   echo ' yes '
   10478 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10479 	:
   10480       else
   10481 	can_build_shared=no
   10482       fi
   10483       ;;
   10484     esac
   10485     # Using Import Files as archive members, it is possible to support
   10486     # filename-based versioning of shared library archives on AIX. While
   10487     # this would work for both with and without runtime linking, it will
   10488     # prevent static linking of such archives. So we do filename-based
   10489     # shared library versioning with .so extension only, which is used
   10490     # when both runtime linking and shared linking is enabled.
   10491     # Unfortunately, runtime linking may impact performance, so we do
   10492     # not want this to be the default eventually. Also, we use the
   10493     # versioned .so libs for executables only if there is the -brtl
   10494     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10495     # To allow for filename-based versioning support, we need to create
   10496     # libNAME.so.V as an archive file, containing:
   10497     # *) an Import File, referring to the versioned filename of the
   10498     #    archive as well as the shared archive member, telling the
   10499     #    bitwidth (32 or 64) of that shared object, and providing the
   10500     #    list of exported symbols of that shared object, eventually
   10501     #    decorated with the 'weak' keyword
   10502     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10503     #    it being seen by the linker.
   10504     # At run time we better use the real file rather than another symlink,
   10505     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10506 
   10507     case $with_aix_soname,$aix_use_runtimelinking in
   10508     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10509     # soname into executable. Probably we can add versioning support to
   10510     # collect2, so additional links can be useful in future.
   10511     aix,yes) # traditional libtool
   10512       dynamic_linker='AIX unversionable lib.so'
   10513       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10514       # instead of lib<name>.a to let people know that these are not
   10515       # typical AIX shared libraries.
   10516       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10517       ;;
   10518     aix,no) # traditional AIX only
   10519       dynamic_linker='AIX lib.a(lib.so.V)'
   10520       # We preserve .a as extension for shared libraries through AIX4.2
   10521       # and later when we are not doing run time linking.
   10522       library_names_spec='$libname$release.a $libname.a'
   10523       soname_spec='$libname$release$shared_ext$major'
   10524       ;;
   10525     svr4,*) # full svr4 only
   10526       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10527       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10528       # We do not specify a path in Import Files, so LIBPATH fires.
   10529       shlibpath_overrides_runpath=yes
   10530       ;;
   10531     *,yes) # both, prefer svr4
   10532       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10533       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10534       # unpreferred sharedlib libNAME.a needs extra handling
   10535       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   10536       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   10537       # We do not specify a path in Import Files, so LIBPATH fires.
   10538       shlibpath_overrides_runpath=yes
   10539       ;;
   10540     *,no) # both, prefer aix
   10541       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10542       library_names_spec='$libname$release.a $libname.a'
   10543       soname_spec='$libname$release$shared_ext$major'
   10544       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10545       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   10546       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   10547       ;;
   10548     esac
   10549     shlibpath_var=LIBPATH
   10550   fi
   10551   ;;
   10552 
   10553 amigaos*)
   10554   case $host_cpu in
   10555   powerpc)
   10556     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10557     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10558     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10559     ;;
   10560   m68k)
   10561     library_names_spec='$libname.ixlibrary $libname.a'
   10562     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10563     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10564     ;;
   10565   esac
   10566   ;;
   10567 
   10568 beos*)
   10569   library_names_spec='$libname$shared_ext'
   10570   dynamic_linker="$host_os ld.so"
   10571   shlibpath_var=LIBRARY_PATH
   10572   ;;
   10573 
   10574 bsdi[45]*)
   10575   version_type=linux # correct to gnu/linux during the next big refactor
   10576   need_version=no
   10577   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10578   soname_spec='$libname$release$shared_ext$major'
   10579   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10580   shlibpath_var=LD_LIBRARY_PATH
   10581   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10582   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10583   # the default ld.so.conf also contains /usr/contrib/lib and
   10584   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10585   # libtool to hard-code these into programs
   10586   ;;
   10587 
   10588 cygwin* | mingw* | pw32* | cegcc*)
   10589   version_type=windows
   10590   shrext_cmds=.dll
   10591   need_version=no
   10592   need_lib_prefix=no
   10593 
   10594   case $GCC,$cc_basename in
   10595   yes,*)
   10596     # gcc
   10597     library_names_spec='$libname.dll.a'
   10598     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10599     postinstall_cmds='base_file=`basename \$file`~
   10600       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10601       dldir=$destdir/`dirname \$dlpath`~
   10602       test -d \$dldir || mkdir -p \$dldir~
   10603       $install_prog $dir/$dlname \$dldir/$dlname~
   10604       chmod a+x \$dldir/$dlname~
   10605       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10606         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10607       fi'
   10608     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10609       dlpath=$dir/\$dldll~
   10610        $RM \$dlpath'
   10611     shlibpath_overrides_runpath=yes
   10612 
   10613     case $host_os in
   10614     cygwin*)
   10615       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10616       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10617 
   10618       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10619       ;;
   10620     mingw* | cegcc*)
   10621       # MinGW DLLs use traditional 'lib' prefix
   10622       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10623       ;;
   10624     pw32*)
   10625       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10626       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10627       ;;
   10628     esac
   10629     dynamic_linker='Win32 ld.exe'
   10630     ;;
   10631 
   10632   *,cl*)
   10633     # Native MSVC
   10634     libname_spec='$name'
   10635     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10636     library_names_spec='$libname.dll.lib'
   10637 
   10638     case $build_os in
   10639     mingw*)
   10640       sys_lib_search_path_spec=
   10641       lt_save_ifs=$IFS
   10642       IFS=';'
   10643       for lt_path in $LIB
   10644       do
   10645         IFS=$lt_save_ifs
   10646         # Let DOS variable expansion print the short 8.3 style file name.
   10647         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10648         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10649       done
   10650       IFS=$lt_save_ifs
   10651       # Convert to MSYS style.
   10652       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10653       ;;
   10654     cygwin*)
   10655       # Convert to unix form, then to dos form, then back to unix form
   10656       # but this time dos style (no spaces!) so that the unix form looks
   10657       # like /cygdrive/c/PROGRA~1:/cygdr...
   10658       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10659       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10660       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10661       ;;
   10662     *)
   10663       sys_lib_search_path_spec=$LIB
   10664       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10665         # It is most probably a Windows format PATH.
   10666         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10667       else
   10668         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10669       fi
   10670       # FIXME: find the short name or the path components, as spaces are
   10671       # common. (e.g. "Program Files" -> "PROGRA~1")
   10672       ;;
   10673     esac
   10674 
   10675     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10676     postinstall_cmds='base_file=`basename \$file`~
   10677       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10678       dldir=$destdir/`dirname \$dlpath`~
   10679       test -d \$dldir || mkdir -p \$dldir~
   10680       $install_prog $dir/$dlname \$dldir/$dlname'
   10681     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10682       dlpath=$dir/\$dldll~
   10683        $RM \$dlpath'
   10684     shlibpath_overrides_runpath=yes
   10685     dynamic_linker='Win32 link.exe'
   10686     ;;
   10687 
   10688   *)
   10689     # Assume MSVC wrapper
   10690     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10691     dynamic_linker='Win32 ld.exe'
   10692     ;;
   10693   esac
   10694   # FIXME: first we should search . and the directory the executable is in
   10695   shlibpath_var=PATH
   10696   ;;
   10697 
   10698 darwin* | rhapsody*)
   10699   dynamic_linker="$host_os dyld"
   10700   version_type=darwin
   10701   need_lib_prefix=no
   10702   need_version=no
   10703   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10704   soname_spec='$libname$release$major$shared_ext'
   10705   shlibpath_overrides_runpath=yes
   10706   shlibpath_var=DYLD_LIBRARY_PATH
   10707   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10708 
   10709   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10710   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10711   ;;
   10712 
   10713 dgux*)
   10714   version_type=linux # correct to gnu/linux during the next big refactor
   10715   need_lib_prefix=no
   10716   need_version=no
   10717   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10718   soname_spec='$libname$release$shared_ext$major'
   10719   shlibpath_var=LD_LIBRARY_PATH
   10720   ;;
   10721 
   10722 freebsd* | dragonfly*)
   10723   # DragonFly does not have aout.  When/if they implement a new
   10724   # versioning mechanism, adjust this.
   10725   if test -x /usr/bin/objformat; then
   10726     objformat=`/usr/bin/objformat`
   10727   else
   10728     case $host_os in
   10729     freebsd[23].*) objformat=aout ;;
   10730     *) objformat=elf ;;
   10731     esac
   10732   fi
   10733   version_type=freebsd-$objformat
   10734   case $version_type in
   10735     freebsd-elf*)
   10736       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10737       soname_spec='$libname$release$shared_ext$major'
   10738       need_version=no
   10739       need_lib_prefix=no
   10740       ;;
   10741     freebsd-*)
   10742       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10743       need_version=yes
   10744       ;;
   10745   esac
   10746   shlibpath_var=LD_LIBRARY_PATH
   10747   case $host_os in
   10748   freebsd2.*)
   10749     shlibpath_overrides_runpath=yes
   10750     ;;
   10751   freebsd3.[01]* | freebsdelf3.[01]*)
   10752     shlibpath_overrides_runpath=yes
   10753     hardcode_into_libs=yes
   10754     ;;
   10755   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10756   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10757     shlibpath_overrides_runpath=no
   10758     hardcode_into_libs=yes
   10759     ;;
   10760   *) # from 4.6 on, and DragonFly
   10761     shlibpath_overrides_runpath=yes
   10762     hardcode_into_libs=yes
   10763     ;;
   10764   esac
   10765   ;;
   10766 
   10767 haiku*)
   10768   version_type=linux # correct to gnu/linux during the next big refactor
   10769   need_lib_prefix=no
   10770   need_version=no
   10771   dynamic_linker="$host_os runtime_loader"
   10772   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10773   soname_spec='$libname$release$shared_ext$major'
   10774   shlibpath_var=LIBRARY_PATH
   10775   shlibpath_overrides_runpath=no
   10776   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10777   hardcode_into_libs=yes
   10778   ;;
   10779 
   10780 hpux9* | hpux10* | hpux11*)
   10781   # Give a soname corresponding to the major version so that dld.sl refuses to
   10782   # link against other versions.
   10783   version_type=sunos
   10784   need_lib_prefix=no
   10785   need_version=no
   10786   case $host_cpu in
   10787   ia64*)
   10788     shrext_cmds='.so'
   10789     hardcode_into_libs=yes
   10790     dynamic_linker="$host_os dld.so"
   10791     shlibpath_var=LD_LIBRARY_PATH
   10792     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10793     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10794     soname_spec='$libname$release$shared_ext$major'
   10795     if test 32 = "$HPUX_IA64_MODE"; then
   10796       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10797       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   10798     else
   10799       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10800       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   10801     fi
   10802     ;;
   10803   hppa*64*)
   10804     shrext_cmds='.sl'
   10805     hardcode_into_libs=yes
   10806     dynamic_linker="$host_os dld.sl"
   10807     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10808     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10809     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10810     soname_spec='$libname$release$shared_ext$major'
   10811     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10812     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10813     ;;
   10814   *)
   10815     shrext_cmds='.sl'
   10816     dynamic_linker="$host_os dld.sl"
   10817     shlibpath_var=SHLIB_PATH
   10818     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10819     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10820     soname_spec='$libname$release$shared_ext$major'
   10821     ;;
   10822   esac
   10823   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10824   postinstall_cmds='chmod 555 $lib'
   10825   # or fails outright, so override atomically:
   10826   install_override_mode=555
   10827   ;;
   10828 
   10829 interix[3-9]*)
   10830   version_type=linux # correct to gnu/linux during the next big refactor
   10831   need_lib_prefix=no
   10832   need_version=no
   10833   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10834   soname_spec='$libname$release$shared_ext$major'
   10835   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10836   shlibpath_var=LD_LIBRARY_PATH
   10837   shlibpath_overrides_runpath=no
   10838   hardcode_into_libs=yes
   10839   ;;
   10840 
   10841 irix5* | irix6* | nonstopux*)
   10842   case $host_os in
   10843     nonstopux*) version_type=nonstopux ;;
   10844     *)
   10845 	if test yes = "$lt_cv_prog_gnu_ld"; then
   10846 		version_type=linux # correct to gnu/linux during the next big refactor
   10847 	else
   10848 		version_type=irix
   10849 	fi ;;
   10850   esac
   10851   need_lib_prefix=no
   10852   need_version=no
   10853   soname_spec='$libname$release$shared_ext$major'
   10854   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   10855   case $host_os in
   10856   irix5* | nonstopux*)
   10857     libsuff= shlibsuff=
   10858     ;;
   10859   *)
   10860     case $LD in # libtool.m4 will add one of these switches to LD
   10861     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10862       libsuff= shlibsuff= libmagic=32-bit;;
   10863     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10864       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10865     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10866       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10867     *) libsuff= shlibsuff= libmagic=never-match;;
   10868     esac
   10869     ;;
   10870   esac
   10871   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10872   shlibpath_overrides_runpath=no
   10873   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   10874   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   10875   hardcode_into_libs=yes
   10876   ;;
   10877 
   10878 # No shared lib support for Linux oldld, aout, or coff.
   10879 linux*oldld* | linux*aout* | linux*coff*)
   10880   dynamic_linker=no
   10881   ;;
   10882 
   10883 linux*android*)
   10884   version_type=none # Android doesn't support versioned libraries.
   10885   need_lib_prefix=no
   10886   need_version=no
   10887   library_names_spec='$libname$release$shared_ext'
   10888   soname_spec='$libname$release$shared_ext'
   10889   finish_cmds=
   10890   shlibpath_var=LD_LIBRARY_PATH
   10891   shlibpath_overrides_runpath=yes
   10892 
   10893   # This implies no fast_install, which is unacceptable.
   10894   # Some rework will be needed to allow for fast_install
   10895   # before this can be enabled.
   10896   hardcode_into_libs=yes
   10897 
   10898   dynamic_linker='Android linker'
   10899   # Don't embed -rpath directories since the linker doesn't support them.
   10900   hardcode_libdir_flag_spec='-L$libdir'
   10901   ;;
   10902 
   10903 # This must be glibc/ELF.
   10904 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10905   version_type=linux # correct to gnu/linux during the next big refactor
   10906   need_lib_prefix=no
   10907   need_version=no
   10908   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10909   soname_spec='$libname$release$shared_ext$major'
   10910   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10911   shlibpath_var=LD_LIBRARY_PATH
   10912   shlibpath_overrides_runpath=no
   10913 
   10914   # Some binutils ld are patched to set DT_RUNPATH
   10915   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10916   $as_echo_n "(cached) " >&6
   10917 else
   10918   lt_cv_shlibpath_overrides_runpath=no
   10919     save_LDFLAGS=$LDFLAGS
   10920     save_libdir=$libdir
   10921     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10922 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10923     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10924 /* end confdefs.h.  */
   10925 
   10926 int
   10927 main ()
   10928 {
   10929 
   10930   ;
   10931   return 0;
   10932 }
   10933 _ACEOF
   10934 if ac_fn_c_try_link "$LINENO"; then :
   10935   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10936   lt_cv_shlibpath_overrides_runpath=yes
   10937 fi
   10938 fi
   10939 rm -f core conftest.err conftest.$ac_objext \
   10940     conftest$ac_exeext conftest.$ac_ext
   10941     LDFLAGS=$save_LDFLAGS
   10942     libdir=$save_libdir
   10943 
   10944 fi
   10945 
   10946   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10947 
   10948   # This implies no fast_install, which is unacceptable.
   10949   # Some rework will be needed to allow for fast_install
   10950   # before this can be enabled.
   10951   hardcode_into_libs=yes
   10952 
   10953   # Ideally, we could use ldconfig to report *all* directores which are
   10954   # searched for libraries, however this is still not possible.  Aside from not
   10955   # being certain /sbin/ldconfig is available, command
   10956   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   10957   # even though it is searched at run-time.  Try to do the best guess by
   10958   # appending ld.so.conf contents (and includes) to the search path.
   10959   if test -f /etc/ld.so.conf; then
   10960     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' ' '`
   10961     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10962   fi
   10963 
   10964   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10965   # powerpc, because MkLinux only supported shared libraries with the
   10966   # GNU dynamic linker.  Since this was broken with cross compilers,
   10967   # most powerpc-linux boxes support dynamic linking these days and
   10968   # people can always --disable-shared, the test was removed, and we
   10969   # assume the GNU/Linux dynamic linker is in use.
   10970   dynamic_linker='GNU/Linux ld.so'
   10971   ;;
   10972 
   10973 netbsd*)
   10974   version_type=sunos
   10975   need_lib_prefix=no
   10976   need_version=no
   10977   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10978     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10979     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10980     dynamic_linker='NetBSD (a.out) ld.so'
   10981   else
   10982     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10983     soname_spec='$libname$release$shared_ext$major'
   10984     dynamic_linker='NetBSD ld.elf_so'
   10985   fi
   10986   shlibpath_var=LD_LIBRARY_PATH
   10987   shlibpath_overrides_runpath=yes
   10988   hardcode_into_libs=yes
   10989   ;;
   10990 
   10991 newsos6)
   10992   version_type=linux # correct to gnu/linux during the next big refactor
   10993   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10994   shlibpath_var=LD_LIBRARY_PATH
   10995   shlibpath_overrides_runpath=yes
   10996   ;;
   10997 
   10998 *nto* | *qnx*)
   10999   version_type=qnx
   11000   need_lib_prefix=no
   11001   need_version=no
   11002   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11003   soname_spec='$libname$release$shared_ext$major'
   11004   shlibpath_var=LD_LIBRARY_PATH
   11005   shlibpath_overrides_runpath=no
   11006   hardcode_into_libs=yes
   11007   dynamic_linker='ldqnx.so'
   11008   ;;
   11009 
   11010 openbsd* | bitrig*)
   11011   version_type=sunos
   11012   sys_lib_dlsearch_path_spec=/usr/lib
   11013   need_lib_prefix=no
   11014   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11015     need_version=no
   11016   else
   11017     need_version=yes
   11018   fi
   11019   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11020   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11021   shlibpath_var=LD_LIBRARY_PATH
   11022   shlibpath_overrides_runpath=yes
   11023   ;;
   11024 
   11025 os2*)
   11026   libname_spec='$name'
   11027   version_type=windows
   11028   shrext_cmds=.dll
   11029   need_version=no
   11030   need_lib_prefix=no
   11031   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11032   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11033     v=$($ECHO $release$versuffix | tr -d .-);
   11034     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11035     $ECHO $n$v`$shared_ext'
   11036   library_names_spec='${libname}_dll.$libext'
   11037   dynamic_linker='OS/2 ld.exe'
   11038   shlibpath_var=BEGINLIBPATH
   11039   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11040   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11041   postinstall_cmds='base_file=`basename \$file`~
   11042     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11043     dldir=$destdir/`dirname \$dlpath`~
   11044     test -d \$dldir || mkdir -p \$dldir~
   11045     $install_prog $dir/$dlname \$dldir/$dlname~
   11046     chmod a+x \$dldir/$dlname~
   11047     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11048       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11049     fi'
   11050   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11051     dlpath=$dir/\$dldll~
   11052     $RM \$dlpath'
   11053   ;;
   11054 
   11055 osf3* | osf4* | osf5*)
   11056   version_type=osf
   11057   need_lib_prefix=no
   11058   need_version=no
   11059   soname_spec='$libname$release$shared_ext$major'
   11060   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11061   shlibpath_var=LD_LIBRARY_PATH
   11062   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11063   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11064   ;;
   11065 
   11066 rdos*)
   11067   dynamic_linker=no
   11068   ;;
   11069 
   11070 solaris*)
   11071   version_type=linux # correct to gnu/linux during the next big refactor
   11072   need_lib_prefix=no
   11073   need_version=no
   11074   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11075   soname_spec='$libname$release$shared_ext$major'
   11076   shlibpath_var=LD_LIBRARY_PATH
   11077   shlibpath_overrides_runpath=yes
   11078   hardcode_into_libs=yes
   11079   # ldd complains unless libraries are executable
   11080   postinstall_cmds='chmod +x $lib'
   11081   ;;
   11082 
   11083 sunos4*)
   11084   version_type=sunos
   11085   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11086   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11087   shlibpath_var=LD_LIBRARY_PATH
   11088   shlibpath_overrides_runpath=yes
   11089   if test yes = "$with_gnu_ld"; then
   11090     need_lib_prefix=no
   11091   fi
   11092   need_version=yes
   11093   ;;
   11094 
   11095 sysv4 | sysv4.3*)
   11096   version_type=linux # correct to gnu/linux during the next big refactor
   11097   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11098   soname_spec='$libname$release$shared_ext$major'
   11099   shlibpath_var=LD_LIBRARY_PATH
   11100   case $host_vendor in
   11101     sni)
   11102       shlibpath_overrides_runpath=no
   11103       need_lib_prefix=no
   11104       runpath_var=LD_RUN_PATH
   11105       ;;
   11106     siemens)
   11107       need_lib_prefix=no
   11108       ;;
   11109     motorola)
   11110       need_lib_prefix=no
   11111       need_version=no
   11112       shlibpath_overrides_runpath=no
   11113       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11114       ;;
   11115   esac
   11116   ;;
   11117 
   11118 sysv4*MP*)
   11119   if test -d /usr/nec; then
   11120     version_type=linux # correct to gnu/linux during the next big refactor
   11121     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11122     soname_spec='$libname$shared_ext.$major'
   11123     shlibpath_var=LD_LIBRARY_PATH
   11124   fi
   11125   ;;
   11126 
   11127 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11128   version_type=sco
   11129   need_lib_prefix=no
   11130   need_version=no
   11131   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11132   soname_spec='$libname$release$shared_ext$major'
   11133   shlibpath_var=LD_LIBRARY_PATH
   11134   shlibpath_overrides_runpath=yes
   11135   hardcode_into_libs=yes
   11136   if test yes = "$with_gnu_ld"; then
   11137     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11138   else
   11139     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11140     case $host_os in
   11141       sco3.2v5*)
   11142         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11143 	;;
   11144     esac
   11145   fi
   11146   sys_lib_dlsearch_path_spec='/usr/lib'
   11147   ;;
   11148 
   11149 tpf*)
   11150   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11151   version_type=linux # correct to gnu/linux during the next big refactor
   11152   need_lib_prefix=no
   11153   need_version=no
   11154   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11155   shlibpath_var=LD_LIBRARY_PATH
   11156   shlibpath_overrides_runpath=no
   11157   hardcode_into_libs=yes
   11158   ;;
   11159 
   11160 uts4*)
   11161   version_type=linux # correct to gnu/linux during the next big refactor
   11162   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11163   soname_spec='$libname$release$shared_ext$major'
   11164   shlibpath_var=LD_LIBRARY_PATH
   11165   ;;
   11166 
   11167 *)
   11168   dynamic_linker=no
   11169   ;;
   11170 esac
   11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11172 $as_echo "$dynamic_linker" >&6; }
   11173 test no = "$dynamic_linker" && can_build_shared=no
   11174 
   11175 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11176 if test yes = "$GCC"; then
   11177   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11178 fi
   11179 
   11180 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11181   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11182 fi
   11183 
   11184 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11185   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11186 fi
   11187 
   11188 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11189 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11190 
   11191 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11192 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11193 
   11194 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11195 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 
   11291 
   11292 
   11293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11294 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11295 hardcode_action=
   11296 if test -n "$hardcode_libdir_flag_spec" ||
   11297    test -n "$runpath_var" ||
   11298    test yes = "$hardcode_automatic"; then
   11299 
   11300   # We can hardcode non-existent directories.
   11301   if test no != "$hardcode_direct" &&
   11302      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11303      # have to relink, otherwise we might link with an installed library
   11304      # when we should be linking with a yet-to-be-installed one
   11305      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11306      test no != "$hardcode_minus_L"; then
   11307     # Linking always hardcodes the temporary library directory.
   11308     hardcode_action=relink
   11309   else
   11310     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11311     hardcode_action=immediate
   11312   fi
   11313 else
   11314   # We cannot hardcode anything, or else we can only hardcode existing
   11315   # directories.
   11316   hardcode_action=unsupported
   11317 fi
   11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11319 $as_echo "$hardcode_action" >&6; }
   11320 
   11321 if test relink = "$hardcode_action" ||
   11322    test yes = "$inherit_rpath"; then
   11323   # Fast installation is not supported
   11324   enable_fast_install=no
   11325 elif test yes = "$shlibpath_overrides_runpath" ||
   11326      test no = "$enable_shared"; then
   11327   # Fast installation is not necessary
   11328   enable_fast_install=needless
   11329 fi
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336   if test yes != "$enable_dlopen"; then
   11337   enable_dlopen=unknown
   11338   enable_dlopen_self=unknown
   11339   enable_dlopen_self_static=unknown
   11340 else
   11341   lt_cv_dlopen=no
   11342   lt_cv_dlopen_libs=
   11343 
   11344   case $host_os in
   11345   beos*)
   11346     lt_cv_dlopen=load_add_on
   11347     lt_cv_dlopen_libs=
   11348     lt_cv_dlopen_self=yes
   11349     ;;
   11350 
   11351   mingw* | pw32* | cegcc*)
   11352     lt_cv_dlopen=LoadLibrary
   11353     lt_cv_dlopen_libs=
   11354     ;;
   11355 
   11356   cygwin*)
   11357     lt_cv_dlopen=dlopen
   11358     lt_cv_dlopen_libs=
   11359     ;;
   11360 
   11361   darwin*)
   11362     # if libdl is installed we need to link against it
   11363     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11364 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11365 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11366   $as_echo_n "(cached) " >&6
   11367 else
   11368   ac_check_lib_save_LIBS=$LIBS
   11369 LIBS="-ldl  $LIBS"
   11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11371 /* end confdefs.h.  */
   11372 
   11373 /* Override any GCC internal prototype to avoid an error.
   11374    Use char because int might match the return type of a GCC
   11375    builtin and then its argument prototype would still apply.  */
   11376 #ifdef __cplusplus
   11377 extern "C"
   11378 #endif
   11379 char dlopen ();
   11380 int
   11381 main ()
   11382 {
   11383 return dlopen ();
   11384   ;
   11385   return 0;
   11386 }
   11387 _ACEOF
   11388 if ac_fn_c_try_link "$LINENO"; then :
   11389   ac_cv_lib_dl_dlopen=yes
   11390 else
   11391   ac_cv_lib_dl_dlopen=no
   11392 fi
   11393 rm -f core conftest.err conftest.$ac_objext \
   11394     conftest$ac_exeext conftest.$ac_ext
   11395 LIBS=$ac_check_lib_save_LIBS
   11396 fi
   11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11398 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11399 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11400   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11401 else
   11402 
   11403     lt_cv_dlopen=dyld
   11404     lt_cv_dlopen_libs=
   11405     lt_cv_dlopen_self=yes
   11406 
   11407 fi
   11408 
   11409     ;;
   11410 
   11411   tpf*)
   11412     # Don't try to run any link tests for TPF.  We know it's impossible
   11413     # because TPF is a cross-compiler, and we know how we open DSOs.
   11414     lt_cv_dlopen=dlopen
   11415     lt_cv_dlopen_libs=
   11416     lt_cv_dlopen_self=no
   11417     ;;
   11418 
   11419   *)
   11420     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11421 if test "x$ac_cv_func_shl_load" = xyes; then :
   11422   lt_cv_dlopen=shl_load
   11423 else
   11424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11425 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11426 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11427   $as_echo_n "(cached) " >&6
   11428 else
   11429   ac_check_lib_save_LIBS=$LIBS
   11430 LIBS="-ldld  $LIBS"
   11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11432 /* end confdefs.h.  */
   11433 
   11434 /* Override any GCC internal prototype to avoid an error.
   11435    Use char because int might match the return type of a GCC
   11436    builtin and then its argument prototype would still apply.  */
   11437 #ifdef __cplusplus
   11438 extern "C"
   11439 #endif
   11440 char shl_load ();
   11441 int
   11442 main ()
   11443 {
   11444 return shl_load ();
   11445   ;
   11446   return 0;
   11447 }
   11448 _ACEOF
   11449 if ac_fn_c_try_link "$LINENO"; then :
   11450   ac_cv_lib_dld_shl_load=yes
   11451 else
   11452   ac_cv_lib_dld_shl_load=no
   11453 fi
   11454 rm -f core conftest.err conftest.$ac_objext \
   11455     conftest$ac_exeext conftest.$ac_ext
   11456 LIBS=$ac_check_lib_save_LIBS
   11457 fi
   11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11459 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11460 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11461   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11462 else
   11463   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11464 if test "x$ac_cv_func_dlopen" = xyes; then :
   11465   lt_cv_dlopen=dlopen
   11466 else
   11467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11468 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11469 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11470   $as_echo_n "(cached) " >&6
   11471 else
   11472   ac_check_lib_save_LIBS=$LIBS
   11473 LIBS="-ldl  $LIBS"
   11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11475 /* end confdefs.h.  */
   11476 
   11477 /* Override any GCC internal prototype to avoid an error.
   11478    Use char because int might match the return type of a GCC
   11479    builtin and then its argument prototype would still apply.  */
   11480 #ifdef __cplusplus
   11481 extern "C"
   11482 #endif
   11483 char dlopen ();
   11484 int
   11485 main ()
   11486 {
   11487 return dlopen ();
   11488   ;
   11489   return 0;
   11490 }
   11491 _ACEOF
   11492 if ac_fn_c_try_link "$LINENO"; then :
   11493   ac_cv_lib_dl_dlopen=yes
   11494 else
   11495   ac_cv_lib_dl_dlopen=no
   11496 fi
   11497 rm -f core conftest.err conftest.$ac_objext \
   11498     conftest$ac_exeext conftest.$ac_ext
   11499 LIBS=$ac_check_lib_save_LIBS
   11500 fi
   11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11502 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11503 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11504   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11505 else
   11506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11507 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11508 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11509   $as_echo_n "(cached) " >&6
   11510 else
   11511   ac_check_lib_save_LIBS=$LIBS
   11512 LIBS="-lsvld  $LIBS"
   11513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11514 /* end confdefs.h.  */
   11515 
   11516 /* Override any GCC internal prototype to avoid an error.
   11517    Use char because int might match the return type of a GCC
   11518    builtin and then its argument prototype would still apply.  */
   11519 #ifdef __cplusplus
   11520 extern "C"
   11521 #endif
   11522 char dlopen ();
   11523 int
   11524 main ()
   11525 {
   11526 return dlopen ();
   11527   ;
   11528   return 0;
   11529 }
   11530 _ACEOF
   11531 if ac_fn_c_try_link "$LINENO"; then :
   11532   ac_cv_lib_svld_dlopen=yes
   11533 else
   11534   ac_cv_lib_svld_dlopen=no
   11535 fi
   11536 rm -f core conftest.err conftest.$ac_objext \
   11537     conftest$ac_exeext conftest.$ac_ext
   11538 LIBS=$ac_check_lib_save_LIBS
   11539 fi
   11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11541 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11542 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11543   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11544 else
   11545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11546 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11547 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11548   $as_echo_n "(cached) " >&6
   11549 else
   11550   ac_check_lib_save_LIBS=$LIBS
   11551 LIBS="-ldld  $LIBS"
   11552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11553 /* end confdefs.h.  */
   11554 
   11555 /* Override any GCC internal prototype to avoid an error.
   11556    Use char because int might match the return type of a GCC
   11557    builtin and then its argument prototype would still apply.  */
   11558 #ifdef __cplusplus
   11559 extern "C"
   11560 #endif
   11561 char dld_link ();
   11562 int
   11563 main ()
   11564 {
   11565 return dld_link ();
   11566   ;
   11567   return 0;
   11568 }
   11569 _ACEOF
   11570 if ac_fn_c_try_link "$LINENO"; then :
   11571   ac_cv_lib_dld_dld_link=yes
   11572 else
   11573   ac_cv_lib_dld_dld_link=no
   11574 fi
   11575 rm -f core conftest.err conftest.$ac_objext \
   11576     conftest$ac_exeext conftest.$ac_ext
   11577 LIBS=$ac_check_lib_save_LIBS
   11578 fi
   11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11580 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11581 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11582   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11583 fi
   11584 
   11585 
   11586 fi
   11587 
   11588 
   11589 fi
   11590 
   11591 
   11592 fi
   11593 
   11594 
   11595 fi
   11596 
   11597 
   11598 fi
   11599 
   11600     ;;
   11601   esac
   11602 
   11603   if test no = "$lt_cv_dlopen"; then
   11604     enable_dlopen=no
   11605   else
   11606     enable_dlopen=yes
   11607   fi
   11608 
   11609   case $lt_cv_dlopen in
   11610   dlopen)
   11611     save_CPPFLAGS=$CPPFLAGS
   11612     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11613 
   11614     save_LDFLAGS=$LDFLAGS
   11615     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11616 
   11617     save_LIBS=$LIBS
   11618     LIBS="$lt_cv_dlopen_libs $LIBS"
   11619 
   11620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11621 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11622 if ${lt_cv_dlopen_self+:} false; then :
   11623   $as_echo_n "(cached) " >&6
   11624 else
   11625   	  if test yes = "$cross_compiling"; then :
   11626   lt_cv_dlopen_self=cross
   11627 else
   11628   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11629   lt_status=$lt_dlunknown
   11630   cat > conftest.$ac_ext <<_LT_EOF
   11631 #line $LINENO "configure"
   11632 #include "confdefs.h"
   11633 
   11634 #if HAVE_DLFCN_H
   11635 #include <dlfcn.h>
   11636 #endif
   11637 
   11638 #include <stdio.h>
   11639 
   11640 #ifdef RTLD_GLOBAL
   11641 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11642 #else
   11643 #  ifdef DL_GLOBAL
   11644 #    define LT_DLGLOBAL		DL_GLOBAL
   11645 #  else
   11646 #    define LT_DLGLOBAL		0
   11647 #  endif
   11648 #endif
   11649 
   11650 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11651    find out it does not work in some platform. */
   11652 #ifndef LT_DLLAZY_OR_NOW
   11653 #  ifdef RTLD_LAZY
   11654 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11655 #  else
   11656 #    ifdef DL_LAZY
   11657 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11658 #    else
   11659 #      ifdef RTLD_NOW
   11660 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11661 #      else
   11662 #        ifdef DL_NOW
   11663 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11664 #        else
   11665 #          define LT_DLLAZY_OR_NOW	0
   11666 #        endif
   11667 #      endif
   11668 #    endif
   11669 #  endif
   11670 #endif
   11671 
   11672 /* When -fvisibility=hidden is used, assume the code has been annotated
   11673    correspondingly for the symbols needed.  */
   11674 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11675 int fnord () __attribute__((visibility("default")));
   11676 #endif
   11677 
   11678 int fnord () { return 42; }
   11679 int main ()
   11680 {
   11681   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11682   int status = $lt_dlunknown;
   11683 
   11684   if (self)
   11685     {
   11686       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11687       else
   11688         {
   11689 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11690           else puts (dlerror ());
   11691 	}
   11692       /* dlclose (self); */
   11693     }
   11694   else
   11695     puts (dlerror ());
   11696 
   11697   return status;
   11698 }
   11699 _LT_EOF
   11700   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11701   (eval $ac_link) 2>&5
   11702   ac_status=$?
   11703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11704   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11705     (./conftest; exit; ) >&5 2>/dev/null
   11706     lt_status=$?
   11707     case x$lt_status in
   11708       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11709       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11710       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11711     esac
   11712   else :
   11713     # compilation failed
   11714     lt_cv_dlopen_self=no
   11715   fi
   11716 fi
   11717 rm -fr conftest*
   11718 
   11719 
   11720 fi
   11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11722 $as_echo "$lt_cv_dlopen_self" >&6; }
   11723 
   11724     if test yes = "$lt_cv_dlopen_self"; then
   11725       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11726       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11727 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11728 if ${lt_cv_dlopen_self_static+:} false; then :
   11729   $as_echo_n "(cached) " >&6
   11730 else
   11731   	  if test yes = "$cross_compiling"; then :
   11732   lt_cv_dlopen_self_static=cross
   11733 else
   11734   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11735   lt_status=$lt_dlunknown
   11736   cat > conftest.$ac_ext <<_LT_EOF
   11737 #line $LINENO "configure"
   11738 #include "confdefs.h"
   11739 
   11740 #if HAVE_DLFCN_H
   11741 #include <dlfcn.h>
   11742 #endif
   11743 
   11744 #include <stdio.h>
   11745 
   11746 #ifdef RTLD_GLOBAL
   11747 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11748 #else
   11749 #  ifdef DL_GLOBAL
   11750 #    define LT_DLGLOBAL		DL_GLOBAL
   11751 #  else
   11752 #    define LT_DLGLOBAL		0
   11753 #  endif
   11754 #endif
   11755 
   11756 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11757    find out it does not work in some platform. */
   11758 #ifndef LT_DLLAZY_OR_NOW
   11759 #  ifdef RTLD_LAZY
   11760 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11761 #  else
   11762 #    ifdef DL_LAZY
   11763 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11764 #    else
   11765 #      ifdef RTLD_NOW
   11766 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11767 #      else
   11768 #        ifdef DL_NOW
   11769 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11770 #        else
   11771 #          define LT_DLLAZY_OR_NOW	0
   11772 #        endif
   11773 #      endif
   11774 #    endif
   11775 #  endif
   11776 #endif
   11777 
   11778 /* When -fvisibility=hidden is used, assume the code has been annotated
   11779    correspondingly for the symbols needed.  */
   11780 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11781 int fnord () __attribute__((visibility("default")));
   11782 #endif
   11783 
   11784 int fnord () { return 42; }
   11785 int main ()
   11786 {
   11787   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11788   int status = $lt_dlunknown;
   11789 
   11790   if (self)
   11791     {
   11792       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11793       else
   11794         {
   11795 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11796           else puts (dlerror ());
   11797 	}
   11798       /* dlclose (self); */
   11799     }
   11800   else
   11801     puts (dlerror ());
   11802 
   11803   return status;
   11804 }
   11805 _LT_EOF
   11806   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11807   (eval $ac_link) 2>&5
   11808   ac_status=$?
   11809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11810   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11811     (./conftest; exit; ) >&5 2>/dev/null
   11812     lt_status=$?
   11813     case x$lt_status in
   11814       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11815       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11816       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11817     esac
   11818   else :
   11819     # compilation failed
   11820     lt_cv_dlopen_self_static=no
   11821   fi
   11822 fi
   11823 rm -fr conftest*
   11824 
   11825 
   11826 fi
   11827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11828 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11829     fi
   11830 
   11831     CPPFLAGS=$save_CPPFLAGS
   11832     LDFLAGS=$save_LDFLAGS
   11833     LIBS=$save_LIBS
   11834     ;;
   11835   esac
   11836 
   11837   case $lt_cv_dlopen_self in
   11838   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11839   *) enable_dlopen_self=unknown ;;
   11840   esac
   11841 
   11842   case $lt_cv_dlopen_self_static in
   11843   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11844   *) enable_dlopen_self_static=unknown ;;
   11845   esac
   11846 fi
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 striplib=
   11865 old_striplib=
   11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11867 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11868 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11869   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11870   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11872 $as_echo "yes" >&6; }
   11873 else
   11874 # FIXME - insert some real tests, host_os isn't really good enough
   11875   case $host_os in
   11876   darwin*)
   11877     if test -n "$STRIP"; then
   11878       striplib="$STRIP -x"
   11879       old_striplib="$STRIP -S"
   11880       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11881 $as_echo "yes" >&6; }
   11882     else
   11883       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11884 $as_echo "no" >&6; }
   11885     fi
   11886     ;;
   11887   *)
   11888     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11889 $as_echo "no" >&6; }
   11890     ;;
   11891   esac
   11892 fi
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905   # Report what library types will actually be built
   11906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11907 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11909 $as_echo "$can_build_shared" >&6; }
   11910 
   11911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11912 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11913   test no = "$can_build_shared" && enable_shared=no
   11914 
   11915   # On AIX, shared libraries and static libraries use the same namespace, and
   11916   # are all built from PIC.
   11917   case $host_os in
   11918   aix3*)
   11919     test yes = "$enable_shared" && enable_static=no
   11920     if test -n "$RANLIB"; then
   11921       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11922       postinstall_cmds='$RANLIB $lib'
   11923     fi
   11924     ;;
   11925 
   11926   aix[4-9]*)
   11927     if test ia64 != "$host_cpu"; then
   11928       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   11929       yes,aix,yes) ;;			# shared object as lib.so file only
   11930       yes,svr4,*) ;;			# shared object as lib.so archive member only
   11931       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   11932       esac
   11933     fi
   11934     ;;
   11935   esac
   11936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11937 $as_echo "$enable_shared" >&6; }
   11938 
   11939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11940 $as_echo_n "checking whether to build static libraries... " >&6; }
   11941   # Make sure either enable_shared or enable_static is yes.
   11942   test yes = "$enable_shared" || enable_static=yes
   11943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11944 $as_echo "$enable_static" >&6; }
   11945 
   11946 
   11947 
   11948 
   11949 fi
   11950 ac_ext=c
   11951 ac_cpp='$CPP $CPPFLAGS'
   11952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11955 
   11956 CC=$lt_save_CC
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972         ac_config_commands="$ac_config_commands libtool"
   11973 
   11974 
   11975 
   11976 
   11977 # Only expand once:
   11978 
   11979 
   11980 
   11981 # Require X.Org macros 1.16 or later for XORG_MEMORY_CHECK_FLAGS
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11994 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11995 if ${ac_cv_prog_cc_c99+:} false; then :
   11996   $as_echo_n "(cached) " >&6
   11997 else
   11998   ac_cv_prog_cc_c99=no
   11999 ac_save_CC=$CC
   12000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12001 /* end confdefs.h.  */
   12002 #include <stdarg.h>
   12003 #include <stdbool.h>
   12004 #include <stdlib.h>
   12005 #include <wchar.h>
   12006 #include <stdio.h>
   12007 
   12008 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12009 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12010 #define showlist(...) puts (#__VA_ARGS__)
   12011 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12012 static void
   12013 test_varargs_macros (void)
   12014 {
   12015   int x = 1234;
   12016   int y = 5678;
   12017   debug ("Flag");
   12018   debug ("X = %d\n", x);
   12019   showlist (The first, second, and third items.);
   12020   report (x>y, "x is %d but y is %d", x, y);
   12021 }
   12022 
   12023 // Check long long types.
   12024 #define BIG64 18446744073709551615ull
   12025 #define BIG32 4294967295ul
   12026 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12027 #if !BIG_OK
   12028   your preprocessor is broken;
   12029 #endif
   12030 #if BIG_OK
   12031 #else
   12032   your preprocessor is broken;
   12033 #endif
   12034 static long long int bignum = -9223372036854775807LL;
   12035 static unsigned long long int ubignum = BIG64;
   12036 
   12037 struct incomplete_array
   12038 {
   12039   int datasize;
   12040   double data[];
   12041 };
   12042 
   12043 struct named_init {
   12044   int number;
   12045   const wchar_t *name;
   12046   double average;
   12047 };
   12048 
   12049 typedef const char *ccp;
   12050 
   12051 static inline int
   12052 test_restrict (ccp restrict text)
   12053 {
   12054   // See if C++-style comments work.
   12055   // Iterate through items via the restricted pointer.
   12056   // Also check for declarations in for loops.
   12057   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12058     continue;
   12059   return 0;
   12060 }
   12061 
   12062 // Check varargs and va_copy.
   12063 static void
   12064 test_varargs (const char *format, ...)
   12065 {
   12066   va_list args;
   12067   va_start (args, format);
   12068   va_list args_copy;
   12069   va_copy (args_copy, args);
   12070 
   12071   const char *str;
   12072   int number;
   12073   float fnumber;
   12074 
   12075   while (*format)
   12076     {
   12077       switch (*format++)
   12078 	{
   12079 	case 's': // string
   12080 	  str = va_arg (args_copy, const char *);
   12081 	  break;
   12082 	case 'd': // int
   12083 	  number = va_arg (args_copy, int);
   12084 	  break;
   12085 	case 'f': // float
   12086 	  fnumber = va_arg (args_copy, double);
   12087 	  break;
   12088 	default:
   12089 	  break;
   12090 	}
   12091     }
   12092   va_end (args_copy);
   12093   va_end (args);
   12094 }
   12095 
   12096 int
   12097 main ()
   12098 {
   12099 
   12100   // Check bool.
   12101   _Bool success = false;
   12102 
   12103   // Check restrict.
   12104   if (test_restrict ("String literal") == 0)
   12105     success = true;
   12106   char *restrict newvar = "Another string";
   12107 
   12108   // Check varargs.
   12109   test_varargs ("s, d' f .", "string", 65, 34.234);
   12110   test_varargs_macros ();
   12111 
   12112   // Check flexible array members.
   12113   struct incomplete_array *ia =
   12114     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12115   ia->datasize = 10;
   12116   for (int i = 0; i < ia->datasize; ++i)
   12117     ia->data[i] = i * 1.234;
   12118 
   12119   // Check named initializers.
   12120   struct named_init ni = {
   12121     .number = 34,
   12122     .name = L"Test wide string",
   12123     .average = 543.34343,
   12124   };
   12125 
   12126   ni.number = 58;
   12127 
   12128   int dynamic_array[ni.number];
   12129   dynamic_array[ni.number - 1] = 543;
   12130 
   12131   // work around unused variable warnings
   12132   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12133 	  || dynamic_array[ni.number - 1] != 543);
   12134 
   12135   ;
   12136   return 0;
   12137 }
   12138 _ACEOF
   12139 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12140 do
   12141   CC="$ac_save_CC $ac_arg"
   12142   if ac_fn_c_try_compile "$LINENO"; then :
   12143   ac_cv_prog_cc_c99=$ac_arg
   12144 fi
   12145 rm -f core conftest.err conftest.$ac_objext
   12146   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12147 done
   12148 rm -f conftest.$ac_ext
   12149 CC=$ac_save_CC
   12150 
   12151 fi
   12152 # AC_CACHE_VAL
   12153 case "x$ac_cv_prog_cc_c99" in
   12154   x)
   12155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12156 $as_echo "none needed" >&6; } ;;
   12157   xno)
   12158     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12159 $as_echo "unsupported" >&6; } ;;
   12160   *)
   12161     CC="$CC $ac_cv_prog_cc_c99"
   12162     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12163 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12164 esac
   12165 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12166 
   12167 fi
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12175 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12176   CLANGCC="yes"
   12177 else
   12178   CLANGCC="no"
   12179 fi
   12180 
   12181 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12182 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12183   INTELCC="yes"
   12184 else
   12185   INTELCC="no"
   12186 fi
   12187 
   12188 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12189 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12190   SUNCC="yes"
   12191 else
   12192   SUNCC="no"
   12193 fi
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12204 	if test -n "$ac_tool_prefix"; then
   12205   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12206 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12208 $as_echo_n "checking for $ac_word... " >&6; }
   12209 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12210   $as_echo_n "(cached) " >&6
   12211 else
   12212   case $PKG_CONFIG in
   12213   [\\/]* | ?:[\\/]*)
   12214   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12215   ;;
   12216   *)
   12217   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12218 for as_dir in $PATH
   12219 do
   12220   IFS=$as_save_IFS
   12221   test -z "$as_dir" && as_dir=.
   12222     for ac_exec_ext in '' $ac_executable_extensions; do
   12223   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12224     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12226     break 2
   12227   fi
   12228 done
   12229   done
   12230 IFS=$as_save_IFS
   12231 
   12232   ;;
   12233 esac
   12234 fi
   12235 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12236 if test -n "$PKG_CONFIG"; then
   12237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12238 $as_echo "$PKG_CONFIG" >&6; }
   12239 else
   12240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12241 $as_echo "no" >&6; }
   12242 fi
   12243 
   12244 
   12245 fi
   12246 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12247   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12248   # Extract the first word of "pkg-config", so it can be a program name with args.
   12249 set dummy pkg-config; ac_word=$2
   12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12251 $as_echo_n "checking for $ac_word... " >&6; }
   12252 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12253   $as_echo_n "(cached) " >&6
   12254 else
   12255   case $ac_pt_PKG_CONFIG in
   12256   [\\/]* | ?:[\\/]*)
   12257   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12258   ;;
   12259   *)
   12260   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12261 for as_dir in $PATH
   12262 do
   12263   IFS=$as_save_IFS
   12264   test -z "$as_dir" && as_dir=.
   12265     for ac_exec_ext in '' $ac_executable_extensions; do
   12266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12267     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12269     break 2
   12270   fi
   12271 done
   12272   done
   12273 IFS=$as_save_IFS
   12274 
   12275   ;;
   12276 esac
   12277 fi
   12278 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12279 if test -n "$ac_pt_PKG_CONFIG"; then
   12280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12281 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12282 else
   12283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12284 $as_echo "no" >&6; }
   12285 fi
   12286 
   12287   if test "x$ac_pt_PKG_CONFIG" = x; then
   12288     PKG_CONFIG=""
   12289   else
   12290     case $cross_compiling:$ac_tool_warned in
   12291 yes:)
   12292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12293 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12294 ac_tool_warned=yes ;;
   12295 esac
   12296     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12297   fi
   12298 else
   12299   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12300 fi
   12301 
   12302 fi
   12303 if test -n "$PKG_CONFIG"; then
   12304 	_pkg_min_version=0.9.0
   12305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12306 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12307 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12309 $as_echo "yes" >&6; }
   12310 	else
   12311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12312 $as_echo "no" >&6; }
   12313 		PKG_CONFIG=""
   12314 	fi
   12315 fi
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 # Check whether --enable-selective-werror was given.
   12322 if test "${enable_selective_werror+set}" = set; then :
   12323   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12324 else
   12325   SELECTIVE_WERROR=yes
   12326 fi
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12333 if test "x$SUNCC" = "xyes"; then
   12334     BASE_CFLAGS="-v"
   12335 else
   12336     BASE_CFLAGS=""
   12337 fi
   12338 
   12339 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 xorg_testset_save_CFLAGS="$CFLAGS"
   12354 
   12355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12358 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12359 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12360   $as_echo_n "(cached) " >&6
   12361 else
   12362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12363 /* end confdefs.h.  */
   12364 int i;
   12365 _ACEOF
   12366 if ac_fn_c_try_compile "$LINENO"; then :
   12367   xorg_cv_cc_flag_unknown_warning_option=yes
   12368 else
   12369   xorg_cv_cc_flag_unknown_warning_option=no
   12370 fi
   12371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12372 fi
   12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12374 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12376 	CFLAGS="$xorg_testset_save_CFLAGS"
   12377 fi
   12378 
   12379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12382 	fi
   12383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12385 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12386 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12387   $as_echo_n "(cached) " >&6
   12388 else
   12389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12390 /* end confdefs.h.  */
   12391 int i;
   12392 _ACEOF
   12393 if ac_fn_c_try_compile "$LINENO"; then :
   12394   xorg_cv_cc_flag_unused_command_line_argument=yes
   12395 else
   12396   xorg_cv_cc_flag_unused_command_line_argument=no
   12397 fi
   12398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12399 fi
   12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12401 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12403 	CFLAGS="$xorg_testset_save_CFLAGS"
   12404 fi
   12405 
   12406 found="no"
   12407 
   12408 	if test $found = "no" ; then
   12409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12411 		fi
   12412 
   12413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12415 		fi
   12416 
   12417 		CFLAGS="$CFLAGS -Wall"
   12418 
   12419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12420 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12421 		cacheid=xorg_cv_cc_flag__Wall
   12422 		if eval \${$cacheid+:} false; then :
   12423   $as_echo_n "(cached) " >&6
   12424 else
   12425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12426 /* end confdefs.h.  */
   12427 int i;
   12428 int
   12429 main ()
   12430 {
   12431 
   12432   ;
   12433   return 0;
   12434 }
   12435 _ACEOF
   12436 if ac_fn_c_try_link "$LINENO"; then :
   12437   eval $cacheid=yes
   12438 else
   12439   eval $cacheid=no
   12440 fi
   12441 rm -f core conftest.err conftest.$ac_objext \
   12442     conftest$ac_exeext conftest.$ac_ext
   12443 fi
   12444 
   12445 
   12446 		CFLAGS="$xorg_testset_save_CFLAGS"
   12447 
   12448 		eval supported=\$$cacheid
   12449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12450 $as_echo "$supported" >&6; }
   12451 		if test "$supported" = "yes" ; then
   12452 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12453 			found="yes"
   12454 		fi
   12455 	fi
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 xorg_testset_save_CFLAGS="$CFLAGS"
   12472 
   12473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12476 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12477 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12478   $as_echo_n "(cached) " >&6
   12479 else
   12480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12481 /* end confdefs.h.  */
   12482 int i;
   12483 _ACEOF
   12484 if ac_fn_c_try_compile "$LINENO"; then :
   12485   xorg_cv_cc_flag_unknown_warning_option=yes
   12486 else
   12487   xorg_cv_cc_flag_unknown_warning_option=no
   12488 fi
   12489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12490 fi
   12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12492 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12494 	CFLAGS="$xorg_testset_save_CFLAGS"
   12495 fi
   12496 
   12497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12500 	fi
   12501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12503 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12504 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12505   $as_echo_n "(cached) " >&6
   12506 else
   12507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12508 /* end confdefs.h.  */
   12509 int i;
   12510 _ACEOF
   12511 if ac_fn_c_try_compile "$LINENO"; then :
   12512   xorg_cv_cc_flag_unused_command_line_argument=yes
   12513 else
   12514   xorg_cv_cc_flag_unused_command_line_argument=no
   12515 fi
   12516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12517 fi
   12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12519 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12521 	CFLAGS="$xorg_testset_save_CFLAGS"
   12522 fi
   12523 
   12524 found="no"
   12525 
   12526 	if test $found = "no" ; then
   12527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12529 		fi
   12530 
   12531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12533 		fi
   12534 
   12535 		CFLAGS="$CFLAGS -Wpointer-arith"
   12536 
   12537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12538 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12539 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12540 		if eval \${$cacheid+:} false; then :
   12541   $as_echo_n "(cached) " >&6
   12542 else
   12543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12544 /* end confdefs.h.  */
   12545 int i;
   12546 int
   12547 main ()
   12548 {
   12549 
   12550   ;
   12551   return 0;
   12552 }
   12553 _ACEOF
   12554 if ac_fn_c_try_link "$LINENO"; then :
   12555   eval $cacheid=yes
   12556 else
   12557   eval $cacheid=no
   12558 fi
   12559 rm -f core conftest.err conftest.$ac_objext \
   12560     conftest$ac_exeext conftest.$ac_ext
   12561 fi
   12562 
   12563 
   12564 		CFLAGS="$xorg_testset_save_CFLAGS"
   12565 
   12566 		eval supported=\$$cacheid
   12567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12568 $as_echo "$supported" >&6; }
   12569 		if test "$supported" = "yes" ; then
   12570 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12571 			found="yes"
   12572 		fi
   12573 	fi
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 xorg_testset_save_CFLAGS="$CFLAGS"
   12590 
   12591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12596   $as_echo_n "(cached) " >&6
   12597 else
   12598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12599 /* end confdefs.h.  */
   12600 int i;
   12601 _ACEOF
   12602 if ac_fn_c_try_compile "$LINENO"; then :
   12603   xorg_cv_cc_flag_unknown_warning_option=yes
   12604 else
   12605   xorg_cv_cc_flag_unknown_warning_option=no
   12606 fi
   12607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12608 fi
   12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12612 	CFLAGS="$xorg_testset_save_CFLAGS"
   12613 fi
   12614 
   12615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12618 	fi
   12619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12623   $as_echo_n "(cached) " >&6
   12624 else
   12625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12626 /* end confdefs.h.  */
   12627 int i;
   12628 _ACEOF
   12629 if ac_fn_c_try_compile "$LINENO"; then :
   12630   xorg_cv_cc_flag_unused_command_line_argument=yes
   12631 else
   12632   xorg_cv_cc_flag_unused_command_line_argument=no
   12633 fi
   12634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12635 fi
   12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12639 	CFLAGS="$xorg_testset_save_CFLAGS"
   12640 fi
   12641 
   12642 found="no"
   12643 
   12644 	if test $found = "no" ; then
   12645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12647 		fi
   12648 
   12649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12651 		fi
   12652 
   12653 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12654 
   12655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12656 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12657 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12658 		if eval \${$cacheid+:} false; then :
   12659   $as_echo_n "(cached) " >&6
   12660 else
   12661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12662 /* end confdefs.h.  */
   12663 int i;
   12664 int
   12665 main ()
   12666 {
   12667 
   12668   ;
   12669   return 0;
   12670 }
   12671 _ACEOF
   12672 if ac_fn_c_try_link "$LINENO"; then :
   12673   eval $cacheid=yes
   12674 else
   12675   eval $cacheid=no
   12676 fi
   12677 rm -f core conftest.err conftest.$ac_objext \
   12678     conftest$ac_exeext conftest.$ac_ext
   12679 fi
   12680 
   12681 
   12682 		CFLAGS="$xorg_testset_save_CFLAGS"
   12683 
   12684 		eval supported=\$$cacheid
   12685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12686 $as_echo "$supported" >&6; }
   12687 		if test "$supported" = "yes" ; then
   12688 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12689 			found="yes"
   12690 		fi
   12691 	fi
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 xorg_testset_save_CFLAGS="$CFLAGS"
   12708 
   12709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12714   $as_echo_n "(cached) " >&6
   12715 else
   12716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12717 /* end confdefs.h.  */
   12718 int i;
   12719 _ACEOF
   12720 if ac_fn_c_try_compile "$LINENO"; then :
   12721   xorg_cv_cc_flag_unknown_warning_option=yes
   12722 else
   12723   xorg_cv_cc_flag_unknown_warning_option=no
   12724 fi
   12725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12726 fi
   12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12730 	CFLAGS="$xorg_testset_save_CFLAGS"
   12731 fi
   12732 
   12733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12736 	fi
   12737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12741   $as_echo_n "(cached) " >&6
   12742 else
   12743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12744 /* end confdefs.h.  */
   12745 int i;
   12746 _ACEOF
   12747 if ac_fn_c_try_compile "$LINENO"; then :
   12748   xorg_cv_cc_flag_unused_command_line_argument=yes
   12749 else
   12750   xorg_cv_cc_flag_unused_command_line_argument=no
   12751 fi
   12752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12753 fi
   12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12757 	CFLAGS="$xorg_testset_save_CFLAGS"
   12758 fi
   12759 
   12760 found="no"
   12761 
   12762 	if test $found = "no" ; then
   12763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12765 		fi
   12766 
   12767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12769 		fi
   12770 
   12771 		CFLAGS="$CFLAGS -Wformat=2"
   12772 
   12773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12774 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12775 		cacheid=xorg_cv_cc_flag__Wformat_2
   12776 		if eval \${$cacheid+:} false; then :
   12777   $as_echo_n "(cached) " >&6
   12778 else
   12779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12780 /* end confdefs.h.  */
   12781 int i;
   12782 int
   12783 main ()
   12784 {
   12785 
   12786   ;
   12787   return 0;
   12788 }
   12789 _ACEOF
   12790 if ac_fn_c_try_link "$LINENO"; then :
   12791   eval $cacheid=yes
   12792 else
   12793   eval $cacheid=no
   12794 fi
   12795 rm -f core conftest.err conftest.$ac_objext \
   12796     conftest$ac_exeext conftest.$ac_ext
   12797 fi
   12798 
   12799 
   12800 		CFLAGS="$xorg_testset_save_CFLAGS"
   12801 
   12802 		eval supported=\$$cacheid
   12803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12804 $as_echo "$supported" >&6; }
   12805 		if test "$supported" = "yes" ; then
   12806 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12807 			found="yes"
   12808 		fi
   12809 	fi
   12810 
   12811 	if test $found = "no" ; then
   12812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12814 		fi
   12815 
   12816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12818 		fi
   12819 
   12820 		CFLAGS="$CFLAGS -Wformat"
   12821 
   12822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12823 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12824 		cacheid=xorg_cv_cc_flag__Wformat
   12825 		if eval \${$cacheid+:} false; then :
   12826   $as_echo_n "(cached) " >&6
   12827 else
   12828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12829 /* end confdefs.h.  */
   12830 int i;
   12831 int
   12832 main ()
   12833 {
   12834 
   12835   ;
   12836   return 0;
   12837 }
   12838 _ACEOF
   12839 if ac_fn_c_try_link "$LINENO"; then :
   12840   eval $cacheid=yes
   12841 else
   12842   eval $cacheid=no
   12843 fi
   12844 rm -f core conftest.err conftest.$ac_objext \
   12845     conftest$ac_exeext conftest.$ac_ext
   12846 fi
   12847 
   12848 
   12849 		CFLAGS="$xorg_testset_save_CFLAGS"
   12850 
   12851 		eval supported=\$$cacheid
   12852 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12853 $as_echo "$supported" >&6; }
   12854 		if test "$supported" = "yes" ; then
   12855 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12856 			found="yes"
   12857 		fi
   12858 	fi
   12859 
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 
   12874 
   12875 
   12876 xorg_testset_save_CFLAGS="$CFLAGS"
   12877 
   12878 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12879 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12881 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12882 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12883   $as_echo_n "(cached) " >&6
   12884 else
   12885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12886 /* end confdefs.h.  */
   12887 int i;
   12888 _ACEOF
   12889 if ac_fn_c_try_compile "$LINENO"; then :
   12890   xorg_cv_cc_flag_unknown_warning_option=yes
   12891 else
   12892   xorg_cv_cc_flag_unknown_warning_option=no
   12893 fi
   12894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12895 fi
   12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12897 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12898 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12899 	CFLAGS="$xorg_testset_save_CFLAGS"
   12900 fi
   12901 
   12902 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12903 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12904 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12905 	fi
   12906 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12908 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12909 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12910   $as_echo_n "(cached) " >&6
   12911 else
   12912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12913 /* end confdefs.h.  */
   12914 int i;
   12915 _ACEOF
   12916 if ac_fn_c_try_compile "$LINENO"; then :
   12917   xorg_cv_cc_flag_unused_command_line_argument=yes
   12918 else
   12919   xorg_cv_cc_flag_unused_command_line_argument=no
   12920 fi
   12921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12922 fi
   12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12924 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12926 	CFLAGS="$xorg_testset_save_CFLAGS"
   12927 fi
   12928 
   12929 found="no"
   12930 
   12931 	if test $found = "no" ; then
   12932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12934 		fi
   12935 
   12936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12938 		fi
   12939 
   12940 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12941 
   12942 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12943 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12944 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12945 		if eval \${$cacheid+:} false; then :
   12946   $as_echo_n "(cached) " >&6
   12947 else
   12948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12949 /* end confdefs.h.  */
   12950 int i;
   12951 int
   12952 main ()
   12953 {
   12954 
   12955   ;
   12956   return 0;
   12957 }
   12958 _ACEOF
   12959 if ac_fn_c_try_link "$LINENO"; then :
   12960   eval $cacheid=yes
   12961 else
   12962   eval $cacheid=no
   12963 fi
   12964 rm -f core conftest.err conftest.$ac_objext \
   12965     conftest$ac_exeext conftest.$ac_ext
   12966 fi
   12967 
   12968 
   12969 		CFLAGS="$xorg_testset_save_CFLAGS"
   12970 
   12971 		eval supported=\$$cacheid
   12972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12973 $as_echo "$supported" >&6; }
   12974 		if test "$supported" = "yes" ; then
   12975 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12976 			found="yes"
   12977 		fi
   12978 	fi
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 xorg_testset_save_CFLAGS="$CFLAGS"
   12995 
   12996 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12997 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12999 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13000 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13001   $as_echo_n "(cached) " >&6
   13002 else
   13003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13004 /* end confdefs.h.  */
   13005 int i;
   13006 _ACEOF
   13007 if ac_fn_c_try_compile "$LINENO"; then :
   13008   xorg_cv_cc_flag_unknown_warning_option=yes
   13009 else
   13010   xorg_cv_cc_flag_unknown_warning_option=no
   13011 fi
   13012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13013 fi
   13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13015 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13016 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13017 	CFLAGS="$xorg_testset_save_CFLAGS"
   13018 fi
   13019 
   13020 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13021 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13022 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13023 	fi
   13024 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13026 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13027 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13028   $as_echo_n "(cached) " >&6
   13029 else
   13030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13031 /* end confdefs.h.  */
   13032 int i;
   13033 _ACEOF
   13034 if ac_fn_c_try_compile "$LINENO"; then :
   13035   xorg_cv_cc_flag_unused_command_line_argument=yes
   13036 else
   13037   xorg_cv_cc_flag_unused_command_line_argument=no
   13038 fi
   13039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13040 fi
   13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13042 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13044 	CFLAGS="$xorg_testset_save_CFLAGS"
   13045 fi
   13046 
   13047 found="no"
   13048 
   13049 	if test $found = "no" ; then
   13050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13052 		fi
   13053 
   13054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13056 		fi
   13057 
   13058 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13059 
   13060 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13061 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13062 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13063 		if eval \${$cacheid+:} false; then :
   13064   $as_echo_n "(cached) " >&6
   13065 else
   13066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13067 /* end confdefs.h.  */
   13068 int i;
   13069 int
   13070 main ()
   13071 {
   13072 
   13073   ;
   13074   return 0;
   13075 }
   13076 _ACEOF
   13077 if ac_fn_c_try_link "$LINENO"; then :
   13078   eval $cacheid=yes
   13079 else
   13080   eval $cacheid=no
   13081 fi
   13082 rm -f core conftest.err conftest.$ac_objext \
   13083     conftest$ac_exeext conftest.$ac_ext
   13084 fi
   13085 
   13086 
   13087 		CFLAGS="$xorg_testset_save_CFLAGS"
   13088 
   13089 		eval supported=\$$cacheid
   13090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13091 $as_echo "$supported" >&6; }
   13092 		if test "$supported" = "yes" ; then
   13093 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13094 			found="yes"
   13095 		fi
   13096 	fi
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 
   13112 xorg_testset_save_CFLAGS="$CFLAGS"
   13113 
   13114 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13117 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13118 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13119   $as_echo_n "(cached) " >&6
   13120 else
   13121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13122 /* end confdefs.h.  */
   13123 int i;
   13124 _ACEOF
   13125 if ac_fn_c_try_compile "$LINENO"; then :
   13126   xorg_cv_cc_flag_unknown_warning_option=yes
   13127 else
   13128   xorg_cv_cc_flag_unknown_warning_option=no
   13129 fi
   13130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13131 fi
   13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13133 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13134 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13135 	CFLAGS="$xorg_testset_save_CFLAGS"
   13136 fi
   13137 
   13138 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13139 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13141 	fi
   13142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13144 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13145 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13146   $as_echo_n "(cached) " >&6
   13147 else
   13148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13149 /* end confdefs.h.  */
   13150 int i;
   13151 _ACEOF
   13152 if ac_fn_c_try_compile "$LINENO"; then :
   13153   xorg_cv_cc_flag_unused_command_line_argument=yes
   13154 else
   13155   xorg_cv_cc_flag_unused_command_line_argument=no
   13156 fi
   13157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13158 fi
   13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13160 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13161 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13162 	CFLAGS="$xorg_testset_save_CFLAGS"
   13163 fi
   13164 
   13165 found="no"
   13166 
   13167 	if test $found = "no" ; then
   13168 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13170 		fi
   13171 
   13172 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13174 		fi
   13175 
   13176 		CFLAGS="$CFLAGS -Wnested-externs"
   13177 
   13178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13179 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13180 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13181 		if eval \${$cacheid+:} false; then :
   13182   $as_echo_n "(cached) " >&6
   13183 else
   13184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13185 /* end confdefs.h.  */
   13186 int i;
   13187 int
   13188 main ()
   13189 {
   13190 
   13191   ;
   13192   return 0;
   13193 }
   13194 _ACEOF
   13195 if ac_fn_c_try_link "$LINENO"; then :
   13196   eval $cacheid=yes
   13197 else
   13198   eval $cacheid=no
   13199 fi
   13200 rm -f core conftest.err conftest.$ac_objext \
   13201     conftest$ac_exeext conftest.$ac_ext
   13202 fi
   13203 
   13204 
   13205 		CFLAGS="$xorg_testset_save_CFLAGS"
   13206 
   13207 		eval supported=\$$cacheid
   13208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13209 $as_echo "$supported" >&6; }
   13210 		if test "$supported" = "yes" ; then
   13211 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13212 			found="yes"
   13213 		fi
   13214 	fi
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 xorg_testset_save_CFLAGS="$CFLAGS"
   13231 
   13232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13235 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13236 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13237   $as_echo_n "(cached) " >&6
   13238 else
   13239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13240 /* end confdefs.h.  */
   13241 int i;
   13242 _ACEOF
   13243 if ac_fn_c_try_compile "$LINENO"; then :
   13244   xorg_cv_cc_flag_unknown_warning_option=yes
   13245 else
   13246   xorg_cv_cc_flag_unknown_warning_option=no
   13247 fi
   13248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13249 fi
   13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13251 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13252 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13253 	CFLAGS="$xorg_testset_save_CFLAGS"
   13254 fi
   13255 
   13256 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13257 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13258 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13259 	fi
   13260 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13262 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13263 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13264   $as_echo_n "(cached) " >&6
   13265 else
   13266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13267 /* end confdefs.h.  */
   13268 int i;
   13269 _ACEOF
   13270 if ac_fn_c_try_compile "$LINENO"; then :
   13271   xorg_cv_cc_flag_unused_command_line_argument=yes
   13272 else
   13273   xorg_cv_cc_flag_unused_command_line_argument=no
   13274 fi
   13275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13276 fi
   13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13278 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13279 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13280 	CFLAGS="$xorg_testset_save_CFLAGS"
   13281 fi
   13282 
   13283 found="no"
   13284 
   13285 	if test $found = "no" ; then
   13286 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13288 		fi
   13289 
   13290 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13292 		fi
   13293 
   13294 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13295 
   13296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13297 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13298 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13299 		if eval \${$cacheid+:} false; then :
   13300   $as_echo_n "(cached) " >&6
   13301 else
   13302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13303 /* end confdefs.h.  */
   13304 int i;
   13305 int
   13306 main ()
   13307 {
   13308 
   13309   ;
   13310   return 0;
   13311 }
   13312 _ACEOF
   13313 if ac_fn_c_try_link "$LINENO"; then :
   13314   eval $cacheid=yes
   13315 else
   13316   eval $cacheid=no
   13317 fi
   13318 rm -f core conftest.err conftest.$ac_objext \
   13319     conftest$ac_exeext conftest.$ac_ext
   13320 fi
   13321 
   13322 
   13323 		CFLAGS="$xorg_testset_save_CFLAGS"
   13324 
   13325 		eval supported=\$$cacheid
   13326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13327 $as_echo "$supported" >&6; }
   13328 		if test "$supported" = "yes" ; then
   13329 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13330 			found="yes"
   13331 		fi
   13332 	fi
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 xorg_testset_save_CFLAGS="$CFLAGS"
   13349 
   13350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13353 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13354 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13355   $as_echo_n "(cached) " >&6
   13356 else
   13357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13358 /* end confdefs.h.  */
   13359 int i;
   13360 _ACEOF
   13361 if ac_fn_c_try_compile "$LINENO"; then :
   13362   xorg_cv_cc_flag_unknown_warning_option=yes
   13363 else
   13364   xorg_cv_cc_flag_unknown_warning_option=no
   13365 fi
   13366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13367 fi
   13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13369 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13370 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13371 	CFLAGS="$xorg_testset_save_CFLAGS"
   13372 fi
   13373 
   13374 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13375 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13376 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13377 	fi
   13378 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13380 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13381 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13382   $as_echo_n "(cached) " >&6
   13383 else
   13384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13385 /* end confdefs.h.  */
   13386 int i;
   13387 _ACEOF
   13388 if ac_fn_c_try_compile "$LINENO"; then :
   13389   xorg_cv_cc_flag_unused_command_line_argument=yes
   13390 else
   13391   xorg_cv_cc_flag_unused_command_line_argument=no
   13392 fi
   13393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13394 fi
   13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13396 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13397 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13398 	CFLAGS="$xorg_testset_save_CFLAGS"
   13399 fi
   13400 
   13401 found="no"
   13402 
   13403 	if test $found = "no" ; then
   13404 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13405 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13406 		fi
   13407 
   13408 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13409 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13410 		fi
   13411 
   13412 		CFLAGS="$CFLAGS -Wold-style-definition"
   13413 
   13414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13415 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13416 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13417 		if eval \${$cacheid+:} false; then :
   13418   $as_echo_n "(cached) " >&6
   13419 else
   13420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13421 /* end confdefs.h.  */
   13422 int i;
   13423 int
   13424 main ()
   13425 {
   13426 
   13427   ;
   13428   return 0;
   13429 }
   13430 _ACEOF
   13431 if ac_fn_c_try_link "$LINENO"; then :
   13432   eval $cacheid=yes
   13433 else
   13434   eval $cacheid=no
   13435 fi
   13436 rm -f core conftest.err conftest.$ac_objext \
   13437     conftest$ac_exeext conftest.$ac_ext
   13438 fi
   13439 
   13440 
   13441 		CFLAGS="$xorg_testset_save_CFLAGS"
   13442 
   13443 		eval supported=\$$cacheid
   13444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13445 $as_echo "$supported" >&6; }
   13446 		if test "$supported" = "yes" ; then
   13447 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13448 			found="yes"
   13449 		fi
   13450 	fi
   13451 
   13452 	if test $found = "no" ; then
   13453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13455 		fi
   13456 
   13457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13459 		fi
   13460 
   13461 		CFLAGS="$CFLAGS -fd"
   13462 
   13463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13464 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13465 		cacheid=xorg_cv_cc_flag__fd
   13466 		if eval \${$cacheid+:} false; then :
   13467   $as_echo_n "(cached) " >&6
   13468 else
   13469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13470 /* end confdefs.h.  */
   13471 int i;
   13472 int
   13473 main ()
   13474 {
   13475 
   13476   ;
   13477   return 0;
   13478 }
   13479 _ACEOF
   13480 if ac_fn_c_try_link "$LINENO"; then :
   13481   eval $cacheid=yes
   13482 else
   13483   eval $cacheid=no
   13484 fi
   13485 rm -f core conftest.err conftest.$ac_objext \
   13486     conftest$ac_exeext conftest.$ac_ext
   13487 fi
   13488 
   13489 
   13490 		CFLAGS="$xorg_testset_save_CFLAGS"
   13491 
   13492 		eval supported=\$$cacheid
   13493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13494 $as_echo "$supported" >&6; }
   13495 		if test "$supported" = "yes" ; then
   13496 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13497 			found="yes"
   13498 		fi
   13499 	fi
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 xorg_testset_save_CFLAGS="$CFLAGS"
   13516 
   13517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13520 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13521 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13522   $as_echo_n "(cached) " >&6
   13523 else
   13524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13525 /* end confdefs.h.  */
   13526 int i;
   13527 _ACEOF
   13528 if ac_fn_c_try_compile "$LINENO"; then :
   13529   xorg_cv_cc_flag_unknown_warning_option=yes
   13530 else
   13531   xorg_cv_cc_flag_unknown_warning_option=no
   13532 fi
   13533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13534 fi
   13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13536 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13538 	CFLAGS="$xorg_testset_save_CFLAGS"
   13539 fi
   13540 
   13541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13544 	fi
   13545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13547 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13548 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13549   $as_echo_n "(cached) " >&6
   13550 else
   13551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13552 /* end confdefs.h.  */
   13553 int i;
   13554 _ACEOF
   13555 if ac_fn_c_try_compile "$LINENO"; then :
   13556   xorg_cv_cc_flag_unused_command_line_argument=yes
   13557 else
   13558   xorg_cv_cc_flag_unused_command_line_argument=no
   13559 fi
   13560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13561 fi
   13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13563 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13565 	CFLAGS="$xorg_testset_save_CFLAGS"
   13566 fi
   13567 
   13568 found="no"
   13569 
   13570 	if test $found = "no" ; then
   13571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13573 		fi
   13574 
   13575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13577 		fi
   13578 
   13579 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13580 
   13581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13582 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13583 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13584 		if eval \${$cacheid+:} false; then :
   13585   $as_echo_n "(cached) " >&6
   13586 else
   13587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13588 /* end confdefs.h.  */
   13589 int i;
   13590 int
   13591 main ()
   13592 {
   13593 
   13594   ;
   13595   return 0;
   13596 }
   13597 _ACEOF
   13598 if ac_fn_c_try_link "$LINENO"; then :
   13599   eval $cacheid=yes
   13600 else
   13601   eval $cacheid=no
   13602 fi
   13603 rm -f core conftest.err conftest.$ac_objext \
   13604     conftest$ac_exeext conftest.$ac_ext
   13605 fi
   13606 
   13607 
   13608 		CFLAGS="$xorg_testset_save_CFLAGS"
   13609 
   13610 		eval supported=\$$cacheid
   13611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13612 $as_echo "$supported" >&6; }
   13613 		if test "$supported" = "yes" ; then
   13614 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13615 			found="yes"
   13616 		fi
   13617 	fi
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 # This chunk adds additional warnings that could catch undesired effects.
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 xorg_testset_save_CFLAGS="$CFLAGS"
   13638 
   13639 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13640 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13642 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13643 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13644   $as_echo_n "(cached) " >&6
   13645 else
   13646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13647 /* end confdefs.h.  */
   13648 int i;
   13649 _ACEOF
   13650 if ac_fn_c_try_compile "$LINENO"; then :
   13651   xorg_cv_cc_flag_unknown_warning_option=yes
   13652 else
   13653   xorg_cv_cc_flag_unknown_warning_option=no
   13654 fi
   13655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13656 fi
   13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13658 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13659 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13660 	CFLAGS="$xorg_testset_save_CFLAGS"
   13661 fi
   13662 
   13663 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13664 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13665 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13666 	fi
   13667 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13669 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13670 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13671   $as_echo_n "(cached) " >&6
   13672 else
   13673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13674 /* end confdefs.h.  */
   13675 int i;
   13676 _ACEOF
   13677 if ac_fn_c_try_compile "$LINENO"; then :
   13678   xorg_cv_cc_flag_unused_command_line_argument=yes
   13679 else
   13680   xorg_cv_cc_flag_unused_command_line_argument=no
   13681 fi
   13682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13683 fi
   13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13685 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13687 	CFLAGS="$xorg_testset_save_CFLAGS"
   13688 fi
   13689 
   13690 found="no"
   13691 
   13692 	if test $found = "no" ; then
   13693 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13695 		fi
   13696 
   13697 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13699 		fi
   13700 
   13701 		CFLAGS="$CFLAGS -Wunused"
   13702 
   13703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13704 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13705 		cacheid=xorg_cv_cc_flag__Wunused
   13706 		if eval \${$cacheid+:} false; then :
   13707   $as_echo_n "(cached) " >&6
   13708 else
   13709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13710 /* end confdefs.h.  */
   13711 int i;
   13712 int
   13713 main ()
   13714 {
   13715 
   13716   ;
   13717   return 0;
   13718 }
   13719 _ACEOF
   13720 if ac_fn_c_try_link "$LINENO"; then :
   13721   eval $cacheid=yes
   13722 else
   13723   eval $cacheid=no
   13724 fi
   13725 rm -f core conftest.err conftest.$ac_objext \
   13726     conftest$ac_exeext conftest.$ac_ext
   13727 fi
   13728 
   13729 
   13730 		CFLAGS="$xorg_testset_save_CFLAGS"
   13731 
   13732 		eval supported=\$$cacheid
   13733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13734 $as_echo "$supported" >&6; }
   13735 		if test "$supported" = "yes" ; then
   13736 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13737 			found="yes"
   13738 		fi
   13739 	fi
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 xorg_testset_save_CFLAGS="$CFLAGS"
   13756 
   13757 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13759 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13760 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13761 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13762   $as_echo_n "(cached) " >&6
   13763 else
   13764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13765 /* end confdefs.h.  */
   13766 int i;
   13767 _ACEOF
   13768 if ac_fn_c_try_compile "$LINENO"; then :
   13769   xorg_cv_cc_flag_unknown_warning_option=yes
   13770 else
   13771   xorg_cv_cc_flag_unknown_warning_option=no
   13772 fi
   13773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13774 fi
   13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13776 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13777 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13778 	CFLAGS="$xorg_testset_save_CFLAGS"
   13779 fi
   13780 
   13781 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13782 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13783 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13784 	fi
   13785 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13787 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13788 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13789   $as_echo_n "(cached) " >&6
   13790 else
   13791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13792 /* end confdefs.h.  */
   13793 int i;
   13794 _ACEOF
   13795 if ac_fn_c_try_compile "$LINENO"; then :
   13796   xorg_cv_cc_flag_unused_command_line_argument=yes
   13797 else
   13798   xorg_cv_cc_flag_unused_command_line_argument=no
   13799 fi
   13800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13801 fi
   13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13803 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13804 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13805 	CFLAGS="$xorg_testset_save_CFLAGS"
   13806 fi
   13807 
   13808 found="no"
   13809 
   13810 	if test $found = "no" ; then
   13811 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13813 		fi
   13814 
   13815 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13817 		fi
   13818 
   13819 		CFLAGS="$CFLAGS -Wuninitialized"
   13820 
   13821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13822 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13823 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13824 		if eval \${$cacheid+:} false; then :
   13825   $as_echo_n "(cached) " >&6
   13826 else
   13827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13828 /* end confdefs.h.  */
   13829 int i;
   13830 int
   13831 main ()
   13832 {
   13833 
   13834   ;
   13835   return 0;
   13836 }
   13837 _ACEOF
   13838 if ac_fn_c_try_link "$LINENO"; then :
   13839   eval $cacheid=yes
   13840 else
   13841   eval $cacheid=no
   13842 fi
   13843 rm -f core conftest.err conftest.$ac_objext \
   13844     conftest$ac_exeext conftest.$ac_ext
   13845 fi
   13846 
   13847 
   13848 		CFLAGS="$xorg_testset_save_CFLAGS"
   13849 
   13850 		eval supported=\$$cacheid
   13851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13852 $as_echo "$supported" >&6; }
   13853 		if test "$supported" = "yes" ; then
   13854 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13855 			found="yes"
   13856 		fi
   13857 	fi
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 
   13871 
   13872 
   13873 xorg_testset_save_CFLAGS="$CFLAGS"
   13874 
   13875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13878 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13879 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13880   $as_echo_n "(cached) " >&6
   13881 else
   13882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13883 /* end confdefs.h.  */
   13884 int i;
   13885 _ACEOF
   13886 if ac_fn_c_try_compile "$LINENO"; then :
   13887   xorg_cv_cc_flag_unknown_warning_option=yes
   13888 else
   13889   xorg_cv_cc_flag_unknown_warning_option=no
   13890 fi
   13891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13892 fi
   13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13894 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13896 	CFLAGS="$xorg_testset_save_CFLAGS"
   13897 fi
   13898 
   13899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13902 	fi
   13903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13905 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13906 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13907   $as_echo_n "(cached) " >&6
   13908 else
   13909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13910 /* end confdefs.h.  */
   13911 int i;
   13912 _ACEOF
   13913 if ac_fn_c_try_compile "$LINENO"; then :
   13914   xorg_cv_cc_flag_unused_command_line_argument=yes
   13915 else
   13916   xorg_cv_cc_flag_unused_command_line_argument=no
   13917 fi
   13918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13919 fi
   13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13921 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13923 	CFLAGS="$xorg_testset_save_CFLAGS"
   13924 fi
   13925 
   13926 found="no"
   13927 
   13928 	if test $found = "no" ; then
   13929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13931 		fi
   13932 
   13933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13935 		fi
   13936 
   13937 		CFLAGS="$CFLAGS -Wshadow"
   13938 
   13939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13940 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13941 		cacheid=xorg_cv_cc_flag__Wshadow
   13942 		if eval \${$cacheid+:} false; then :
   13943   $as_echo_n "(cached) " >&6
   13944 else
   13945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13946 /* end confdefs.h.  */
   13947 int i;
   13948 int
   13949 main ()
   13950 {
   13951 
   13952   ;
   13953   return 0;
   13954 }
   13955 _ACEOF
   13956 if ac_fn_c_try_link "$LINENO"; then :
   13957   eval $cacheid=yes
   13958 else
   13959   eval $cacheid=no
   13960 fi
   13961 rm -f core conftest.err conftest.$ac_objext \
   13962     conftest$ac_exeext conftest.$ac_ext
   13963 fi
   13964 
   13965 
   13966 		CFLAGS="$xorg_testset_save_CFLAGS"
   13967 
   13968 		eval supported=\$$cacheid
   13969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13970 $as_echo "$supported" >&6; }
   13971 		if test "$supported" = "yes" ; then
   13972 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13973 			found="yes"
   13974 		fi
   13975 	fi
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 xorg_testset_save_CFLAGS="$CFLAGS"
   13992 
   13993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13997 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13998   $as_echo_n "(cached) " >&6
   13999 else
   14000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14001 /* end confdefs.h.  */
   14002 int i;
   14003 _ACEOF
   14004 if ac_fn_c_try_compile "$LINENO"; then :
   14005   xorg_cv_cc_flag_unknown_warning_option=yes
   14006 else
   14007   xorg_cv_cc_flag_unknown_warning_option=no
   14008 fi
   14009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14010 fi
   14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14012 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14014 	CFLAGS="$xorg_testset_save_CFLAGS"
   14015 fi
   14016 
   14017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14020 	fi
   14021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14024 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14025   $as_echo_n "(cached) " >&6
   14026 else
   14027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14028 /* end confdefs.h.  */
   14029 int i;
   14030 _ACEOF
   14031 if ac_fn_c_try_compile "$LINENO"; then :
   14032   xorg_cv_cc_flag_unused_command_line_argument=yes
   14033 else
   14034   xorg_cv_cc_flag_unused_command_line_argument=no
   14035 fi
   14036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14037 fi
   14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14039 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14041 	CFLAGS="$xorg_testset_save_CFLAGS"
   14042 fi
   14043 
   14044 found="no"
   14045 
   14046 	if test $found = "no" ; then
   14047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14049 		fi
   14050 
   14051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14053 		fi
   14054 
   14055 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14056 
   14057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14058 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14059 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14060 		if eval \${$cacheid+:} false; then :
   14061   $as_echo_n "(cached) " >&6
   14062 else
   14063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14064 /* end confdefs.h.  */
   14065 int i;
   14066 int
   14067 main ()
   14068 {
   14069 
   14070   ;
   14071   return 0;
   14072 }
   14073 _ACEOF
   14074 if ac_fn_c_try_link "$LINENO"; then :
   14075   eval $cacheid=yes
   14076 else
   14077   eval $cacheid=no
   14078 fi
   14079 rm -f core conftest.err conftest.$ac_objext \
   14080     conftest$ac_exeext conftest.$ac_ext
   14081 fi
   14082 
   14083 
   14084 		CFLAGS="$xorg_testset_save_CFLAGS"
   14085 
   14086 		eval supported=\$$cacheid
   14087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14088 $as_echo "$supported" >&6; }
   14089 		if test "$supported" = "yes" ; then
   14090 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14091 			found="yes"
   14092 		fi
   14093 	fi
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 xorg_testset_save_CFLAGS="$CFLAGS"
   14110 
   14111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14116   $as_echo_n "(cached) " >&6
   14117 else
   14118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14119 /* end confdefs.h.  */
   14120 int i;
   14121 _ACEOF
   14122 if ac_fn_c_try_compile "$LINENO"; then :
   14123   xorg_cv_cc_flag_unknown_warning_option=yes
   14124 else
   14125   xorg_cv_cc_flag_unknown_warning_option=no
   14126 fi
   14127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14128 fi
   14129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14132 	CFLAGS="$xorg_testset_save_CFLAGS"
   14133 fi
   14134 
   14135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14138 	fi
   14139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14143   $as_echo_n "(cached) " >&6
   14144 else
   14145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14146 /* end confdefs.h.  */
   14147 int i;
   14148 _ACEOF
   14149 if ac_fn_c_try_compile "$LINENO"; then :
   14150   xorg_cv_cc_flag_unused_command_line_argument=yes
   14151 else
   14152   xorg_cv_cc_flag_unused_command_line_argument=no
   14153 fi
   14154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14155 fi
   14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14159 	CFLAGS="$xorg_testset_save_CFLAGS"
   14160 fi
   14161 
   14162 found="no"
   14163 
   14164 	if test $found = "no" ; then
   14165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14167 		fi
   14168 
   14169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14171 		fi
   14172 
   14173 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14174 
   14175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14176 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14177 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14178 		if eval \${$cacheid+:} false; then :
   14179   $as_echo_n "(cached) " >&6
   14180 else
   14181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14182 /* end confdefs.h.  */
   14183 int i;
   14184 int
   14185 main ()
   14186 {
   14187 
   14188   ;
   14189   return 0;
   14190 }
   14191 _ACEOF
   14192 if ac_fn_c_try_link "$LINENO"; then :
   14193   eval $cacheid=yes
   14194 else
   14195   eval $cacheid=no
   14196 fi
   14197 rm -f core conftest.err conftest.$ac_objext \
   14198     conftest$ac_exeext conftest.$ac_ext
   14199 fi
   14200 
   14201 
   14202 		CFLAGS="$xorg_testset_save_CFLAGS"
   14203 
   14204 		eval supported=\$$cacheid
   14205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14206 $as_echo "$supported" >&6; }
   14207 		if test "$supported" = "yes" ; then
   14208 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14209 			found="yes"
   14210 		fi
   14211 	fi
   14212 
   14213 
   14214 
   14215 
   14216 
   14217 
   14218 
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 xorg_testset_save_CFLAGS="$CFLAGS"
   14228 
   14229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14234   $as_echo_n "(cached) " >&6
   14235 else
   14236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14237 /* end confdefs.h.  */
   14238 int i;
   14239 _ACEOF
   14240 if ac_fn_c_try_compile "$LINENO"; then :
   14241   xorg_cv_cc_flag_unknown_warning_option=yes
   14242 else
   14243   xorg_cv_cc_flag_unknown_warning_option=no
   14244 fi
   14245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14246 fi
   14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14250 	CFLAGS="$xorg_testset_save_CFLAGS"
   14251 fi
   14252 
   14253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14256 	fi
   14257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14261   $as_echo_n "(cached) " >&6
   14262 else
   14263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14264 /* end confdefs.h.  */
   14265 int i;
   14266 _ACEOF
   14267 if ac_fn_c_try_compile "$LINENO"; then :
   14268   xorg_cv_cc_flag_unused_command_line_argument=yes
   14269 else
   14270   xorg_cv_cc_flag_unused_command_line_argument=no
   14271 fi
   14272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14273 fi
   14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14277 	CFLAGS="$xorg_testset_save_CFLAGS"
   14278 fi
   14279 
   14280 found="no"
   14281 
   14282 	if test $found = "no" ; then
   14283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14285 		fi
   14286 
   14287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14289 		fi
   14290 
   14291 		CFLAGS="$CFLAGS -Wredundant-decls"
   14292 
   14293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14294 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14295 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14296 		if eval \${$cacheid+:} false; then :
   14297   $as_echo_n "(cached) " >&6
   14298 else
   14299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14300 /* end confdefs.h.  */
   14301 int i;
   14302 int
   14303 main ()
   14304 {
   14305 
   14306   ;
   14307   return 0;
   14308 }
   14309 _ACEOF
   14310 if ac_fn_c_try_link "$LINENO"; then :
   14311   eval $cacheid=yes
   14312 else
   14313   eval $cacheid=no
   14314 fi
   14315 rm -f core conftest.err conftest.$ac_objext \
   14316     conftest$ac_exeext conftest.$ac_ext
   14317 fi
   14318 
   14319 
   14320 		CFLAGS="$xorg_testset_save_CFLAGS"
   14321 
   14322 		eval supported=\$$cacheid
   14323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14324 $as_echo "$supported" >&6; }
   14325 		if test "$supported" = "yes" ; then
   14326 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14327 			found="yes"
   14328 		fi
   14329 	fi
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 xorg_testset_save_CFLAGS="$CFLAGS"
   14346 
   14347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14350 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14351 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14352   $as_echo_n "(cached) " >&6
   14353 else
   14354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14355 /* end confdefs.h.  */
   14356 int i;
   14357 _ACEOF
   14358 if ac_fn_c_try_compile "$LINENO"; then :
   14359   xorg_cv_cc_flag_unknown_warning_option=yes
   14360 else
   14361   xorg_cv_cc_flag_unknown_warning_option=no
   14362 fi
   14363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14364 fi
   14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14366 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14368 	CFLAGS="$xorg_testset_save_CFLAGS"
   14369 fi
   14370 
   14371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14374 	fi
   14375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14377 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14378 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14379   $as_echo_n "(cached) " >&6
   14380 else
   14381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14382 /* end confdefs.h.  */
   14383 int i;
   14384 _ACEOF
   14385 if ac_fn_c_try_compile "$LINENO"; then :
   14386   xorg_cv_cc_flag_unused_command_line_argument=yes
   14387 else
   14388   xorg_cv_cc_flag_unused_command_line_argument=no
   14389 fi
   14390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14391 fi
   14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14393 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14395 	CFLAGS="$xorg_testset_save_CFLAGS"
   14396 fi
   14397 
   14398 found="no"
   14399 
   14400 	if test $found = "no" ; then
   14401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14403 		fi
   14404 
   14405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14407 		fi
   14408 
   14409 		CFLAGS="$CFLAGS -Wlogical-op"
   14410 
   14411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14412 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14413 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14414 		if eval \${$cacheid+:} false; then :
   14415   $as_echo_n "(cached) " >&6
   14416 else
   14417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14418 /* end confdefs.h.  */
   14419 int i;
   14420 int
   14421 main ()
   14422 {
   14423 
   14424   ;
   14425   return 0;
   14426 }
   14427 _ACEOF
   14428 if ac_fn_c_try_link "$LINENO"; then :
   14429   eval $cacheid=yes
   14430 else
   14431   eval $cacheid=no
   14432 fi
   14433 rm -f core conftest.err conftest.$ac_objext \
   14434     conftest$ac_exeext conftest.$ac_ext
   14435 fi
   14436 
   14437 
   14438 		CFLAGS="$xorg_testset_save_CFLAGS"
   14439 
   14440 		eval supported=\$$cacheid
   14441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14442 $as_echo "$supported" >&6; }
   14443 		if test "$supported" = "yes" ; then
   14444 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14445 			found="yes"
   14446 		fi
   14447 	fi
   14448 
   14449 
   14450 
   14451 # These are currently disabled because they are noisy.  They will be enabled
   14452 # in the future once the codebase is sufficiently modernized to silence
   14453 # them.  For now, I don't want them to drown out the other warnings.
   14454 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14455 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14456 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14457 
   14458 # Turn some warnings into errors, so we don't accidently get successful builds
   14459 # when there are problems that should be fixed.
   14460 
   14461 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 xorg_testset_save_CFLAGS="$CFLAGS"
   14476 
   14477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14480 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14481 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14482   $as_echo_n "(cached) " >&6
   14483 else
   14484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14485 /* end confdefs.h.  */
   14486 int i;
   14487 _ACEOF
   14488 if ac_fn_c_try_compile "$LINENO"; then :
   14489   xorg_cv_cc_flag_unknown_warning_option=yes
   14490 else
   14491   xorg_cv_cc_flag_unknown_warning_option=no
   14492 fi
   14493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14494 fi
   14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14496 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14498 	CFLAGS="$xorg_testset_save_CFLAGS"
   14499 fi
   14500 
   14501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14504 	fi
   14505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14507 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14508 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14509   $as_echo_n "(cached) " >&6
   14510 else
   14511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14512 /* end confdefs.h.  */
   14513 int i;
   14514 _ACEOF
   14515 if ac_fn_c_try_compile "$LINENO"; then :
   14516   xorg_cv_cc_flag_unused_command_line_argument=yes
   14517 else
   14518   xorg_cv_cc_flag_unused_command_line_argument=no
   14519 fi
   14520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14521 fi
   14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14523 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14525 	CFLAGS="$xorg_testset_save_CFLAGS"
   14526 fi
   14527 
   14528 found="no"
   14529 
   14530 	if test $found = "no" ; then
   14531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14533 		fi
   14534 
   14535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14537 		fi
   14538 
   14539 		CFLAGS="$CFLAGS -Werror=implicit"
   14540 
   14541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14542 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14543 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14544 		if eval \${$cacheid+:} false; then :
   14545   $as_echo_n "(cached) " >&6
   14546 else
   14547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14548 /* end confdefs.h.  */
   14549 int i;
   14550 int
   14551 main ()
   14552 {
   14553 
   14554   ;
   14555   return 0;
   14556 }
   14557 _ACEOF
   14558 if ac_fn_c_try_link "$LINENO"; then :
   14559   eval $cacheid=yes
   14560 else
   14561   eval $cacheid=no
   14562 fi
   14563 rm -f core conftest.err conftest.$ac_objext \
   14564     conftest$ac_exeext conftest.$ac_ext
   14565 fi
   14566 
   14567 
   14568 		CFLAGS="$xorg_testset_save_CFLAGS"
   14569 
   14570 		eval supported=\$$cacheid
   14571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14572 $as_echo "$supported" >&6; }
   14573 		if test "$supported" = "yes" ; then
   14574 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14575 			found="yes"
   14576 		fi
   14577 	fi
   14578 
   14579 	if test $found = "no" ; then
   14580 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14581 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14582 		fi
   14583 
   14584 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14585 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14586 		fi
   14587 
   14588 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14589 
   14590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14591 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14592 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14593 		if eval \${$cacheid+:} false; then :
   14594   $as_echo_n "(cached) " >&6
   14595 else
   14596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14597 /* end confdefs.h.  */
   14598 int i;
   14599 int
   14600 main ()
   14601 {
   14602 
   14603   ;
   14604   return 0;
   14605 }
   14606 _ACEOF
   14607 if ac_fn_c_try_link "$LINENO"; then :
   14608   eval $cacheid=yes
   14609 else
   14610   eval $cacheid=no
   14611 fi
   14612 rm -f core conftest.err conftest.$ac_objext \
   14613     conftest$ac_exeext conftest.$ac_ext
   14614 fi
   14615 
   14616 
   14617 		CFLAGS="$xorg_testset_save_CFLAGS"
   14618 
   14619 		eval supported=\$$cacheid
   14620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14621 $as_echo "$supported" >&6; }
   14622 		if test "$supported" = "yes" ; then
   14623 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14624 			found="yes"
   14625 		fi
   14626 	fi
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 xorg_testset_save_CFLAGS="$CFLAGS"
   14643 
   14644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14647 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14648 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14649   $as_echo_n "(cached) " >&6
   14650 else
   14651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14652 /* end confdefs.h.  */
   14653 int i;
   14654 _ACEOF
   14655 if ac_fn_c_try_compile "$LINENO"; then :
   14656   xorg_cv_cc_flag_unknown_warning_option=yes
   14657 else
   14658   xorg_cv_cc_flag_unknown_warning_option=no
   14659 fi
   14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14661 fi
   14662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14663 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14665 	CFLAGS="$xorg_testset_save_CFLAGS"
   14666 fi
   14667 
   14668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14671 	fi
   14672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14674 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14675 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14676   $as_echo_n "(cached) " >&6
   14677 else
   14678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14679 /* end confdefs.h.  */
   14680 int i;
   14681 _ACEOF
   14682 if ac_fn_c_try_compile "$LINENO"; then :
   14683   xorg_cv_cc_flag_unused_command_line_argument=yes
   14684 else
   14685   xorg_cv_cc_flag_unused_command_line_argument=no
   14686 fi
   14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14688 fi
   14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14690 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14691 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14692 	CFLAGS="$xorg_testset_save_CFLAGS"
   14693 fi
   14694 
   14695 found="no"
   14696 
   14697 	if test $found = "no" ; then
   14698 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14699 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14700 		fi
   14701 
   14702 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14703 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14704 		fi
   14705 
   14706 		CFLAGS="$CFLAGS -Werror=nonnull"
   14707 
   14708 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14709 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14710 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14711 		if eval \${$cacheid+:} false; then :
   14712   $as_echo_n "(cached) " >&6
   14713 else
   14714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14715 /* end confdefs.h.  */
   14716 int i;
   14717 int
   14718 main ()
   14719 {
   14720 
   14721   ;
   14722   return 0;
   14723 }
   14724 _ACEOF
   14725 if ac_fn_c_try_link "$LINENO"; then :
   14726   eval $cacheid=yes
   14727 else
   14728   eval $cacheid=no
   14729 fi
   14730 rm -f core conftest.err conftest.$ac_objext \
   14731     conftest$ac_exeext conftest.$ac_ext
   14732 fi
   14733 
   14734 
   14735 		CFLAGS="$xorg_testset_save_CFLAGS"
   14736 
   14737 		eval supported=\$$cacheid
   14738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14739 $as_echo "$supported" >&6; }
   14740 		if test "$supported" = "yes" ; then
   14741 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14742 			found="yes"
   14743 		fi
   14744 	fi
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 xorg_testset_save_CFLAGS="$CFLAGS"
   14761 
   14762 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14763 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14765 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14766 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14767   $as_echo_n "(cached) " >&6
   14768 else
   14769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14770 /* end confdefs.h.  */
   14771 int i;
   14772 _ACEOF
   14773 if ac_fn_c_try_compile "$LINENO"; then :
   14774   xorg_cv_cc_flag_unknown_warning_option=yes
   14775 else
   14776   xorg_cv_cc_flag_unknown_warning_option=no
   14777 fi
   14778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14779 fi
   14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14781 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14782 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14783 	CFLAGS="$xorg_testset_save_CFLAGS"
   14784 fi
   14785 
   14786 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14787 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14788 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14789 	fi
   14790 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14792 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14793 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14794   $as_echo_n "(cached) " >&6
   14795 else
   14796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14797 /* end confdefs.h.  */
   14798 int i;
   14799 _ACEOF
   14800 if ac_fn_c_try_compile "$LINENO"; then :
   14801   xorg_cv_cc_flag_unused_command_line_argument=yes
   14802 else
   14803   xorg_cv_cc_flag_unused_command_line_argument=no
   14804 fi
   14805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14806 fi
   14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14808 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14809 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14810 	CFLAGS="$xorg_testset_save_CFLAGS"
   14811 fi
   14812 
   14813 found="no"
   14814 
   14815 	if test $found = "no" ; then
   14816 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14817 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14818 		fi
   14819 
   14820 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14821 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14822 		fi
   14823 
   14824 		CFLAGS="$CFLAGS -Werror=init-self"
   14825 
   14826 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14827 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14828 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14829 		if eval \${$cacheid+:} false; then :
   14830   $as_echo_n "(cached) " >&6
   14831 else
   14832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14833 /* end confdefs.h.  */
   14834 int i;
   14835 int
   14836 main ()
   14837 {
   14838 
   14839   ;
   14840   return 0;
   14841 }
   14842 _ACEOF
   14843 if ac_fn_c_try_link "$LINENO"; then :
   14844   eval $cacheid=yes
   14845 else
   14846   eval $cacheid=no
   14847 fi
   14848 rm -f core conftest.err conftest.$ac_objext \
   14849     conftest$ac_exeext conftest.$ac_ext
   14850 fi
   14851 
   14852 
   14853 		CFLAGS="$xorg_testset_save_CFLAGS"
   14854 
   14855 		eval supported=\$$cacheid
   14856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14857 $as_echo "$supported" >&6; }
   14858 		if test "$supported" = "yes" ; then
   14859 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14860 			found="yes"
   14861 		fi
   14862 	fi
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 xorg_testset_save_CFLAGS="$CFLAGS"
   14879 
   14880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14882 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14883 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14884 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14885   $as_echo_n "(cached) " >&6
   14886 else
   14887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14888 /* end confdefs.h.  */
   14889 int i;
   14890 _ACEOF
   14891 if ac_fn_c_try_compile "$LINENO"; then :
   14892   xorg_cv_cc_flag_unknown_warning_option=yes
   14893 else
   14894   xorg_cv_cc_flag_unknown_warning_option=no
   14895 fi
   14896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14897 fi
   14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14899 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14901 	CFLAGS="$xorg_testset_save_CFLAGS"
   14902 fi
   14903 
   14904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14907 	fi
   14908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14910 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14911 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14912   $as_echo_n "(cached) " >&6
   14913 else
   14914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14915 /* end confdefs.h.  */
   14916 int i;
   14917 _ACEOF
   14918 if ac_fn_c_try_compile "$LINENO"; then :
   14919   xorg_cv_cc_flag_unused_command_line_argument=yes
   14920 else
   14921   xorg_cv_cc_flag_unused_command_line_argument=no
   14922 fi
   14923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14924 fi
   14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14926 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14927 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14928 	CFLAGS="$xorg_testset_save_CFLAGS"
   14929 fi
   14930 
   14931 found="no"
   14932 
   14933 	if test $found = "no" ; then
   14934 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14935 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14936 		fi
   14937 
   14938 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14939 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14940 		fi
   14941 
   14942 		CFLAGS="$CFLAGS -Werror=main"
   14943 
   14944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14945 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14946 		cacheid=xorg_cv_cc_flag__Werror_main
   14947 		if eval \${$cacheid+:} false; then :
   14948   $as_echo_n "(cached) " >&6
   14949 else
   14950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14951 /* end confdefs.h.  */
   14952 int i;
   14953 int
   14954 main ()
   14955 {
   14956 
   14957   ;
   14958   return 0;
   14959 }
   14960 _ACEOF
   14961 if ac_fn_c_try_link "$LINENO"; then :
   14962   eval $cacheid=yes
   14963 else
   14964   eval $cacheid=no
   14965 fi
   14966 rm -f core conftest.err conftest.$ac_objext \
   14967     conftest$ac_exeext conftest.$ac_ext
   14968 fi
   14969 
   14970 
   14971 		CFLAGS="$xorg_testset_save_CFLAGS"
   14972 
   14973 		eval supported=\$$cacheid
   14974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14975 $as_echo "$supported" >&6; }
   14976 		if test "$supported" = "yes" ; then
   14977 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14978 			found="yes"
   14979 		fi
   14980 	fi
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 xorg_testset_save_CFLAGS="$CFLAGS"
   14997 
   14998 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15001 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15002 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15003   $as_echo_n "(cached) " >&6
   15004 else
   15005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15006 /* end confdefs.h.  */
   15007 int i;
   15008 _ACEOF
   15009 if ac_fn_c_try_compile "$LINENO"; then :
   15010   xorg_cv_cc_flag_unknown_warning_option=yes
   15011 else
   15012   xorg_cv_cc_flag_unknown_warning_option=no
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15015 fi
   15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15017 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15018 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15019 	CFLAGS="$xorg_testset_save_CFLAGS"
   15020 fi
   15021 
   15022 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15023 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15025 	fi
   15026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15028 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15029 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15030   $as_echo_n "(cached) " >&6
   15031 else
   15032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15033 /* end confdefs.h.  */
   15034 int i;
   15035 _ACEOF
   15036 if ac_fn_c_try_compile "$LINENO"; then :
   15037   xorg_cv_cc_flag_unused_command_line_argument=yes
   15038 else
   15039   xorg_cv_cc_flag_unused_command_line_argument=no
   15040 fi
   15041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15042 fi
   15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15044 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15045 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15046 	CFLAGS="$xorg_testset_save_CFLAGS"
   15047 fi
   15048 
   15049 found="no"
   15050 
   15051 	if test $found = "no" ; then
   15052 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15054 		fi
   15055 
   15056 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15058 		fi
   15059 
   15060 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15061 
   15062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15063 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15064 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15065 		if eval \${$cacheid+:} false; then :
   15066   $as_echo_n "(cached) " >&6
   15067 else
   15068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15069 /* end confdefs.h.  */
   15070 int i;
   15071 int
   15072 main ()
   15073 {
   15074 
   15075   ;
   15076   return 0;
   15077 }
   15078 _ACEOF
   15079 if ac_fn_c_try_link "$LINENO"; then :
   15080   eval $cacheid=yes
   15081 else
   15082   eval $cacheid=no
   15083 fi
   15084 rm -f core conftest.err conftest.$ac_objext \
   15085     conftest$ac_exeext conftest.$ac_ext
   15086 fi
   15087 
   15088 
   15089 		CFLAGS="$xorg_testset_save_CFLAGS"
   15090 
   15091 		eval supported=\$$cacheid
   15092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15093 $as_echo "$supported" >&6; }
   15094 		if test "$supported" = "yes" ; then
   15095 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15096 			found="yes"
   15097 		fi
   15098 	fi
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 
   15110 
   15111 
   15112 
   15113 
   15114 xorg_testset_save_CFLAGS="$CFLAGS"
   15115 
   15116 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15117 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15118 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15119 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15120 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15121   $as_echo_n "(cached) " >&6
   15122 else
   15123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15124 /* end confdefs.h.  */
   15125 int i;
   15126 _ACEOF
   15127 if ac_fn_c_try_compile "$LINENO"; then :
   15128   xorg_cv_cc_flag_unknown_warning_option=yes
   15129 else
   15130   xorg_cv_cc_flag_unknown_warning_option=no
   15131 fi
   15132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15133 fi
   15134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15135 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15136 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15137 	CFLAGS="$xorg_testset_save_CFLAGS"
   15138 fi
   15139 
   15140 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15141 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15142 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15143 	fi
   15144 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15146 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15147 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15148   $as_echo_n "(cached) " >&6
   15149 else
   15150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15151 /* end confdefs.h.  */
   15152 int i;
   15153 _ACEOF
   15154 if ac_fn_c_try_compile "$LINENO"; then :
   15155   xorg_cv_cc_flag_unused_command_line_argument=yes
   15156 else
   15157   xorg_cv_cc_flag_unused_command_line_argument=no
   15158 fi
   15159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15160 fi
   15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15162 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15164 	CFLAGS="$xorg_testset_save_CFLAGS"
   15165 fi
   15166 
   15167 found="no"
   15168 
   15169 	if test $found = "no" ; then
   15170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15172 		fi
   15173 
   15174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15176 		fi
   15177 
   15178 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15179 
   15180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15181 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15182 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15183 		if eval \${$cacheid+:} false; then :
   15184   $as_echo_n "(cached) " >&6
   15185 else
   15186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15187 /* end confdefs.h.  */
   15188 int i;
   15189 int
   15190 main ()
   15191 {
   15192 
   15193   ;
   15194   return 0;
   15195 }
   15196 _ACEOF
   15197 if ac_fn_c_try_link "$LINENO"; then :
   15198   eval $cacheid=yes
   15199 else
   15200   eval $cacheid=no
   15201 fi
   15202 rm -f core conftest.err conftest.$ac_objext \
   15203     conftest$ac_exeext conftest.$ac_ext
   15204 fi
   15205 
   15206 
   15207 		CFLAGS="$xorg_testset_save_CFLAGS"
   15208 
   15209 		eval supported=\$$cacheid
   15210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15211 $as_echo "$supported" >&6; }
   15212 		if test "$supported" = "yes" ; then
   15213 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15214 			found="yes"
   15215 		fi
   15216 	fi
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 xorg_testset_save_CFLAGS="$CFLAGS"
   15233 
   15234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15237 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15238 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15239   $as_echo_n "(cached) " >&6
   15240 else
   15241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15242 /* end confdefs.h.  */
   15243 int i;
   15244 _ACEOF
   15245 if ac_fn_c_try_compile "$LINENO"; then :
   15246   xorg_cv_cc_flag_unknown_warning_option=yes
   15247 else
   15248   xorg_cv_cc_flag_unknown_warning_option=no
   15249 fi
   15250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15251 fi
   15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15253 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15255 	CFLAGS="$xorg_testset_save_CFLAGS"
   15256 fi
   15257 
   15258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15261 	fi
   15262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15264 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15265 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15266   $as_echo_n "(cached) " >&6
   15267 else
   15268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15269 /* end confdefs.h.  */
   15270 int i;
   15271 _ACEOF
   15272 if ac_fn_c_try_compile "$LINENO"; then :
   15273   xorg_cv_cc_flag_unused_command_line_argument=yes
   15274 else
   15275   xorg_cv_cc_flag_unused_command_line_argument=no
   15276 fi
   15277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15278 fi
   15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15280 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15281 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15282 	CFLAGS="$xorg_testset_save_CFLAGS"
   15283 fi
   15284 
   15285 found="no"
   15286 
   15287 	if test $found = "no" ; then
   15288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15290 		fi
   15291 
   15292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15294 		fi
   15295 
   15296 		CFLAGS="$CFLAGS -Werror=return-type"
   15297 
   15298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15299 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15300 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15301 		if eval \${$cacheid+:} false; then :
   15302   $as_echo_n "(cached) " >&6
   15303 else
   15304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15305 /* end confdefs.h.  */
   15306 int i;
   15307 int
   15308 main ()
   15309 {
   15310 
   15311   ;
   15312   return 0;
   15313 }
   15314 _ACEOF
   15315 if ac_fn_c_try_link "$LINENO"; then :
   15316   eval $cacheid=yes
   15317 else
   15318   eval $cacheid=no
   15319 fi
   15320 rm -f core conftest.err conftest.$ac_objext \
   15321     conftest$ac_exeext conftest.$ac_ext
   15322 fi
   15323 
   15324 
   15325 		CFLAGS="$xorg_testset_save_CFLAGS"
   15326 
   15327 		eval supported=\$$cacheid
   15328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15329 $as_echo "$supported" >&6; }
   15330 		if test "$supported" = "yes" ; then
   15331 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15332 			found="yes"
   15333 		fi
   15334 	fi
   15335 
   15336 	if test $found = "no" ; then
   15337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15339 		fi
   15340 
   15341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15343 		fi
   15344 
   15345 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15346 
   15347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15348 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15349 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15350 		if eval \${$cacheid+:} false; then :
   15351   $as_echo_n "(cached) " >&6
   15352 else
   15353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15354 /* end confdefs.h.  */
   15355 int i;
   15356 int
   15357 main ()
   15358 {
   15359 
   15360   ;
   15361   return 0;
   15362 }
   15363 _ACEOF
   15364 if ac_fn_c_try_link "$LINENO"; then :
   15365   eval $cacheid=yes
   15366 else
   15367   eval $cacheid=no
   15368 fi
   15369 rm -f core conftest.err conftest.$ac_objext \
   15370     conftest$ac_exeext conftest.$ac_ext
   15371 fi
   15372 
   15373 
   15374 		CFLAGS="$xorg_testset_save_CFLAGS"
   15375 
   15376 		eval supported=\$$cacheid
   15377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15378 $as_echo "$supported" >&6; }
   15379 		if test "$supported" = "yes" ; then
   15380 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15381 			found="yes"
   15382 		fi
   15383 	fi
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 xorg_testset_save_CFLAGS="$CFLAGS"
   15400 
   15401 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15402 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15403 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15404 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15405 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15406   $as_echo_n "(cached) " >&6
   15407 else
   15408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15409 /* end confdefs.h.  */
   15410 int i;
   15411 _ACEOF
   15412 if ac_fn_c_try_compile "$LINENO"; then :
   15413   xorg_cv_cc_flag_unknown_warning_option=yes
   15414 else
   15415   xorg_cv_cc_flag_unknown_warning_option=no
   15416 fi
   15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15418 fi
   15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15420 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15421 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15422 	CFLAGS="$xorg_testset_save_CFLAGS"
   15423 fi
   15424 
   15425 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15426 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15427 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15428 	fi
   15429 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15430 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15431 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15432 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15433   $as_echo_n "(cached) " >&6
   15434 else
   15435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15436 /* end confdefs.h.  */
   15437 int i;
   15438 _ACEOF
   15439 if ac_fn_c_try_compile "$LINENO"; then :
   15440   xorg_cv_cc_flag_unused_command_line_argument=yes
   15441 else
   15442   xorg_cv_cc_flag_unused_command_line_argument=no
   15443 fi
   15444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15445 fi
   15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15447 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15448 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15449 	CFLAGS="$xorg_testset_save_CFLAGS"
   15450 fi
   15451 
   15452 found="no"
   15453 
   15454 	if test $found = "no" ; then
   15455 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15456 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15457 		fi
   15458 
   15459 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15460 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15461 		fi
   15462 
   15463 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15464 
   15465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15466 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15467 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15468 		if eval \${$cacheid+:} false; then :
   15469   $as_echo_n "(cached) " >&6
   15470 else
   15471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15472 /* end confdefs.h.  */
   15473 int i;
   15474 int
   15475 main ()
   15476 {
   15477 
   15478   ;
   15479   return 0;
   15480 }
   15481 _ACEOF
   15482 if ac_fn_c_try_link "$LINENO"; then :
   15483   eval $cacheid=yes
   15484 else
   15485   eval $cacheid=no
   15486 fi
   15487 rm -f core conftest.err conftest.$ac_objext \
   15488     conftest$ac_exeext conftest.$ac_ext
   15489 fi
   15490 
   15491 
   15492 		CFLAGS="$xorg_testset_save_CFLAGS"
   15493 
   15494 		eval supported=\$$cacheid
   15495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15496 $as_echo "$supported" >&6; }
   15497 		if test "$supported" = "yes" ; then
   15498 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15499 			found="yes"
   15500 		fi
   15501 	fi
   15502 
   15503 
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 xorg_testset_save_CFLAGS="$CFLAGS"
   15518 
   15519 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15520 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15521 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15522 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15523 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15524   $as_echo_n "(cached) " >&6
   15525 else
   15526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15527 /* end confdefs.h.  */
   15528 int i;
   15529 _ACEOF
   15530 if ac_fn_c_try_compile "$LINENO"; then :
   15531   xorg_cv_cc_flag_unknown_warning_option=yes
   15532 else
   15533   xorg_cv_cc_flag_unknown_warning_option=no
   15534 fi
   15535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15536 fi
   15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15538 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15540 	CFLAGS="$xorg_testset_save_CFLAGS"
   15541 fi
   15542 
   15543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15546 	fi
   15547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15548 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15549 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15550 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15551   $as_echo_n "(cached) " >&6
   15552 else
   15553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15554 /* end confdefs.h.  */
   15555 int i;
   15556 _ACEOF
   15557 if ac_fn_c_try_compile "$LINENO"; then :
   15558   xorg_cv_cc_flag_unused_command_line_argument=yes
   15559 else
   15560   xorg_cv_cc_flag_unused_command_line_argument=no
   15561 fi
   15562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15563 fi
   15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15565 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15566 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15567 	CFLAGS="$xorg_testset_save_CFLAGS"
   15568 fi
   15569 
   15570 found="no"
   15571 
   15572 	if test $found = "no" ; then
   15573 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15574 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15575 		fi
   15576 
   15577 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15578 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15579 		fi
   15580 
   15581 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15582 
   15583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15584 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15585 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15586 		if eval \${$cacheid+:} false; then :
   15587   $as_echo_n "(cached) " >&6
   15588 else
   15589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15590 /* end confdefs.h.  */
   15591 int i;
   15592 int
   15593 main ()
   15594 {
   15595 
   15596   ;
   15597   return 0;
   15598 }
   15599 _ACEOF
   15600 if ac_fn_c_try_link "$LINENO"; then :
   15601   eval $cacheid=yes
   15602 else
   15603   eval $cacheid=no
   15604 fi
   15605 rm -f core conftest.err conftest.$ac_objext \
   15606     conftest$ac_exeext conftest.$ac_ext
   15607 fi
   15608 
   15609 
   15610 		CFLAGS="$xorg_testset_save_CFLAGS"
   15611 
   15612 		eval supported=\$$cacheid
   15613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15614 $as_echo "$supported" >&6; }
   15615 		if test "$supported" = "yes" ; then
   15616 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15617 			found="yes"
   15618 		fi
   15619 	fi
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 
   15634 
   15635 xorg_testset_save_CFLAGS="$CFLAGS"
   15636 
   15637 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15638 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15640 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15641 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15642   $as_echo_n "(cached) " >&6
   15643 else
   15644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15645 /* end confdefs.h.  */
   15646 int i;
   15647 _ACEOF
   15648 if ac_fn_c_try_compile "$LINENO"; then :
   15649   xorg_cv_cc_flag_unknown_warning_option=yes
   15650 else
   15651   xorg_cv_cc_flag_unknown_warning_option=no
   15652 fi
   15653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15654 fi
   15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15656 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15657 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15658 	CFLAGS="$xorg_testset_save_CFLAGS"
   15659 fi
   15660 
   15661 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15662 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15664 	fi
   15665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15666 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15667 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15668 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15669   $as_echo_n "(cached) " >&6
   15670 else
   15671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15672 /* end confdefs.h.  */
   15673 int i;
   15674 _ACEOF
   15675 if ac_fn_c_try_compile "$LINENO"; then :
   15676   xorg_cv_cc_flag_unused_command_line_argument=yes
   15677 else
   15678   xorg_cv_cc_flag_unused_command_line_argument=no
   15679 fi
   15680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15681 fi
   15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15683 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15684 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15685 	CFLAGS="$xorg_testset_save_CFLAGS"
   15686 fi
   15687 
   15688 found="no"
   15689 
   15690 	if test $found = "no" ; then
   15691 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15692 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15693 		fi
   15694 
   15695 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15696 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15697 		fi
   15698 
   15699 		CFLAGS="$CFLAGS -Werror=write-strings"
   15700 
   15701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15702 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15703 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15704 		if eval \${$cacheid+:} false; then :
   15705   $as_echo_n "(cached) " >&6
   15706 else
   15707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15708 /* end confdefs.h.  */
   15709 int i;
   15710 int
   15711 main ()
   15712 {
   15713 
   15714   ;
   15715   return 0;
   15716 }
   15717 _ACEOF
   15718 if ac_fn_c_try_link "$LINENO"; then :
   15719   eval $cacheid=yes
   15720 else
   15721   eval $cacheid=no
   15722 fi
   15723 rm -f core conftest.err conftest.$ac_objext \
   15724     conftest$ac_exeext conftest.$ac_ext
   15725 fi
   15726 
   15727 
   15728 		CFLAGS="$xorg_testset_save_CFLAGS"
   15729 
   15730 		eval supported=\$$cacheid
   15731 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15732 $as_echo "$supported" >&6; }
   15733 		if test "$supported" = "yes" ; then
   15734 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15735 			found="yes"
   15736 		fi
   15737 	fi
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 xorg_testset_save_CFLAGS="$CFLAGS"
   15754 
   15755 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15756 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15758 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15759 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15760   $as_echo_n "(cached) " >&6
   15761 else
   15762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15763 /* end confdefs.h.  */
   15764 int i;
   15765 _ACEOF
   15766 if ac_fn_c_try_compile "$LINENO"; then :
   15767   xorg_cv_cc_flag_unknown_warning_option=yes
   15768 else
   15769   xorg_cv_cc_flag_unknown_warning_option=no
   15770 fi
   15771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15772 fi
   15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15774 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15776 	CFLAGS="$xorg_testset_save_CFLAGS"
   15777 fi
   15778 
   15779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15782 	fi
   15783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15784 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15785 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15786 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15787   $as_echo_n "(cached) " >&6
   15788 else
   15789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15790 /* end confdefs.h.  */
   15791 int i;
   15792 _ACEOF
   15793 if ac_fn_c_try_compile "$LINENO"; then :
   15794   xorg_cv_cc_flag_unused_command_line_argument=yes
   15795 else
   15796   xorg_cv_cc_flag_unused_command_line_argument=no
   15797 fi
   15798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15799 fi
   15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15801 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15803 	CFLAGS="$xorg_testset_save_CFLAGS"
   15804 fi
   15805 
   15806 found="no"
   15807 
   15808 	if test $found = "no" ; then
   15809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15811 		fi
   15812 
   15813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15815 		fi
   15816 
   15817 		CFLAGS="$CFLAGS -Werror=address"
   15818 
   15819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15820 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15821 		cacheid=xorg_cv_cc_flag__Werror_address
   15822 		if eval \${$cacheid+:} false; then :
   15823   $as_echo_n "(cached) " >&6
   15824 else
   15825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15826 /* end confdefs.h.  */
   15827 int i;
   15828 int
   15829 main ()
   15830 {
   15831 
   15832   ;
   15833   return 0;
   15834 }
   15835 _ACEOF
   15836 if ac_fn_c_try_link "$LINENO"; then :
   15837   eval $cacheid=yes
   15838 else
   15839   eval $cacheid=no
   15840 fi
   15841 rm -f core conftest.err conftest.$ac_objext \
   15842     conftest$ac_exeext conftest.$ac_ext
   15843 fi
   15844 
   15845 
   15846 		CFLAGS="$xorg_testset_save_CFLAGS"
   15847 
   15848 		eval supported=\$$cacheid
   15849 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15850 $as_echo "$supported" >&6; }
   15851 		if test "$supported" = "yes" ; then
   15852 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15853 			found="yes"
   15854 		fi
   15855 	fi
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 xorg_testset_save_CFLAGS="$CFLAGS"
   15872 
   15873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15876 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15877 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15878   $as_echo_n "(cached) " >&6
   15879 else
   15880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15881 /* end confdefs.h.  */
   15882 int i;
   15883 _ACEOF
   15884 if ac_fn_c_try_compile "$LINENO"; then :
   15885   xorg_cv_cc_flag_unknown_warning_option=yes
   15886 else
   15887   xorg_cv_cc_flag_unknown_warning_option=no
   15888 fi
   15889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15890 fi
   15891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15892 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15894 	CFLAGS="$xorg_testset_save_CFLAGS"
   15895 fi
   15896 
   15897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15900 	fi
   15901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15903 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15904 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15905   $as_echo_n "(cached) " >&6
   15906 else
   15907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15908 /* end confdefs.h.  */
   15909 int i;
   15910 _ACEOF
   15911 if ac_fn_c_try_compile "$LINENO"; then :
   15912   xorg_cv_cc_flag_unused_command_line_argument=yes
   15913 else
   15914   xorg_cv_cc_flag_unused_command_line_argument=no
   15915 fi
   15916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15917 fi
   15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15919 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15921 	CFLAGS="$xorg_testset_save_CFLAGS"
   15922 fi
   15923 
   15924 found="no"
   15925 
   15926 	if test $found = "no" ; then
   15927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15929 		fi
   15930 
   15931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15933 		fi
   15934 
   15935 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15936 
   15937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15938 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15939 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15940 		if eval \${$cacheid+:} false; then :
   15941   $as_echo_n "(cached) " >&6
   15942 else
   15943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15944 /* end confdefs.h.  */
   15945 int i;
   15946 int
   15947 main ()
   15948 {
   15949 
   15950   ;
   15951   return 0;
   15952 }
   15953 _ACEOF
   15954 if ac_fn_c_try_link "$LINENO"; then :
   15955   eval $cacheid=yes
   15956 else
   15957   eval $cacheid=no
   15958 fi
   15959 rm -f core conftest.err conftest.$ac_objext \
   15960     conftest$ac_exeext conftest.$ac_ext
   15961 fi
   15962 
   15963 
   15964 		CFLAGS="$xorg_testset_save_CFLAGS"
   15965 
   15966 		eval supported=\$$cacheid
   15967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15968 $as_echo "$supported" >&6; }
   15969 		if test "$supported" = "yes" ; then
   15970 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15971 			found="yes"
   15972 		fi
   15973 	fi
   15974 
   15975 	if test $found = "no" ; then
   15976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15978 		fi
   15979 
   15980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15982 		fi
   15983 
   15984 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15985 
   15986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15987 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15988 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15989 		if eval \${$cacheid+:} false; then :
   15990   $as_echo_n "(cached) " >&6
   15991 else
   15992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15993 /* end confdefs.h.  */
   15994 int i;
   15995 int
   15996 main ()
   15997 {
   15998 
   15999   ;
   16000   return 0;
   16001 }
   16002 _ACEOF
   16003 if ac_fn_c_try_link "$LINENO"; then :
   16004   eval $cacheid=yes
   16005 else
   16006   eval $cacheid=no
   16007 fi
   16008 rm -f core conftest.err conftest.$ac_objext \
   16009     conftest$ac_exeext conftest.$ac_ext
   16010 fi
   16011 
   16012 
   16013 		CFLAGS="$xorg_testset_save_CFLAGS"
   16014 
   16015 		eval supported=\$$cacheid
   16016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16017 $as_echo "$supported" >&6; }
   16018 		if test "$supported" = "yes" ; then
   16019 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16020 			found="yes"
   16021 		fi
   16022 	fi
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 xorg_testset_save_CFLAGS="$CFLAGS"
   16039 
   16040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16043 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16044 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16045   $as_echo_n "(cached) " >&6
   16046 else
   16047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16048 /* end confdefs.h.  */
   16049 int i;
   16050 _ACEOF
   16051 if ac_fn_c_try_compile "$LINENO"; then :
   16052   xorg_cv_cc_flag_unknown_warning_option=yes
   16053 else
   16054   xorg_cv_cc_flag_unknown_warning_option=no
   16055 fi
   16056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16057 fi
   16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16059 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16061 	CFLAGS="$xorg_testset_save_CFLAGS"
   16062 fi
   16063 
   16064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16067 	fi
   16068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16070 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16071 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16072   $as_echo_n "(cached) " >&6
   16073 else
   16074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16075 /* end confdefs.h.  */
   16076 int i;
   16077 _ACEOF
   16078 if ac_fn_c_try_compile "$LINENO"; then :
   16079   xorg_cv_cc_flag_unused_command_line_argument=yes
   16080 else
   16081   xorg_cv_cc_flag_unused_command_line_argument=no
   16082 fi
   16083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16084 fi
   16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16086 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16088 	CFLAGS="$xorg_testset_save_CFLAGS"
   16089 fi
   16090 
   16091 found="no"
   16092 
   16093 	if test $found = "no" ; then
   16094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16096 		fi
   16097 
   16098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16100 		fi
   16101 
   16102 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16103 
   16104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16105 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16106 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16107 		if eval \${$cacheid+:} false; then :
   16108   $as_echo_n "(cached) " >&6
   16109 else
   16110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16111 /* end confdefs.h.  */
   16112 int i;
   16113 int
   16114 main ()
   16115 {
   16116 
   16117   ;
   16118   return 0;
   16119 }
   16120 _ACEOF
   16121 if ac_fn_c_try_link "$LINENO"; then :
   16122   eval $cacheid=yes
   16123 else
   16124   eval $cacheid=no
   16125 fi
   16126 rm -f core conftest.err conftest.$ac_objext \
   16127     conftest$ac_exeext conftest.$ac_ext
   16128 fi
   16129 
   16130 
   16131 		CFLAGS="$xorg_testset_save_CFLAGS"
   16132 
   16133 		eval supported=\$$cacheid
   16134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16135 $as_echo "$supported" >&6; }
   16136 		if test "$supported" = "yes" ; then
   16137 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16138 			found="yes"
   16139 		fi
   16140 	fi
   16141 
   16142  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16143 else
   16144 { $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
   16145 $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;}
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 xorg_testset_save_CFLAGS="$CFLAGS"
   16160 
   16161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16166   $as_echo_n "(cached) " >&6
   16167 else
   16168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16169 /* end confdefs.h.  */
   16170 int i;
   16171 _ACEOF
   16172 if ac_fn_c_try_compile "$LINENO"; then :
   16173   xorg_cv_cc_flag_unknown_warning_option=yes
   16174 else
   16175   xorg_cv_cc_flag_unknown_warning_option=no
   16176 fi
   16177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16178 fi
   16179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16182 	CFLAGS="$xorg_testset_save_CFLAGS"
   16183 fi
   16184 
   16185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16188 	fi
   16189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16193   $as_echo_n "(cached) " >&6
   16194 else
   16195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16196 /* end confdefs.h.  */
   16197 int i;
   16198 _ACEOF
   16199 if ac_fn_c_try_compile "$LINENO"; then :
   16200   xorg_cv_cc_flag_unused_command_line_argument=yes
   16201 else
   16202   xorg_cv_cc_flag_unused_command_line_argument=no
   16203 fi
   16204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16205 fi
   16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16209 	CFLAGS="$xorg_testset_save_CFLAGS"
   16210 fi
   16211 
   16212 found="no"
   16213 
   16214 	if test $found = "no" ; then
   16215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16217 		fi
   16218 
   16219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16221 		fi
   16222 
   16223 		CFLAGS="$CFLAGS -Wimplicit"
   16224 
   16225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16226 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16227 		cacheid=xorg_cv_cc_flag__Wimplicit
   16228 		if eval \${$cacheid+:} false; then :
   16229   $as_echo_n "(cached) " >&6
   16230 else
   16231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16232 /* end confdefs.h.  */
   16233 int i;
   16234 int
   16235 main ()
   16236 {
   16237 
   16238   ;
   16239   return 0;
   16240 }
   16241 _ACEOF
   16242 if ac_fn_c_try_link "$LINENO"; then :
   16243   eval $cacheid=yes
   16244 else
   16245   eval $cacheid=no
   16246 fi
   16247 rm -f core conftest.err conftest.$ac_objext \
   16248     conftest$ac_exeext conftest.$ac_ext
   16249 fi
   16250 
   16251 
   16252 		CFLAGS="$xorg_testset_save_CFLAGS"
   16253 
   16254 		eval supported=\$$cacheid
   16255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16256 $as_echo "$supported" >&6; }
   16257 		if test "$supported" = "yes" ; then
   16258 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16259 			found="yes"
   16260 		fi
   16261 	fi
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 
   16272 
   16273 
   16274 
   16275 
   16276 
   16277 xorg_testset_save_CFLAGS="$CFLAGS"
   16278 
   16279 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16282 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16283 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16284   $as_echo_n "(cached) " >&6
   16285 else
   16286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16287 /* end confdefs.h.  */
   16288 int i;
   16289 _ACEOF
   16290 if ac_fn_c_try_compile "$LINENO"; then :
   16291   xorg_cv_cc_flag_unknown_warning_option=yes
   16292 else
   16293   xorg_cv_cc_flag_unknown_warning_option=no
   16294 fi
   16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16296 fi
   16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16298 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16299 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16300 	CFLAGS="$xorg_testset_save_CFLAGS"
   16301 fi
   16302 
   16303 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16304 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16306 	fi
   16307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16309 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16310 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16311   $as_echo_n "(cached) " >&6
   16312 else
   16313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16314 /* end confdefs.h.  */
   16315 int i;
   16316 _ACEOF
   16317 if ac_fn_c_try_compile "$LINENO"; then :
   16318   xorg_cv_cc_flag_unused_command_line_argument=yes
   16319 else
   16320   xorg_cv_cc_flag_unused_command_line_argument=no
   16321 fi
   16322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16323 fi
   16324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16325 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16327 	CFLAGS="$xorg_testset_save_CFLAGS"
   16328 fi
   16329 
   16330 found="no"
   16331 
   16332 	if test $found = "no" ; then
   16333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16335 		fi
   16336 
   16337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16339 		fi
   16340 
   16341 		CFLAGS="$CFLAGS -Wnonnull"
   16342 
   16343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16344 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16345 		cacheid=xorg_cv_cc_flag__Wnonnull
   16346 		if eval \${$cacheid+:} false; then :
   16347   $as_echo_n "(cached) " >&6
   16348 else
   16349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16350 /* end confdefs.h.  */
   16351 int i;
   16352 int
   16353 main ()
   16354 {
   16355 
   16356   ;
   16357   return 0;
   16358 }
   16359 _ACEOF
   16360 if ac_fn_c_try_link "$LINENO"; then :
   16361   eval $cacheid=yes
   16362 else
   16363   eval $cacheid=no
   16364 fi
   16365 rm -f core conftest.err conftest.$ac_objext \
   16366     conftest$ac_exeext conftest.$ac_ext
   16367 fi
   16368 
   16369 
   16370 		CFLAGS="$xorg_testset_save_CFLAGS"
   16371 
   16372 		eval supported=\$$cacheid
   16373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16374 $as_echo "$supported" >&6; }
   16375 		if test "$supported" = "yes" ; then
   16376 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16377 			found="yes"
   16378 		fi
   16379 	fi
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 xorg_testset_save_CFLAGS="$CFLAGS"
   16396 
   16397 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16400 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16401 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16402   $as_echo_n "(cached) " >&6
   16403 else
   16404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16405 /* end confdefs.h.  */
   16406 int i;
   16407 _ACEOF
   16408 if ac_fn_c_try_compile "$LINENO"; then :
   16409   xorg_cv_cc_flag_unknown_warning_option=yes
   16410 else
   16411   xorg_cv_cc_flag_unknown_warning_option=no
   16412 fi
   16413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16414 fi
   16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16416 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16418 	CFLAGS="$xorg_testset_save_CFLAGS"
   16419 fi
   16420 
   16421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16424 	fi
   16425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16427 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16428 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16429   $as_echo_n "(cached) " >&6
   16430 else
   16431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16432 /* end confdefs.h.  */
   16433 int i;
   16434 _ACEOF
   16435 if ac_fn_c_try_compile "$LINENO"; then :
   16436   xorg_cv_cc_flag_unused_command_line_argument=yes
   16437 else
   16438   xorg_cv_cc_flag_unused_command_line_argument=no
   16439 fi
   16440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16441 fi
   16442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16443 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16445 	CFLAGS="$xorg_testset_save_CFLAGS"
   16446 fi
   16447 
   16448 found="no"
   16449 
   16450 	if test $found = "no" ; then
   16451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16453 		fi
   16454 
   16455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16457 		fi
   16458 
   16459 		CFLAGS="$CFLAGS -Winit-self"
   16460 
   16461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16462 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16463 		cacheid=xorg_cv_cc_flag__Winit_self
   16464 		if eval \${$cacheid+:} false; then :
   16465   $as_echo_n "(cached) " >&6
   16466 else
   16467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16468 /* end confdefs.h.  */
   16469 int i;
   16470 int
   16471 main ()
   16472 {
   16473 
   16474   ;
   16475   return 0;
   16476 }
   16477 _ACEOF
   16478 if ac_fn_c_try_link "$LINENO"; then :
   16479   eval $cacheid=yes
   16480 else
   16481   eval $cacheid=no
   16482 fi
   16483 rm -f core conftest.err conftest.$ac_objext \
   16484     conftest$ac_exeext conftest.$ac_ext
   16485 fi
   16486 
   16487 
   16488 		CFLAGS="$xorg_testset_save_CFLAGS"
   16489 
   16490 		eval supported=\$$cacheid
   16491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16492 $as_echo "$supported" >&6; }
   16493 		if test "$supported" = "yes" ; then
   16494 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16495 			found="yes"
   16496 		fi
   16497 	fi
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 xorg_testset_save_CFLAGS="$CFLAGS"
   16514 
   16515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16517 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16518 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16519 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16520   $as_echo_n "(cached) " >&6
   16521 else
   16522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16523 /* end confdefs.h.  */
   16524 int i;
   16525 _ACEOF
   16526 if ac_fn_c_try_compile "$LINENO"; then :
   16527   xorg_cv_cc_flag_unknown_warning_option=yes
   16528 else
   16529   xorg_cv_cc_flag_unknown_warning_option=no
   16530 fi
   16531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16532 fi
   16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16534 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16535 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16536 	CFLAGS="$xorg_testset_save_CFLAGS"
   16537 fi
   16538 
   16539 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16540 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16541 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16542 	fi
   16543 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16545 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16546 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16547   $as_echo_n "(cached) " >&6
   16548 else
   16549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16550 /* end confdefs.h.  */
   16551 int i;
   16552 _ACEOF
   16553 if ac_fn_c_try_compile "$LINENO"; then :
   16554   xorg_cv_cc_flag_unused_command_line_argument=yes
   16555 else
   16556   xorg_cv_cc_flag_unused_command_line_argument=no
   16557 fi
   16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16559 fi
   16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16561 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16563 	CFLAGS="$xorg_testset_save_CFLAGS"
   16564 fi
   16565 
   16566 found="no"
   16567 
   16568 	if test $found = "no" ; then
   16569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16571 		fi
   16572 
   16573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16575 		fi
   16576 
   16577 		CFLAGS="$CFLAGS -Wmain"
   16578 
   16579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16580 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16581 		cacheid=xorg_cv_cc_flag__Wmain
   16582 		if eval \${$cacheid+:} false; then :
   16583   $as_echo_n "(cached) " >&6
   16584 else
   16585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16586 /* end confdefs.h.  */
   16587 int i;
   16588 int
   16589 main ()
   16590 {
   16591 
   16592   ;
   16593   return 0;
   16594 }
   16595 _ACEOF
   16596 if ac_fn_c_try_link "$LINENO"; then :
   16597   eval $cacheid=yes
   16598 else
   16599   eval $cacheid=no
   16600 fi
   16601 rm -f core conftest.err conftest.$ac_objext \
   16602     conftest$ac_exeext conftest.$ac_ext
   16603 fi
   16604 
   16605 
   16606 		CFLAGS="$xorg_testset_save_CFLAGS"
   16607 
   16608 		eval supported=\$$cacheid
   16609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16610 $as_echo "$supported" >&6; }
   16611 		if test "$supported" = "yes" ; then
   16612 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16613 			found="yes"
   16614 		fi
   16615 	fi
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 xorg_testset_save_CFLAGS="$CFLAGS"
   16632 
   16633 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16634 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16635 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16636 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16637 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16638   $as_echo_n "(cached) " >&6
   16639 else
   16640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16641 /* end confdefs.h.  */
   16642 int i;
   16643 _ACEOF
   16644 if ac_fn_c_try_compile "$LINENO"; then :
   16645   xorg_cv_cc_flag_unknown_warning_option=yes
   16646 else
   16647   xorg_cv_cc_flag_unknown_warning_option=no
   16648 fi
   16649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16650 fi
   16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16652 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16653 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16654 	CFLAGS="$xorg_testset_save_CFLAGS"
   16655 fi
   16656 
   16657 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16658 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16659 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16660 	fi
   16661 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16662 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16663 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16664 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16665   $as_echo_n "(cached) " >&6
   16666 else
   16667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16668 /* end confdefs.h.  */
   16669 int i;
   16670 _ACEOF
   16671 if ac_fn_c_try_compile "$LINENO"; then :
   16672   xorg_cv_cc_flag_unused_command_line_argument=yes
   16673 else
   16674   xorg_cv_cc_flag_unused_command_line_argument=no
   16675 fi
   16676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16677 fi
   16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16679 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16680 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16681 	CFLAGS="$xorg_testset_save_CFLAGS"
   16682 fi
   16683 
   16684 found="no"
   16685 
   16686 	if test $found = "no" ; then
   16687 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16688 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16689 		fi
   16690 
   16691 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16692 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16693 		fi
   16694 
   16695 		CFLAGS="$CFLAGS -Wmissing-braces"
   16696 
   16697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16698 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16699 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16700 		if eval \${$cacheid+:} false; then :
   16701   $as_echo_n "(cached) " >&6
   16702 else
   16703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16704 /* end confdefs.h.  */
   16705 int i;
   16706 int
   16707 main ()
   16708 {
   16709 
   16710   ;
   16711   return 0;
   16712 }
   16713 _ACEOF
   16714 if ac_fn_c_try_link "$LINENO"; then :
   16715   eval $cacheid=yes
   16716 else
   16717   eval $cacheid=no
   16718 fi
   16719 rm -f core conftest.err conftest.$ac_objext \
   16720     conftest$ac_exeext conftest.$ac_ext
   16721 fi
   16722 
   16723 
   16724 		CFLAGS="$xorg_testset_save_CFLAGS"
   16725 
   16726 		eval supported=\$$cacheid
   16727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16728 $as_echo "$supported" >&6; }
   16729 		if test "$supported" = "yes" ; then
   16730 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16731 			found="yes"
   16732 		fi
   16733 	fi
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 xorg_testset_save_CFLAGS="$CFLAGS"
   16750 
   16751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16753 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16754 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16755 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16756   $as_echo_n "(cached) " >&6
   16757 else
   16758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16759 /* end confdefs.h.  */
   16760 int i;
   16761 _ACEOF
   16762 if ac_fn_c_try_compile "$LINENO"; then :
   16763   xorg_cv_cc_flag_unknown_warning_option=yes
   16764 else
   16765   xorg_cv_cc_flag_unknown_warning_option=no
   16766 fi
   16767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16768 fi
   16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16770 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16771 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16772 	CFLAGS="$xorg_testset_save_CFLAGS"
   16773 fi
   16774 
   16775 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16776 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16777 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16778 	fi
   16779 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16781 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16782 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16783   $as_echo_n "(cached) " >&6
   16784 else
   16785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16786 /* end confdefs.h.  */
   16787 int i;
   16788 _ACEOF
   16789 if ac_fn_c_try_compile "$LINENO"; then :
   16790   xorg_cv_cc_flag_unused_command_line_argument=yes
   16791 else
   16792   xorg_cv_cc_flag_unused_command_line_argument=no
   16793 fi
   16794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16795 fi
   16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16797 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16798 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16799 	CFLAGS="$xorg_testset_save_CFLAGS"
   16800 fi
   16801 
   16802 found="no"
   16803 
   16804 	if test $found = "no" ; then
   16805 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16806 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16807 		fi
   16808 
   16809 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16810 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16811 		fi
   16812 
   16813 		CFLAGS="$CFLAGS -Wsequence-point"
   16814 
   16815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16816 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16817 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16818 		if eval \${$cacheid+:} false; then :
   16819   $as_echo_n "(cached) " >&6
   16820 else
   16821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16822 /* end confdefs.h.  */
   16823 int i;
   16824 int
   16825 main ()
   16826 {
   16827 
   16828   ;
   16829   return 0;
   16830 }
   16831 _ACEOF
   16832 if ac_fn_c_try_link "$LINENO"; then :
   16833   eval $cacheid=yes
   16834 else
   16835   eval $cacheid=no
   16836 fi
   16837 rm -f core conftest.err conftest.$ac_objext \
   16838     conftest$ac_exeext conftest.$ac_ext
   16839 fi
   16840 
   16841 
   16842 		CFLAGS="$xorg_testset_save_CFLAGS"
   16843 
   16844 		eval supported=\$$cacheid
   16845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16846 $as_echo "$supported" >&6; }
   16847 		if test "$supported" = "yes" ; then
   16848 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16849 			found="yes"
   16850 		fi
   16851 	fi
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859 
   16860 
   16861 
   16862 
   16863 
   16864 
   16865 
   16866 
   16867 xorg_testset_save_CFLAGS="$CFLAGS"
   16868 
   16869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16872 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16873 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16874   $as_echo_n "(cached) " >&6
   16875 else
   16876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16877 /* end confdefs.h.  */
   16878 int i;
   16879 _ACEOF
   16880 if ac_fn_c_try_compile "$LINENO"; then :
   16881   xorg_cv_cc_flag_unknown_warning_option=yes
   16882 else
   16883   xorg_cv_cc_flag_unknown_warning_option=no
   16884 fi
   16885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16886 fi
   16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16888 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16890 	CFLAGS="$xorg_testset_save_CFLAGS"
   16891 fi
   16892 
   16893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16896 	fi
   16897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16898 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16899 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16900 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16901   $as_echo_n "(cached) " >&6
   16902 else
   16903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16904 /* end confdefs.h.  */
   16905 int i;
   16906 _ACEOF
   16907 if ac_fn_c_try_compile "$LINENO"; then :
   16908   xorg_cv_cc_flag_unused_command_line_argument=yes
   16909 else
   16910   xorg_cv_cc_flag_unused_command_line_argument=no
   16911 fi
   16912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16913 fi
   16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16915 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16916 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16917 	CFLAGS="$xorg_testset_save_CFLAGS"
   16918 fi
   16919 
   16920 found="no"
   16921 
   16922 	if test $found = "no" ; then
   16923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16925 		fi
   16926 
   16927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16929 		fi
   16930 
   16931 		CFLAGS="$CFLAGS -Wreturn-type"
   16932 
   16933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16934 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16935 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16936 		if eval \${$cacheid+:} false; then :
   16937   $as_echo_n "(cached) " >&6
   16938 else
   16939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16940 /* end confdefs.h.  */
   16941 int i;
   16942 int
   16943 main ()
   16944 {
   16945 
   16946   ;
   16947   return 0;
   16948 }
   16949 _ACEOF
   16950 if ac_fn_c_try_link "$LINENO"; then :
   16951   eval $cacheid=yes
   16952 else
   16953   eval $cacheid=no
   16954 fi
   16955 rm -f core conftest.err conftest.$ac_objext \
   16956     conftest$ac_exeext conftest.$ac_ext
   16957 fi
   16958 
   16959 
   16960 		CFLAGS="$xorg_testset_save_CFLAGS"
   16961 
   16962 		eval supported=\$$cacheid
   16963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16964 $as_echo "$supported" >&6; }
   16965 		if test "$supported" = "yes" ; then
   16966 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16967 			found="yes"
   16968 		fi
   16969 	fi
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 xorg_testset_save_CFLAGS="$CFLAGS"
   16986 
   16987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16989 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16990 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16991 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16992   $as_echo_n "(cached) " >&6
   16993 else
   16994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16995 /* end confdefs.h.  */
   16996 int i;
   16997 _ACEOF
   16998 if ac_fn_c_try_compile "$LINENO"; then :
   16999   xorg_cv_cc_flag_unknown_warning_option=yes
   17000 else
   17001   xorg_cv_cc_flag_unknown_warning_option=no
   17002 fi
   17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17004 fi
   17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17006 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17007 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17008 	CFLAGS="$xorg_testset_save_CFLAGS"
   17009 fi
   17010 
   17011 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17012 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17013 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17014 	fi
   17015 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17017 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17018 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17019   $as_echo_n "(cached) " >&6
   17020 else
   17021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17022 /* end confdefs.h.  */
   17023 int i;
   17024 _ACEOF
   17025 if ac_fn_c_try_compile "$LINENO"; then :
   17026   xorg_cv_cc_flag_unused_command_line_argument=yes
   17027 else
   17028   xorg_cv_cc_flag_unused_command_line_argument=no
   17029 fi
   17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17031 fi
   17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17033 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17034 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17035 	CFLAGS="$xorg_testset_save_CFLAGS"
   17036 fi
   17037 
   17038 found="no"
   17039 
   17040 	if test $found = "no" ; then
   17041 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17042 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17043 		fi
   17044 
   17045 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17046 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17047 		fi
   17048 
   17049 		CFLAGS="$CFLAGS -Wtrigraphs"
   17050 
   17051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17052 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17053 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17054 		if eval \${$cacheid+:} false; then :
   17055   $as_echo_n "(cached) " >&6
   17056 else
   17057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17058 /* end confdefs.h.  */
   17059 int i;
   17060 int
   17061 main ()
   17062 {
   17063 
   17064   ;
   17065   return 0;
   17066 }
   17067 _ACEOF
   17068 if ac_fn_c_try_link "$LINENO"; then :
   17069   eval $cacheid=yes
   17070 else
   17071   eval $cacheid=no
   17072 fi
   17073 rm -f core conftest.err conftest.$ac_objext \
   17074     conftest$ac_exeext conftest.$ac_ext
   17075 fi
   17076 
   17077 
   17078 		CFLAGS="$xorg_testset_save_CFLAGS"
   17079 
   17080 		eval supported=\$$cacheid
   17081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17082 $as_echo "$supported" >&6; }
   17083 		if test "$supported" = "yes" ; then
   17084 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17085 			found="yes"
   17086 		fi
   17087 	fi
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 
   17103 xorg_testset_save_CFLAGS="$CFLAGS"
   17104 
   17105 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17106 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17108 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17109 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17110   $as_echo_n "(cached) " >&6
   17111 else
   17112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17113 /* end confdefs.h.  */
   17114 int i;
   17115 _ACEOF
   17116 if ac_fn_c_try_compile "$LINENO"; then :
   17117   xorg_cv_cc_flag_unknown_warning_option=yes
   17118 else
   17119   xorg_cv_cc_flag_unknown_warning_option=no
   17120 fi
   17121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17122 fi
   17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17124 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17126 	CFLAGS="$xorg_testset_save_CFLAGS"
   17127 fi
   17128 
   17129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17132 	fi
   17133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17134 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17135 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17136 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17137   $as_echo_n "(cached) " >&6
   17138 else
   17139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17140 /* end confdefs.h.  */
   17141 int i;
   17142 _ACEOF
   17143 if ac_fn_c_try_compile "$LINENO"; then :
   17144   xorg_cv_cc_flag_unused_command_line_argument=yes
   17145 else
   17146   xorg_cv_cc_flag_unused_command_line_argument=no
   17147 fi
   17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17149 fi
   17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17151 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17153 	CFLAGS="$xorg_testset_save_CFLAGS"
   17154 fi
   17155 
   17156 found="no"
   17157 
   17158 	if test $found = "no" ; then
   17159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17161 		fi
   17162 
   17163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17165 		fi
   17166 
   17167 		CFLAGS="$CFLAGS -Warray-bounds"
   17168 
   17169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17170 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17171 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17172 		if eval \${$cacheid+:} false; then :
   17173   $as_echo_n "(cached) " >&6
   17174 else
   17175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17176 /* end confdefs.h.  */
   17177 int i;
   17178 int
   17179 main ()
   17180 {
   17181 
   17182   ;
   17183   return 0;
   17184 }
   17185 _ACEOF
   17186 if ac_fn_c_try_link "$LINENO"; then :
   17187   eval $cacheid=yes
   17188 else
   17189   eval $cacheid=no
   17190 fi
   17191 rm -f core conftest.err conftest.$ac_objext \
   17192     conftest$ac_exeext conftest.$ac_ext
   17193 fi
   17194 
   17195 
   17196 		CFLAGS="$xorg_testset_save_CFLAGS"
   17197 
   17198 		eval supported=\$$cacheid
   17199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17200 $as_echo "$supported" >&6; }
   17201 		if test "$supported" = "yes" ; then
   17202 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17203 			found="yes"
   17204 		fi
   17205 	fi
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 xorg_testset_save_CFLAGS="$CFLAGS"
   17222 
   17223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17226 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17227 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17228   $as_echo_n "(cached) " >&6
   17229 else
   17230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17231 /* end confdefs.h.  */
   17232 int i;
   17233 _ACEOF
   17234 if ac_fn_c_try_compile "$LINENO"; then :
   17235   xorg_cv_cc_flag_unknown_warning_option=yes
   17236 else
   17237   xorg_cv_cc_flag_unknown_warning_option=no
   17238 fi
   17239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17240 fi
   17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17242 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17244 	CFLAGS="$xorg_testset_save_CFLAGS"
   17245 fi
   17246 
   17247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17250 	fi
   17251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17253 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17254 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17255   $as_echo_n "(cached) " >&6
   17256 else
   17257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17258 /* end confdefs.h.  */
   17259 int i;
   17260 _ACEOF
   17261 if ac_fn_c_try_compile "$LINENO"; then :
   17262   xorg_cv_cc_flag_unused_command_line_argument=yes
   17263 else
   17264   xorg_cv_cc_flag_unused_command_line_argument=no
   17265 fi
   17266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17267 fi
   17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17269 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17271 	CFLAGS="$xorg_testset_save_CFLAGS"
   17272 fi
   17273 
   17274 found="no"
   17275 
   17276 	if test $found = "no" ; then
   17277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17279 		fi
   17280 
   17281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17283 		fi
   17284 
   17285 		CFLAGS="$CFLAGS -Wwrite-strings"
   17286 
   17287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17288 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17289 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17290 		if eval \${$cacheid+:} false; then :
   17291   $as_echo_n "(cached) " >&6
   17292 else
   17293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17294 /* end confdefs.h.  */
   17295 int i;
   17296 int
   17297 main ()
   17298 {
   17299 
   17300   ;
   17301   return 0;
   17302 }
   17303 _ACEOF
   17304 if ac_fn_c_try_link "$LINENO"; then :
   17305   eval $cacheid=yes
   17306 else
   17307   eval $cacheid=no
   17308 fi
   17309 rm -f core conftest.err conftest.$ac_objext \
   17310     conftest$ac_exeext conftest.$ac_ext
   17311 fi
   17312 
   17313 
   17314 		CFLAGS="$xorg_testset_save_CFLAGS"
   17315 
   17316 		eval supported=\$$cacheid
   17317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17318 $as_echo "$supported" >&6; }
   17319 		if test "$supported" = "yes" ; then
   17320 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17321 			found="yes"
   17322 		fi
   17323 	fi
   17324 
   17325 
   17326 
   17327 
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 xorg_testset_save_CFLAGS="$CFLAGS"
   17340 
   17341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17344 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17345 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17346   $as_echo_n "(cached) " >&6
   17347 else
   17348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17349 /* end confdefs.h.  */
   17350 int i;
   17351 _ACEOF
   17352 if ac_fn_c_try_compile "$LINENO"; then :
   17353   xorg_cv_cc_flag_unknown_warning_option=yes
   17354 else
   17355   xorg_cv_cc_flag_unknown_warning_option=no
   17356 fi
   17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17358 fi
   17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17360 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17362 	CFLAGS="$xorg_testset_save_CFLAGS"
   17363 fi
   17364 
   17365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17368 	fi
   17369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17371 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17372 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17373   $as_echo_n "(cached) " >&6
   17374 else
   17375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17376 /* end confdefs.h.  */
   17377 int i;
   17378 _ACEOF
   17379 if ac_fn_c_try_compile "$LINENO"; then :
   17380   xorg_cv_cc_flag_unused_command_line_argument=yes
   17381 else
   17382   xorg_cv_cc_flag_unused_command_line_argument=no
   17383 fi
   17384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17385 fi
   17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17387 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17389 	CFLAGS="$xorg_testset_save_CFLAGS"
   17390 fi
   17391 
   17392 found="no"
   17393 
   17394 	if test $found = "no" ; then
   17395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17397 		fi
   17398 
   17399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17401 		fi
   17402 
   17403 		CFLAGS="$CFLAGS -Waddress"
   17404 
   17405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17406 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17407 		cacheid=xorg_cv_cc_flag__Waddress
   17408 		if eval \${$cacheid+:} false; then :
   17409   $as_echo_n "(cached) " >&6
   17410 else
   17411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17412 /* end confdefs.h.  */
   17413 int i;
   17414 int
   17415 main ()
   17416 {
   17417 
   17418   ;
   17419   return 0;
   17420 }
   17421 _ACEOF
   17422 if ac_fn_c_try_link "$LINENO"; then :
   17423   eval $cacheid=yes
   17424 else
   17425   eval $cacheid=no
   17426 fi
   17427 rm -f core conftest.err conftest.$ac_objext \
   17428     conftest$ac_exeext conftest.$ac_ext
   17429 fi
   17430 
   17431 
   17432 		CFLAGS="$xorg_testset_save_CFLAGS"
   17433 
   17434 		eval supported=\$$cacheid
   17435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17436 $as_echo "$supported" >&6; }
   17437 		if test "$supported" = "yes" ; then
   17438 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17439 			found="yes"
   17440 		fi
   17441 	fi
   17442 
   17443 
   17444 
   17445 
   17446 
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 
   17457 xorg_testset_save_CFLAGS="$CFLAGS"
   17458 
   17459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17462 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17463 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17464   $as_echo_n "(cached) " >&6
   17465 else
   17466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17467 /* end confdefs.h.  */
   17468 int i;
   17469 _ACEOF
   17470 if ac_fn_c_try_compile "$LINENO"; then :
   17471   xorg_cv_cc_flag_unknown_warning_option=yes
   17472 else
   17473   xorg_cv_cc_flag_unknown_warning_option=no
   17474 fi
   17475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17476 fi
   17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17478 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17480 	CFLAGS="$xorg_testset_save_CFLAGS"
   17481 fi
   17482 
   17483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17486 	fi
   17487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17489 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17490 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17491   $as_echo_n "(cached) " >&6
   17492 else
   17493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17494 /* end confdefs.h.  */
   17495 int i;
   17496 _ACEOF
   17497 if ac_fn_c_try_compile "$LINENO"; then :
   17498   xorg_cv_cc_flag_unused_command_line_argument=yes
   17499 else
   17500   xorg_cv_cc_flag_unused_command_line_argument=no
   17501 fi
   17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17503 fi
   17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17505 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17507 	CFLAGS="$xorg_testset_save_CFLAGS"
   17508 fi
   17509 
   17510 found="no"
   17511 
   17512 	if test $found = "no" ; then
   17513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17515 		fi
   17516 
   17517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17519 		fi
   17520 
   17521 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17522 
   17523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17524 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17525 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17526 		if eval \${$cacheid+:} false; then :
   17527   $as_echo_n "(cached) " >&6
   17528 else
   17529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17530 /* end confdefs.h.  */
   17531 int i;
   17532 int
   17533 main ()
   17534 {
   17535 
   17536   ;
   17537   return 0;
   17538 }
   17539 _ACEOF
   17540 if ac_fn_c_try_link "$LINENO"; then :
   17541   eval $cacheid=yes
   17542 else
   17543   eval $cacheid=no
   17544 fi
   17545 rm -f core conftest.err conftest.$ac_objext \
   17546     conftest$ac_exeext conftest.$ac_ext
   17547 fi
   17548 
   17549 
   17550 		CFLAGS="$xorg_testset_save_CFLAGS"
   17551 
   17552 		eval supported=\$$cacheid
   17553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17554 $as_echo "$supported" >&6; }
   17555 		if test "$supported" = "yes" ; then
   17556 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17557 			found="yes"
   17558 		fi
   17559 	fi
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 xorg_testset_save_CFLAGS="$CFLAGS"
   17576 
   17577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17580 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17581 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17582   $as_echo_n "(cached) " >&6
   17583 else
   17584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17585 /* end confdefs.h.  */
   17586 int i;
   17587 _ACEOF
   17588 if ac_fn_c_try_compile "$LINENO"; then :
   17589   xorg_cv_cc_flag_unknown_warning_option=yes
   17590 else
   17591   xorg_cv_cc_flag_unknown_warning_option=no
   17592 fi
   17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17594 fi
   17595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17596 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17598 	CFLAGS="$xorg_testset_save_CFLAGS"
   17599 fi
   17600 
   17601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17604 	fi
   17605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17607 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17608 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17609   $as_echo_n "(cached) " >&6
   17610 else
   17611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17612 /* end confdefs.h.  */
   17613 int i;
   17614 _ACEOF
   17615 if ac_fn_c_try_compile "$LINENO"; then :
   17616   xorg_cv_cc_flag_unused_command_line_argument=yes
   17617 else
   17618   xorg_cv_cc_flag_unused_command_line_argument=no
   17619 fi
   17620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17621 fi
   17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17623 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17625 	CFLAGS="$xorg_testset_save_CFLAGS"
   17626 fi
   17627 
   17628 found="no"
   17629 
   17630 	if test $found = "no" ; then
   17631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17633 		fi
   17634 
   17635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17637 		fi
   17638 
   17639 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17640 
   17641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17642 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17643 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17644 		if eval \${$cacheid+:} false; then :
   17645   $as_echo_n "(cached) " >&6
   17646 else
   17647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17648 /* end confdefs.h.  */
   17649 int i;
   17650 int
   17651 main ()
   17652 {
   17653 
   17654   ;
   17655   return 0;
   17656 }
   17657 _ACEOF
   17658 if ac_fn_c_try_link "$LINENO"; then :
   17659   eval $cacheid=yes
   17660 else
   17661   eval $cacheid=no
   17662 fi
   17663 rm -f core conftest.err conftest.$ac_objext \
   17664     conftest$ac_exeext conftest.$ac_ext
   17665 fi
   17666 
   17667 
   17668 		CFLAGS="$xorg_testset_save_CFLAGS"
   17669 
   17670 		eval supported=\$$cacheid
   17671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17672 $as_echo "$supported" >&6; }
   17673 		if test "$supported" = "yes" ; then
   17674 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17675 			found="yes"
   17676 		fi
   17677 	fi
   17678 
   17679 
   17680 fi
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 		CWARNFLAGS="$BASE_CFLAGS"
   17689 		if  test "x$GCC" = xyes ; then
   17690 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17691 		fi
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 # Check whether --enable-strict-compilation was given.
   17701 if test "${enable_strict_compilation+set}" = set; then :
   17702   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17703 else
   17704   STRICT_COMPILE=no
   17705 fi
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 STRICT_CFLAGS=""
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 xorg_testset_save_CFLAGS="$CFLAGS"
   17727 
   17728 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17729 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17731 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17732 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17733   $as_echo_n "(cached) " >&6
   17734 else
   17735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17736 /* end confdefs.h.  */
   17737 int i;
   17738 _ACEOF
   17739 if ac_fn_c_try_compile "$LINENO"; then :
   17740   xorg_cv_cc_flag_unknown_warning_option=yes
   17741 else
   17742   xorg_cv_cc_flag_unknown_warning_option=no
   17743 fi
   17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17745 fi
   17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17747 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17748 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17749 	CFLAGS="$xorg_testset_save_CFLAGS"
   17750 fi
   17751 
   17752 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17753 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17754 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17755 	fi
   17756 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17757 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17758 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17759 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17760   $as_echo_n "(cached) " >&6
   17761 else
   17762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17763 /* end confdefs.h.  */
   17764 int i;
   17765 _ACEOF
   17766 if ac_fn_c_try_compile "$LINENO"; then :
   17767   xorg_cv_cc_flag_unused_command_line_argument=yes
   17768 else
   17769   xorg_cv_cc_flag_unused_command_line_argument=no
   17770 fi
   17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17772 fi
   17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17774 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17776 	CFLAGS="$xorg_testset_save_CFLAGS"
   17777 fi
   17778 
   17779 found="no"
   17780 
   17781 	if test $found = "no" ; then
   17782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17784 		fi
   17785 
   17786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17788 		fi
   17789 
   17790 		CFLAGS="$CFLAGS -pedantic"
   17791 
   17792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17793 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17794 		cacheid=xorg_cv_cc_flag__pedantic
   17795 		if eval \${$cacheid+:} false; then :
   17796   $as_echo_n "(cached) " >&6
   17797 else
   17798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17799 /* end confdefs.h.  */
   17800 int i;
   17801 int
   17802 main ()
   17803 {
   17804 
   17805   ;
   17806   return 0;
   17807 }
   17808 _ACEOF
   17809 if ac_fn_c_try_link "$LINENO"; then :
   17810   eval $cacheid=yes
   17811 else
   17812   eval $cacheid=no
   17813 fi
   17814 rm -f core conftest.err conftest.$ac_objext \
   17815     conftest$ac_exeext conftest.$ac_ext
   17816 fi
   17817 
   17818 
   17819 		CFLAGS="$xorg_testset_save_CFLAGS"
   17820 
   17821 		eval supported=\$$cacheid
   17822 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17823 $as_echo "$supported" >&6; }
   17824 		if test "$supported" = "yes" ; then
   17825 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17826 			found="yes"
   17827 		fi
   17828 	fi
   17829 
   17830 
   17831 
   17832 
   17833 
   17834 
   17835 
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 
   17843 
   17844 xorg_testset_save_CFLAGS="$CFLAGS"
   17845 
   17846 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17847 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17848 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17849 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17850 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17851   $as_echo_n "(cached) " >&6
   17852 else
   17853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17854 /* end confdefs.h.  */
   17855 int i;
   17856 _ACEOF
   17857 if ac_fn_c_try_compile "$LINENO"; then :
   17858   xorg_cv_cc_flag_unknown_warning_option=yes
   17859 else
   17860   xorg_cv_cc_flag_unknown_warning_option=no
   17861 fi
   17862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17863 fi
   17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17865 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17867 	CFLAGS="$xorg_testset_save_CFLAGS"
   17868 fi
   17869 
   17870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17873 	fi
   17874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17876 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17877 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17878   $as_echo_n "(cached) " >&6
   17879 else
   17880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17881 /* end confdefs.h.  */
   17882 int i;
   17883 _ACEOF
   17884 if ac_fn_c_try_compile "$LINENO"; then :
   17885   xorg_cv_cc_flag_unused_command_line_argument=yes
   17886 else
   17887   xorg_cv_cc_flag_unused_command_line_argument=no
   17888 fi
   17889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17890 fi
   17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17892 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17893 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17894 	CFLAGS="$xorg_testset_save_CFLAGS"
   17895 fi
   17896 
   17897 found="no"
   17898 
   17899 	if test $found = "no" ; then
   17900 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17901 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17902 		fi
   17903 
   17904 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17905 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17906 		fi
   17907 
   17908 		CFLAGS="$CFLAGS -Werror"
   17909 
   17910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17911 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17912 		cacheid=xorg_cv_cc_flag__Werror
   17913 		if eval \${$cacheid+:} false; then :
   17914   $as_echo_n "(cached) " >&6
   17915 else
   17916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17917 /* end confdefs.h.  */
   17918 int i;
   17919 int
   17920 main ()
   17921 {
   17922 
   17923   ;
   17924   return 0;
   17925 }
   17926 _ACEOF
   17927 if ac_fn_c_try_link "$LINENO"; then :
   17928   eval $cacheid=yes
   17929 else
   17930   eval $cacheid=no
   17931 fi
   17932 rm -f core conftest.err conftest.$ac_objext \
   17933     conftest$ac_exeext conftest.$ac_ext
   17934 fi
   17935 
   17936 
   17937 		CFLAGS="$xorg_testset_save_CFLAGS"
   17938 
   17939 		eval supported=\$$cacheid
   17940 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17941 $as_echo "$supported" >&6; }
   17942 		if test "$supported" = "yes" ; then
   17943 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17944 			found="yes"
   17945 		fi
   17946 	fi
   17947 
   17948 	if test $found = "no" ; then
   17949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17951 		fi
   17952 
   17953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17955 		fi
   17956 
   17957 		CFLAGS="$CFLAGS -errwarn"
   17958 
   17959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17960 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17961 		cacheid=xorg_cv_cc_flag__errwarn
   17962 		if eval \${$cacheid+:} false; then :
   17963   $as_echo_n "(cached) " >&6
   17964 else
   17965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17966 /* end confdefs.h.  */
   17967 int i;
   17968 int
   17969 main ()
   17970 {
   17971 
   17972   ;
   17973   return 0;
   17974 }
   17975 _ACEOF
   17976 if ac_fn_c_try_link "$LINENO"; then :
   17977   eval $cacheid=yes
   17978 else
   17979   eval $cacheid=no
   17980 fi
   17981 rm -f core conftest.err conftest.$ac_objext \
   17982     conftest$ac_exeext conftest.$ac_ext
   17983 fi
   17984 
   17985 
   17986 		CFLAGS="$xorg_testset_save_CFLAGS"
   17987 
   17988 		eval supported=\$$cacheid
   17989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17990 $as_echo "$supported" >&6; }
   17991 		if test "$supported" = "yes" ; then
   17992 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17993 			found="yes"
   17994 		fi
   17995 	fi
   17996 
   17997 
   17998 
   17999 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18000 # activate it with -Werror, so we add it here explicitly.
   18001 
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 
   18010 
   18011 
   18012 
   18013 
   18014 xorg_testset_save_CFLAGS="$CFLAGS"
   18015 
   18016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18019 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18020 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18021   $as_echo_n "(cached) " >&6
   18022 else
   18023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18024 /* end confdefs.h.  */
   18025 int i;
   18026 _ACEOF
   18027 if ac_fn_c_try_compile "$LINENO"; then :
   18028   xorg_cv_cc_flag_unknown_warning_option=yes
   18029 else
   18030   xorg_cv_cc_flag_unknown_warning_option=no
   18031 fi
   18032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18033 fi
   18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18035 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18037 	CFLAGS="$xorg_testset_save_CFLAGS"
   18038 fi
   18039 
   18040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18043 	fi
   18044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18046 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18047 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18048   $as_echo_n "(cached) " >&6
   18049 else
   18050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18051 /* end confdefs.h.  */
   18052 int i;
   18053 _ACEOF
   18054 if ac_fn_c_try_compile "$LINENO"; then :
   18055   xorg_cv_cc_flag_unused_command_line_argument=yes
   18056 else
   18057   xorg_cv_cc_flag_unused_command_line_argument=no
   18058 fi
   18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18060 fi
   18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18062 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18063 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18064 	CFLAGS="$xorg_testset_save_CFLAGS"
   18065 fi
   18066 
   18067 found="no"
   18068 
   18069 	if test $found = "no" ; then
   18070 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18071 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18072 		fi
   18073 
   18074 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18075 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18076 		fi
   18077 
   18078 		CFLAGS="$CFLAGS -Werror=attributes"
   18079 
   18080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18081 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18082 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18083 		if eval \${$cacheid+:} false; then :
   18084   $as_echo_n "(cached) " >&6
   18085 else
   18086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18087 /* end confdefs.h.  */
   18088 int i;
   18089 int
   18090 main ()
   18091 {
   18092 
   18093   ;
   18094   return 0;
   18095 }
   18096 _ACEOF
   18097 if ac_fn_c_try_link "$LINENO"; then :
   18098   eval $cacheid=yes
   18099 else
   18100   eval $cacheid=no
   18101 fi
   18102 rm -f core conftest.err conftest.$ac_objext \
   18103     conftest$ac_exeext conftest.$ac_ext
   18104 fi
   18105 
   18106 
   18107 		CFLAGS="$xorg_testset_save_CFLAGS"
   18108 
   18109 		eval supported=\$$cacheid
   18110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18111 $as_echo "$supported" >&6; }
   18112 		if test "$supported" = "yes" ; then
   18113 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18114 			found="yes"
   18115 		fi
   18116 	fi
   18117 
   18118 
   18119 
   18120 if test "x$STRICT_COMPILE" = "xyes"; then
   18121     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18122     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18123 fi
   18124 
   18125 
   18126 
   18127 
   18128 
   18129 
   18130 cat >>confdefs.h <<_ACEOF
   18131 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18132 _ACEOF
   18133 
   18134 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18135 	if test "x$PVM" = "x"; then
   18136 		PVM="0"
   18137 	fi
   18138 
   18139 cat >>confdefs.h <<_ACEOF
   18140 #define PACKAGE_VERSION_MINOR $PVM
   18141 _ACEOF
   18142 
   18143 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18144 	if test "x$PVP" = "x"; then
   18145 		PVP="0"
   18146 	fi
   18147 
   18148 cat >>confdefs.h <<_ACEOF
   18149 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18150 _ACEOF
   18151 
   18152 
   18153 
   18154 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18155 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18156 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18157 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18158 
   18159 
   18160 
   18161 
   18162 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18163 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18164 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18165 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18166 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18167 
   18168 
   18169 
   18170 
   18171 
   18172 
   18173 if test x$APP_MAN_SUFFIX = x    ; then
   18174     APP_MAN_SUFFIX=1
   18175 fi
   18176 if test x$APP_MAN_DIR = x    ; then
   18177     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18178 fi
   18179 
   18180 if test x$LIB_MAN_SUFFIX = x    ; then
   18181     LIB_MAN_SUFFIX=3
   18182 fi
   18183 if test x$LIB_MAN_DIR = x    ; then
   18184     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18185 fi
   18186 
   18187 if test x$FILE_MAN_SUFFIX = x    ; then
   18188     case $host_os in
   18189 	# Solaris 2.0 - 11 use SysV man page sections
   18190 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   18191 	*)				FILE_MAN_SUFFIX=5  ;;
   18192     esac
   18193 fi
   18194 if test x$FILE_MAN_DIR = x    ; then
   18195     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18196 fi
   18197 
   18198 if test x$MISC_MAN_SUFFIX = x    ; then
   18199     case $host_os in
   18200 	# Solaris 2.0 - 11 use SysV man page sections
   18201 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   18202 	*)				MISC_MAN_SUFFIX=7  ;;
   18203     esac
   18204 fi
   18205 if test x$MISC_MAN_DIR = x    ; then
   18206     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18207 fi
   18208 
   18209 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18210     case $host_os in
   18211 	# Solaris 2.0 - 11 use SysV man page sections
   18212 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   18213 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18214     esac
   18215 fi
   18216 if test x$DRIVER_MAN_DIR = x    ; then
   18217     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18218 fi
   18219 
   18220 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18221     case $host_os in
   18222 	# Solaris 2.0 - 11 use SysV man page sections
   18223 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   18224 	*)				ADMIN_MAN_SUFFIX=8  ;;
   18225     esac
   18226 fi
   18227 if test x$ADMIN_MAN_DIR = x    ; then
   18228     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18229 fi
   18230 
   18231 
   18232 
   18233 
   18234 
   18235 
   18236 
   18237 
   18238 
   18239 
   18240 
   18241 
   18242 
   18243 
   18244 
   18245 XORG_MAN_PAGE="X Version 11"
   18246 
   18247 MAN_SUBSTS="\
   18248 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18249 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18250 	-e 's|__xservername__|Xorg|g' \
   18251 	-e 's|__xconfigfile__|xorg.conf|g' \
   18252 	-e 's|__projectroot__|\$(prefix)|g' \
   18253 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18254 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18255 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18256 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18257 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18258 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18259 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18260 
   18261 
   18262 
   18263 # Check whether --enable-silent-rules was given.
   18264 if test "${enable_silent_rules+set}" = set; then :
   18265   enableval=$enable_silent_rules;
   18266 fi
   18267 
   18268 case $enable_silent_rules in # (((
   18269   yes) AM_DEFAULT_VERBOSITY=0;;
   18270    no) AM_DEFAULT_VERBOSITY=1;;
   18271     *) AM_DEFAULT_VERBOSITY=0;;
   18272 esac
   18273 am_make=${MAKE-make}
   18274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18275 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18276 if ${am_cv_make_support_nested_variables+:} false; then :
   18277   $as_echo_n "(cached) " >&6
   18278 else
   18279   if $as_echo 'TRUE=$(BAR$(V))
   18280 BAR0=false
   18281 BAR1=true
   18282 V=1
   18283 am__doit:
   18284 	@$(TRUE)
   18285 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18286   am_cv_make_support_nested_variables=yes
   18287 else
   18288   am_cv_make_support_nested_variables=no
   18289 fi
   18290 fi
   18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18292 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18293 if test $am_cv_make_support_nested_variables = yes; then
   18294     AM_V='$(V)'
   18295   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18296 else
   18297   AM_V=$AM_DEFAULT_VERBOSITY
   18298   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18299 fi
   18300 AM_BACKSLASH='\'
   18301 
   18302 
   18303 
   18304 # Checks for library functions
   18305 for ac_func in strlcat
   18306 do :
   18307   ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   18308 if test "x$ac_cv_func_strlcat" = xyes; then :
   18309   cat >>confdefs.h <<_ACEOF
   18310 #define HAVE_STRLCAT 1
   18311 _ACEOF
   18312 
   18313 fi
   18314 done
   18315 
   18316 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
   18317 if test "x$ac_cv_func_fork" = xyes; then :
   18318 
   18319 else
   18320   $as_echo "#define NO_ZPIPE 1" >>confdefs.h
   18321 
   18322 fi
   18323 
   18324 
   18325 # Obtain compiler/linker options for dependencies
   18326 
   18327 pkg_failed=no
   18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5
   18329 $as_echo_n "checking for XPM... " >&6; }
   18330 
   18331 if test -n "$XPM_CFLAGS"; then
   18332     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   18333  elif test -n "$PKG_CONFIG"; then
   18334     if test -n "$PKG_CONFIG" && \
   18335     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   18336   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   18337   ac_status=$?
   18338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18339   test $ac_status = 0; }; then
   18340   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
   18341 		      test "x$?" != "x0" && pkg_failed=yes
   18342 else
   18343   pkg_failed=yes
   18344 fi
   18345  else
   18346     pkg_failed=untried
   18347 fi
   18348 if test -n "$XPM_LIBS"; then
   18349     pkg_cv_XPM_LIBS="$XPM_LIBS"
   18350  elif test -n "$PKG_CONFIG"; then
   18351     if test -n "$PKG_CONFIG" && \
   18352     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   18353   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   18354   ac_status=$?
   18355   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18356   test $ac_status = 0; }; then
   18357   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
   18358 		      test "x$?" != "x0" && pkg_failed=yes
   18359 else
   18360   pkg_failed=yes
   18361 fi
   18362  else
   18363     pkg_failed=untried
   18364 fi
   18365 
   18366 
   18367 
   18368 if test $pkg_failed = yes; then
   18369    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18370 $as_echo "no" >&6; }
   18371 
   18372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18373         _pkg_short_errors_supported=yes
   18374 else
   18375         _pkg_short_errors_supported=no
   18376 fi
   18377         if test $_pkg_short_errors_supported = yes; then
   18378 	        XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11" 2>&1`
   18379         else
   18380 	        XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11" 2>&1`
   18381         fi
   18382 	# Put the nasty error message in config.log where it belongs
   18383 	echo "$XPM_PKG_ERRORS" >&5
   18384 
   18385 	as_fn_error $? "Package requirements (xproto x11) were not met:
   18386 
   18387 $XPM_PKG_ERRORS
   18388 
   18389 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18390 installed software in a non-standard prefix.
   18391 
   18392 Alternatively, you may set the environment variables XPM_CFLAGS
   18393 and XPM_LIBS to avoid the need to call pkg-config.
   18394 See the pkg-config man page for more details." "$LINENO" 5
   18395 elif test $pkg_failed = untried; then
   18396      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18397 $as_echo "no" >&6; }
   18398 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18400 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18401 is in your PATH or set the PKG_CONFIG environment variable to the full
   18402 path to pkg-config.
   18403 
   18404 Alternatively, you may set the environment variables XPM_CFLAGS
   18405 and XPM_LIBS to avoid the need to call pkg-config.
   18406 See the pkg-config man page for more details.
   18407 
   18408 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18409 See \`config.log' for more details" "$LINENO" 5; }
   18410 else
   18411 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   18412 	XPM_LIBS=$pkg_cv_XPM_LIBS
   18413         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18414 $as_echo "yes" >&6; }
   18415 
   18416 fi
   18417 
   18418 pkg_failed=no
   18419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SXPM" >&5
   18420 $as_echo_n "checking for SXPM... " >&6; }
   18421 
   18422 if test -n "$SXPM_CFLAGS"; then
   18423     pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
   18424  elif test -n "$PKG_CONFIG"; then
   18425     if test -n "$PKG_CONFIG" && \
   18426     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   18427   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   18428   ac_status=$?
   18429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18430   test $ac_status = 0; }; then
   18431   pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   18432 		      test "x$?" != "x0" && pkg_failed=yes
   18433 else
   18434   pkg_failed=yes
   18435 fi
   18436  else
   18437     pkg_failed=untried
   18438 fi
   18439 if test -n "$SXPM_LIBS"; then
   18440     pkg_cv_SXPM_LIBS="$SXPM_LIBS"
   18441  elif test -n "$PKG_CONFIG"; then
   18442     if test -n "$PKG_CONFIG" && \
   18443     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   18444   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   18445   ac_status=$?
   18446   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18447   test $ac_status = 0; }; then
   18448   pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   18449 		      test "x$?" != "x0" && pkg_failed=yes
   18450 else
   18451   pkg_failed=yes
   18452 fi
   18453  else
   18454     pkg_failed=untried
   18455 fi
   18456 
   18457 
   18458 
   18459 if test $pkg_failed = yes; then
   18460    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18461 $as_echo "no" >&6; }
   18462 
   18463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18464         _pkg_short_errors_supported=yes
   18465 else
   18466         _pkg_short_errors_supported=no
   18467 fi
   18468         if test $_pkg_short_errors_supported = yes; then
   18469 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   18470         else
   18471 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   18472         fi
   18473 	# Put the nasty error message in config.log where it belongs
   18474 	echo "$SXPM_PKG_ERRORS" >&5
   18475 
   18476 	build_sxpm=false
   18477 elif test $pkg_failed = untried; then
   18478      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18479 $as_echo "no" >&6; }
   18480 	build_sxpm=false
   18481 else
   18482 	SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
   18483 	SXPM_LIBS=$pkg_cv_SXPM_LIBS
   18484         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18485 $as_echo "yes" >&6; }
   18486 	build_sxpm=true
   18487 fi
   18488  if test x$build_sxpm = xtrue; then
   18489   BUILD_SXPM_TRUE=
   18490   BUILD_SXPM_FALSE='#'
   18491 else
   18492   BUILD_SXPM_TRUE='#'
   18493   BUILD_SXPM_FALSE=
   18494 fi
   18495 
   18496 
   18497 # Internationalization & localization support
   18498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   18499 $as_echo_n "checking for library containing gettext... " >&6; }
   18500 if ${ac_cv_search_gettext+:} false; then :
   18501   $as_echo_n "(cached) " >&6
   18502 else
   18503   ac_func_search_save_LIBS=$LIBS
   18504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18505 /* end confdefs.h.  */
   18506 
   18507 /* Override any GCC internal prototype to avoid an error.
   18508    Use char because int might match the return type of a GCC
   18509    builtin and then its argument prototype would still apply.  */
   18510 #ifdef __cplusplus
   18511 extern "C"
   18512 #endif
   18513 char gettext ();
   18514 int
   18515 main ()
   18516 {
   18517 return gettext ();
   18518   ;
   18519   return 0;
   18520 }
   18521 _ACEOF
   18522 for ac_lib in '' intl; do
   18523   if test -z "$ac_lib"; then
   18524     ac_res="none required"
   18525   else
   18526     ac_res=-l$ac_lib
   18527     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18528   fi
   18529   if ac_fn_c_try_link "$LINENO"; then :
   18530   ac_cv_search_gettext=$ac_res
   18531 fi
   18532 rm -f core conftest.err conftest.$ac_objext \
   18533     conftest$ac_exeext
   18534   if ${ac_cv_search_gettext+:} false; then :
   18535   break
   18536 fi
   18537 done
   18538 if ${ac_cv_search_gettext+:} false; then :
   18539 
   18540 else
   18541   ac_cv_search_gettext=no
   18542 fi
   18543 rm conftest.$ac_ext
   18544 LIBS=$ac_func_search_save_LIBS
   18545 fi
   18546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   18547 $as_echo "$ac_cv_search_gettext" >&6; }
   18548 ac_res=$ac_cv_search_gettext
   18549 if test "$ac_res" != no; then :
   18550   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18551   USE_GETTEXT="yes"
   18552 else
   18553   USE_GETTEXT="no"
   18554 fi
   18555 
   18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   18557 $as_echo_n "checking where to install localized messages... " >&6; }
   18558 
   18559 # Check whether --with-localedir was given.
   18560 if test "${with_localedir+set}" = set; then :
   18561   withval=$with_localedir; LOCALEDIR=${withval}
   18562 else
   18563   LOCALEDIR=${datadir}/locale
   18564 fi
   18565 
   18566 
   18567   prefix_NONE=
   18568   exec_prefix_NONE=
   18569   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   18570   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   18571   eval ax_define_dir="\"$LOCALEDIR\""
   18572   eval ax_define_dir="\"$ax_define_dir\""
   18573   LOCALEDIR="$ax_define_dir"
   18574 
   18575 
   18576 cat >>confdefs.h <<_ACEOF
   18577 #define LOCALEDIR "$ax_define_dir"
   18578 _ACEOF
   18579 
   18580   test "$prefix_NONE" && prefix=NONE
   18581   test "$exec_prefix_NONE" && exec_prefix=NONE
   18582 
   18583 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   18584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   18585 $as_echo "nowhere" >&6; }
   18586 	USE_GETTEXT="no"
   18587 else
   18588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   18589 $as_echo "$LOCALEDIR" >&6; }
   18590 fi
   18591 
   18592 if test "x$USE_GETTEXT" = "xyes" ; then
   18593 
   18594 $as_echo "#define USE_GETTEXT 1" >>confdefs.h
   18595 
   18596 fi
   18597  if test "x$USE_GETTEXT" = "xyes"; then
   18598   USE_GETTEXT_TRUE=
   18599   USE_GETTEXT_FALSE='#'
   18600 else
   18601   USE_GETTEXT_TRUE='#'
   18602   USE_GETTEXT_FALSE=
   18603 fi
   18604 
   18605 
   18606 
   18607 # Optional feature: When a filename ending in .Z or .gz is requested,
   18608 # open a pipe to a newly forked compress/uncompress/gzip command to
   18609 # handle it.
   18610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to handle compressed pixmaps" >&5
   18611 $as_echo_n "checking whether to handle compressed pixmaps... " >&6; }
   18612 case $host_os in
   18613         *mingw*)        zpipe_default="no" ;;
   18614         *)              zpipe_default="yes" ;;
   18615 esac
   18616 # Check whether --enable-open-zfile was given.
   18617 if test "${enable_open_zfile+set}" = set; then :
   18618   enableval=$enable_open_zfile; OPEN_ZFILE=$enableval
   18619 else
   18620   OPEN_ZFILE=yes
   18621 fi
   18622 
   18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OPEN_ZFILE" >&5
   18624 $as_echo "$OPEN_ZFILE" >&6; }
   18625  if test "x$OPEN_ZFILE" = "xyes"; then
   18626   COMPRESSED_PIXMAPS_TRUE=
   18627   COMPRESSED_PIXMAPS_FALSE='#'
   18628 else
   18629   COMPRESSED_PIXMAPS_TRUE='#'
   18630   COMPRESSED_PIXMAPS_FALSE=
   18631 fi
   18632 
   18633 if test x$OPEN_ZFILE = xno ; then
   18634 
   18635 $as_echo "#define NO_ZPIPE 1" >>confdefs.h
   18636 
   18637 else
   18638 
   18639 # Extract the first word of "compress", so it can be a program name with args.
   18640 set dummy compress; ac_word=$2
   18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18642 $as_echo_n "checking for $ac_word... " >&6; }
   18643 if ${ac_cv_path_XPM_PATH_COMPRESS+:} false; then :
   18644   $as_echo_n "(cached) " >&6
   18645 else
   18646   case $XPM_PATH_COMPRESS in
   18647   [\\/]* | ?:[\\/]*)
   18648   ac_cv_path_XPM_PATH_COMPRESS="$XPM_PATH_COMPRESS" # Let the user override the test with a path.
   18649   ;;
   18650   *)
   18651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18652 for as_dir in $PATH
   18653 do
   18654   IFS=$as_save_IFS
   18655   test -z "$as_dir" && as_dir=.
   18656     for ac_exec_ext in '' $ac_executable_extensions; do
   18657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18658     ac_cv_path_XPM_PATH_COMPRESS="$as_dir/$ac_word$ac_exec_ext"
   18659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18660     break 2
   18661   fi
   18662 done
   18663   done
   18664 IFS=$as_save_IFS
   18665 
   18666   ;;
   18667 esac
   18668 fi
   18669 XPM_PATH_COMPRESS=$ac_cv_path_XPM_PATH_COMPRESS
   18670 if test -n "$XPM_PATH_COMPRESS"; then
   18671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_COMPRESS" >&5
   18672 $as_echo "$XPM_PATH_COMPRESS" >&6; }
   18673 else
   18674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18675 $as_echo "no" >&6; }
   18676 fi
   18677 
   18678 
   18679 if test "x$XPM_PATH_COMPRESS" = "x"; then :
   18680   as_fn_error $? "compress not found, set XPM_PATH_COMPRESS or use --disable-stat-zfile" "$LINENO" 5
   18681 fi
   18682 
   18683 cat >>confdefs.h <<_ACEOF
   18684 #define XPM_PATH_COMPRESS "$XPM_PATH_COMPRESS"
   18685 _ACEOF
   18686 
   18687 
   18688 
   18689 # Extract the first word of "uncompress", so it can be a program name with args.
   18690 set dummy uncompress; ac_word=$2
   18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18692 $as_echo_n "checking for $ac_word... " >&6; }
   18693 if ${ac_cv_path_XPM_PATH_UNCOMPRESS+:} false; then :
   18694   $as_echo_n "(cached) " >&6
   18695 else
   18696   case $XPM_PATH_UNCOMPRESS in
   18697   [\\/]* | ?:[\\/]*)
   18698   ac_cv_path_XPM_PATH_UNCOMPRESS="$XPM_PATH_UNCOMPRESS" # Let the user override the test with a path.
   18699   ;;
   18700   *)
   18701   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18702 for as_dir in $PATH
   18703 do
   18704   IFS=$as_save_IFS
   18705   test -z "$as_dir" && as_dir=.
   18706     for ac_exec_ext in '' $ac_executable_extensions; do
   18707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18708     ac_cv_path_XPM_PATH_UNCOMPRESS="$as_dir/$ac_word$ac_exec_ext"
   18709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18710     break 2
   18711   fi
   18712 done
   18713   done
   18714 IFS=$as_save_IFS
   18715 
   18716   ;;
   18717 esac
   18718 fi
   18719 XPM_PATH_UNCOMPRESS=$ac_cv_path_XPM_PATH_UNCOMPRESS
   18720 if test -n "$XPM_PATH_UNCOMPRESS"; then
   18721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_UNCOMPRESS" >&5
   18722 $as_echo "$XPM_PATH_UNCOMPRESS" >&6; }
   18723 else
   18724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18725 $as_echo "no" >&6; }
   18726 fi
   18727 
   18728 
   18729 if test "x$XPM_PATH_UNCOMPRESS" = "x"; then :
   18730   as_fn_error $? "uncompress not found, set XPM_PATH_UNCOMPRESS or use --disable-stat-zfile" "$LINENO" 5
   18731 fi
   18732 
   18733 cat >>confdefs.h <<_ACEOF
   18734 #define XPM_PATH_UNCOMPRESS "$XPM_PATH_UNCOMPRESS"
   18735 _ACEOF
   18736 
   18737 
   18738 
   18739 # Extract the first word of "gzip", so it can be a program name with args.
   18740 set dummy gzip; ac_word=$2
   18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18742 $as_echo_n "checking for $ac_word... " >&6; }
   18743 if ${ac_cv_path_XPM_PATH_GZIP+:} false; then :
   18744   $as_echo_n "(cached) " >&6
   18745 else
   18746   case $XPM_PATH_GZIP in
   18747   [\\/]* | ?:[\\/]*)
   18748   ac_cv_path_XPM_PATH_GZIP="$XPM_PATH_GZIP" # Let the user override the test with a path.
   18749   ;;
   18750   *)
   18751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18752 for as_dir in $PATH
   18753 do
   18754   IFS=$as_save_IFS
   18755   test -z "$as_dir" && as_dir=.
   18756     for ac_exec_ext in '' $ac_executable_extensions; do
   18757   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18758     ac_cv_path_XPM_PATH_GZIP="$as_dir/$ac_word$ac_exec_ext"
   18759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18760     break 2
   18761   fi
   18762 done
   18763   done
   18764 IFS=$as_save_IFS
   18765 
   18766   ;;
   18767 esac
   18768 fi
   18769 XPM_PATH_GZIP=$ac_cv_path_XPM_PATH_GZIP
   18770 if test -n "$XPM_PATH_GZIP"; then
   18771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_GZIP" >&5
   18772 $as_echo "$XPM_PATH_GZIP" >&6; }
   18773 else
   18774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18775 $as_echo "no" >&6; }
   18776 fi
   18777 
   18778 
   18779 if test "x$XPM_PATH_GZIP" = "x"; then :
   18780   as_fn_error $? "gzip not found, set XPM_PATH_GZIP or use --disable-stat-zfile" "$LINENO" 5
   18781 fi
   18782 
   18783 cat >>confdefs.h <<_ACEOF
   18784 #define XPM_PATH_GZIP "$XPM_PATH_GZIP"
   18785 _ACEOF
   18786 
   18787 
   18788         for ac_func in closefrom close_range
   18789 do :
   18790   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   18791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   18792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   18793   cat >>confdefs.h <<_ACEOF
   18794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   18795 _ACEOF
   18796  break
   18797 fi
   18798 done
   18799 
   18800 fi
   18801 
   18802 # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
   18803 # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
   18804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to search for compressed pixmaps" >&5
   18805 $as_echo_n "checking whether to search for compressed pixmaps... " >&6; }
   18806 # Check whether --enable-stat-zfile was given.
   18807 if test "${enable_stat_zfile+set}" = set; then :
   18808   enableval=$enable_stat_zfile; STAT_ZFILE=$enableval
   18809 else
   18810   STAT_ZFILE=$OPEN_ZFILE
   18811 fi
   18812 
   18813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STAT_ZFILE" >&5
   18814 $as_echo "$STAT_ZFILE" >&6; }
   18815 if test x$STAT_ZFILE = xyes ; then
   18816 
   18817 $as_echo "#define STAT_ZFILE 1" >>confdefs.h
   18818 
   18819 fi
   18820 
   18821 # --enable-unit-tests
   18822 
   18823 
   18824 
   18825 
   18826 
   18827 
   18828 # Check for different types of support on different platforms
   18829 case $host_os in
   18830     solaris*)
   18831         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   18832 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   18833 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   18834   $as_echo_n "(cached) " >&6
   18835 else
   18836   ac_check_lib_save_LIBS=$LIBS
   18837 LIBS="-lumem  $LIBS"
   18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18839 /* end confdefs.h.  */
   18840 
   18841 /* Override any GCC internal prototype to avoid an error.
   18842    Use char because int might match the return type of a GCC
   18843    builtin and then its argument prototype would still apply.  */
   18844 #ifdef __cplusplus
   18845 extern "C"
   18846 #endif
   18847 char umem_alloc ();
   18848 int
   18849 main ()
   18850 {
   18851 return umem_alloc ();
   18852   ;
   18853   return 0;
   18854 }
   18855 _ACEOF
   18856 if ac_fn_c_try_link "$LINENO"; then :
   18857   ac_cv_lib_umem_umem_alloc=yes
   18858 else
   18859   ac_cv_lib_umem_umem_alloc=no
   18860 fi
   18861 rm -f core conftest.err conftest.$ac_objext \
   18862     conftest$ac_exeext conftest.$ac_ext
   18863 LIBS=$ac_check_lib_save_LIBS
   18864 fi
   18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   18866 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   18867 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   18868   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   18869 fi
   18870 
   18871         ;;
   18872     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   18873         # both directly and inverted, so should not be 0 or 255.
   18874         malloc_debug_env='MALLOC_PERTURB_=15'
   18875         ;;
   18876     darwin*)
   18877         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   18878         ;;
   18879     *bsd*)
   18880         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   18881         ;;
   18882 esac
   18883 
   18884 # User supplied flags override default flags
   18885 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   18886     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   18887 fi
   18888 
   18889 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   18890 
   18891 
   18892 
   18893 
   18894 
   18895 
   18896 
   18897 # Check whether --enable-unit-tests was given.
   18898 if test "${enable_unit_tests+set}" = set; then :
   18899   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   18900 else
   18901   enable_unit_tests=auto
   18902 fi
   18903 
   18904 
   18905  if test "x$enable_unit_tests" != xno; then
   18906   ENABLE_UNIT_TESTS_TRUE=
   18907   ENABLE_UNIT_TESTS_FALSE='#'
   18908 else
   18909   ENABLE_UNIT_TESTS_TRUE='#'
   18910   ENABLE_UNIT_TESTS_FALSE=
   18911 fi
   18912 
   18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   18914 $as_echo_n "checking whether to build unit test cases... " >&6; }
   18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   18916 $as_echo "$enable_unit_tests" >&6; }
   18917 
   18918 
   18919 
   18920 
   18921 
   18922 # Check whether --with-glib was given.
   18923 if test "${with_glib+set}" = set; then :
   18924   withval=$with_glib; with_glib=$withval
   18925 else
   18926   with_glib=auto
   18927 fi
   18928 
   18929 
   18930 
   18931 have_glib=no
   18932 # Do not probe GLib if user explicitly disabled unit testing
   18933 if test "x$enable_unit_tests" != x"no"; then
   18934   # Do not probe GLib if user explicitly disabled it
   18935   if test "x$with_glib" != x"no"; then
   18936 
   18937 pkg_failed=no
   18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
   18939 $as_echo_n "checking for GLIB... " >&6; }
   18940 
   18941 if test -n "$GLIB_CFLAGS"; then
   18942     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   18943  elif test -n "$PKG_CONFIG"; then
   18944     if test -n "$PKG_CONFIG" && \
   18945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.46\""; } >&5
   18946   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.46") 2>&5
   18947   ac_status=$?
   18948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18949   test $ac_status = 0; }; then
   18950   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.46" 2>/dev/null`
   18951 		      test "x$?" != "x0" && pkg_failed=yes
   18952 else
   18953   pkg_failed=yes
   18954 fi
   18955  else
   18956     pkg_failed=untried
   18957 fi
   18958 if test -n "$GLIB_LIBS"; then
   18959     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   18960  elif test -n "$PKG_CONFIG"; then
   18961     if test -n "$PKG_CONFIG" && \
   18962     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.46\""; } >&5
   18963   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.46") 2>&5
   18964   ac_status=$?
   18965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18966   test $ac_status = 0; }; then
   18967   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.46" 2>/dev/null`
   18968 		      test "x$?" != "x0" && pkg_failed=yes
   18969 else
   18970   pkg_failed=yes
   18971 fi
   18972  else
   18973     pkg_failed=untried
   18974 fi
   18975 
   18976 
   18977 
   18978 if test $pkg_failed = yes; then
   18979    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18980 $as_echo "no" >&6; }
   18981 
   18982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18983         _pkg_short_errors_supported=yes
   18984 else
   18985         _pkg_short_errors_supported=no
   18986 fi
   18987         if test $_pkg_short_errors_supported = yes; then
   18988 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.46" 2>&1`
   18989         else
   18990 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.46" 2>&1`
   18991         fi
   18992 	# Put the nasty error message in config.log where it belongs
   18993 	echo "$GLIB_PKG_ERRORS" >&5
   18994 
   18995 	have_glib=no
   18996 elif test $pkg_failed = untried; then
   18997      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18998 $as_echo "no" >&6; }
   18999 	have_glib=no
   19000 else
   19001 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   19002 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
   19003         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19004 $as_echo "yes" >&6; }
   19005 	have_glib=yes
   19006 fi
   19007   fi
   19008 fi
   19009 
   19010 # Not having GLib when unit testing has been explicitly requested is an error
   19011 if test "x$enable_unit_tests" = x"yes"; then
   19012   if test "x$have_glib" = x"no"; then
   19013     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   19014   fi
   19015 fi
   19016 
   19017 # Having unit testing disabled when GLib has been explicitly requested is an error
   19018 if test "x$enable_unit_tests" = x"no"; then
   19019   if test "x$with_glib" = x"yes"; then
   19020     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   19021   fi
   19022 fi
   19023 
   19024 # Not having GLib when it has been explicitly requested is an error
   19025 if test "x$with_glib" = x"yes"; then
   19026   if test "x$have_glib" = x"no"; then
   19027     as_fn_error $? "--with-glib=yes specified but glib-2.0 not found" "$LINENO" 5
   19028   fi
   19029 fi
   19030 
   19031  if test "$have_glib" = yes; then
   19032   HAVE_GLIB_TRUE=
   19033   HAVE_GLIB_FALSE='#'
   19034 else
   19035   HAVE_GLIB_TRUE='#'
   19036   HAVE_GLIB_FALSE=
   19037 fi
   19038 
   19039 
   19040 
   19041 
   19042 
   19043 
   19044 
   19045 # Check for different types of support on different platforms
   19046 case $host_os in
   19047     solaris*)
   19048         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   19049 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   19050 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   19051   $as_echo_n "(cached) " >&6
   19052 else
   19053   ac_check_lib_save_LIBS=$LIBS
   19054 LIBS="-lumem  $LIBS"
   19055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19056 /* end confdefs.h.  */
   19057 
   19058 /* Override any GCC internal prototype to avoid an error.
   19059    Use char because int might match the return type of a GCC
   19060    builtin and then its argument prototype would still apply.  */
   19061 #ifdef __cplusplus
   19062 extern "C"
   19063 #endif
   19064 char umem_alloc ();
   19065 int
   19066 main ()
   19067 {
   19068 return umem_alloc ();
   19069   ;
   19070   return 0;
   19071 }
   19072 _ACEOF
   19073 if ac_fn_c_try_link "$LINENO"; then :
   19074   ac_cv_lib_umem_umem_alloc=yes
   19075 else
   19076   ac_cv_lib_umem_umem_alloc=no
   19077 fi
   19078 rm -f core conftest.err conftest.$ac_objext \
   19079     conftest$ac_exeext conftest.$ac_ext
   19080 LIBS=$ac_check_lib_save_LIBS
   19081 fi
   19082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   19083 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   19084 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   19085   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   19086 fi
   19087 
   19088         ;;
   19089     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   19090         # both directly and inverted, so should not be 0 or 255.
   19091         malloc_debug_env='MALLOC_PERTURB_=15'
   19092         ;;
   19093     darwin*)
   19094         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   19095         ;;
   19096     *bsd*)
   19097         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   19098         ;;
   19099 esac
   19100 
   19101 # User supplied flags override default flags
   19102 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   19103     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   19104 fi
   19105 
   19106 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   19107 
   19108 
   19109 
   19110 ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile man/Makefile src/Makefile sxpm/Makefile cxpm/Makefile test/Makefile xpm.pc"
   19111 
   19112 cat >confcache <<\_ACEOF
   19113 # This file is a shell script that caches the results of configure
   19114 # tests run on this system so they can be shared between configure
   19115 # scripts and configure runs, see configure's option --config-cache.
   19116 # It is not useful on other systems.  If it contains results you don't
   19117 # want to keep, you may remove or edit it.
   19118 #
   19119 # config.status only pays attention to the cache file if you give it
   19120 # the --recheck option to rerun configure.
   19121 #
   19122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19124 # following values.
   19125 
   19126 _ACEOF
   19127 
   19128 # The following way of writing the cache mishandles newlines in values,
   19129 # but we know of no workaround that is simple, portable, and efficient.
   19130 # So, we kill variables containing newlines.
   19131 # Ultrix sh set writes to stderr and can't be redirected directly,
   19132 # and sets the high bit in the cache file unless we assign to the vars.
   19133 (
   19134   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19135     eval ac_val=\$$ac_var
   19136     case $ac_val in #(
   19137     *${as_nl}*)
   19138       case $ac_var in #(
   19139       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19141       esac
   19142       case $ac_var in #(
   19143       _ | IFS | as_nl) ;; #(
   19144       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19145       *) { eval $ac_var=; unset $ac_var;} ;;
   19146       esac ;;
   19147     esac
   19148   done
   19149 
   19150   (set) 2>&1 |
   19151     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19152     *${as_nl}ac_space=\ *)
   19153       # `set' does not quote correctly, so add quotes: double-quote
   19154       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19155       sed -n \
   19156 	"s/'/'\\\\''/g;
   19157 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19158       ;; #(
   19159     *)
   19160       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19161       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19162       ;;
   19163     esac |
   19164     sort
   19165 ) |
   19166   sed '
   19167      /^ac_cv_env_/b end
   19168      t clear
   19169      :clear
   19170      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19171      t end
   19172      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19173      :end' >>confcache
   19174 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19175   if test -w "$cache_file"; then
   19176     if test "x$cache_file" != "x/dev/null"; then
   19177       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19178 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19179       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19180 	cat confcache >"$cache_file"
   19181       else
   19182         case $cache_file in #(
   19183         */* | ?:*)
   19184 	  mv -f confcache "$cache_file"$$ &&
   19185 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19186         *)
   19187 	  mv -f confcache "$cache_file" ;;
   19188 	esac
   19189       fi
   19190     fi
   19191   else
   19192     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19193 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19194   fi
   19195 fi
   19196 rm -f confcache
   19197 
   19198 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19199 # Let make expand exec_prefix.
   19200 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19201 
   19202 DEFS=-DHAVE_CONFIG_H
   19203 
   19204 ac_libobjs=
   19205 ac_ltlibobjs=
   19206 U=
   19207 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19208   # 1. Remove the extension, and $U if already installed.
   19209   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19210   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19211   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19212   #    will be set to the directory where LIBOBJS objects are built.
   19213   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19214   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19215 done
   19216 LIBOBJS=$ac_libobjs
   19217 
   19218 LTLIBOBJS=$ac_ltlibobjs
   19219 
   19220 
   19221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19222 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19223    if test -n "$am_sleep_pid"; then
   19224      # Hide warnings about reused PIDs.
   19225      wait $am_sleep_pid 2>/dev/null
   19226    fi
   19227    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19228 $as_echo "done" >&6; }
   19229  if test -n "$EXEEXT"; then
   19230   am__EXEEXT_TRUE=
   19231   am__EXEEXT_FALSE='#'
   19232 else
   19233   am__EXEEXT_TRUE='#'
   19234   am__EXEEXT_FALSE=
   19235 fi
   19236 
   19237 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19238   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19240 fi
   19241 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19242   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19244 fi
   19245 if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
   19246   as_fn_error $? "conditional \"BUILD_SXPM\" was never defined.
   19247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19248 fi
   19249 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   19250   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   19251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19252 fi
   19253 if test -z "${COMPRESSED_PIXMAPS_TRUE}" && test -z "${COMPRESSED_PIXMAPS_FALSE}"; then
   19254   as_fn_error $? "conditional \"COMPRESSED_PIXMAPS\" was never defined.
   19255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19256 fi
   19257 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   19258   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   19259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19260 fi
   19261 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
   19262   as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
   19263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19264 fi
   19265 
   19266 : "${CONFIG_STATUS=./config.status}"
   19267 ac_write_fail=0
   19268 ac_clean_files_save=$ac_clean_files
   19269 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19270 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19271 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19272 as_write_fail=0
   19273 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19274 #! $SHELL
   19275 # Generated by $as_me.
   19276 # Run this file to recreate the current configuration.
   19277 # Compiler output produced by configure, useful for debugging
   19278 # configure, is in config.log if it exists.
   19279 
   19280 debug=false
   19281 ac_cs_recheck=false
   19282 ac_cs_silent=false
   19283 
   19284 SHELL=\${CONFIG_SHELL-$SHELL}
   19285 export SHELL
   19286 _ASEOF
   19287 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19288 ## -------------------- ##
   19289 ## M4sh Initialization. ##
   19290 ## -------------------- ##
   19291 
   19292 # Be more Bourne compatible
   19293 DUALCASE=1; export DUALCASE # for MKS sh
   19294 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19295   emulate sh
   19296   NULLCMD=:
   19297   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19298   # is contrary to our usage.  Disable this feature.
   19299   alias -g '${1+"$@"}'='"$@"'
   19300   setopt NO_GLOB_SUBST
   19301 else
   19302   case `(set -o) 2>/dev/null` in #(
   19303   *posix*) :
   19304     set -o posix ;; #(
   19305   *) :
   19306      ;;
   19307 esac
   19308 fi
   19309 
   19310 
   19311 as_nl='
   19312 '
   19313 export as_nl
   19314 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19315 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19317 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19318 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19319 # but without wasting forks for bash or zsh.
   19320 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19321     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19322   as_echo='print -r --'
   19323   as_echo_n='print -rn --'
   19324 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19325   as_echo='printf %s\n'
   19326   as_echo_n='printf %s'
   19327 else
   19328   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19329     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19330     as_echo_n='/usr/ucb/echo -n'
   19331   else
   19332     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19333     as_echo_n_body='eval
   19334       arg=$1;
   19335       case $arg in #(
   19336       *"$as_nl"*)
   19337 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19338 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19339       esac;
   19340       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19341     '
   19342     export as_echo_n_body
   19343     as_echo_n='sh -c $as_echo_n_body as_echo'
   19344   fi
   19345   export as_echo_body
   19346   as_echo='sh -c $as_echo_body as_echo'
   19347 fi
   19348 
   19349 # The user is always right.
   19350 if test "${PATH_SEPARATOR+set}" != set; then
   19351   PATH_SEPARATOR=:
   19352   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19353     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19354       PATH_SEPARATOR=';'
   19355   }
   19356 fi
   19357 
   19358 
   19359 # IFS
   19360 # We need space, tab and new line, in precisely that order.  Quoting is
   19361 # there to prevent editors from complaining about space-tab.
   19362 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19363 # splitting by setting IFS to empty value.)
   19364 IFS=" ""	$as_nl"
   19365 
   19366 # Find who we are.  Look in the path if we contain no directory separator.
   19367 as_myself=
   19368 case $0 in #((
   19369   *[\\/]* ) as_myself=$0 ;;
   19370   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19371 for as_dir in $PATH
   19372 do
   19373   IFS=$as_save_IFS
   19374   test -z "$as_dir" && as_dir=.
   19375     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19376   done
   19377 IFS=$as_save_IFS
   19378 
   19379      ;;
   19380 esac
   19381 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19382 # in which case we are not to be found in the path.
   19383 if test "x$as_myself" = x; then
   19384   as_myself=$0
   19385 fi
   19386 if test ! -f "$as_myself"; then
   19387   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19388   exit 1
   19389 fi
   19390 
   19391 # Unset variables that we do not need and which cause bugs (e.g. in
   19392 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19393 # suppresses any "Segmentation fault" message there.  '((' could
   19394 # trigger a bug in pdksh 5.2.14.
   19395 for as_var in BASH_ENV ENV MAIL MAILPATH
   19396 do eval test x\${$as_var+set} = xset \
   19397   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19398 done
   19399 PS1='$ '
   19400 PS2='> '
   19401 PS4='+ '
   19402 
   19403 # NLS nuisances.
   19404 LC_ALL=C
   19405 export LC_ALL
   19406 LANGUAGE=C
   19407 export LANGUAGE
   19408 
   19409 # CDPATH.
   19410 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19411 
   19412 
   19413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19414 # ----------------------------------------
   19415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19417 # script with STATUS, using 1 if that was 0.
   19418 as_fn_error ()
   19419 {
   19420   as_status=$1; test $as_status -eq 0 && as_status=1
   19421   if test "$4"; then
   19422     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19423     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19424   fi
   19425   $as_echo "$as_me: error: $2" >&2
   19426   as_fn_exit $as_status
   19427 } # as_fn_error
   19428 
   19429 
   19430 # as_fn_set_status STATUS
   19431 # -----------------------
   19432 # Set $? to STATUS, without forking.
   19433 as_fn_set_status ()
   19434 {
   19435   return $1
   19436 } # as_fn_set_status
   19437 
   19438 # as_fn_exit STATUS
   19439 # -----------------
   19440 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19441 as_fn_exit ()
   19442 {
   19443   set +e
   19444   as_fn_set_status $1
   19445   exit $1
   19446 } # as_fn_exit
   19447 
   19448 # as_fn_unset VAR
   19449 # ---------------
   19450 # Portably unset VAR.
   19451 as_fn_unset ()
   19452 {
   19453   { eval $1=; unset $1;}
   19454 }
   19455 as_unset=as_fn_unset
   19456 # as_fn_append VAR VALUE
   19457 # ----------------------
   19458 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19459 # advantage of any shell optimizations that allow amortized linear growth over
   19460 # repeated appends, instead of the typical quadratic growth present in naive
   19461 # implementations.
   19462 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19463   eval 'as_fn_append ()
   19464   {
   19465     eval $1+=\$2
   19466   }'
   19467 else
   19468   as_fn_append ()
   19469   {
   19470     eval $1=\$$1\$2
   19471   }
   19472 fi # as_fn_append
   19473 
   19474 # as_fn_arith ARG...
   19475 # ------------------
   19476 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19477 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19478 # must be portable across $(()) and expr.
   19479 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19480   eval 'as_fn_arith ()
   19481   {
   19482     as_val=$(( $* ))
   19483   }'
   19484 else
   19485   as_fn_arith ()
   19486   {
   19487     as_val=`expr "$@" || test $? -eq 1`
   19488   }
   19489 fi # as_fn_arith
   19490 
   19491 
   19492 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19493    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19494   as_expr=expr
   19495 else
   19496   as_expr=false
   19497 fi
   19498 
   19499 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19500   as_basename=basename
   19501 else
   19502   as_basename=false
   19503 fi
   19504 
   19505 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19506   as_dirname=dirname
   19507 else
   19508   as_dirname=false
   19509 fi
   19510 
   19511 as_me=`$as_basename -- "$0" ||
   19512 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19513 	 X"$0" : 'X\(//\)$' \| \
   19514 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19515 $as_echo X/"$0" |
   19516     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19517 	    s//\1/
   19518 	    q
   19519 	  }
   19520 	  /^X\/\(\/\/\)$/{
   19521 	    s//\1/
   19522 	    q
   19523 	  }
   19524 	  /^X\/\(\/\).*/{
   19525 	    s//\1/
   19526 	    q
   19527 	  }
   19528 	  s/.*/./; q'`
   19529 
   19530 # Avoid depending upon Character Ranges.
   19531 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19532 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19533 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19534 as_cr_digits='0123456789'
   19535 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19536 
   19537 ECHO_C= ECHO_N= ECHO_T=
   19538 case `echo -n x` in #(((((
   19539 -n*)
   19540   case `echo 'xy\c'` in
   19541   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19542   xy)  ECHO_C='\c';;
   19543   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19544        ECHO_T='	';;
   19545   esac;;
   19546 *)
   19547   ECHO_N='-n';;
   19548 esac
   19549 
   19550 rm -f conf$$ conf$$.exe conf$$.file
   19551 if test -d conf$$.dir; then
   19552   rm -f conf$$.dir/conf$$.file
   19553 else
   19554   rm -f conf$$.dir
   19555   mkdir conf$$.dir 2>/dev/null
   19556 fi
   19557 if (echo >conf$$.file) 2>/dev/null; then
   19558   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19559     as_ln_s='ln -s'
   19560     # ... but there are two gotchas:
   19561     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19562     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19563     # In both cases, we have to default to `cp -pR'.
   19564     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19565       as_ln_s='cp -pR'
   19566   elif ln conf$$.file conf$$ 2>/dev/null; then
   19567     as_ln_s=ln
   19568   else
   19569     as_ln_s='cp -pR'
   19570   fi
   19571 else
   19572   as_ln_s='cp -pR'
   19573 fi
   19574 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19575 rmdir conf$$.dir 2>/dev/null
   19576 
   19577 
   19578 # as_fn_mkdir_p
   19579 # -------------
   19580 # Create "$as_dir" as a directory, including parents if necessary.
   19581 as_fn_mkdir_p ()
   19582 {
   19583 
   19584   case $as_dir in #(
   19585   -*) as_dir=./$as_dir;;
   19586   esac
   19587   test -d "$as_dir" || eval $as_mkdir_p || {
   19588     as_dirs=
   19589     while :; do
   19590       case $as_dir in #(
   19591       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19592       *) as_qdir=$as_dir;;
   19593       esac
   19594       as_dirs="'$as_qdir' $as_dirs"
   19595       as_dir=`$as_dirname -- "$as_dir" ||
   19596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19597 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19598 	 X"$as_dir" : 'X\(//\)$' \| \
   19599 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19600 $as_echo X"$as_dir" |
   19601     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19602 	    s//\1/
   19603 	    q
   19604 	  }
   19605 	  /^X\(\/\/\)[^/].*/{
   19606 	    s//\1/
   19607 	    q
   19608 	  }
   19609 	  /^X\(\/\/\)$/{
   19610 	    s//\1/
   19611 	    q
   19612 	  }
   19613 	  /^X\(\/\).*/{
   19614 	    s//\1/
   19615 	    q
   19616 	  }
   19617 	  s/.*/./; q'`
   19618       test -d "$as_dir" && break
   19619     done
   19620     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19621   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19622 
   19623 
   19624 } # as_fn_mkdir_p
   19625 if mkdir -p . 2>/dev/null; then
   19626   as_mkdir_p='mkdir -p "$as_dir"'
   19627 else
   19628   test -d ./-p && rmdir ./-p
   19629   as_mkdir_p=false
   19630 fi
   19631 
   19632 
   19633 # as_fn_executable_p FILE
   19634 # -----------------------
   19635 # Test if FILE is an executable regular file.
   19636 as_fn_executable_p ()
   19637 {
   19638   test -f "$1" && test -x "$1"
   19639 } # as_fn_executable_p
   19640 as_test_x='test -x'
   19641 as_executable_p=as_fn_executable_p
   19642 
   19643 # Sed expression to map a string onto a valid CPP name.
   19644 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19645 
   19646 # Sed expression to map a string onto a valid variable name.
   19647 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19648 
   19649 
   19650 exec 6>&1
   19651 ## ----------------------------------- ##
   19652 ## Main body of $CONFIG_STATUS script. ##
   19653 ## ----------------------------------- ##
   19654 _ASEOF
   19655 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19656 
   19657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19658 # Save the log message, to keep $0 and so on meaningful, and to
   19659 # report actual input values of CONFIG_FILES etc. instead of their
   19660 # values after options handling.
   19661 ac_log="
   19662 This file was extended by libXpm $as_me 3.5.15, which was
   19663 generated by GNU Autoconf 2.69.  Invocation command line was
   19664 
   19665   CONFIG_FILES    = $CONFIG_FILES
   19666   CONFIG_HEADERS  = $CONFIG_HEADERS
   19667   CONFIG_LINKS    = $CONFIG_LINKS
   19668   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19669   $ $0 $@
   19670 
   19671 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19672 "
   19673 
   19674 _ACEOF
   19675 
   19676 case $ac_config_files in *"
   19677 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19678 esac
   19679 
   19680 case $ac_config_headers in *"
   19681 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19682 esac
   19683 
   19684 
   19685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19686 # Files that config.status was made for.
   19687 config_files="$ac_config_files"
   19688 config_headers="$ac_config_headers"
   19689 config_commands="$ac_config_commands"
   19690 
   19691 _ACEOF
   19692 
   19693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19694 ac_cs_usage="\
   19695 \`$as_me' instantiates files and other configuration actions
   19696 from templates according to the current configuration.  Unless the files
   19697 and actions are specified as TAGs, all are instantiated by default.
   19698 
   19699 Usage: $0 [OPTION]... [TAG]...
   19700 
   19701   -h, --help       print this help, then exit
   19702   -V, --version    print version number and configuration settings, then exit
   19703       --config     print configuration, then exit
   19704   -q, --quiet, --silent
   19705                    do not print progress messages
   19706   -d, --debug      don't remove temporary files
   19707       --recheck    update $as_me by reconfiguring in the same conditions
   19708       --file=FILE[:TEMPLATE]
   19709                    instantiate the configuration file FILE
   19710       --header=FILE[:TEMPLATE]
   19711                    instantiate the configuration header FILE
   19712 
   19713 Configuration files:
   19714 $config_files
   19715 
   19716 Configuration headers:
   19717 $config_headers
   19718 
   19719 Configuration commands:
   19720 $config_commands
   19721 
   19722 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues>."
   19723 
   19724 _ACEOF
   19725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19726 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19727 ac_cs_version="\\
   19728 libXpm config.status 3.5.15
   19729 configured by $0, generated by GNU Autoconf 2.69,
   19730   with options \\"\$ac_cs_config\\"
   19731 
   19732 Copyright (C) 2012 Free Software Foundation, Inc.
   19733 This config.status script is free software; the Free Software Foundation
   19734 gives unlimited permission to copy, distribute and modify it."
   19735 
   19736 ac_pwd='$ac_pwd'
   19737 srcdir='$srcdir'
   19738 INSTALL='$INSTALL'
   19739 MKDIR_P='$MKDIR_P'
   19740 AWK='$AWK'
   19741 test -n "\$AWK" || AWK=awk
   19742 _ACEOF
   19743 
   19744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19745 # The default lists apply if the user does not specify any file.
   19746 ac_need_defaults=:
   19747 while test $# != 0
   19748 do
   19749   case $1 in
   19750   --*=?*)
   19751     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19752     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19753     ac_shift=:
   19754     ;;
   19755   --*=)
   19756     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19757     ac_optarg=
   19758     ac_shift=:
   19759     ;;
   19760   *)
   19761     ac_option=$1
   19762     ac_optarg=$2
   19763     ac_shift=shift
   19764     ;;
   19765   esac
   19766 
   19767   case $ac_option in
   19768   # Handling of the options.
   19769   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19770     ac_cs_recheck=: ;;
   19771   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19772     $as_echo "$ac_cs_version"; exit ;;
   19773   --config | --confi | --conf | --con | --co | --c )
   19774     $as_echo "$ac_cs_config"; exit ;;
   19775   --debug | --debu | --deb | --de | --d | -d )
   19776     debug=: ;;
   19777   --file | --fil | --fi | --f )
   19778     $ac_shift
   19779     case $ac_optarg in
   19780     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19781     '') as_fn_error $? "missing file argument" ;;
   19782     esac
   19783     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19784     ac_need_defaults=false;;
   19785   --header | --heade | --head | --hea )
   19786     $ac_shift
   19787     case $ac_optarg in
   19788     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19789     esac
   19790     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19791     ac_need_defaults=false;;
   19792   --he | --h)
   19793     # Conflict between --help and --header
   19794     as_fn_error $? "ambiguous option: \`$1'
   19795 Try \`$0 --help' for more information.";;
   19796   --help | --hel | -h )
   19797     $as_echo "$ac_cs_usage"; exit ;;
   19798   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19799   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19800     ac_cs_silent=: ;;
   19801 
   19802   # This is an error.
   19803   -*) as_fn_error $? "unrecognized option: \`$1'
   19804 Try \`$0 --help' for more information." ;;
   19805 
   19806   *) as_fn_append ac_config_targets " $1"
   19807      ac_need_defaults=false ;;
   19808 
   19809   esac
   19810   shift
   19811 done
   19812 
   19813 ac_configure_extra_args=
   19814 
   19815 if $ac_cs_silent; then
   19816   exec 6>/dev/null
   19817   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19818 fi
   19819 
   19820 _ACEOF
   19821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19822 if \$ac_cs_recheck; then
   19823   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19824   shift
   19825   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19826   CONFIG_SHELL='$SHELL'
   19827   export CONFIG_SHELL
   19828   exec "\$@"
   19829 fi
   19830 
   19831 _ACEOF
   19832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19833 exec 5>>config.log
   19834 {
   19835   echo
   19836   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19837 ## Running $as_me. ##
   19838 _ASBOX
   19839   $as_echo "$ac_log"
   19840 } >&5
   19841 
   19842 _ACEOF
   19843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19844 #
   19845 # INIT-COMMANDS
   19846 #
   19847 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19848 
   19849 
   19850 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19851 # if CDPATH is set.
   19852 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19853 
   19854 sed_quote_subst='$sed_quote_subst'
   19855 double_quote_subst='$double_quote_subst'
   19856 delay_variable_subst='$delay_variable_subst'
   19857 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19858 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19859 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19860 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19861 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19862 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19863 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19864 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19865 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19866 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19867 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19868 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19869 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19870 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19871 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19872 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19873 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19874 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19875 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19876 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19877 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19878 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19879 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19880 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19881 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19882 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19883 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19884 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19885 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19886 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19887 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19888 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19889 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19890 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19891 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19892 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19893 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19894 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19895 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19896 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19897 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19898 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19899 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19900 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19901 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19902 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19903 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19904 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19905 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19906 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19907 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19908 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19909 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19910 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19911 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19912 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19913 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19914 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19915 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"`'
   19916 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19917 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19918 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19919 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19920 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19921 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19922 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19923 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19924 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19925 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19926 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19927 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19928 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19929 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19930 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19931 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19932 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19933 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19934 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19935 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19936 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19937 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19938 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19939 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19940 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19941 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19942 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19943 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19944 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19945 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19946 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19947 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19948 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19949 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19950 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19951 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19952 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19953 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19954 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19955 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19956 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19957 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19958 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19959 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19960 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19961 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19962 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19963 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19964 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19965 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19966 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19967 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19968 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19969 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19970 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19971 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19972 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19973 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19974 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19975 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19976 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19977 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19978 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19979 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19980 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19981 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19982 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19983 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19984 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19985 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19986 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19987 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19988 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19989 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19990 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19991 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19992 
   19993 LTCC='$LTCC'
   19994 LTCFLAGS='$LTCFLAGS'
   19995 compiler='$compiler_DEFAULT'
   19996 
   19997 # A function that is used when there is no print builtin or printf.
   19998 func_fallback_echo ()
   19999 {
   20000   eval 'cat <<_LTECHO_EOF
   20001 \$1
   20002 _LTECHO_EOF'
   20003 }
   20004 
   20005 # Quote evaled strings.
   20006 for var in SHELL \
   20007 ECHO \
   20008 PATH_SEPARATOR \
   20009 SED \
   20010 GREP \
   20011 EGREP \
   20012 FGREP \
   20013 LD \
   20014 NM \
   20015 LN_S \
   20016 lt_SP2NL \
   20017 lt_NL2SP \
   20018 reload_flag \
   20019 OBJDUMP \
   20020 deplibs_check_method \
   20021 file_magic_cmd \
   20022 file_magic_glob \
   20023 want_nocaseglob \
   20024 DLLTOOL \
   20025 sharedlib_from_linklib_cmd \
   20026 AR \
   20027 AR_FLAGS \
   20028 archiver_list_spec \
   20029 STRIP \
   20030 RANLIB \
   20031 CC \
   20032 CFLAGS \
   20033 compiler \
   20034 lt_cv_sys_global_symbol_pipe \
   20035 lt_cv_sys_global_symbol_to_cdecl \
   20036 lt_cv_sys_global_symbol_to_import \
   20037 lt_cv_sys_global_symbol_to_c_name_address \
   20038 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20039 lt_cv_nm_interface \
   20040 nm_file_list_spec \
   20041 lt_cv_truncate_bin \
   20042 lt_prog_compiler_no_builtin_flag \
   20043 lt_prog_compiler_pic \
   20044 lt_prog_compiler_wl \
   20045 lt_prog_compiler_static \
   20046 lt_cv_prog_compiler_c_o \
   20047 need_locks \
   20048 MANIFEST_TOOL \
   20049 DSYMUTIL \
   20050 NMEDIT \
   20051 LIPO \
   20052 OTOOL \
   20053 OTOOL64 \
   20054 shrext_cmds \
   20055 export_dynamic_flag_spec \
   20056 whole_archive_flag_spec \
   20057 compiler_needs_object \
   20058 with_gnu_ld \
   20059 allow_undefined_flag \
   20060 no_undefined_flag \
   20061 hardcode_libdir_flag_spec \
   20062 hardcode_libdir_separator \
   20063 exclude_expsyms \
   20064 include_expsyms \
   20065 file_list_spec \
   20066 variables_saved_for_relink \
   20067 libname_spec \
   20068 library_names_spec \
   20069 soname_spec \
   20070 install_override_mode \
   20071 finish_eval \
   20072 old_striplib \
   20073 striplib; do
   20074     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20075     *[\\\\\\\`\\"\\\$]*)
   20076       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20077       ;;
   20078     *)
   20079       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20080       ;;
   20081     esac
   20082 done
   20083 
   20084 # Double-quote double-evaled strings.
   20085 for var in reload_cmds \
   20086 old_postinstall_cmds \
   20087 old_postuninstall_cmds \
   20088 old_archive_cmds \
   20089 extract_expsyms_cmds \
   20090 old_archive_from_new_cmds \
   20091 old_archive_from_expsyms_cmds \
   20092 archive_cmds \
   20093 archive_expsym_cmds \
   20094 module_cmds \
   20095 module_expsym_cmds \
   20096 export_symbols_cmds \
   20097 prelink_cmds \
   20098 postlink_cmds \
   20099 postinstall_cmds \
   20100 postuninstall_cmds \
   20101 finish_cmds \
   20102 sys_lib_search_path_spec \
   20103 configure_time_dlsearch_path \
   20104 configure_time_lt_sys_library_path; do
   20105     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20106     *[\\\\\\\`\\"\\\$]*)
   20107       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20108       ;;
   20109     *)
   20110       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20111       ;;
   20112     esac
   20113 done
   20114 
   20115 ac_aux_dir='$ac_aux_dir'
   20116 
   20117 # See if we are running on zsh, and set the options that allow our
   20118 # commands through without removal of \ escapes INIT.
   20119 if test -n "\${ZSH_VERSION+set}"; then
   20120    setopt NO_GLOB_SUBST
   20121 fi
   20122 
   20123 
   20124     PACKAGE='$PACKAGE'
   20125     VERSION='$VERSION'
   20126     RM='$RM'
   20127     ofile='$ofile'
   20128 
   20129 
   20130 
   20131 
   20132 _ACEOF
   20133 
   20134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20135 
   20136 # Handling of arguments.
   20137 for ac_config_target in $ac_config_targets
   20138 do
   20139   case $ac_config_target in
   20140     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20141     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20142     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20143     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20144     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   20145     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   20146     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20147     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20148     "sxpm/Makefile") CONFIG_FILES="$CONFIG_FILES sxpm/Makefile" ;;
   20149     "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
   20150     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   20151     "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
   20152 
   20153   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20154   esac
   20155 done
   20156 
   20157 
   20158 # If the user did not use the arguments to specify the items to instantiate,
   20159 # then the envvar interface is used.  Set only those that are not.
   20160 # We use the long form for the default assignment because of an extremely
   20161 # bizarre bug on SunOS 4.1.3.
   20162 if $ac_need_defaults; then
   20163   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20164   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20165   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20166 fi
   20167 
   20168 # Have a temporary directory for convenience.  Make it in the build tree
   20169 # simply because there is no reason against having it here, and in addition,
   20170 # creating and moving files from /tmp can sometimes cause problems.
   20171 # Hook for its removal unless debugging.
   20172 # Note that there is a small window in which the directory will not be cleaned:
   20173 # after its creation but before its name has been assigned to `$tmp'.
   20174 $debug ||
   20175 {
   20176   tmp= ac_tmp=
   20177   trap 'exit_status=$?
   20178   : "${ac_tmp:=$tmp}"
   20179   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20180 ' 0
   20181   trap 'as_fn_exit 1' 1 2 13 15
   20182 }
   20183 # Create a (secure) tmp directory for tmp files.
   20184 
   20185 {
   20186   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20187   test -d "$tmp"
   20188 }  ||
   20189 {
   20190   tmp=./conf$$-$RANDOM
   20191   (umask 077 && mkdir "$tmp")
   20192 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20193 ac_tmp=$tmp
   20194 
   20195 # Set up the scripts for CONFIG_FILES section.
   20196 # No need to generate them if there are no CONFIG_FILES.
   20197 # This happens for instance with `./config.status config.h'.
   20198 if test -n "$CONFIG_FILES"; then
   20199 
   20200 
   20201 ac_cr=`echo X | tr X '\015'`
   20202 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20203 # But we know of no other shell where ac_cr would be empty at this
   20204 # point, so we can use a bashism as a fallback.
   20205 if test "x$ac_cr" = x; then
   20206   eval ac_cr=\$\'\\r\'
   20207 fi
   20208 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20209 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20210   ac_cs_awk_cr='\\r'
   20211 else
   20212   ac_cs_awk_cr=$ac_cr
   20213 fi
   20214 
   20215 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20216 _ACEOF
   20217 
   20218 
   20219 {
   20220   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20221   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20222   echo "_ACEOF"
   20223 } >conf$$subs.sh ||
   20224   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20226 ac_delim='%!_!# '
   20227 for ac_last_try in false false false false false :; do
   20228   . ./conf$$subs.sh ||
   20229     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20230 
   20231   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20232   if test $ac_delim_n = $ac_delim_num; then
   20233     break
   20234   elif $ac_last_try; then
   20235     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20236   else
   20237     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20238   fi
   20239 done
   20240 rm -f conf$$subs.sh
   20241 
   20242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20243 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20244 _ACEOF
   20245 sed -n '
   20246 h
   20247 s/^/S["/; s/!.*/"]=/
   20248 p
   20249 g
   20250 s/^[^!]*!//
   20251 :repl
   20252 t repl
   20253 s/'"$ac_delim"'$//
   20254 t delim
   20255 :nl
   20256 h
   20257 s/\(.\{148\}\)..*/\1/
   20258 t more1
   20259 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20260 p
   20261 n
   20262 b repl
   20263 :more1
   20264 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20265 p
   20266 g
   20267 s/.\{148\}//
   20268 t nl
   20269 :delim
   20270 h
   20271 s/\(.\{148\}\)..*/\1/
   20272 t more2
   20273 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20274 p
   20275 b
   20276 :more2
   20277 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20278 p
   20279 g
   20280 s/.\{148\}//
   20281 t delim
   20282 ' <conf$$subs.awk | sed '
   20283 /^[^""]/{
   20284   N
   20285   s/\n//
   20286 }
   20287 ' >>$CONFIG_STATUS || ac_write_fail=1
   20288 rm -f conf$$subs.awk
   20289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20290 _ACAWK
   20291 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20292   for (key in S) S_is_set[key] = 1
   20293   FS = ""
   20294 
   20295 }
   20296 {
   20297   line = $ 0
   20298   nfields = split(line, field, "@")
   20299   substed = 0
   20300   len = length(field[1])
   20301   for (i = 2; i < nfields; i++) {
   20302     key = field[i]
   20303     keylen = length(key)
   20304     if (S_is_set[key]) {
   20305       value = S[key]
   20306       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20307       len += length(value) + length(field[++i])
   20308       substed = 1
   20309     } else
   20310       len += 1 + keylen
   20311   }
   20312 
   20313   print line
   20314 }
   20315 
   20316 _ACAWK
   20317 _ACEOF
   20318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20319 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20320   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20321 else
   20322   cat
   20323 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20324   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20325 _ACEOF
   20326 
   20327 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20328 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20329 # trailing colons and then remove the whole line if VPATH becomes empty
   20330 # (actually we leave an empty line to preserve line numbers).
   20331 if test "x$srcdir" = x.; then
   20332   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20333 h
   20334 s///
   20335 s/^/:/
   20336 s/[	 ]*$/:/
   20337 s/:\$(srcdir):/:/g
   20338 s/:\${srcdir}:/:/g
   20339 s/:@srcdir@:/:/g
   20340 s/^:*//
   20341 s/:*$//
   20342 x
   20343 s/\(=[	 ]*\).*/\1/
   20344 G
   20345 s/\n//
   20346 s/^[^=]*=[	 ]*$//
   20347 }'
   20348 fi
   20349 
   20350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20351 fi # test -n "$CONFIG_FILES"
   20352 
   20353 # Set up the scripts for CONFIG_HEADERS section.
   20354 # No need to generate them if there are no CONFIG_HEADERS.
   20355 # This happens for instance with `./config.status Makefile'.
   20356 if test -n "$CONFIG_HEADERS"; then
   20357 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20358 BEGIN {
   20359 _ACEOF
   20360 
   20361 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20362 # here-document in config.status, that substitutes the proper values into
   20363 # config.h.in to produce config.h.
   20364 
   20365 # Create a delimiter string that does not exist in confdefs.h, to ease
   20366 # handling of long lines.
   20367 ac_delim='%!_!# '
   20368 for ac_last_try in false false :; do
   20369   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20370   if test -z "$ac_tt"; then
   20371     break
   20372   elif $ac_last_try; then
   20373     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20374   else
   20375     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20376   fi
   20377 done
   20378 
   20379 # For the awk script, D is an array of macro values keyed by name,
   20380 # likewise P contains macro parameters if any.  Preserve backslash
   20381 # newline sequences.
   20382 
   20383 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20384 sed -n '
   20385 s/.\{148\}/&'"$ac_delim"'/g
   20386 t rset
   20387 :rset
   20388 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20389 t def
   20390 d
   20391 :def
   20392 s/\\$//
   20393 t bsnl
   20394 s/["\\]/\\&/g
   20395 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20396 D["\1"]=" \3"/p
   20397 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20398 d
   20399 :bsnl
   20400 s/["\\]/\\&/g
   20401 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20402 D["\1"]=" \3\\\\\\n"\\/p
   20403 t cont
   20404 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20405 t cont
   20406 d
   20407 :cont
   20408 n
   20409 s/.\{148\}/&'"$ac_delim"'/g
   20410 t clear
   20411 :clear
   20412 s/\\$//
   20413 t bsnlc
   20414 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20415 d
   20416 :bsnlc
   20417 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20418 b cont
   20419 ' <confdefs.h | sed '
   20420 s/'"$ac_delim"'/"\\\
   20421 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20422 
   20423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20424   for (key in D) D_is_set[key] = 1
   20425   FS = ""
   20426 }
   20427 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20428   line = \$ 0
   20429   split(line, arg, " ")
   20430   if (arg[1] == "#") {
   20431     defundef = arg[2]
   20432     mac1 = arg[3]
   20433   } else {
   20434     defundef = substr(arg[1], 2)
   20435     mac1 = arg[2]
   20436   }
   20437   split(mac1, mac2, "(") #)
   20438   macro = mac2[1]
   20439   prefix = substr(line, 1, index(line, defundef) - 1)
   20440   if (D_is_set[macro]) {
   20441     # Preserve the white space surrounding the "#".
   20442     print prefix "define", macro P[macro] D[macro]
   20443     next
   20444   } else {
   20445     # Replace #undef with comments.  This is necessary, for example,
   20446     # in the case of _POSIX_SOURCE, which is predefined and required
   20447     # on some systems where configure will not decide to define it.
   20448     if (defundef == "undef") {
   20449       print "/*", prefix defundef, macro, "*/"
   20450       next
   20451     }
   20452   }
   20453 }
   20454 { print }
   20455 _ACAWK
   20456 _ACEOF
   20457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20458   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20459 fi # test -n "$CONFIG_HEADERS"
   20460 
   20461 
   20462 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20463 shift
   20464 for ac_tag
   20465 do
   20466   case $ac_tag in
   20467   :[FHLC]) ac_mode=$ac_tag; continue;;
   20468   esac
   20469   case $ac_mode$ac_tag in
   20470   :[FHL]*:*);;
   20471   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20472   :[FH]-) ac_tag=-:-;;
   20473   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20474   esac
   20475   ac_save_IFS=$IFS
   20476   IFS=:
   20477   set x $ac_tag
   20478   IFS=$ac_save_IFS
   20479   shift
   20480   ac_file=$1
   20481   shift
   20482 
   20483   case $ac_mode in
   20484   :L) ac_source=$1;;
   20485   :[FH])
   20486     ac_file_inputs=
   20487     for ac_f
   20488     do
   20489       case $ac_f in
   20490       -) ac_f="$ac_tmp/stdin";;
   20491       *) # Look for the file first in the build tree, then in the source tree
   20492 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20493 	 # because $ac_f cannot contain `:'.
   20494 	 test -f "$ac_f" ||
   20495 	   case $ac_f in
   20496 	   [\\/$]*) false;;
   20497 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20498 	   esac ||
   20499 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20500       esac
   20501       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20502       as_fn_append ac_file_inputs " '$ac_f'"
   20503     done
   20504 
   20505     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20506     # use $as_me), people would be surprised to read:
   20507     #    /* config.h.  Generated by config.status.  */
   20508     configure_input='Generated from '`
   20509 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20510 	`' by configure.'
   20511     if test x"$ac_file" != x-; then
   20512       configure_input="$ac_file.  $configure_input"
   20513       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20514 $as_echo "$as_me: creating $ac_file" >&6;}
   20515     fi
   20516     # Neutralize special characters interpreted by sed in replacement strings.
   20517     case $configure_input in #(
   20518     *\&* | *\|* | *\\* )
   20519        ac_sed_conf_input=`$as_echo "$configure_input" |
   20520        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20521     *) ac_sed_conf_input=$configure_input;;
   20522     esac
   20523 
   20524     case $ac_tag in
   20525     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20526       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20527     esac
   20528     ;;
   20529   esac
   20530 
   20531   ac_dir=`$as_dirname -- "$ac_file" ||
   20532 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20533 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20534 	 X"$ac_file" : 'X\(//\)$' \| \
   20535 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20536 $as_echo X"$ac_file" |
   20537     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20538 	    s//\1/
   20539 	    q
   20540 	  }
   20541 	  /^X\(\/\/\)[^/].*/{
   20542 	    s//\1/
   20543 	    q
   20544 	  }
   20545 	  /^X\(\/\/\)$/{
   20546 	    s//\1/
   20547 	    q
   20548 	  }
   20549 	  /^X\(\/\).*/{
   20550 	    s//\1/
   20551 	    q
   20552 	  }
   20553 	  s/.*/./; q'`
   20554   as_dir="$ac_dir"; as_fn_mkdir_p
   20555   ac_builddir=.
   20556 
   20557 case "$ac_dir" in
   20558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20559 *)
   20560   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20561   # A ".." for each directory in $ac_dir_suffix.
   20562   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20563   case $ac_top_builddir_sub in
   20564   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20565   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20566   esac ;;
   20567 esac
   20568 ac_abs_top_builddir=$ac_pwd
   20569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20570 # for backward compatibility:
   20571 ac_top_builddir=$ac_top_build_prefix
   20572 
   20573 case $srcdir in
   20574   .)  # We are building in place.
   20575     ac_srcdir=.
   20576     ac_top_srcdir=$ac_top_builddir_sub
   20577     ac_abs_top_srcdir=$ac_pwd ;;
   20578   [\\/]* | ?:[\\/]* )  # Absolute name.
   20579     ac_srcdir=$srcdir$ac_dir_suffix;
   20580     ac_top_srcdir=$srcdir
   20581     ac_abs_top_srcdir=$srcdir ;;
   20582   *) # Relative name.
   20583     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20584     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20585     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20586 esac
   20587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20588 
   20589 
   20590   case $ac_mode in
   20591   :F)
   20592   #
   20593   # CONFIG_FILE
   20594   #
   20595 
   20596   case $INSTALL in
   20597   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20598   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20599   esac
   20600   ac_MKDIR_P=$MKDIR_P
   20601   case $MKDIR_P in
   20602   [\\/$]* | ?:[\\/]* ) ;;
   20603   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20604   esac
   20605 _ACEOF
   20606 
   20607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20608 # If the template does not know about datarootdir, expand it.
   20609 # FIXME: This hack should be removed a few years after 2.60.
   20610 ac_datarootdir_hack=; ac_datarootdir_seen=
   20611 ac_sed_dataroot='
   20612 /datarootdir/ {
   20613   p
   20614   q
   20615 }
   20616 /@datadir@/p
   20617 /@docdir@/p
   20618 /@infodir@/p
   20619 /@localedir@/p
   20620 /@mandir@/p'
   20621 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20622 *datarootdir*) ac_datarootdir_seen=yes;;
   20623 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20624   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20625 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20626 _ACEOF
   20627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20628   ac_datarootdir_hack='
   20629   s&@datadir@&$datadir&g
   20630   s&@docdir@&$docdir&g
   20631   s&@infodir@&$infodir&g
   20632   s&@localedir@&$localedir&g
   20633   s&@mandir@&$mandir&g
   20634   s&\\\${datarootdir}&$datarootdir&g' ;;
   20635 esac
   20636 _ACEOF
   20637 
   20638 # Neutralize VPATH when `$srcdir' = `.'.
   20639 # Shell code in configure.ac might set extrasub.
   20640 # FIXME: do we really want to maintain this feature?
   20641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20642 ac_sed_extra="$ac_vpsub
   20643 $extrasub
   20644 _ACEOF
   20645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20646 :t
   20647 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20648 s|@configure_input@|$ac_sed_conf_input|;t t
   20649 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20650 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20651 s&@srcdir@&$ac_srcdir&;t t
   20652 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20653 s&@top_srcdir@&$ac_top_srcdir&;t t
   20654 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20655 s&@builddir@&$ac_builddir&;t t
   20656 s&@abs_builddir@&$ac_abs_builddir&;t t
   20657 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20658 s&@INSTALL@&$ac_INSTALL&;t t
   20659 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20660 $ac_datarootdir_hack
   20661 "
   20662 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20663   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20664 
   20665 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20666   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20667   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20668       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20669   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20670 which seems to be undefined.  Please make sure it is defined" >&5
   20671 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20672 which seems to be undefined.  Please make sure it is defined" >&2;}
   20673 
   20674   rm -f "$ac_tmp/stdin"
   20675   case $ac_file in
   20676   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20677   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20678   esac \
   20679   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20680  ;;
   20681   :H)
   20682   #
   20683   # CONFIG_HEADER
   20684   #
   20685   if test x"$ac_file" != x-; then
   20686     {
   20687       $as_echo "/* $configure_input  */" \
   20688       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20689     } >"$ac_tmp/config.h" \
   20690       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20691     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20692       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20693 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20694     else
   20695       rm -f "$ac_file"
   20696       mv "$ac_tmp/config.h" "$ac_file" \
   20697 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20698     fi
   20699   else
   20700     $as_echo "/* $configure_input  */" \
   20701       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20702       || as_fn_error $? "could not create -" "$LINENO" 5
   20703   fi
   20704 # Compute "$ac_file"'s index in $config_headers.
   20705 _am_arg="$ac_file"
   20706 _am_stamp_count=1
   20707 for _am_header in $config_headers :; do
   20708   case $_am_header in
   20709     $_am_arg | $_am_arg:* )
   20710       break ;;
   20711     * )
   20712       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20713   esac
   20714 done
   20715 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20716 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20717 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20718 	 X"$_am_arg" : 'X\(//\)$' \| \
   20719 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20720 $as_echo X"$_am_arg" |
   20721     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20722 	    s//\1/
   20723 	    q
   20724 	  }
   20725 	  /^X\(\/\/\)[^/].*/{
   20726 	    s//\1/
   20727 	    q
   20728 	  }
   20729 	  /^X\(\/\/\)$/{
   20730 	    s//\1/
   20731 	    q
   20732 	  }
   20733 	  /^X\(\/\).*/{
   20734 	    s//\1/
   20735 	    q
   20736 	  }
   20737 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20738  ;;
   20739 
   20740   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20741 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20742  ;;
   20743   esac
   20744 
   20745 
   20746   case $ac_file$ac_mode in
   20747     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20748   # Older Autoconf quotes --file arguments for eval, but not when files
   20749   # are listed without --file.  Let's play safe and only enable the eval
   20750   # if we detect the quoting.
   20751   case $CONFIG_FILES in
   20752   *\'*) eval set x "$CONFIG_FILES" ;;
   20753   *)   set x $CONFIG_FILES ;;
   20754   esac
   20755   shift
   20756   for mf
   20757   do
   20758     # Strip MF so we end up with the name of the file.
   20759     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20760     # Check whether this is an Automake generated Makefile or not.
   20761     # We used to match only the files named 'Makefile.in', but
   20762     # some people rename them; so instead we look at the file content.
   20763     # Grep'ing the first line is not enough: some people post-process
   20764     # each Makefile.in and add a new line on top of each file to say so.
   20765     # Grep'ing the whole file is not good either: AIX grep has a line
   20766     # limit of 2048, but all sed's we know have understand at least 4000.
   20767     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20768       dirpart=`$as_dirname -- "$mf" ||
   20769 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20770 	 X"$mf" : 'X\(//\)[^/]' \| \
   20771 	 X"$mf" : 'X\(//\)$' \| \
   20772 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20773 $as_echo X"$mf" |
   20774     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20775 	    s//\1/
   20776 	    q
   20777 	  }
   20778 	  /^X\(\/\/\)[^/].*/{
   20779 	    s//\1/
   20780 	    q
   20781 	  }
   20782 	  /^X\(\/\/\)$/{
   20783 	    s//\1/
   20784 	    q
   20785 	  }
   20786 	  /^X\(\/\).*/{
   20787 	    s//\1/
   20788 	    q
   20789 	  }
   20790 	  s/.*/./; q'`
   20791     else
   20792       continue
   20793     fi
   20794     # Extract the definition of DEPDIR, am__include, and am__quote
   20795     # from the Makefile without running 'make'.
   20796     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20797     test -z "$DEPDIR" && continue
   20798     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20799     test -z "$am__include" && continue
   20800     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20801     # Find all dependency output files, they are included files with
   20802     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20803     # simplest approach to changing $(DEPDIR) to its actual value in the
   20804     # expansion.
   20805     for file in `sed -n "
   20806       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20807 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20808       # Make sure the directory exists.
   20809       test -f "$dirpart/$file" && continue
   20810       fdir=`$as_dirname -- "$file" ||
   20811 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20812 	 X"$file" : 'X\(//\)[^/]' \| \
   20813 	 X"$file" : 'X\(//\)$' \| \
   20814 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20815 $as_echo X"$file" |
   20816     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20817 	    s//\1/
   20818 	    q
   20819 	  }
   20820 	  /^X\(\/\/\)[^/].*/{
   20821 	    s//\1/
   20822 	    q
   20823 	  }
   20824 	  /^X\(\/\/\)$/{
   20825 	    s//\1/
   20826 	    q
   20827 	  }
   20828 	  /^X\(\/\).*/{
   20829 	    s//\1/
   20830 	    q
   20831 	  }
   20832 	  s/.*/./; q'`
   20833       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20834       # echo "creating $dirpart/$file"
   20835       echo '# dummy' > "$dirpart/$file"
   20836     done
   20837   done
   20838 }
   20839  ;;
   20840     "libtool":C)
   20841 
   20842     # See if we are running on zsh, and set the options that allow our
   20843     # commands through without removal of \ escapes.
   20844     if test -n "${ZSH_VERSION+set}"; then
   20845       setopt NO_GLOB_SUBST
   20846     fi
   20847 
   20848     cfgfile=${ofile}T
   20849     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20850     $RM "$cfgfile"
   20851 
   20852     cat <<_LT_EOF >> "$cfgfile"
   20853 #! $SHELL
   20854 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20855 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20856 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20857 
   20858 # Provide generalized library-building support services.
   20859 # Written by Gordon Matzigkeit, 1996
   20860 
   20861 # Copyright (C) 2014 Free Software Foundation, Inc.
   20862 # This is free software; see the source for copying conditions.  There is NO
   20863 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20864 
   20865 # GNU Libtool is free software; you can redistribute it and/or modify
   20866 # it under the terms of the GNU General Public License as published by
   20867 # the Free Software Foundation; either version 2 of of the License, or
   20868 # (at your option) any later version.
   20869 #
   20870 # As a special exception to the GNU General Public License, if you
   20871 # distribute this file as part of a program or library that is built
   20872 # using GNU Libtool, you may include this file under the  same
   20873 # distribution terms that you use for the rest of that program.
   20874 #
   20875 # GNU Libtool is distributed in the hope that it will be useful, but
   20876 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20877 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20878 # GNU General Public License for more details.
   20879 #
   20880 # You should have received a copy of the GNU General Public License
   20881 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20882 
   20883 
   20884 # The names of the tagged configurations supported by this script.
   20885 available_tags=''
   20886 
   20887 # Configured defaults for sys_lib_dlsearch_path munging.
   20888 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20889 
   20890 # ### BEGIN LIBTOOL CONFIG
   20891 
   20892 # Which release of libtool.m4 was used?
   20893 macro_version=$macro_version
   20894 macro_revision=$macro_revision
   20895 
   20896 # Whether or not to build shared libraries.
   20897 build_libtool_libs=$enable_shared
   20898 
   20899 # Whether or not to build static libraries.
   20900 build_old_libs=$enable_static
   20901 
   20902 # What type of objects to build.
   20903 pic_mode=$pic_mode
   20904 
   20905 # Whether or not to optimize for fast installation.
   20906 fast_install=$enable_fast_install
   20907 
   20908 # Shared archive member basename,for filename based shared library versioning on AIX.
   20909 shared_archive_member_spec=$shared_archive_member_spec
   20910 
   20911 # Shell to use when invoking shell scripts.
   20912 SHELL=$lt_SHELL
   20913 
   20914 # An echo program that protects backslashes.
   20915 ECHO=$lt_ECHO
   20916 
   20917 # The PATH separator for the build system.
   20918 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20919 
   20920 # The host system.
   20921 host_alias=$host_alias
   20922 host=$host
   20923 host_os=$host_os
   20924 
   20925 # The build system.
   20926 build_alias=$build_alias
   20927 build=$build
   20928 build_os=$build_os
   20929 
   20930 # A sed program that does not truncate output.
   20931 SED=$lt_SED
   20932 
   20933 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20934 Xsed="\$SED -e 1s/^X//"
   20935 
   20936 # A grep program that handles long lines.
   20937 GREP=$lt_GREP
   20938 
   20939 # An ERE matcher.
   20940 EGREP=$lt_EGREP
   20941 
   20942 # A literal string matcher.
   20943 FGREP=$lt_FGREP
   20944 
   20945 # A BSD- or MS-compatible name lister.
   20946 NM=$lt_NM
   20947 
   20948 # Whether we need soft or hard links.
   20949 LN_S=$lt_LN_S
   20950 
   20951 # What is the maximum length of a command?
   20952 max_cmd_len=$max_cmd_len
   20953 
   20954 # Object file suffix (normally "o").
   20955 objext=$ac_objext
   20956 
   20957 # Executable file suffix (normally "").
   20958 exeext=$exeext
   20959 
   20960 # whether the shell understands "unset".
   20961 lt_unset=$lt_unset
   20962 
   20963 # turn spaces into newlines.
   20964 SP2NL=$lt_lt_SP2NL
   20965 
   20966 # turn newlines into spaces.
   20967 NL2SP=$lt_lt_NL2SP
   20968 
   20969 # convert \$build file names to \$host format.
   20970 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20971 
   20972 # convert \$build files to toolchain format.
   20973 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20974 
   20975 # An object symbol dumper.
   20976 OBJDUMP=$lt_OBJDUMP
   20977 
   20978 # Method to check whether dependent libraries are shared objects.
   20979 deplibs_check_method=$lt_deplibs_check_method
   20980 
   20981 # Command to use when deplibs_check_method = "file_magic".
   20982 file_magic_cmd=$lt_file_magic_cmd
   20983 
   20984 # How to find potential files when deplibs_check_method = "file_magic".
   20985 file_magic_glob=$lt_file_magic_glob
   20986 
   20987 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20988 want_nocaseglob=$lt_want_nocaseglob
   20989 
   20990 # DLL creation program.
   20991 DLLTOOL=$lt_DLLTOOL
   20992 
   20993 # Command to associate shared and link libraries.
   20994 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20995 
   20996 # The archiver.
   20997 AR=$lt_AR
   20998 
   20999 # Flags to create an archive.
   21000 AR_FLAGS=$lt_AR_FLAGS
   21001 
   21002 # How to feed a file listing to the archiver.
   21003 archiver_list_spec=$lt_archiver_list_spec
   21004 
   21005 # A symbol stripping program.
   21006 STRIP=$lt_STRIP
   21007 
   21008 # Commands used to install an old-style archive.
   21009 RANLIB=$lt_RANLIB
   21010 old_postinstall_cmds=$lt_old_postinstall_cmds
   21011 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21012 
   21013 # Whether to use a lock for old archive extraction.
   21014 lock_old_archive_extraction=$lock_old_archive_extraction
   21015 
   21016 # A C compiler.
   21017 LTCC=$lt_CC
   21018 
   21019 # LTCC compiler flags.
   21020 LTCFLAGS=$lt_CFLAGS
   21021 
   21022 # Take the output of nm and produce a listing of raw symbols and C names.
   21023 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21024 
   21025 # Transform the output of nm in a proper C declaration.
   21026 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21027 
   21028 # Transform the output of nm into a list of symbols to manually relocate.
   21029 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21030 
   21031 # Transform the output of nm in a C name address pair.
   21032 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21033 
   21034 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21035 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21036 
   21037 # The name lister interface.
   21038 nm_interface=$lt_lt_cv_nm_interface
   21039 
   21040 # Specify filename containing input files for \$NM.
   21041 nm_file_list_spec=$lt_nm_file_list_spec
   21042 
   21043 # The root where to search for dependent libraries,and where our libraries should be installed.
   21044 lt_sysroot=$lt_sysroot
   21045 
   21046 # Command to truncate a binary pipe.
   21047 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21048 
   21049 # The name of the directory that contains temporary libtool files.
   21050 objdir=$objdir
   21051 
   21052 # Used to examine libraries when file_magic_cmd begins with "file".
   21053 MAGIC_CMD=$MAGIC_CMD
   21054 
   21055 # Must we lock files when doing compilation?
   21056 need_locks=$lt_need_locks
   21057 
   21058 # Manifest tool.
   21059 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21060 
   21061 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21062 DSYMUTIL=$lt_DSYMUTIL
   21063 
   21064 # Tool to change global to local symbols on Mac OS X.
   21065 NMEDIT=$lt_NMEDIT
   21066 
   21067 # Tool to manipulate fat objects and archives on Mac OS X.
   21068 LIPO=$lt_LIPO
   21069 
   21070 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21071 OTOOL=$lt_OTOOL
   21072 
   21073 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21074 OTOOL64=$lt_OTOOL64
   21075 
   21076 # Old archive suffix (normally "a").
   21077 libext=$libext
   21078 
   21079 # Shared library suffix (normally ".so").
   21080 shrext_cmds=$lt_shrext_cmds
   21081 
   21082 # The commands to extract the exported symbol list from a shared archive.
   21083 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21084 
   21085 # Variables whose values should be saved in libtool wrapper scripts and
   21086 # restored at link time.
   21087 variables_saved_for_relink=$lt_variables_saved_for_relink
   21088 
   21089 # Do we need the "lib" prefix for modules?
   21090 need_lib_prefix=$need_lib_prefix
   21091 
   21092 # Do we need a version for libraries?
   21093 need_version=$need_version
   21094 
   21095 # Library versioning type.
   21096 version_type=$version_type
   21097 
   21098 # Shared library runtime path variable.
   21099 runpath_var=$runpath_var
   21100 
   21101 # Shared library path variable.
   21102 shlibpath_var=$shlibpath_var
   21103 
   21104 # Is shlibpath searched before the hard-coded library search path?
   21105 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21106 
   21107 # Format of library name prefix.
   21108 libname_spec=$lt_libname_spec
   21109 
   21110 # List of archive names.  First name is the real one, the rest are links.
   21111 # The last name is the one that the linker finds with -lNAME
   21112 library_names_spec=$lt_library_names_spec
   21113 
   21114 # The coded name of the library, if different from the real name.
   21115 soname_spec=$lt_soname_spec
   21116 
   21117 # Permission mode override for installation of shared libraries.
   21118 install_override_mode=$lt_install_override_mode
   21119 
   21120 # Command to use after installation of a shared archive.
   21121 postinstall_cmds=$lt_postinstall_cmds
   21122 
   21123 # Command to use after uninstallation of a shared archive.
   21124 postuninstall_cmds=$lt_postuninstall_cmds
   21125 
   21126 # Commands used to finish a libtool library installation in a directory.
   21127 finish_cmds=$lt_finish_cmds
   21128 
   21129 # As "finish_cmds", except a single script fragment to be evaled but
   21130 # not shown.
   21131 finish_eval=$lt_finish_eval
   21132 
   21133 # Whether we should hardcode library paths into libraries.
   21134 hardcode_into_libs=$hardcode_into_libs
   21135 
   21136 # Compile-time system search path for libraries.
   21137 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21138 
   21139 # Detected run-time system search path for libraries.
   21140 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21141 
   21142 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21143 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21144 
   21145 # Whether dlopen is supported.
   21146 dlopen_support=$enable_dlopen
   21147 
   21148 # Whether dlopen of programs is supported.
   21149 dlopen_self=$enable_dlopen_self
   21150 
   21151 # Whether dlopen of statically linked programs is supported.
   21152 dlopen_self_static=$enable_dlopen_self_static
   21153 
   21154 # Commands to strip libraries.
   21155 old_striplib=$lt_old_striplib
   21156 striplib=$lt_striplib
   21157 
   21158 
   21159 # The linker used to build libraries.
   21160 LD=$lt_LD
   21161 
   21162 # How to create reloadable object files.
   21163 reload_flag=$lt_reload_flag
   21164 reload_cmds=$lt_reload_cmds
   21165 
   21166 # Commands used to build an old-style archive.
   21167 old_archive_cmds=$lt_old_archive_cmds
   21168 
   21169 # A language specific compiler.
   21170 CC=$lt_compiler
   21171 
   21172 # Is the compiler the GNU compiler?
   21173 with_gcc=$GCC
   21174 
   21175 # Compiler flag to turn off builtin functions.
   21176 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21177 
   21178 # Additional compiler flags for building library objects.
   21179 pic_flag=$lt_lt_prog_compiler_pic
   21180 
   21181 # How to pass a linker flag through the compiler.
   21182 wl=$lt_lt_prog_compiler_wl
   21183 
   21184 # Compiler flag to prevent dynamic linking.
   21185 link_static_flag=$lt_lt_prog_compiler_static
   21186 
   21187 # Does compiler simultaneously support -c and -o options?
   21188 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21189 
   21190 # Whether or not to add -lc for building shared libraries.
   21191 build_libtool_need_lc=$archive_cmds_need_lc
   21192 
   21193 # Whether or not to disallow shared libs when runtime libs are static.
   21194 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21195 
   21196 # Compiler flag to allow reflexive dlopens.
   21197 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21198 
   21199 # Compiler flag to generate shared objects directly from archives.
   21200 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21201 
   21202 # Whether the compiler copes with passing no objects directly.
   21203 compiler_needs_object=$lt_compiler_needs_object
   21204 
   21205 # Create an old-style archive from a shared archive.
   21206 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21207 
   21208 # Create a temporary old-style archive to link instead of a shared archive.
   21209 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21210 
   21211 # Commands used to build a shared archive.
   21212 archive_cmds=$lt_archive_cmds
   21213 archive_expsym_cmds=$lt_archive_expsym_cmds
   21214 
   21215 # Commands used to build a loadable module if different from building
   21216 # a shared archive.
   21217 module_cmds=$lt_module_cmds
   21218 module_expsym_cmds=$lt_module_expsym_cmds
   21219 
   21220 # Whether we are building with GNU ld or not.
   21221 with_gnu_ld=$lt_with_gnu_ld
   21222 
   21223 # Flag that allows shared libraries with undefined symbols to be built.
   21224 allow_undefined_flag=$lt_allow_undefined_flag
   21225 
   21226 # Flag that enforces no undefined symbols.
   21227 no_undefined_flag=$lt_no_undefined_flag
   21228 
   21229 # Flag to hardcode \$libdir into a binary during linking.
   21230 # This must work even if \$libdir does not exist
   21231 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21232 
   21233 # Whether we need a single "-rpath" flag with a separated argument.
   21234 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21235 
   21236 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21237 # DIR into the resulting binary.
   21238 hardcode_direct=$hardcode_direct
   21239 
   21240 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21241 # DIR into the resulting binary and the resulting library dependency is
   21242 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21243 # library is relocated.
   21244 hardcode_direct_absolute=$hardcode_direct_absolute
   21245 
   21246 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21247 # into the resulting binary.
   21248 hardcode_minus_L=$hardcode_minus_L
   21249 
   21250 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21251 # into the resulting binary.
   21252 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21253 
   21254 # Set to "yes" if building a shared library automatically hardcodes DIR
   21255 # into the library and all subsequent libraries and executables linked
   21256 # against it.
   21257 hardcode_automatic=$hardcode_automatic
   21258 
   21259 # Set to yes if linker adds runtime paths of dependent libraries
   21260 # to runtime path list.
   21261 inherit_rpath=$inherit_rpath
   21262 
   21263 # Whether libtool must link a program against all its dependency libraries.
   21264 link_all_deplibs=$link_all_deplibs
   21265 
   21266 # Set to "yes" if exported symbols are required.
   21267 always_export_symbols=$always_export_symbols
   21268 
   21269 # The commands to list exported symbols.
   21270 export_symbols_cmds=$lt_export_symbols_cmds
   21271 
   21272 # Symbols that should not be listed in the preloaded symbols.
   21273 exclude_expsyms=$lt_exclude_expsyms
   21274 
   21275 # Symbols that must always be exported.
   21276 include_expsyms=$lt_include_expsyms
   21277 
   21278 # Commands necessary for linking programs (against libraries) with templates.
   21279 prelink_cmds=$lt_prelink_cmds
   21280 
   21281 # Commands necessary for finishing linking programs.
   21282 postlink_cmds=$lt_postlink_cmds
   21283 
   21284 # Specify filename containing input files.
   21285 file_list_spec=$lt_file_list_spec
   21286 
   21287 # How to hardcode a shared library path into an executable.
   21288 hardcode_action=$hardcode_action
   21289 
   21290 # ### END LIBTOOL CONFIG
   21291 
   21292 _LT_EOF
   21293 
   21294     cat <<'_LT_EOF' >> "$cfgfile"
   21295 
   21296 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21297 
   21298 # func_munge_path_list VARIABLE PATH
   21299 # -----------------------------------
   21300 # VARIABLE is name of variable containing _space_ separated list of
   21301 # directories to be munged by the contents of PATH, which is string
   21302 # having a format:
   21303 # "DIR[:DIR]:"
   21304 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21305 # ":DIR[:DIR]"
   21306 #       string "DIR[ DIR]" will be appended to VARIABLE
   21307 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21308 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21309 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21310 # "DIR[:DIR]"
   21311 #       VARIABLE will be replaced by "DIR[ DIR]"
   21312 func_munge_path_list ()
   21313 {
   21314     case x$2 in
   21315     x)
   21316         ;;
   21317     *:)
   21318         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21319         ;;
   21320     x:*)
   21321         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21322         ;;
   21323     *::*)
   21324         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21325         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21326         ;;
   21327     *)
   21328         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21329         ;;
   21330     esac
   21331 }
   21332 
   21333 
   21334 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21335 func_cc_basename ()
   21336 {
   21337     for cc_temp in $*""; do
   21338       case $cc_temp in
   21339         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21340         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21341         \-*) ;;
   21342         *) break;;
   21343       esac
   21344     done
   21345     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21346 }
   21347 
   21348 
   21349 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21350 
   21351 _LT_EOF
   21352 
   21353   case $host_os in
   21354   aix3*)
   21355     cat <<\_LT_EOF >> "$cfgfile"
   21356 # AIX sometimes has problems with the GCC collect2 program.  For some
   21357 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21358 # vanish in a puff of smoke.
   21359 if test set != "${COLLECT_NAMES+set}"; then
   21360   COLLECT_NAMES=
   21361   export COLLECT_NAMES
   21362 fi
   21363 _LT_EOF
   21364     ;;
   21365   esac
   21366 
   21367 
   21368 ltmain=$ac_aux_dir/ltmain.sh
   21369 
   21370 
   21371   # We use sed instead of cat because bash on DJGPP gets confused if
   21372   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21373   # text mode, it properly converts lines to CR/LF.  This bash problem
   21374   # is reportedly fixed, but why not run on old versions too?
   21375   sed '$q' "$ltmain" >> "$cfgfile" \
   21376      || (rm -f "$cfgfile"; exit 1)
   21377 
   21378    mv -f "$cfgfile" "$ofile" ||
   21379     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21380   chmod +x "$ofile"
   21381 
   21382  ;;
   21383 
   21384   esac
   21385 done # for ac_tag
   21386 
   21387 
   21388 as_fn_exit 0
   21389 _ACEOF
   21390 ac_clean_files=$ac_clean_files_save
   21391 
   21392 test $ac_write_fail = 0 ||
   21393   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21394 
   21395 
   21396 # configure is writing to config.log, and then calls config.status.
   21397 # config.status does its own redirection, appending to config.log.
   21398 # Unfortunately, on DOS this fails, as config.log is still kept open
   21399 # by configure, so config.status won't be able to write to it; its
   21400 # output is simply discarded.  So we exec the FD to /dev/null,
   21401 # effectively closing config.log, so it can be properly (re)opened and
   21402 # appended to by config.status.  When coming back to configure, we
   21403 # need to make the FD available again.
   21404 if test "$no_create" != yes; then
   21405   ac_cs_success=:
   21406   ac_config_status_args=
   21407   test "$silent" = yes &&
   21408     ac_config_status_args="$ac_config_status_args --quiet"
   21409   exec 5>/dev/null
   21410   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21411   exec 5>>config.log
   21412   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21413   # would make configure fail if this is the last instruction.
   21414   $ac_cs_success || as_fn_exit 1
   21415 fi
   21416 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21417   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21418 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21419 fi
   21420 
   21421