Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXpm 3.5.16.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    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   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='libXpm'
    624 PACKAGE_TARNAME='libXpm'
    625 PACKAGE_VERSION='3.5.16'
    626 PACKAGE_STRING='libXpm 3.5.16'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="Makefile.am"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 HAVE_GLIB_FALSE
    668 HAVE_GLIB_TRUE
    669 GLIB_LIBS
    670 GLIB_CFLAGS
    671 ENABLE_UNIT_TESTS_FALSE
    672 ENABLE_UNIT_TESTS_TRUE
    673 XORG_MALLOC_DEBUG_ENV
    674 XPM_PATH_UNCOMPRESS
    675 XPM_PATH_COMPRESS
    676 XPM_PATH_GZIP
    677 COMPRESSED_PIXMAPS_FALSE
    678 COMPRESSED_PIXMAPS_TRUE
    679 USE_GETTEXT_FALSE
    680 USE_GETTEXT_TRUE
    681 LOCALEDIR
    682 BUILD_SXPM_FALSE
    683 BUILD_SXPM_TRUE
    684 SXPM_LIBS
    685 SXPM_CFLAGS
    686 XPM_LIBS
    687 XPM_CFLAGS
    688 MAN_SUBSTS
    689 XORG_MAN_PAGE
    690 ADMIN_MAN_DIR
    691 DRIVER_MAN_DIR
    692 MISC_MAN_DIR
    693 FILE_MAN_DIR
    694 LIB_MAN_DIR
    695 APP_MAN_DIR
    696 ADMIN_MAN_SUFFIX
    697 DRIVER_MAN_SUFFIX
    698 MISC_MAN_SUFFIX
    699 FILE_MAN_SUFFIX
    700 LIB_MAN_SUFFIX
    701 APP_MAN_SUFFIX
    702 INSTALL_CMD
    703 PKG_CONFIG_LIBDIR
    704 PKG_CONFIG_PATH
    705 PKG_CONFIG
    706 CHANGELOG_CMD
    707 STRICT_CFLAGS
    708 CWARNFLAGS
    709 BASE_CFLAGS
    710 LT_SYS_LIBRARY_PATH
    711 OTOOL64
    712 OTOOL
    713 LIPO
    714 NMEDIT
    715 DSYMUTIL
    716 MANIFEST_TOOL
    717 RANLIB
    718 ac_ct_AR
    719 AR
    720 DLLTOOL
    721 OBJDUMP
    722 FILECMD
    723 LN_S
    724 NM
    725 ac_ct_DUMPBIN
    726 DUMPBIN
    727 LD
    728 FGREP
    729 EGREP
    730 GREP
    731 SED
    732 am__fastdepCC_FALSE
    733 am__fastdepCC_TRUE
    734 CCDEPMODE
    735 am__nodep
    736 AMDEPBACKSLASH
    737 AMDEP_FALSE
    738 AMDEP_TRUE
    739 am__include
    740 DEPDIR
    741 OBJEXT
    742 EXEEXT
    743 ac_ct_CC
    744 CPPFLAGS
    745 LDFLAGS
    746 CFLAGS
    747 CC
    748 host_os
    749 host_vendor
    750 host_cpu
    751 host
    752 build_os
    753 build_vendor
    754 build_cpu
    755 build
    756 LIBTOOL
    757 AM_BACKSLASH
    758 AM_DEFAULT_VERBOSITY
    759 AM_DEFAULT_V
    760 AM_V
    761 CSCOPE
    762 ETAGS
    763 CTAGS
    764 am__untar
    765 am__tar
    766 AMTAR
    767 am__leading_dot
    768 SET_MAKE
    769 AWK
    770 mkdir_p
    771 MKDIR_P
    772 INSTALL_STRIP_PROGRAM
    773 STRIP
    774 install_sh
    775 MAKEINFO
    776 AUTOHEADER
    777 AUTOMAKE
    778 AUTOCONF
    779 ACLOCAL
    780 VERSION
    781 PACKAGE
    782 CYGPATH_W
    783 am__isrc
    784 INSTALL_DATA
    785 INSTALL_SCRIPT
    786 INSTALL_PROGRAM
    787 target_alias
    788 host_alias
    789 build_alias
    790 LIBS
    791 ECHO_T
    792 ECHO_N
    793 ECHO_C
    794 DEFS
    795 mandir
    796 localedir
    797 libdir
    798 psdir
    799 pdfdir
    800 dvidir
    801 htmldir
    802 infodir
    803 docdir
    804 oldincludedir
    805 includedir
    806 runstatedir
    807 localstatedir
    808 sharedstatedir
    809 sysconfdir
    810 datadir
    811 datarootdir
    812 libexecdir
    813 sbindir
    814 bindir
    815 program_transform_name
    816 prefix
    817 exec_prefix
    818 PACKAGE_URL
    819 PACKAGE_BUGREPORT
    820 PACKAGE_STRING
    821 PACKAGE_VERSION
    822 PACKAGE_TARNAME
    823 PACKAGE_NAME
    824 PATH_SEPARATOR
    825 SHELL
    826 am__quote'
    827 ac_subst_files=''
    828 ac_user_opts='
    829 enable_option_checking
    830 enable_silent_rules
    831 enable_shared
    832 enable_static
    833 with_pic
    834 enable_fast_install
    835 with_aix_soname
    836 enable_dependency_tracking
    837 with_gnu_ld
    838 with_sysroot
    839 enable_libtool_lock
    840 enable_selective_werror
    841 enable_strict_compilation
    842 with_localedir
    843 enable_open_zfile
    844 enable_stat_zfile
    845 enable_unit_tests
    846 with_glib
    847 '
    848       ac_precious_vars='build_alias
    849 host_alias
    850 target_alias
    851 CC
    852 CFLAGS
    853 LDFLAGS
    854 LIBS
    855 CPPFLAGS
    856 LT_SYS_LIBRARY_PATH
    857 PKG_CONFIG
    858 PKG_CONFIG_PATH
    859 PKG_CONFIG_LIBDIR
    860 XPM_CFLAGS
    861 XPM_LIBS
    862 SXPM_CFLAGS
    863 SXPM_LIBS
    864 XORG_MALLOC_DEBUG_ENV
    865 GLIB_CFLAGS
    866 GLIB_LIBS'
    867 
    868 
    869 # Initialize some variables set by options.
    870 ac_init_help=
    871 ac_init_version=false
    872 ac_unrecognized_opts=
    873 ac_unrecognized_sep=
    874 # The variables have the same names as the options, with
    875 # dashes changed to underlines.
    876 cache_file=/dev/null
    877 exec_prefix=NONE
    878 no_create=
    879 no_recursion=
    880 prefix=NONE
    881 program_prefix=NONE
    882 program_suffix=NONE
    883 program_transform_name=s,x,x,
    884 silent=
    885 site=
    886 srcdir=
    887 verbose=
    888 x_includes=NONE
    889 x_libraries=NONE
    890 
    891 # Installation directory options.
    892 # These are left unexpanded so users can "make install exec_prefix=/foo"
    893 # and all the variables that are supposed to be based on exec_prefix
    894 # by default will actually change.
    895 # Use braces instead of parens because sh, perl, etc. also accept them.
    896 # (The list follows the same order as the GNU Coding Standards.)
    897 bindir='${exec_prefix}/bin'
    898 sbindir='${exec_prefix}/sbin'
    899 libexecdir='${exec_prefix}/libexec'
    900 datarootdir='${prefix}/share'
    901 datadir='${datarootdir}'
    902 sysconfdir='${prefix}/etc'
    903 sharedstatedir='${prefix}/com'
    904 localstatedir='${prefix}/var'
    905 runstatedir='${localstatedir}/run'
    906 includedir='${prefix}/include'
    907 oldincludedir='/usr/include'
    908 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    909 infodir='${datarootdir}/info'
    910 htmldir='${docdir}'
    911 dvidir='${docdir}'
    912 pdfdir='${docdir}'
    913 psdir='${docdir}'
    914 libdir='${exec_prefix}/lib'
    915 localedir='${datarootdir}/locale'
    916 mandir='${datarootdir}/man'
    917 
    918 ac_prev=
    919 ac_dashdash=
    920 for ac_option
    921 do
    922   # If the previous option needs an argument, assign it.
    923   if test -n "$ac_prev"; then
    924     eval $ac_prev=\$ac_option
    925     ac_prev=
    926     continue
    927   fi
    928 
    929   case $ac_option in
    930   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    931   *=)   ac_optarg= ;;
    932   *)    ac_optarg=yes ;;
    933   esac
    934 
    935   case $ac_dashdash$ac_option in
    936   --)
    937     ac_dashdash=yes ;;
    938 
    939   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    940     ac_prev=bindir ;;
    941   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    942     bindir=$ac_optarg ;;
    943 
    944   -build | --build | --buil | --bui | --bu)
    945     ac_prev=build_alias ;;
    946   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    947     build_alias=$ac_optarg ;;
    948 
    949   -cache-file | --cache-file | --cache-fil | --cache-fi \
    950   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    951     ac_prev=cache_file ;;
    952   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    953   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    954     cache_file=$ac_optarg ;;
    955 
    956   --config-cache | -C)
    957     cache_file=config.cache ;;
    958 
    959   -datadir | --datadir | --datadi | --datad)
    960     ac_prev=datadir ;;
    961   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    962     datadir=$ac_optarg ;;
    963 
    964   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    965   | --dataroo | --dataro | --datar)
    966     ac_prev=datarootdir ;;
    967   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    968   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    969     datarootdir=$ac_optarg ;;
    970 
    971   -disable-* | --disable-*)
    972     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    973     # Reject names that are not valid shell variable names.
    974     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    975       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    976     ac_useropt_orig=$ac_useropt
    977     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    978     case $ac_user_opts in
    979       *"
    980 "enable_$ac_useropt"
    981 "*) ;;
    982       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    983 	 ac_unrecognized_sep=', ';;
    984     esac
    985     eval enable_$ac_useropt=no ;;
    986 
    987   -docdir | --docdir | --docdi | --doc | --do)
    988     ac_prev=docdir ;;
    989   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    990     docdir=$ac_optarg ;;
    991 
    992   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    993     ac_prev=dvidir ;;
    994   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    995     dvidir=$ac_optarg ;;
    996 
    997   -enable-* | --enable-*)
    998     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    999     # Reject names that are not valid shell variable names.
   1000     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1001       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1002     ac_useropt_orig=$ac_useropt
   1003     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1004     case $ac_user_opts in
   1005       *"
   1006 "enable_$ac_useropt"
   1007 "*) ;;
   1008       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1009 	 ac_unrecognized_sep=', ';;
   1010     esac
   1011     eval enable_$ac_useropt=\$ac_optarg ;;
   1012 
   1013   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1014   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1015   | --exec | --exe | --ex)
   1016     ac_prev=exec_prefix ;;
   1017   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1018   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1019   | --exec=* | --exe=* | --ex=*)
   1020     exec_prefix=$ac_optarg ;;
   1021 
   1022   -gas | --gas | --ga | --g)
   1023     # Obsolete; use --with-gas.
   1024     with_gas=yes ;;
   1025 
   1026   -help | --help | --hel | --he | -h)
   1027     ac_init_help=long ;;
   1028   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1029     ac_init_help=recursive ;;
   1030   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1031     ac_init_help=short ;;
   1032 
   1033   -host | --host | --hos | --ho)
   1034     ac_prev=host_alias ;;
   1035   -host=* | --host=* | --hos=* | --ho=*)
   1036     host_alias=$ac_optarg ;;
   1037 
   1038   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1039     ac_prev=htmldir ;;
   1040   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1041   | --ht=*)
   1042     htmldir=$ac_optarg ;;
   1043 
   1044   -includedir | --includedir | --includedi | --included | --include \
   1045   | --includ | --inclu | --incl | --inc)
   1046     ac_prev=includedir ;;
   1047   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1048   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1049     includedir=$ac_optarg ;;
   1050 
   1051   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1052     ac_prev=infodir ;;
   1053   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1054     infodir=$ac_optarg ;;
   1055 
   1056   -libdir | --libdir | --libdi | --libd)
   1057     ac_prev=libdir ;;
   1058   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1059     libdir=$ac_optarg ;;
   1060 
   1061   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1062   | --libexe | --libex | --libe)
   1063     ac_prev=libexecdir ;;
   1064   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1065   | --libexe=* | --libex=* | --libe=*)
   1066     libexecdir=$ac_optarg ;;
   1067 
   1068   -localedir | --localedir | --localedi | --localed | --locale)
   1069     ac_prev=localedir ;;
   1070   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1071     localedir=$ac_optarg ;;
   1072 
   1073   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1074   | --localstate | --localstat | --localsta | --localst | --locals)
   1075     ac_prev=localstatedir ;;
   1076   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1077   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1078     localstatedir=$ac_optarg ;;
   1079 
   1080   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1081     ac_prev=mandir ;;
   1082   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1083     mandir=$ac_optarg ;;
   1084 
   1085   -nfp | --nfp | --nf)
   1086     # Obsolete; use --without-fp.
   1087     with_fp=no ;;
   1088 
   1089   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1090   | --no-cr | --no-c | -n)
   1091     no_create=yes ;;
   1092 
   1093   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1094   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1095     no_recursion=yes ;;
   1096 
   1097   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1098   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1099   | --oldin | --oldi | --old | --ol | --o)
   1100     ac_prev=oldincludedir ;;
   1101   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1102   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1103   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1104     oldincludedir=$ac_optarg ;;
   1105 
   1106   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1107     ac_prev=prefix ;;
   1108   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1109     prefix=$ac_optarg ;;
   1110 
   1111   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1112   | --program-pre | --program-pr | --program-p)
   1113     ac_prev=program_prefix ;;
   1114   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1115   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1116     program_prefix=$ac_optarg ;;
   1117 
   1118   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1119   | --program-suf | --program-su | --program-s)
   1120     ac_prev=program_suffix ;;
   1121   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1122   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1123     program_suffix=$ac_optarg ;;
   1124 
   1125   -program-transform-name | --program-transform-name \
   1126   | --program-transform-nam | --program-transform-na \
   1127   | --program-transform-n | --program-transform- \
   1128   | --program-transform | --program-transfor \
   1129   | --program-transfo | --program-transf \
   1130   | --program-trans | --program-tran \
   1131   | --progr-tra | --program-tr | --program-t)
   1132     ac_prev=program_transform_name ;;
   1133   -program-transform-name=* | --program-transform-name=* \
   1134   | --program-transform-nam=* | --program-transform-na=* \
   1135   | --program-transform-n=* | --program-transform-=* \
   1136   | --program-transform=* | --program-transfor=* \
   1137   | --program-transfo=* | --program-transf=* \
   1138   | --program-trans=* | --program-tran=* \
   1139   | --progr-tra=* | --program-tr=* | --program-t=*)
   1140     program_transform_name=$ac_optarg ;;
   1141 
   1142   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1143     ac_prev=pdfdir ;;
   1144   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1145     pdfdir=$ac_optarg ;;
   1146 
   1147   -psdir | --psdir | --psdi | --psd | --ps)
   1148     ac_prev=psdir ;;
   1149   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1150     psdir=$ac_optarg ;;
   1151 
   1152   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1153   | -silent | --silent | --silen | --sile | --sil)
   1154     silent=yes ;;
   1155 
   1156   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1157   | --runstate | --runstat | --runsta | --runst | --runs \
   1158   | --run | --ru | --r)
   1159     ac_prev=runstatedir ;;
   1160   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1161   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1162   | --run=* | --ru=* | --r=*)
   1163     runstatedir=$ac_optarg ;;
   1164 
   1165   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1166     ac_prev=sbindir ;;
   1167   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1168   | --sbi=* | --sb=*)
   1169     sbindir=$ac_optarg ;;
   1170 
   1171   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1172   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1173   | --sharedst | --shareds | --shared | --share | --shar \
   1174   | --sha | --sh)
   1175     ac_prev=sharedstatedir ;;
   1176   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1177   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1178   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1179   | --sha=* | --sh=*)
   1180     sharedstatedir=$ac_optarg ;;
   1181 
   1182   -site | --site | --sit)
   1183     ac_prev=site ;;
   1184   -site=* | --site=* | --sit=*)
   1185     site=$ac_optarg ;;
   1186 
   1187   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1188     ac_prev=srcdir ;;
   1189   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1190     srcdir=$ac_optarg ;;
   1191 
   1192   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1193   | --syscon | --sysco | --sysc | --sys | --sy)
   1194     ac_prev=sysconfdir ;;
   1195   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1196   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1197     sysconfdir=$ac_optarg ;;
   1198 
   1199   -target | --target | --targe | --targ | --tar | --ta | --t)
   1200     ac_prev=target_alias ;;
   1201   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1202     target_alias=$ac_optarg ;;
   1203 
   1204   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1205     verbose=yes ;;
   1206 
   1207   -version | --version | --versio | --versi | --vers | -V)
   1208     ac_init_version=: ;;
   1209 
   1210   -with-* | --with-*)
   1211     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1212     # Reject names that are not valid shell variable names.
   1213     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1214       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1215     ac_useropt_orig=$ac_useropt
   1216     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1217     case $ac_user_opts in
   1218       *"
   1219 "with_$ac_useropt"
   1220 "*) ;;
   1221       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1222 	 ac_unrecognized_sep=', ';;
   1223     esac
   1224     eval with_$ac_useropt=\$ac_optarg ;;
   1225 
   1226   -without-* | --without-*)
   1227     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1228     # Reject names that are not valid shell variable names.
   1229     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1230       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1231     ac_useropt_orig=$ac_useropt
   1232     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1233     case $ac_user_opts in
   1234       *"
   1235 "with_$ac_useropt"
   1236 "*) ;;
   1237       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1238 	 ac_unrecognized_sep=', ';;
   1239     esac
   1240     eval with_$ac_useropt=no ;;
   1241 
   1242   --x)
   1243     # Obsolete; use --with-x.
   1244     with_x=yes ;;
   1245 
   1246   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1247   | --x-incl | --x-inc | --x-in | --x-i)
   1248     ac_prev=x_includes ;;
   1249   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1250   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1251     x_includes=$ac_optarg ;;
   1252 
   1253   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1254   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1255     ac_prev=x_libraries ;;
   1256   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1257   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1258     x_libraries=$ac_optarg ;;
   1259 
   1260   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1261 Try \`$0 --help' for more information"
   1262     ;;
   1263 
   1264   *=*)
   1265     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1266     # Reject names that are not valid shell variable names.
   1267     case $ac_envvar in #(
   1268       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1269       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1270     esac
   1271     eval $ac_envvar=\$ac_optarg
   1272     export $ac_envvar ;;
   1273 
   1274   *)
   1275     # FIXME: should be removed in autoconf 3.0.
   1276     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1277     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1278       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1279     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1280     ;;
   1281 
   1282   esac
   1283 done
   1284 
   1285 if test -n "$ac_prev"; then
   1286   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1287   as_fn_error $? "missing argument to $ac_option"
   1288 fi
   1289 
   1290 if test -n "$ac_unrecognized_opts"; then
   1291   case $enable_option_checking in
   1292     no) ;;
   1293     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1294     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1295   esac
   1296 fi
   1297 
   1298 # Check all directory arguments for consistency.
   1299 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1300 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1301 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1302 		libdir localedir mandir runstatedir
   1303 do
   1304   eval ac_val=\$$ac_var
   1305   # Remove trailing slashes.
   1306   case $ac_val in
   1307     */ )
   1308       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1309       eval $ac_var=\$ac_val;;
   1310   esac
   1311   # Be sure to have absolute directory names.
   1312   case $ac_val in
   1313     [\\/$]* | ?:[\\/]* )  continue;;
   1314     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1315   esac
   1316   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1317 done
   1318 
   1319 # There might be people who depend on the old broken behavior: `$host'
   1320 # used to hold the argument of --host etc.
   1321 # FIXME: To remove some day.
   1322 build=$build_alias
   1323 host=$host_alias
   1324 target=$target_alias
   1325 
   1326 # FIXME: To remove some day.
   1327 if test "x$host_alias" != x; then
   1328   if test "x$build_alias" = x; then
   1329     cross_compiling=maybe
   1330   elif test "x$build_alias" != "x$host_alias"; then
   1331     cross_compiling=yes
   1332   fi
   1333 fi
   1334 
   1335 ac_tool_prefix=
   1336 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1337 
   1338 test "$silent" = yes && exec 6>/dev/null
   1339 
   1340 
   1341 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1342 ac_ls_di=`ls -di .` &&
   1343 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1344   as_fn_error $? "working directory cannot be determined"
   1345 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1346   as_fn_error $? "pwd does not report name of working directory"
   1347 
   1348 
   1349 # Find the source files, if location was not specified.
   1350 if test -z "$srcdir"; then
   1351   ac_srcdir_defaulted=yes
   1352   # Try the directory containing this script, then the parent directory.
   1353   ac_confdir=`$as_dirname -- "$as_myself" ||
   1354 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1355 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1356 	 X"$as_myself" : 'X\(//\)$' \| \
   1357 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1358 printf "%s\n" X"$as_myself" |
   1359     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1360 	    s//\1/
   1361 	    q
   1362 	  }
   1363 	  /^X\(\/\/\)[^/].*/{
   1364 	    s//\1/
   1365 	    q
   1366 	  }
   1367 	  /^X\(\/\/\)$/{
   1368 	    s//\1/
   1369 	    q
   1370 	  }
   1371 	  /^X\(\/\).*/{
   1372 	    s//\1/
   1373 	    q
   1374 	  }
   1375 	  s/.*/./; q'`
   1376   srcdir=$ac_confdir
   1377   if test ! -r "$srcdir/$ac_unique_file"; then
   1378     srcdir=..
   1379   fi
   1380 else
   1381   ac_srcdir_defaulted=no
   1382 fi
   1383 if test ! -r "$srcdir/$ac_unique_file"; then
   1384   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1385   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1386 fi
   1387 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1388 ac_abs_confdir=`(
   1389 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1390 	pwd)`
   1391 # When building in place, set srcdir=.
   1392 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1393   srcdir=.
   1394 fi
   1395 # Remove unnecessary trailing slashes from srcdir.
   1396 # Double slashes in file names in object file debugging info
   1397 # mess up M-x gdb in Emacs.
   1398 case $srcdir in
   1399 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1400 esac
   1401 for ac_var in $ac_precious_vars; do
   1402   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1403   eval ac_env_${ac_var}_value=\$${ac_var}
   1404   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1405   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1406 done
   1407 
   1408 #
   1409 # Report the --help message.
   1410 #
   1411 if test "$ac_init_help" = "long"; then
   1412   # Omit some internal or obsolete options to make the list less imposing.
   1413   # This message is too long to be a string in the A/UX 3.1 sh.
   1414   cat <<_ACEOF
   1415 \`configure' configures libXpm 3.5.16 to adapt to many kinds of systems.
   1416 
   1417 Usage: $0 [OPTION]... [VAR=VALUE]...
   1418 
   1419 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1420 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1421 
   1422 Defaults for the options are specified in brackets.
   1423 
   1424 Configuration:
   1425   -h, --help              display this help and exit
   1426       --help=short        display options specific to this package
   1427       --help=recursive    display the short help of all the included packages
   1428   -V, --version           display version information and exit
   1429   -q, --quiet, --silent   do not print \`checking ...' messages
   1430       --cache-file=FILE   cache test results in FILE [disabled]
   1431   -C, --config-cache      alias for \`--cache-file=config.cache'
   1432   -n, --no-create         do not create output files
   1433       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1434 
   1435 Installation directories:
   1436   --prefix=PREFIX         install architecture-independent files in PREFIX
   1437                           [$ac_default_prefix]
   1438   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1439                           [PREFIX]
   1440 
   1441 By default, \`make install' will install all the files in
   1442 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1443 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1444 for instance \`--prefix=\$HOME'.
   1445 
   1446 For better control, use the options below.
   1447 
   1448 Fine tuning of the installation directories:
   1449   --bindir=DIR            user executables [EPREFIX/bin]
   1450   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1451   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1452   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1453   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1454   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1455   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1456   --libdir=DIR            object code libraries [EPREFIX/lib]
   1457   --includedir=DIR        C header files [PREFIX/include]
   1458   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1459   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1460   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1461   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1462   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1463   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1464   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
   1465   --htmldir=DIR           html documentation [DOCDIR]
   1466   --dvidir=DIR            dvi documentation [DOCDIR]
   1467   --pdfdir=DIR            pdf documentation [DOCDIR]
   1468   --psdir=DIR             ps documentation [DOCDIR]
   1469 _ACEOF
   1470 
   1471   cat <<\_ACEOF
   1472 
   1473 Program names:
   1474   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1475   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1476   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1477 
   1478 System types:
   1479   --build=BUILD     configure for building on BUILD [guessed]
   1480   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1481 _ACEOF
   1482 fi
   1483 
   1484 if test -n "$ac_init_help"; then
   1485   case $ac_init_help in
   1486      short | recursive ) echo "Configuration of libXpm 3.5.16:";;
   1487    esac
   1488   cat <<\_ACEOF
   1489 
   1490 Optional Features:
   1491   --disable-option-checking  ignore unrecognized --enable/--with options
   1492   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1493   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1494   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1495   --disable-silent-rules  verbose build output (undo: "make V=0")
   1496   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1497   --enable-static[=PKGS]  build static libraries [default=yes]
   1498   --enable-fast-install[=PKGS]
   1499                           optimize for fast installation [default=yes]
   1500   --enable-dependency-tracking
   1501                           do not reject slow dependency extractors
   1502   --disable-dependency-tracking
   1503                           speeds up one-time build
   1504   --disable-libtool-lock  avoid locking (might break parallel builds)
   1505   --disable-selective-werror
   1506                           Turn off selective compiler errors. (default:
   1507                           enabled)
   1508   --enable-strict-compilation
   1509                           Enable all warnings from compiler and make them
   1510                           errors (default: disabled)
   1511   --enable-open-zfile     Search for files with .Z & .gz extensions
   1512                           automatically [default=auto]
   1513   --enable-stat-zfile     Search for files with .Z & .gz extensions
   1514                           automatically [default=auto]
   1515   --enable-unit-tests     Enable building unit test cases (default: auto)
   1516 
   1517 Optional Packages:
   1518   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1519   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1520   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1521                           both]
   1522   --with-aix-soname=aix|svr4|both
   1523                           shared library versioning (aka "SONAME") variant to
   1524                           provide on AIX, [default=aix].
   1525   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1526   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1527                           compiler's sysroot if not specified).
   1528   --with-localedir=<path> Path to install message files in (default:
   1529                           datadir/locale)
   1530   --with-glib             Use GLib library for unit testing (default: auto)
   1531 
   1532 Some influential environment variables:
   1533   CC          C compiler command
   1534   CFLAGS      C compiler flags
   1535   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1536               nonstandard directory <lib dir>
   1537   LIBS        libraries to pass to the linker, e.g. -l<library>
   1538   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1539               you have headers in a nonstandard directory <include dir>
   1540   LT_SYS_LIBRARY_PATH
   1541               User-defined run-time library search path.
   1542   PKG_CONFIG  path to pkg-config utility
   1543   PKG_CONFIG_PATH
   1544               directories to add to pkg-config's search path
   1545   PKG_CONFIG_LIBDIR
   1546               path overriding pkg-config's built-in search path
   1547   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1548   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1549   SXPM_CFLAGS C compiler flags for SXPM, overriding pkg-config
   1550   SXPM_LIBS   linker flags for SXPM, overriding pkg-config
   1551   XORG_MALLOC_DEBUG_ENV
   1552               Environment variables to enable memory checking in tests
   1553   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   1554   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   1555 
   1556 Use these variables to override the choices made by `configure' or to help
   1557 it to find libraries and programs with nonstandard names/locations.
   1558 
   1559 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>.
   1560 _ACEOF
   1561 ac_status=$?
   1562 fi
   1563 
   1564 if test "$ac_init_help" = "recursive"; then
   1565   # If there are subdirs, report their specific --help.
   1566   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1567     test -d "$ac_dir" ||
   1568       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1569       continue
   1570     ac_builddir=.
   1571 
   1572 case "$ac_dir" in
   1573 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1574 *)
   1575   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1576   # A ".." for each directory in $ac_dir_suffix.
   1577   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1578   case $ac_top_builddir_sub in
   1579   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1580   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1581   esac ;;
   1582 esac
   1583 ac_abs_top_builddir=$ac_pwd
   1584 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1585 # for backward compatibility:
   1586 ac_top_builddir=$ac_top_build_prefix
   1587 
   1588 case $srcdir in
   1589   .)  # We are building in place.
   1590     ac_srcdir=.
   1591     ac_top_srcdir=$ac_top_builddir_sub
   1592     ac_abs_top_srcdir=$ac_pwd ;;
   1593   [\\/]* | ?:[\\/]* )  # Absolute name.
   1594     ac_srcdir=$srcdir$ac_dir_suffix;
   1595     ac_top_srcdir=$srcdir
   1596     ac_abs_top_srcdir=$srcdir ;;
   1597   *) # Relative name.
   1598     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1599     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1600     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1601 esac
   1602 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1603 
   1604     cd "$ac_dir" || { ac_status=$?; continue; }
   1605     # Check for configure.gnu first; this name is used for a wrapper for
   1606     # Metaconfig's "Configure" on case-insensitive file systems.
   1607     if test -f "$ac_srcdir/configure.gnu"; then
   1608       echo &&
   1609       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1610     elif test -f "$ac_srcdir/configure"; then
   1611       echo &&
   1612       $SHELL "$ac_srcdir/configure" --help=recursive
   1613     else
   1614       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1615     fi || ac_status=$?
   1616     cd "$ac_pwd" || { ac_status=$?; break; }
   1617   done
   1618 fi
   1619 
   1620 test -n "$ac_init_help" && exit $ac_status
   1621 if $ac_init_version; then
   1622   cat <<\_ACEOF
   1623 libXpm configure 3.5.16
   1624 generated by GNU Autoconf 2.71
   1625 
   1626 Copyright (C) 2021 Free Software Foundation, Inc.
   1627 This configure script is free software; the Free Software Foundation
   1628 gives unlimited permission to copy, distribute and modify it.
   1629 _ACEOF
   1630   exit
   1631 fi
   1632 
   1633 ## ------------------------ ##
   1634 ## Autoconf initialization. ##
   1635 ## ------------------------ ##
   1636 
   1637 # ac_fn_c_try_compile LINENO
   1638 # --------------------------
   1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1640 ac_fn_c_try_compile ()
   1641 {
   1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1643   rm -f conftest.$ac_objext conftest.beam
   1644   if { { ac_try="$ac_compile"
   1645 case "(($ac_try" in
   1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1647   *) ac_try_echo=$ac_try;;
   1648 esac
   1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1650 printf "%s\n" "$ac_try_echo"; } >&5
   1651   (eval "$ac_compile") 2>conftest.err
   1652   ac_status=$?
   1653   if test -s conftest.err; then
   1654     grep -v '^ *+' conftest.err >conftest.er1
   1655     cat conftest.er1 >&5
   1656     mv -f conftest.er1 conftest.err
   1657   fi
   1658   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1659   test $ac_status = 0; } && {
   1660 	 test -z "$ac_c_werror_flag" ||
   1661 	 test ! -s conftest.err
   1662        } && test -s conftest.$ac_objext
   1663 then :
   1664   ac_retval=0
   1665 else $as_nop
   1666   printf "%s\n" "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669 	ac_retval=1
   1670 fi
   1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1672   as_fn_set_status $ac_retval
   1673 
   1674 } # ac_fn_c_try_compile
   1675 
   1676 # ac_fn_c_try_link LINENO
   1677 # -----------------------
   1678 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1679 ac_fn_c_try_link ()
   1680 {
   1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1682   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1683   if { { ac_try="$ac_link"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 printf "%s\n" "$ac_try_echo"; } >&5
   1690   (eval "$ac_link") 2>conftest.err
   1691   ac_status=$?
   1692   if test -s conftest.err; then
   1693     grep -v '^ *+' conftest.err >conftest.er1
   1694     cat conftest.er1 >&5
   1695     mv -f conftest.er1 conftest.err
   1696   fi
   1697   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && {
   1699 	 test -z "$ac_c_werror_flag" ||
   1700 	 test ! -s conftest.err
   1701        } && test -s conftest$ac_exeext && {
   1702 	 test "$cross_compiling" = yes ||
   1703 	 test -x conftest$ac_exeext
   1704        }
   1705 then :
   1706   ac_retval=0
   1707 else $as_nop
   1708   printf "%s\n" "$as_me: failed program was:" >&5
   1709 sed 's/^/| /' conftest.$ac_ext >&5
   1710 
   1711 	ac_retval=1
   1712 fi
   1713   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1714   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1715   # interfere with the next link command; also delete a directory that is
   1716   # left behind by Apple's compiler.  We do this before executing the actions.
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_link
   1722 
   1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists and can be compiled using the include files in
   1726 # INCLUDES, setting the cache variable VAR accordingly.
   1727 ac_fn_c_check_header_compile ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 printf %s "checking for $2... " >&6; }
   1732 if eval test \${$3+y}
   1733 then :
   1734   printf %s "(cached) " >&6
   1735 else $as_nop
   1736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1737 /* end confdefs.h.  */
   1738 $4
   1739 #include <$2>
   1740 _ACEOF
   1741 if ac_fn_c_try_compile "$LINENO"
   1742 then :
   1743   eval "$3=yes"
   1744 else $as_nop
   1745   eval "$3=no"
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1748 fi
   1749 eval ac_res=\$$3
   1750 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1751 printf "%s\n" "$ac_res" >&6; }
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753 
   1754 } # ac_fn_c_check_header_compile
   1755 
   1756 # ac_fn_c_check_func LINENO FUNC VAR
   1757 # ----------------------------------
   1758 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1759 ac_fn_c_check_func ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1763 printf %s "checking for $2... " >&6; }
   1764 if eval test \${$3+y}
   1765 then :
   1766   printf %s "(cached) " >&6
   1767 else $as_nop
   1768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1769 /* end confdefs.h.  */
   1770 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1772 #define $2 innocuous_$2
   1773 
   1774 /* System header to define __stub macros and hopefully few prototypes,
   1775    which can conflict with char $2 (void); below.  */
   1776 
   1777 #include <limits.h>
   1778 #undef $2
   1779 
   1780 /* Override any GCC internal prototype to avoid an error.
   1781    Use char because int might match the return type of a GCC
   1782    builtin and then its argument prototype would still apply.  */
   1783 #ifdef __cplusplus
   1784 extern "C"
   1785 #endif
   1786 char $2 (void);
   1787 /* The GNU C library defines this for functions which it implements
   1788     to always fail with ENOSYS.  Some functions are actually named
   1789     something starting with __ and the normal name is an alias.  */
   1790 #if defined __stub_$2 || defined __stub___$2
   1791 choke me
   1792 #endif
   1793 
   1794 int
   1795 main (void)
   1796 {
   1797 return $2 ();
   1798   ;
   1799   return 0;
   1800 }
   1801 _ACEOF
   1802 if ac_fn_c_try_link "$LINENO"
   1803 then :
   1804   eval "$3=yes"
   1805 else $as_nop
   1806   eval "$3=no"
   1807 fi
   1808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1809     conftest$ac_exeext conftest.$ac_ext
   1810 fi
   1811 eval ac_res=\$$3
   1812 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1813 printf "%s\n" "$ac_res" >&6; }
   1814   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1815 
   1816 } # ac_fn_c_check_func
   1817 
   1818 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1819 # ------------------------------------------------------------------
   1820 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1821 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1822 ac_fn_check_decl ()
   1823 {
   1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1825   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1826   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1827 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1828 if eval test \${$3+y}
   1829 then :
   1830   printf %s "(cached) " >&6
   1831 else $as_nop
   1832   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1833   eval ac_save_FLAGS=\$$6
   1834   as_fn_append $6 " $5"
   1835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1836 /* end confdefs.h.  */
   1837 $4
   1838 int
   1839 main (void)
   1840 {
   1841 #ifndef $as_decl_name
   1842 #ifdef __cplusplus
   1843   (void) $as_decl_use;
   1844 #else
   1845   (void) $as_decl_name;
   1846 #endif
   1847 #endif
   1848 
   1849   ;
   1850   return 0;
   1851 }
   1852 _ACEOF
   1853 if ac_fn_c_try_compile "$LINENO"
   1854 then :
   1855   eval "$3=yes"
   1856 else $as_nop
   1857   eval "$3=no"
   1858 fi
   1859 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1860   eval $6=\$ac_save_FLAGS
   1861 
   1862 fi
   1863 eval ac_res=\$$3
   1864 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1865 printf "%s\n" "$ac_res" >&6; }
   1866   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1867 
   1868 } # ac_fn_check_decl
   1869 ac_configure_args_raw=
   1870 for ac_arg
   1871 do
   1872   case $ac_arg in
   1873   *\'*)
   1874     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1875   esac
   1876   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1877 done
   1878 
   1879 case $ac_configure_args_raw in
   1880   *$as_nl*)
   1881     ac_safe_unquote= ;;
   1882   *)
   1883     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1884     ac_unsafe_a="$ac_unsafe_z#~"
   1885     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1886     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1887 esac
   1888 
   1889 cat >config.log <<_ACEOF
   1890 This file contains any messages produced by compilers while
   1891 running configure, to aid debugging if configure makes a mistake.
   1892 
   1893 It was created by libXpm $as_me 3.5.16, which was
   1894 generated by GNU Autoconf 2.71.  Invocation command line was
   1895 
   1896   $ $0$ac_configure_args_raw
   1897 
   1898 _ACEOF
   1899 exec 5>>config.log
   1900 {
   1901 cat <<_ASUNAME
   1902 ## --------- ##
   1903 ## Platform. ##
   1904 ## --------- ##
   1905 
   1906 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1907 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1908 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1909 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1910 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1911 
   1912 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1913 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1914 
   1915 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1916 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1917 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1918 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1919 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1920 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1921 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1922 
   1923 _ASUNAME
   1924 
   1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1926 for as_dir in $PATH
   1927 do
   1928   IFS=$as_save_IFS
   1929   case $as_dir in #(((
   1930     '') as_dir=./ ;;
   1931     */) ;;
   1932     *) as_dir=$as_dir/ ;;
   1933   esac
   1934     printf "%s\n" "PATH: $as_dir"
   1935   done
   1936 IFS=$as_save_IFS
   1937 
   1938 } >&5
   1939 
   1940 cat >&5 <<_ACEOF
   1941 
   1942 
   1943 ## ----------- ##
   1944 ## Core tests. ##
   1945 ## ----------- ##
   1946 
   1947 _ACEOF
   1948 
   1949 
   1950 # Keep a trace of the command line.
   1951 # Strip out --no-create and --no-recursion so they do not pile up.
   1952 # Strip out --silent because we don't want to record it for future runs.
   1953 # Also quote any args containing shell meta-characters.
   1954 # Make two passes to allow for proper duplicate-argument suppression.
   1955 ac_configure_args=
   1956 ac_configure_args0=
   1957 ac_configure_args1=
   1958 ac_must_keep_next=false
   1959 for ac_pass in 1 2
   1960 do
   1961   for ac_arg
   1962   do
   1963     case $ac_arg in
   1964     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1965     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1966     | -silent | --silent | --silen | --sile | --sil)
   1967       continue ;;
   1968     *\'*)
   1969       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1970     esac
   1971     case $ac_pass in
   1972     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1973     2)
   1974       as_fn_append ac_configure_args1 " '$ac_arg'"
   1975       if test $ac_must_keep_next = true; then
   1976 	ac_must_keep_next=false # Got value, back to normal.
   1977       else
   1978 	case $ac_arg in
   1979 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1980 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1981 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1982 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1983 	    case "$ac_configure_args0 " in
   1984 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1985 	    esac
   1986 	    ;;
   1987 	  -* ) ac_must_keep_next=true ;;
   1988 	esac
   1989       fi
   1990       as_fn_append ac_configure_args " '$ac_arg'"
   1991       ;;
   1992     esac
   1993   done
   1994 done
   1995 { ac_configure_args0=; unset ac_configure_args0;}
   1996 { ac_configure_args1=; unset ac_configure_args1;}
   1997 
   1998 # When interrupted or exit'd, cleanup temporary files, and complete
   1999 # config.log.  We remove comments because anyway the quotes in there
   2000 # would cause problems or look ugly.
   2001 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2002 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2003 trap 'exit_status=$?
   2004   # Sanitize IFS.
   2005   IFS=" ""	$as_nl"
   2006   # Save into config.log some information that might help in debugging.
   2007   {
   2008     echo
   2009 
   2010     printf "%s\n" "## ---------------- ##
   2011 ## Cache variables. ##
   2012 ## ---------------- ##"
   2013     echo
   2014     # The following way of writing the cache mishandles newlines in values,
   2015 (
   2016   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2017     eval ac_val=\$$ac_var
   2018     case $ac_val in #(
   2019     *${as_nl}*)
   2020       case $ac_var in #(
   2021       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2022 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2023       esac
   2024       case $ac_var in #(
   2025       _ | IFS | as_nl) ;; #(
   2026       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2027       *) { eval $ac_var=; unset $ac_var;} ;;
   2028       esac ;;
   2029     esac
   2030   done
   2031   (set) 2>&1 |
   2032     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2033     *${as_nl}ac_space=\ *)
   2034       sed -n \
   2035 	"s/'\''/'\''\\\\'\'''\''/g;
   2036 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2037       ;; #(
   2038     *)
   2039       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2040       ;;
   2041     esac |
   2042     sort
   2043 )
   2044     echo
   2045 
   2046     printf "%s\n" "## ----------------- ##
   2047 ## Output variables. ##
   2048 ## ----------------- ##"
   2049     echo
   2050     for ac_var in $ac_subst_vars
   2051     do
   2052       eval ac_val=\$$ac_var
   2053       case $ac_val in
   2054       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2055       esac
   2056       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2057     done | sort
   2058     echo
   2059 
   2060     if test -n "$ac_subst_files"; then
   2061       printf "%s\n" "## ------------------- ##
   2062 ## File substitutions. ##
   2063 ## ------------------- ##"
   2064       echo
   2065       for ac_var in $ac_subst_files
   2066       do
   2067 	eval ac_val=\$$ac_var
   2068 	case $ac_val in
   2069 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2070 	esac
   2071 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2072       done | sort
   2073       echo
   2074     fi
   2075 
   2076     if test -s confdefs.h; then
   2077       printf "%s\n" "## ----------- ##
   2078 ## confdefs.h. ##
   2079 ## ----------- ##"
   2080       echo
   2081       cat confdefs.h
   2082       echo
   2083     fi
   2084     test "$ac_signal" != 0 &&
   2085       printf "%s\n" "$as_me: caught signal $ac_signal"
   2086     printf "%s\n" "$as_me: exit $exit_status"
   2087   } >&5
   2088   rm -f core *.core core.conftest.* &&
   2089     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2090     exit $exit_status
   2091 ' 0
   2092 for ac_signal in 1 2 13 15; do
   2093   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2094 done
   2095 ac_signal=0
   2096 
   2097 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2098 rm -f -r conftest* confdefs.h
   2099 
   2100 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2101 
   2102 # Predefined preprocessor variables.
   2103 
   2104 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2105 
   2106 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2107 
   2108 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2109 
   2110 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2111 
   2112 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2113 
   2114 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2115 
   2116 
   2117 # Let the site file select an alternate cache file if it wants to.
   2118 # Prefer an explicitly selected file to automatically selected ones.
   2119 if test -n "$CONFIG_SITE"; then
   2120   ac_site_files="$CONFIG_SITE"
   2121 elif test "x$prefix" != xNONE; then
   2122   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2123 else
   2124   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2125 fi
   2126 
   2127 for ac_site_file in $ac_site_files
   2128 do
   2129   case $ac_site_file in #(
   2130   */*) :
   2131      ;; #(
   2132   *) :
   2133     ac_site_file=./$ac_site_file ;;
   2134 esac
   2135   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2136     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2137 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2138     sed 's/^/| /' "$ac_site_file" >&5
   2139     . "$ac_site_file" \
   2140       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2141 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2142 as_fn_error $? "failed to load site script $ac_site_file
   2143 See \`config.log' for more details" "$LINENO" 5; }
   2144   fi
   2145 done
   2146 
   2147 if test -r "$cache_file"; then
   2148   # Some versions of bash will fail to source /dev/null (special files
   2149   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2150   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2151     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2152 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2153     case $cache_file in
   2154       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2155       *)                      . "./$cache_file";;
   2156     esac
   2157   fi
   2158 else
   2159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2160 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2161   >$cache_file
   2162 fi
   2163 
   2164 # Test code for whether the C compiler supports C89 (global declarations)
   2165 ac_c_conftest_c89_globals='
   2166 /* Does the compiler advertise C89 conformance?
   2167    Do not test the value of __STDC__, because some compilers set it to 0
   2168    while being otherwise adequately conformant. */
   2169 #if !defined __STDC__
   2170 # error "Compiler does not advertise C89 conformance"
   2171 #endif
   2172 
   2173 #include <stddef.h>
   2174 #include <stdarg.h>
   2175 struct stat;
   2176 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2177 struct buf { int x; };
   2178 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2179 static char *e (char **p, int i)
   2180 {
   2181   return p[i];
   2182 }
   2183 static char *f (char * (*g) (char **, int), char **p, ...)
   2184 {
   2185   char *s;
   2186   va_list v;
   2187   va_start (v,p);
   2188   s = g (p, va_arg (v,int));
   2189   va_end (v);
   2190   return s;
   2191 }
   2192 
   2193 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2194    function prototypes and stuff, but not \xHH hex character constants.
   2195    These do not provoke an error unfortunately, instead are silently treated
   2196    as an "x".  The following induces an error, until -std is added to get
   2197    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2198    array size at least.  It is necessary to write \x00 == 0 to get something
   2199    that is true only with -std.  */
   2200 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2201 
   2202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2203    inside strings and character constants.  */
   2204 #define FOO(x) '\''x'\''
   2205 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2206 
   2207 int test (int i, double x);
   2208 struct s1 {int (*f) (int a);};
   2209 struct s2 {int (*f) (double a);};
   2210 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2211                int, int);'
   2212 
   2213 # Test code for whether the C compiler supports C89 (body of main).
   2214 ac_c_conftest_c89_main='
   2215 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2216 '
   2217 
   2218 # Test code for whether the C compiler supports C99 (global declarations)
   2219 ac_c_conftest_c99_globals='
   2220 // Does the compiler advertise C99 conformance?
   2221 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2222 # error "Compiler does not advertise C99 conformance"
   2223 #endif
   2224 
   2225 #include <stdbool.h>
   2226 extern int puts (const char *);
   2227 extern int printf (const char *, ...);
   2228 extern int dprintf (int, const char *, ...);
   2229 extern void *malloc (size_t);
   2230 extern void free (void *);
   2231 
   2232 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2233 // dprintf is used instead of fprintf to avoid needing to declare
   2234 // FILE and stderr.
   2235 #define debug(...) dprintf (2, __VA_ARGS__)
   2236 #define showlist(...) puts (#__VA_ARGS__)
   2237 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2238 static void
   2239 test_varargs_macros (void)
   2240 {
   2241   int x = 1234;
   2242   int y = 5678;
   2243   debug ("Flag");
   2244   debug ("X = %d\n", x);
   2245   showlist (The first, second, and third items.);
   2246   report (x>y, "x is %d but y is %d", x, y);
   2247 }
   2248 
   2249 // Check long long types.
   2250 #define BIG64 18446744073709551615ull
   2251 #define BIG32 4294967295ul
   2252 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2253 #if !BIG_OK
   2254   #error "your preprocessor is broken"
   2255 #endif
   2256 #if BIG_OK
   2257 #else
   2258   #error "your preprocessor is broken"
   2259 #endif
   2260 static long long int bignum = -9223372036854775807LL;
   2261 static unsigned long long int ubignum = BIG64;
   2262 
   2263 struct incomplete_array
   2264 {
   2265   int datasize;
   2266   double data[];
   2267 };
   2268 
   2269 struct named_init {
   2270   int number;
   2271   const wchar_t *name;
   2272   double average;
   2273 };
   2274 
   2275 typedef const char *ccp;
   2276 
   2277 static inline int
   2278 test_restrict (ccp restrict text)
   2279 {
   2280   // See if C++-style comments work.
   2281   // Iterate through items via the restricted pointer.
   2282   // Also check for declarations in for loops.
   2283   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2284     continue;
   2285   return 0;
   2286 }
   2287 
   2288 // Check varargs and va_copy.
   2289 static bool
   2290 test_varargs (const char *format, ...)
   2291 {
   2292   va_list args;
   2293   va_start (args, format);
   2294   va_list args_copy;
   2295   va_copy (args_copy, args);
   2296 
   2297   const char *str = "";
   2298   int number = 0;
   2299   float fnumber = 0;
   2300 
   2301   while (*format)
   2302     {
   2303       switch (*format++)
   2304 	{
   2305 	case '\''s'\'': // string
   2306 	  str = va_arg (args_copy, const char *);
   2307 	  break;
   2308 	case '\''d'\'': // int
   2309 	  number = va_arg (args_copy, int);
   2310 	  break;
   2311 	case '\''f'\'': // float
   2312 	  fnumber = va_arg (args_copy, double);
   2313 	  break;
   2314 	default:
   2315 	  break;
   2316 	}
   2317     }
   2318   va_end (args_copy);
   2319   va_end (args);
   2320 
   2321   return *str && number && fnumber;
   2322 }
   2323 '
   2324 
   2325 # Test code for whether the C compiler supports C99 (body of main).
   2326 ac_c_conftest_c99_main='
   2327   // Check bool.
   2328   _Bool success = false;
   2329   success |= (argc != 0);
   2330 
   2331   // Check restrict.
   2332   if (test_restrict ("String literal") == 0)
   2333     success = true;
   2334   char *restrict newvar = "Another string";
   2335 
   2336   // Check varargs.
   2337   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2338   test_varargs_macros ();
   2339 
   2340   // Check flexible array members.
   2341   struct incomplete_array *ia =
   2342     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2343   ia->datasize = 10;
   2344   for (int i = 0; i < ia->datasize; ++i)
   2345     ia->data[i] = i * 1.234;
   2346 
   2347   // Check named initializers.
   2348   struct named_init ni = {
   2349     .number = 34,
   2350     .name = L"Test wide string",
   2351     .average = 543.34343,
   2352   };
   2353 
   2354   ni.number = 58;
   2355 
   2356   int dynamic_array[ni.number];
   2357   dynamic_array[0] = argv[0][0];
   2358   dynamic_array[ni.number - 1] = 543;
   2359 
   2360   // work around unused variable warnings
   2361   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2362 	 || dynamic_array[ni.number - 1] != 543);
   2363 '
   2364 
   2365 # Test code for whether the C compiler supports C11 (global declarations)
   2366 ac_c_conftest_c11_globals='
   2367 // Does the compiler advertise C11 conformance?
   2368 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2369 # error "Compiler does not advertise C11 conformance"
   2370 #endif
   2371 
   2372 // Check _Alignas.
   2373 char _Alignas (double) aligned_as_double;
   2374 char _Alignas (0) no_special_alignment;
   2375 extern char aligned_as_int;
   2376 char _Alignas (0) _Alignas (int) aligned_as_int;
   2377 
   2378 // Check _Alignof.
   2379 enum
   2380 {
   2381   int_alignment = _Alignof (int),
   2382   int_array_alignment = _Alignof (int[100]),
   2383   char_alignment = _Alignof (char)
   2384 };
   2385 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2386 
   2387 // Check _Noreturn.
   2388 int _Noreturn does_not_return (void) { for (;;) continue; }
   2389 
   2390 // Check _Static_assert.
   2391 struct test_static_assert
   2392 {
   2393   int x;
   2394   _Static_assert (sizeof (int) <= sizeof (long int),
   2395                   "_Static_assert does not work in struct");
   2396   long int y;
   2397 };
   2398 
   2399 // Check UTF-8 literals.
   2400 #define u8 syntax error!
   2401 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2402 
   2403 // Check duplicate typedefs.
   2404 typedef long *long_ptr;
   2405 typedef long int *long_ptr;
   2406 typedef long_ptr long_ptr;
   2407 
   2408 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2409 struct anonymous
   2410 {
   2411   union {
   2412     struct { int i; int j; };
   2413     struct { int k; long int l; } w;
   2414   };
   2415   int m;
   2416 } v1;
   2417 '
   2418 
   2419 # Test code for whether the C compiler supports C11 (body of main).
   2420 ac_c_conftest_c11_main='
   2421   _Static_assert ((offsetof (struct anonymous, i)
   2422 		   == offsetof (struct anonymous, w.k)),
   2423 		  "Anonymous union alignment botch");
   2424   v1.i = 2;
   2425   v1.w.k = 5;
   2426   ok |= v1.i != 5;
   2427 '
   2428 
   2429 # Test code for whether the C compiler supports C11 (complete).
   2430 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2431 ${ac_c_conftest_c99_globals}
   2432 ${ac_c_conftest_c11_globals}
   2433 
   2434 int
   2435 main (int argc, char **argv)
   2436 {
   2437   int ok = 0;
   2438   ${ac_c_conftest_c89_main}
   2439   ${ac_c_conftest_c99_main}
   2440   ${ac_c_conftest_c11_main}
   2441   return ok;
   2442 }
   2443 "
   2444 
   2445 # Test code for whether the C compiler supports C99 (complete).
   2446 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2447 ${ac_c_conftest_c99_globals}
   2448 
   2449 int
   2450 main (int argc, char **argv)
   2451 {
   2452   int ok = 0;
   2453   ${ac_c_conftest_c89_main}
   2454   ${ac_c_conftest_c99_main}
   2455   return ok;
   2456 }
   2457 "
   2458 
   2459 # Test code for whether the C compiler supports C89 (complete).
   2460 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2461 
   2462 int
   2463 main (int argc, char **argv)
   2464 {
   2465   int ok = 0;
   2466   ${ac_c_conftest_c89_main}
   2467   return ok;
   2468 }
   2469 "
   2470 
   2471 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2472 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2473 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2474 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2475 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2476 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2477 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2478 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2479 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2480 
   2481 # Auxiliary files required by this configure script.
   2482 ac_aux_files="tap-driver.sh compile config.guess config.sub ltmain.sh missing install-sh"
   2483 
   2484 # Locations in which to look for auxiliary files.
   2485 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2486 
   2487 # Search for a directory containing all of the required auxiliary files,
   2488 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2489 # If we don't find one directory that contains all the files we need,
   2490 # we report the set of missing files from the *first* directory in
   2491 # $ac_aux_dir_candidates and give up.
   2492 ac_missing_aux_files=""
   2493 ac_first_candidate=:
   2494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2496 as_found=false
   2497 for as_dir in $ac_aux_dir_candidates
   2498 do
   2499   IFS=$as_save_IFS
   2500   case $as_dir in #(((
   2501     '') as_dir=./ ;;
   2502     */) ;;
   2503     *) as_dir=$as_dir/ ;;
   2504   esac
   2505   as_found=:
   2506 
   2507   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2508   ac_aux_dir_found=yes
   2509   ac_install_sh=
   2510   for ac_aux in $ac_aux_files
   2511   do
   2512     # As a special case, if "install-sh" is required, that requirement
   2513     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2514     # and $ac_install_sh is set appropriately for whichever one is found.
   2515     if test x"$ac_aux" = x"install-sh"
   2516     then
   2517       if test -f "${as_dir}install-sh"; then
   2518         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2519         ac_install_sh="${as_dir}install-sh -c"
   2520       elif test -f "${as_dir}install.sh"; then
   2521         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2522         ac_install_sh="${as_dir}install.sh -c"
   2523       elif test -f "${as_dir}shtool"; then
   2524         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2525         ac_install_sh="${as_dir}shtool install -c"
   2526       else
   2527         ac_aux_dir_found=no
   2528         if $ac_first_candidate; then
   2529           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2530         else
   2531           break
   2532         fi
   2533       fi
   2534     else
   2535       if test -f "${as_dir}${ac_aux}"; then
   2536         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2537       else
   2538         ac_aux_dir_found=no
   2539         if $ac_first_candidate; then
   2540           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2541         else
   2542           break
   2543         fi
   2544       fi
   2545     fi
   2546   done
   2547   if test "$ac_aux_dir_found" = yes; then
   2548     ac_aux_dir="$as_dir"
   2549     break
   2550   fi
   2551   ac_first_candidate=false
   2552 
   2553   as_found=false
   2554 done
   2555 IFS=$as_save_IFS
   2556 if $as_found
   2557 then :
   2558 
   2559 else $as_nop
   2560   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2561 fi
   2562 
   2563 
   2564 # These three variables are undocumented and unsupported,
   2565 # and are intended to be withdrawn in a future Autoconf release.
   2566 # They can cause serious problems if a builder's source tree is in a directory
   2567 # whose full name contains unusual characters.
   2568 if test -f "${ac_aux_dir}config.guess"; then
   2569   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2570 fi
   2571 if test -f "${ac_aux_dir}config.sub"; then
   2572   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2573 fi
   2574 if test -f "$ac_aux_dir/configure"; then
   2575   ac_configure="$SHELL ${ac_aux_dir}configure"
   2576 fi
   2577 
   2578 # Check that the precious variables saved in the cache have kept the same
   2579 # value.
   2580 ac_cache_corrupted=false
   2581 for ac_var in $ac_precious_vars; do
   2582   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2583   eval ac_new_set=\$ac_env_${ac_var}_set
   2584   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2585   eval ac_new_val=\$ac_env_${ac_var}_value
   2586   case $ac_old_set,$ac_new_set in
   2587     set,)
   2588       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2589 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2590       ac_cache_corrupted=: ;;
   2591     ,set)
   2592       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2593 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2594       ac_cache_corrupted=: ;;
   2595     ,);;
   2596     *)
   2597       if test "x$ac_old_val" != "x$ac_new_val"; then
   2598 	# differences in whitespace do not lead to failure.
   2599 	ac_old_val_w=`echo x $ac_old_val`
   2600 	ac_new_val_w=`echo x $ac_new_val`
   2601 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2602 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2603 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2604 	  ac_cache_corrupted=:
   2605 	else
   2606 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2607 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2608 	  eval $ac_var=\$ac_old_val
   2609 	fi
   2610 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2611 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2613 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2614       fi;;
   2615   esac
   2616   # Pass precious variables to config.status.
   2617   if test "$ac_new_set" = set; then
   2618     case $ac_new_val in
   2619     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2620     *) ac_arg=$ac_var=$ac_new_val ;;
   2621     esac
   2622     case " $ac_configure_args " in
   2623       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2624       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2625     esac
   2626   fi
   2627 done
   2628 if $ac_cache_corrupted; then
   2629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2630 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2632 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2633   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2634 	    and start over" "$LINENO" 5
   2635 fi
   2636 ## -------------------- ##
   2637 ## Main body of script. ##
   2638 ## -------------------- ##
   2639 
   2640 ac_ext=c
   2641 ac_cpp='$CPP $CPPFLAGS'
   2642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2645 
   2646 
   2647 
   2648 ac_config_headers="$ac_config_headers config.h"
   2649 
   2650 
   2651 
   2652 # Initialize Automake
   2653 am__api_version='1.16'
   2654 
   2655 
   2656 
   2657   # Find a good install program.  We prefer a C program (faster),
   2658 # so one script is as good as another.  But avoid the broken or
   2659 # incompatible versions:
   2660 # SysV /etc/install, /usr/sbin/install
   2661 # SunOS /usr/etc/install
   2662 # IRIX /sbin/install
   2663 # AIX /bin/install
   2664 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2665 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2666 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2667 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2668 # OS/2's system install, which has a completely different semantic
   2669 # ./install, which can be erroneously created by make from ./install.sh.
   2670 # Reject install programs that cannot install multiple files.
   2671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2672 printf %s "checking for a BSD-compatible install... " >&6; }
   2673 if test -z "$INSTALL"; then
   2674 if test ${ac_cv_path_install+y}
   2675 then :
   2676   printf %s "(cached) " >&6
   2677 else $as_nop
   2678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2679 for as_dir in $PATH
   2680 do
   2681   IFS=$as_save_IFS
   2682   case $as_dir in #(((
   2683     '') as_dir=./ ;;
   2684     */) ;;
   2685     *) as_dir=$as_dir/ ;;
   2686   esac
   2687     # Account for fact that we put trailing slashes in our PATH walk.
   2688 case $as_dir in #((
   2689   ./ | /[cC]/* | \
   2690   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2691   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2692   /usr/ucb/* ) ;;
   2693   *)
   2694     # OSF1 and SCO ODT 3.0 have their own names for install.
   2695     # Don't use installbsd from OSF since it installs stuff as root
   2696     # by default.
   2697     for ac_prog in ginstall scoinst install; do
   2698       for ac_exec_ext in '' $ac_executable_extensions; do
   2699 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2700 	  if test $ac_prog = install &&
   2701 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2702 	    # AIX install.  It has an incompatible calling convention.
   2703 	    :
   2704 	  elif test $ac_prog = install &&
   2705 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2706 	    # program-specific install script used by HP pwplus--don't use.
   2707 	    :
   2708 	  else
   2709 	    rm -rf conftest.one conftest.two conftest.dir
   2710 	    echo one > conftest.one
   2711 	    echo two > conftest.two
   2712 	    mkdir conftest.dir
   2713 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2714 	      test -s conftest.one && test -s conftest.two &&
   2715 	      test -s conftest.dir/conftest.one &&
   2716 	      test -s conftest.dir/conftest.two
   2717 	    then
   2718 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2719 	      break 3
   2720 	    fi
   2721 	  fi
   2722 	fi
   2723       done
   2724     done
   2725     ;;
   2726 esac
   2727 
   2728   done
   2729 IFS=$as_save_IFS
   2730 
   2731 rm -rf conftest.one conftest.two conftest.dir
   2732 
   2733 fi
   2734   if test ${ac_cv_path_install+y}; then
   2735     INSTALL=$ac_cv_path_install
   2736   else
   2737     # As a last resort, use the slow shell script.  Don't cache a
   2738     # value for INSTALL within a source directory, because that will
   2739     # break other packages using the cache if that directory is
   2740     # removed, or if the value is a relative name.
   2741     INSTALL=$ac_install_sh
   2742   fi
   2743 fi
   2744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2745 printf "%s\n" "$INSTALL" >&6; }
   2746 
   2747 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2748 # It thinks the first close brace ends the variable substitution.
   2749 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2750 
   2751 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2752 
   2753 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2754 
   2755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2756 printf %s "checking whether build environment is sane... " >&6; }
   2757 # Reject unsafe characters in $srcdir or the absolute working directory
   2758 # name.  Accept space and tab only in the latter.
   2759 am_lf='
   2760 '
   2761 case `pwd` in
   2762   *[\\\"\#\$\&\'\`$am_lf]*)
   2763     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2764 esac
   2765 case $srcdir in
   2766   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2767     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2768 esac
   2769 
   2770 # Do 'set' in a subshell so we don't clobber the current shell's
   2771 # arguments.  Must try -L first in case configure is actually a
   2772 # symlink; some systems play weird games with the mod time of symlinks
   2773 # (eg FreeBSD returns the mod time of the symlink's containing
   2774 # directory).
   2775 if (
   2776    am_has_slept=no
   2777    for am_try in 1 2; do
   2778      echo "timestamp, slept: $am_has_slept" > conftest.file
   2779      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2780      if test "$*" = "X"; then
   2781 	# -L didn't work.
   2782 	set X `ls -t "$srcdir/configure" conftest.file`
   2783      fi
   2784      if test "$*" != "X $srcdir/configure conftest.file" \
   2785 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2786 
   2787 	# If neither matched, then we have a broken ls.  This can happen
   2788 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2789 	# broken ls alias from the environment.  This has actually
   2790 	# happened.  Such a system could not be considered "sane".
   2791 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2792   alias in your environment" "$LINENO" 5
   2793      fi
   2794      if test "$2" = conftest.file || test $am_try -eq 2; then
   2795        break
   2796      fi
   2797      # Just in case.
   2798      sleep 1
   2799      am_has_slept=yes
   2800    done
   2801    test "$2" = conftest.file
   2802    )
   2803 then
   2804    # Ok.
   2805    :
   2806 else
   2807    as_fn_error $? "newly created file is older than distributed files!
   2808 Check your system clock" "$LINENO" 5
   2809 fi
   2810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2811 printf "%s\n" "yes" >&6; }
   2812 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2813 # generated files are strictly newer.
   2814 am_sleep_pid=
   2815 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2816   ( sleep 1 ) &
   2817   am_sleep_pid=$!
   2818 fi
   2819 
   2820 rm -f conftest.file
   2821 
   2822 test "$program_prefix" != NONE &&
   2823   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2824 # Use a double $ so make ignores it.
   2825 test "$program_suffix" != NONE &&
   2826   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2827 # Double any \ or $.
   2828 # By default was `s,x,x', remove it if useless.
   2829 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2830 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2831 
   2832 
   2833 # Expand $ac_aux_dir to an absolute path.
   2834 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2835 
   2836 
   2837   if test x"${MISSING+set}" != xset; then
   2838   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2839 fi
   2840 # Use eval to expand $SHELL
   2841 if eval "$MISSING --is-lightweight"; then
   2842   am_missing_run="$MISSING "
   2843 else
   2844   am_missing_run=
   2845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2846 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2847 fi
   2848 
   2849 if test x"${install_sh+set}" != xset; then
   2850   case $am_aux_dir in
   2851   *\ * | *\	*)
   2852     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2853   *)
   2854     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2855   esac
   2856 fi
   2857 
   2858 # Installed binaries are usually stripped using 'strip' when the user
   2859 # run "make install-strip".  However 'strip' might not be the right
   2860 # tool to use in cross-compilation environments, therefore Automake
   2861 # will honor the 'STRIP' environment variable to overrule this program.
   2862 if test "$cross_compiling" != no; then
   2863   if test -n "$ac_tool_prefix"; then
   2864   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2865 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2867 printf %s "checking for $ac_word... " >&6; }
   2868 if test ${ac_cv_prog_STRIP+y}
   2869 then :
   2870   printf %s "(cached) " >&6
   2871 else $as_nop
   2872   if test -n "$STRIP"; then
   2873   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2874 else
   2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2876 for as_dir in $PATH
   2877 do
   2878   IFS=$as_save_IFS
   2879   case $as_dir in #(((
   2880     '') as_dir=./ ;;
   2881     */) ;;
   2882     *) as_dir=$as_dir/ ;;
   2883   esac
   2884     for ac_exec_ext in '' $ac_executable_extensions; do
   2885   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2886     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2887     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2888     break 2
   2889   fi
   2890 done
   2891   done
   2892 IFS=$as_save_IFS
   2893 
   2894 fi
   2895 fi
   2896 STRIP=$ac_cv_prog_STRIP
   2897 if test -n "$STRIP"; then
   2898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2899 printf "%s\n" "$STRIP" >&6; }
   2900 else
   2901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2902 printf "%s\n" "no" >&6; }
   2903 fi
   2904 
   2905 
   2906 fi
   2907 if test -z "$ac_cv_prog_STRIP"; then
   2908   ac_ct_STRIP=$STRIP
   2909   # Extract the first word of "strip", so it can be a program name with args.
   2910 set dummy strip; ac_word=$2
   2911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2912 printf %s "checking for $ac_word... " >&6; }
   2913 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2914 then :
   2915   printf %s "(cached) " >&6
   2916 else $as_nop
   2917   if test -n "$ac_ct_STRIP"; then
   2918   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2919 else
   2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2921 for as_dir in $PATH
   2922 do
   2923   IFS=$as_save_IFS
   2924   case $as_dir in #(((
   2925     '') as_dir=./ ;;
   2926     */) ;;
   2927     *) as_dir=$as_dir/ ;;
   2928   esac
   2929     for ac_exec_ext in '' $ac_executable_extensions; do
   2930   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2931     ac_cv_prog_ac_ct_STRIP="strip"
   2932     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2933     break 2
   2934   fi
   2935 done
   2936   done
   2937 IFS=$as_save_IFS
   2938 
   2939 fi
   2940 fi
   2941 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2942 if test -n "$ac_ct_STRIP"; then
   2943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2944 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2945 else
   2946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2947 printf "%s\n" "no" >&6; }
   2948 fi
   2949 
   2950   if test "x$ac_ct_STRIP" = x; then
   2951     STRIP=":"
   2952   else
   2953     case $cross_compiling:$ac_tool_warned in
   2954 yes:)
   2955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2956 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2957 ac_tool_warned=yes ;;
   2958 esac
   2959     STRIP=$ac_ct_STRIP
   2960   fi
   2961 else
   2962   STRIP="$ac_cv_prog_STRIP"
   2963 fi
   2964 
   2965 fi
   2966 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2967 
   2968 
   2969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2970 printf %s "checking for a race-free mkdir -p... " >&6; }
   2971 if test -z "$MKDIR_P"; then
   2972   if test ${ac_cv_path_mkdir+y}
   2973 then :
   2974   printf %s "(cached) " >&6
   2975 else $as_nop
   2976   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2977 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2978 do
   2979   IFS=$as_save_IFS
   2980   case $as_dir in #(((
   2981     '') as_dir=./ ;;
   2982     */) ;;
   2983     *) as_dir=$as_dir/ ;;
   2984   esac
   2985     for ac_prog in mkdir gmkdir; do
   2986 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2987 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2988 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2989 	     'mkdir ('*'coreutils) '* | \
   2990 	     'BusyBox '* | \
   2991 	     'mkdir (fileutils) '4.1*)
   2992 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2993 	       break 3;;
   2994 	   esac
   2995 	 done
   2996        done
   2997   done
   2998 IFS=$as_save_IFS
   2999 
   3000 fi
   3001 
   3002   test -d ./--version && rmdir ./--version
   3003   if test ${ac_cv_path_mkdir+y}; then
   3004     MKDIR_P="$ac_cv_path_mkdir -p"
   3005   else
   3006     # As a last resort, use the slow shell script.  Don't cache a
   3007     # value for MKDIR_P within a source directory, because that will
   3008     # break other packages using the cache if that directory is
   3009     # removed, or if the value is a relative name.
   3010     MKDIR_P="$ac_install_sh -d"
   3011   fi
   3012 fi
   3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3014 printf "%s\n" "$MKDIR_P" >&6; }
   3015 
   3016 for ac_prog in gawk mawk nawk awk
   3017 do
   3018   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3019 set dummy $ac_prog; ac_word=$2
   3020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3021 printf %s "checking for $ac_word... " >&6; }
   3022 if test ${ac_cv_prog_AWK+y}
   3023 then :
   3024   printf %s "(cached) " >&6
   3025 else $as_nop
   3026   if test -n "$AWK"; then
   3027   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3028 else
   3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3030 for as_dir in $PATH
   3031 do
   3032   IFS=$as_save_IFS
   3033   case $as_dir in #(((
   3034     '') as_dir=./ ;;
   3035     */) ;;
   3036     *) as_dir=$as_dir/ ;;
   3037   esac
   3038     for ac_exec_ext in '' $ac_executable_extensions; do
   3039   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3040     ac_cv_prog_AWK="$ac_prog"
   3041     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3042     break 2
   3043   fi
   3044 done
   3045   done
   3046 IFS=$as_save_IFS
   3047 
   3048 fi
   3049 fi
   3050 AWK=$ac_cv_prog_AWK
   3051 if test -n "$AWK"; then
   3052   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3053 printf "%s\n" "$AWK" >&6; }
   3054 else
   3055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3056 printf "%s\n" "no" >&6; }
   3057 fi
   3058 
   3059 
   3060   test -n "$AWK" && break
   3061 done
   3062 
   3063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3064 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3065 set x ${MAKE-make}
   3066 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3067 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3068 then :
   3069   printf %s "(cached) " >&6
   3070 else $as_nop
   3071   cat >conftest.make <<\_ACEOF
   3072 SHELL = /bin/sh
   3073 all:
   3074 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3075 _ACEOF
   3076 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3077 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3078   *@@@%%%=?*=@@@%%%*)
   3079     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3080   *)
   3081     eval ac_cv_prog_make_${ac_make}_set=no;;
   3082 esac
   3083 rm -f conftest.make
   3084 fi
   3085 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3087 printf "%s\n" "yes" >&6; }
   3088   SET_MAKE=
   3089 else
   3090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3091 printf "%s\n" "no" >&6; }
   3092   SET_MAKE="MAKE=${MAKE-make}"
   3093 fi
   3094 
   3095 rm -rf .tst 2>/dev/null
   3096 mkdir .tst 2>/dev/null
   3097 if test -d .tst; then
   3098   am__leading_dot=.
   3099 else
   3100   am__leading_dot=_
   3101 fi
   3102 rmdir .tst 2>/dev/null
   3103 
   3104 # Check whether --enable-silent-rules was given.
   3105 if test ${enable_silent_rules+y}
   3106 then :
   3107   enableval=$enable_silent_rules;
   3108 fi
   3109 
   3110 case $enable_silent_rules in # (((
   3111   yes) AM_DEFAULT_VERBOSITY=0;;
   3112    no) AM_DEFAULT_VERBOSITY=1;;
   3113     *) AM_DEFAULT_VERBOSITY=1;;
   3114 esac
   3115 am_make=${MAKE-make}
   3116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3117 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3118 if test ${am_cv_make_support_nested_variables+y}
   3119 then :
   3120   printf %s "(cached) " >&6
   3121 else $as_nop
   3122   if printf "%s\n" 'TRUE=$(BAR$(V))
   3123 BAR0=false
   3124 BAR1=true
   3125 V=1
   3126 am__doit:
   3127 	@$(TRUE)
   3128 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3129   am_cv_make_support_nested_variables=yes
   3130 else
   3131   am_cv_make_support_nested_variables=no
   3132 fi
   3133 fi
   3134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3135 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3136 if test $am_cv_make_support_nested_variables = yes; then
   3137     AM_V='$(V)'
   3138   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3139 else
   3140   AM_V=$AM_DEFAULT_VERBOSITY
   3141   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3142 fi
   3143 AM_BACKSLASH='\'
   3144 
   3145 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3146   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3147   # is not polluted with repeated "-I."
   3148   am__isrc=' -I$(srcdir)'
   3149   # test to see if srcdir already configured
   3150   if test -f $srcdir/config.status; then
   3151     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3152   fi
   3153 fi
   3154 
   3155 # test whether we have cygpath
   3156 if test -z "$CYGPATH_W"; then
   3157   if (cygpath --version) >/dev/null 2>/dev/null; then
   3158     CYGPATH_W='cygpath -w'
   3159   else
   3160     CYGPATH_W=echo
   3161   fi
   3162 fi
   3163 
   3164 
   3165 # Define the identity of the package.
   3166  PACKAGE='libXpm'
   3167  VERSION='3.5.16'
   3168 
   3169 
   3170 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3171 
   3172 
   3173 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3174 
   3175 # Some tools Automake needs.
   3176 
   3177 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3178 
   3179 
   3180 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3181 
   3182 
   3183 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3184 
   3185 
   3186 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3187 
   3188 
   3189 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3190 
   3191 # For better backward compatibility.  To be removed once Automake 1.9.x
   3192 # dies out for good.  For more background, see:
   3193 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3194 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3195 mkdir_p='$(MKDIR_P)'
   3196 
   3197 # We need awk for the "check" target (and possibly the TAP driver).  The
   3198 # system "awk" is bad on some platforms.
   3199 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3200 # in the wild :-(  We should find a proper way to deprecate it ...
   3201 AMTAR='$${TAR-tar}'
   3202 
   3203 
   3204 # We'll loop over all known methods to create a tar archive until one works.
   3205 _am_tools='gnutar  pax cpio none'
   3206 
   3207 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3208 
   3209 
   3210 
   3211 
   3212 
   3213 # Variables for tags utilities; see am/tags.am
   3214 if test -z "$CTAGS"; then
   3215   CTAGS=ctags
   3216 fi
   3217 
   3218 if test -z "$ETAGS"; then
   3219   ETAGS=etags
   3220 fi
   3221 
   3222 if test -z "$CSCOPE"; then
   3223   CSCOPE=cscope
   3224 fi
   3225 
   3226 
   3227 
   3228 # POSIX will say in a future version that running "rm -f" with no argument
   3229 # is OK; and we want to be able to make that assumption in our Makefile
   3230 # recipes.  So use an aggressive probe to check that the usage we want is
   3231 # actually supported "in the wild" to an acceptable degree.
   3232 # See automake bug#10828.
   3233 # To make any issue more visible, cause the running configure to be aborted
   3234 # by default if the 'rm' program in use doesn't match our expectations; the
   3235 # user can still override this though.
   3236 if rm -f && rm -fr && rm -rf; then : OK; else
   3237   cat >&2 <<'END'
   3238 Oops!
   3239 
   3240 Your 'rm' program seems unable to run without file operands specified
   3241 on the command line, even when the '-f' option is present.  This is contrary
   3242 to the behaviour of most rm programs out there, and not conforming with
   3243 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3244 
   3245 Please tell bug-automake@gnu.org about your system, including the value
   3246 of your $PATH and any error possibly output before this message.  This
   3247 can help us improve future automake versions.
   3248 
   3249 END
   3250   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3251     echo 'Configuration will proceed anyway, since you have set the' >&2
   3252     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3253     echo >&2
   3254   else
   3255     cat >&2 <<'END'
   3256 Aborting the configuration process, to ensure you take notice of the issue.
   3257 
   3258 You can download and install GNU coreutils to get an 'rm' implementation
   3259 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3260 
   3261 If you want to complete the configuration process using your problematic
   3262 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3263 to "yes", and re-run configure.
   3264 
   3265 END
   3266     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3267   fi
   3268 fi
   3269 
   3270 
   3271 # Initialize libtool
   3272 case `pwd` in
   3273   *\ * | *\	*)
   3274     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3275 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3276 esac
   3277 
   3278 
   3279 
   3280 macro_version='2.4.7'
   3281 macro_revision='2.4.7'
   3282 
   3283 
   3284 
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 ltmain=$ac_aux_dir/ltmain.sh
   3297 
   3298 
   3299 
   3300   # Make sure we can run config.sub.
   3301 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3302   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3303 
   3304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3305 printf %s "checking build system type... " >&6; }
   3306 if test ${ac_cv_build+y}
   3307 then :
   3308   printf %s "(cached) " >&6
   3309 else $as_nop
   3310   ac_build_alias=$build_alias
   3311 test "x$ac_build_alias" = x &&
   3312   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3313 test "x$ac_build_alias" = x &&
   3314   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3315 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3316   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3317 
   3318 fi
   3319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3320 printf "%s\n" "$ac_cv_build" >&6; }
   3321 case $ac_cv_build in
   3322 *-*-*) ;;
   3323 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3324 esac
   3325 build=$ac_cv_build
   3326 ac_save_IFS=$IFS; IFS='-'
   3327 set x $ac_cv_build
   3328 shift
   3329 build_cpu=$1
   3330 build_vendor=$2
   3331 shift; shift
   3332 # Remember, the first character of IFS is used to create $*,
   3333 # except with old shells:
   3334 build_os=$*
   3335 IFS=$ac_save_IFS
   3336 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3337 
   3338 
   3339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3340 printf %s "checking host system type... " >&6; }
   3341 if test ${ac_cv_host+y}
   3342 then :
   3343   printf %s "(cached) " >&6
   3344 else $as_nop
   3345   if test "x$host_alias" = x; then
   3346   ac_cv_host=$ac_cv_build
   3347 else
   3348   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3349     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3350 fi
   3351 
   3352 fi
   3353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3354 printf "%s\n" "$ac_cv_host" >&6; }
   3355 case $ac_cv_host in
   3356 *-*-*) ;;
   3357 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3358 esac
   3359 host=$ac_cv_host
   3360 ac_save_IFS=$IFS; IFS='-'
   3361 set x $ac_cv_host
   3362 shift
   3363 host_cpu=$1
   3364 host_vendor=$2
   3365 shift; shift
   3366 # Remember, the first character of IFS is used to create $*,
   3367 # except with old shells:
   3368 host_os=$*
   3369 IFS=$ac_save_IFS
   3370 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3371 
   3372 
   3373 # Backslashify metacharacters that are still active within
   3374 # double-quoted strings.
   3375 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3376 
   3377 # Same as above, but do not quote variable references.
   3378 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3379 
   3380 # Sed substitution to delay expansion of an escaped shell variable in a
   3381 # double_quote_subst'ed string.
   3382 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3383 
   3384 # Sed substitution to delay expansion of an escaped single quote.
   3385 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3386 
   3387 # Sed substitution to avoid accidental globbing in evaled expressions
   3388 no_glob_subst='s/\*/\\\*/g'
   3389 
   3390 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3391 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3392 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3393 
   3394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3395 printf %s "checking how to print strings... " >&6; }
   3396 # Test print first, because it will be a builtin if present.
   3397 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3398    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3399   ECHO='print -r --'
   3400 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3401   ECHO='printf %s\n'
   3402 else
   3403   # Use this function as a fallback that always works.
   3404   func_fallback_echo ()
   3405   {
   3406     eval 'cat <<_LTECHO_EOF
   3407 $1
   3408 _LTECHO_EOF'
   3409   }
   3410   ECHO='func_fallback_echo'
   3411 fi
   3412 
   3413 # func_echo_all arg...
   3414 # Invoke $ECHO with all args, space-separated.
   3415 func_echo_all ()
   3416 {
   3417     $ECHO ""
   3418 }
   3419 
   3420 case $ECHO in
   3421   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3422 printf "%s\n" "printf" >&6; } ;;
   3423   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3424 printf "%s\n" "print -r" >&6; } ;;
   3425   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3426 printf "%s\n" "cat" >&6; } ;;
   3427 esac
   3428 
   3429 
   3430 
   3431 
   3432 
   3433 
   3434 
   3435 
   3436 
   3437 
   3438 
   3439 
   3440 
   3441 
   3442 
   3443 
   3444 
   3445 
   3446 
   3447 
   3448 
   3449 
   3450 
   3451 DEPDIR="${am__leading_dot}deps"
   3452 
   3453 ac_config_commands="$ac_config_commands depfiles"
   3454 
   3455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3456 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3457 cat > confinc.mk << 'END'
   3458 am__doit:
   3459 	@echo this is the am__doit target >confinc.out
   3460 .PHONY: am__doit
   3461 END
   3462 am__include="#"
   3463 am__quote=
   3464 # BSD make does it like this.
   3465 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3466 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3467 echo 'include confinc.mk # ignored' > confmf.GNU
   3468 _am_result=no
   3469 for s in GNU BSD; do
   3470   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3471    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3472    ac_status=$?
   3473    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3474    (exit $ac_status); }
   3475   case $?:`cat confinc.out 2>/dev/null` in #(
   3476   '0:this is the am__doit target') :
   3477     case $s in #(
   3478   BSD) :
   3479     am__include='.include' am__quote='"' ;; #(
   3480   *) :
   3481     am__include='include' am__quote='' ;;
   3482 esac ;; #(
   3483   *) :
   3484      ;;
   3485 esac
   3486   if test "$am__include" != "#"; then
   3487     _am_result="yes ($s style)"
   3488     break
   3489   fi
   3490 done
   3491 rm -f confinc.* confmf.*
   3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3493 printf "%s\n" "${_am_result}" >&6; }
   3494 
   3495 # Check whether --enable-dependency-tracking was given.
   3496 if test ${enable_dependency_tracking+y}
   3497 then :
   3498   enableval=$enable_dependency_tracking;
   3499 fi
   3500 
   3501 if test "x$enable_dependency_tracking" != xno; then
   3502   am_depcomp="$ac_aux_dir/depcomp"
   3503   AMDEPBACKSLASH='\'
   3504   am__nodep='_no'
   3505 fi
   3506  if test "x$enable_dependency_tracking" != xno; then
   3507   AMDEP_TRUE=
   3508   AMDEP_FALSE='#'
   3509 else
   3510   AMDEP_TRUE='#'
   3511   AMDEP_FALSE=
   3512 fi
   3513 
   3514 
   3515 ac_ext=c
   3516 ac_cpp='$CPP $CPPFLAGS'
   3517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3520 if test -n "$ac_tool_prefix"; then
   3521   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3522 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3524 printf %s "checking for $ac_word... " >&6; }
   3525 if test ${ac_cv_prog_CC+y}
   3526 then :
   3527   printf %s "(cached) " >&6
   3528 else $as_nop
   3529   if test -n "$CC"; then
   3530   ac_cv_prog_CC="$CC" # Let the user override the test.
   3531 else
   3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3533 for as_dir in $PATH
   3534 do
   3535   IFS=$as_save_IFS
   3536   case $as_dir in #(((
   3537     '') as_dir=./ ;;
   3538     */) ;;
   3539     *) as_dir=$as_dir/ ;;
   3540   esac
   3541     for ac_exec_ext in '' $ac_executable_extensions; do
   3542   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3543     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3544     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3545     break 2
   3546   fi
   3547 done
   3548   done
   3549 IFS=$as_save_IFS
   3550 
   3551 fi
   3552 fi
   3553 CC=$ac_cv_prog_CC
   3554 if test -n "$CC"; then
   3555   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3556 printf "%s\n" "$CC" >&6; }
   3557 else
   3558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3559 printf "%s\n" "no" >&6; }
   3560 fi
   3561 
   3562 
   3563 fi
   3564 if test -z "$ac_cv_prog_CC"; then
   3565   ac_ct_CC=$CC
   3566   # Extract the first word of "gcc", so it can be a program name with args.
   3567 set dummy gcc; ac_word=$2
   3568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3569 printf %s "checking for $ac_word... " >&6; }
   3570 if test ${ac_cv_prog_ac_ct_CC+y}
   3571 then :
   3572   printf %s "(cached) " >&6
   3573 else $as_nop
   3574   if test -n "$ac_ct_CC"; then
   3575   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3576 else
   3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3578 for as_dir in $PATH
   3579 do
   3580   IFS=$as_save_IFS
   3581   case $as_dir in #(((
   3582     '') as_dir=./ ;;
   3583     */) ;;
   3584     *) as_dir=$as_dir/ ;;
   3585   esac
   3586     for ac_exec_ext in '' $ac_executable_extensions; do
   3587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3588     ac_cv_prog_ac_ct_CC="gcc"
   3589     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3590     break 2
   3591   fi
   3592 done
   3593   done
   3594 IFS=$as_save_IFS
   3595 
   3596 fi
   3597 fi
   3598 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3599 if test -n "$ac_ct_CC"; then
   3600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3601 printf "%s\n" "$ac_ct_CC" >&6; }
   3602 else
   3603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3604 printf "%s\n" "no" >&6; }
   3605 fi
   3606 
   3607   if test "x$ac_ct_CC" = x; then
   3608     CC=""
   3609   else
   3610     case $cross_compiling:$ac_tool_warned in
   3611 yes:)
   3612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3613 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3614 ac_tool_warned=yes ;;
   3615 esac
   3616     CC=$ac_ct_CC
   3617   fi
   3618 else
   3619   CC="$ac_cv_prog_CC"
   3620 fi
   3621 
   3622 if test -z "$CC"; then
   3623           if test -n "$ac_tool_prefix"; then
   3624     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3625 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3627 printf %s "checking for $ac_word... " >&6; }
   3628 if test ${ac_cv_prog_CC+y}
   3629 then :
   3630   printf %s "(cached) " >&6
   3631 else $as_nop
   3632   if test -n "$CC"; then
   3633   ac_cv_prog_CC="$CC" # Let the user override the test.
   3634 else
   3635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3636 for as_dir in $PATH
   3637 do
   3638   IFS=$as_save_IFS
   3639   case $as_dir in #(((
   3640     '') as_dir=./ ;;
   3641     */) ;;
   3642     *) as_dir=$as_dir/ ;;
   3643   esac
   3644     for ac_exec_ext in '' $ac_executable_extensions; do
   3645   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3646     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3648     break 2
   3649   fi
   3650 done
   3651   done
   3652 IFS=$as_save_IFS
   3653 
   3654 fi
   3655 fi
   3656 CC=$ac_cv_prog_CC
   3657 if test -n "$CC"; then
   3658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3659 printf "%s\n" "$CC" >&6; }
   3660 else
   3661   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3662 printf "%s\n" "no" >&6; }
   3663 fi
   3664 
   3665 
   3666   fi
   3667 fi
   3668 if test -z "$CC"; then
   3669   # Extract the first word of "cc", so it can be a program name with args.
   3670 set dummy cc; ac_word=$2
   3671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3672 printf %s "checking for $ac_word... " >&6; }
   3673 if test ${ac_cv_prog_CC+y}
   3674 then :
   3675   printf %s "(cached) " >&6
   3676 else $as_nop
   3677   if test -n "$CC"; then
   3678   ac_cv_prog_CC="$CC" # Let the user override the test.
   3679 else
   3680   ac_prog_rejected=no
   3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3682 for as_dir in $PATH
   3683 do
   3684   IFS=$as_save_IFS
   3685   case $as_dir in #(((
   3686     '') as_dir=./ ;;
   3687     */) ;;
   3688     *) as_dir=$as_dir/ ;;
   3689   esac
   3690     for ac_exec_ext in '' $ac_executable_extensions; do
   3691   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3692     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3693        ac_prog_rejected=yes
   3694        continue
   3695      fi
   3696     ac_cv_prog_CC="cc"
   3697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3698     break 2
   3699   fi
   3700 done
   3701   done
   3702 IFS=$as_save_IFS
   3703 
   3704 if test $ac_prog_rejected = yes; then
   3705   # We found a bogon in the path, so make sure we never use it.
   3706   set dummy $ac_cv_prog_CC
   3707   shift
   3708   if test $# != 0; then
   3709     # We chose a different compiler from the bogus one.
   3710     # However, it has the same basename, so the bogon will be chosen
   3711     # first if we set CC to just the basename; use the full file name.
   3712     shift
   3713     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3714   fi
   3715 fi
   3716 fi
   3717 fi
   3718 CC=$ac_cv_prog_CC
   3719 if test -n "$CC"; then
   3720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3721 printf "%s\n" "$CC" >&6; }
   3722 else
   3723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3724 printf "%s\n" "no" >&6; }
   3725 fi
   3726 
   3727 
   3728 fi
   3729 if test -z "$CC"; then
   3730   if test -n "$ac_tool_prefix"; then
   3731   for ac_prog in cl.exe
   3732   do
   3733     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3736 printf %s "checking for $ac_word... " >&6; }
   3737 if test ${ac_cv_prog_CC+y}
   3738 then :
   3739   printf %s "(cached) " >&6
   3740 else $as_nop
   3741   if test -n "$CC"; then
   3742   ac_cv_prog_CC="$CC" # Let the user override the test.
   3743 else
   3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3745 for as_dir in $PATH
   3746 do
   3747   IFS=$as_save_IFS
   3748   case $as_dir in #(((
   3749     '') as_dir=./ ;;
   3750     */) ;;
   3751     *) as_dir=$as_dir/ ;;
   3752   esac
   3753     for ac_exec_ext in '' $ac_executable_extensions; do
   3754   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3755     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3756     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3757     break 2
   3758   fi
   3759 done
   3760   done
   3761 IFS=$as_save_IFS
   3762 
   3763 fi
   3764 fi
   3765 CC=$ac_cv_prog_CC
   3766 if test -n "$CC"; then
   3767   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3768 printf "%s\n" "$CC" >&6; }
   3769 else
   3770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3771 printf "%s\n" "no" >&6; }
   3772 fi
   3773 
   3774 
   3775     test -n "$CC" && break
   3776   done
   3777 fi
   3778 if test -z "$CC"; then
   3779   ac_ct_CC=$CC
   3780   for ac_prog in cl.exe
   3781 do
   3782   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3783 set dummy $ac_prog; ac_word=$2
   3784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3785 printf %s "checking for $ac_word... " >&6; }
   3786 if test ${ac_cv_prog_ac_ct_CC+y}
   3787 then :
   3788   printf %s "(cached) " >&6
   3789 else $as_nop
   3790   if test -n "$ac_ct_CC"; then
   3791   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3792 else
   3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3794 for as_dir in $PATH
   3795 do
   3796   IFS=$as_save_IFS
   3797   case $as_dir in #(((
   3798     '') as_dir=./ ;;
   3799     */) ;;
   3800     *) as_dir=$as_dir/ ;;
   3801   esac
   3802     for ac_exec_ext in '' $ac_executable_extensions; do
   3803   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3804     ac_cv_prog_ac_ct_CC="$ac_prog"
   3805     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3806     break 2
   3807   fi
   3808 done
   3809   done
   3810 IFS=$as_save_IFS
   3811 
   3812 fi
   3813 fi
   3814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3815 if test -n "$ac_ct_CC"; then
   3816   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3817 printf "%s\n" "$ac_ct_CC" >&6; }
   3818 else
   3819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3820 printf "%s\n" "no" >&6; }
   3821 fi
   3822 
   3823 
   3824   test -n "$ac_ct_CC" && break
   3825 done
   3826 
   3827   if test "x$ac_ct_CC" = x; then
   3828     CC=""
   3829   else
   3830     case $cross_compiling:$ac_tool_warned in
   3831 yes:)
   3832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3833 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3834 ac_tool_warned=yes ;;
   3835 esac
   3836     CC=$ac_ct_CC
   3837   fi
   3838 fi
   3839 
   3840 fi
   3841 if test -z "$CC"; then
   3842   if test -n "$ac_tool_prefix"; then
   3843   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3844 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3846 printf %s "checking for $ac_word... " >&6; }
   3847 if test ${ac_cv_prog_CC+y}
   3848 then :
   3849   printf %s "(cached) " >&6
   3850 else $as_nop
   3851   if test -n "$CC"; then
   3852   ac_cv_prog_CC="$CC" # Let the user override the test.
   3853 else
   3854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3855 for as_dir in $PATH
   3856 do
   3857   IFS=$as_save_IFS
   3858   case $as_dir in #(((
   3859     '') as_dir=./ ;;
   3860     */) ;;
   3861     *) as_dir=$as_dir/ ;;
   3862   esac
   3863     for ac_exec_ext in '' $ac_executable_extensions; do
   3864   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3865     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3866     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3867     break 2
   3868   fi
   3869 done
   3870   done
   3871 IFS=$as_save_IFS
   3872 
   3873 fi
   3874 fi
   3875 CC=$ac_cv_prog_CC
   3876 if test -n "$CC"; then
   3877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3878 printf "%s\n" "$CC" >&6; }
   3879 else
   3880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3881 printf "%s\n" "no" >&6; }
   3882 fi
   3883 
   3884 
   3885 fi
   3886 if test -z "$ac_cv_prog_CC"; then
   3887   ac_ct_CC=$CC
   3888   # Extract the first word of "clang", so it can be a program name with args.
   3889 set dummy clang; ac_word=$2
   3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3891 printf %s "checking for $ac_word... " >&6; }
   3892 if test ${ac_cv_prog_ac_ct_CC+y}
   3893 then :
   3894   printf %s "(cached) " >&6
   3895 else $as_nop
   3896   if test -n "$ac_ct_CC"; then
   3897   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3898 else
   3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3900 for as_dir in $PATH
   3901 do
   3902   IFS=$as_save_IFS
   3903   case $as_dir in #(((
   3904     '') as_dir=./ ;;
   3905     */) ;;
   3906     *) as_dir=$as_dir/ ;;
   3907   esac
   3908     for ac_exec_ext in '' $ac_executable_extensions; do
   3909   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3910     ac_cv_prog_ac_ct_CC="clang"
   3911     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3912     break 2
   3913   fi
   3914 done
   3915   done
   3916 IFS=$as_save_IFS
   3917 
   3918 fi
   3919 fi
   3920 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3921 if test -n "$ac_ct_CC"; then
   3922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3923 printf "%s\n" "$ac_ct_CC" >&6; }
   3924 else
   3925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3926 printf "%s\n" "no" >&6; }
   3927 fi
   3928 
   3929   if test "x$ac_ct_CC" = x; then
   3930     CC=""
   3931   else
   3932     case $cross_compiling:$ac_tool_warned in
   3933 yes:)
   3934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3935 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3936 ac_tool_warned=yes ;;
   3937 esac
   3938     CC=$ac_ct_CC
   3939   fi
   3940 else
   3941   CC="$ac_cv_prog_CC"
   3942 fi
   3943 
   3944 fi
   3945 
   3946 
   3947 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3948 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3949 as_fn_error $? "no acceptable C compiler found in \$PATH
   3950 See \`config.log' for more details" "$LINENO" 5; }
   3951 
   3952 # Provide some information about the compiler.
   3953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3954 set X $ac_compile
   3955 ac_compiler=$2
   3956 for ac_option in --version -v -V -qversion -version; do
   3957   { { ac_try="$ac_compiler $ac_option >&5"
   3958 case "(($ac_try" in
   3959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3960   *) ac_try_echo=$ac_try;;
   3961 esac
   3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3963 printf "%s\n" "$ac_try_echo"; } >&5
   3964   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3965   ac_status=$?
   3966   if test -s conftest.err; then
   3967     sed '10a\
   3968 ... rest of stderr output deleted ...
   3969          10q' conftest.err >conftest.er1
   3970     cat conftest.er1 >&5
   3971   fi
   3972   rm -f conftest.er1 conftest.err
   3973   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3974   test $ac_status = 0; }
   3975 done
   3976 
   3977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3978 /* end confdefs.h.  */
   3979 
   3980 int
   3981 main (void)
   3982 {
   3983 
   3984   ;
   3985   return 0;
   3986 }
   3987 _ACEOF
   3988 ac_clean_files_save=$ac_clean_files
   3989 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3990 # Try to create an executable without -o first, disregard a.out.
   3991 # It will help us diagnose broken compilers, and finding out an intuition
   3992 # of exeext.
   3993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3994 printf %s "checking whether the C compiler works... " >&6; }
   3995 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3996 
   3997 # The possible output files:
   3998 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3999 
   4000 ac_rmfiles=
   4001 for ac_file in $ac_files
   4002 do
   4003   case $ac_file in
   4004     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4005     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4006   esac
   4007 done
   4008 rm -f $ac_rmfiles
   4009 
   4010 if { { ac_try="$ac_link_default"
   4011 case "(($ac_try" in
   4012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4013   *) ac_try_echo=$ac_try;;
   4014 esac
   4015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4016 printf "%s\n" "$ac_try_echo"; } >&5
   4017   (eval "$ac_link_default") 2>&5
   4018   ac_status=$?
   4019   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4020   test $ac_status = 0; }
   4021 then :
   4022   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4023 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4024 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4025 # so that the user can short-circuit this test for compilers unknown to
   4026 # Autoconf.
   4027 for ac_file in $ac_files ''
   4028 do
   4029   test -f "$ac_file" || continue
   4030   case $ac_file in
   4031     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4032 	;;
   4033     [ab].out )
   4034 	# We found the default executable, but exeext='' is most
   4035 	# certainly right.
   4036 	break;;
   4037     *.* )
   4038 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4039 	then :; else
   4040 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4041 	fi
   4042 	# We set ac_cv_exeext here because the later test for it is not
   4043 	# safe: cross compilers may not add the suffix if given an `-o'
   4044 	# argument, so we may need to know it at that point already.
   4045 	# Even if this section looks crufty: it has the advantage of
   4046 	# actually working.
   4047 	break;;
   4048     * )
   4049 	break;;
   4050   esac
   4051 done
   4052 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4053 
   4054 else $as_nop
   4055   ac_file=''
   4056 fi
   4057 if test -z "$ac_file"
   4058 then :
   4059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4060 printf "%s\n" "no" >&6; }
   4061 printf "%s\n" "$as_me: failed program was:" >&5
   4062 sed 's/^/| /' conftest.$ac_ext >&5
   4063 
   4064 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4065 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4066 as_fn_error 77 "C compiler cannot create executables
   4067 See \`config.log' for more details" "$LINENO" 5; }
   4068 else $as_nop
   4069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4070 printf "%s\n" "yes" >&6; }
   4071 fi
   4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4073 printf %s "checking for C compiler default output file name... " >&6; }
   4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4075 printf "%s\n" "$ac_file" >&6; }
   4076 ac_exeext=$ac_cv_exeext
   4077 
   4078 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4079 ac_clean_files=$ac_clean_files_save
   4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4081 printf %s "checking for suffix of executables... " >&6; }
   4082 if { { ac_try="$ac_link"
   4083 case "(($ac_try" in
   4084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4085   *) ac_try_echo=$ac_try;;
   4086 esac
   4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4088 printf "%s\n" "$ac_try_echo"; } >&5
   4089   (eval "$ac_link") 2>&5
   4090   ac_status=$?
   4091   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4092   test $ac_status = 0; }
   4093 then :
   4094   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4095 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4096 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4097 # `rm'.
   4098 for ac_file in conftest.exe conftest conftest.*; do
   4099   test -f "$ac_file" || continue
   4100   case $ac_file in
   4101     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4102     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4103 	  break;;
   4104     * ) break;;
   4105   esac
   4106 done
   4107 else $as_nop
   4108   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4109 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4110 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4111 See \`config.log' for more details" "$LINENO" 5; }
   4112 fi
   4113 rm -f conftest conftest$ac_cv_exeext
   4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4115 printf "%s\n" "$ac_cv_exeext" >&6; }
   4116 
   4117 rm -f conftest.$ac_ext
   4118 EXEEXT=$ac_cv_exeext
   4119 ac_exeext=$EXEEXT
   4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4121 /* end confdefs.h.  */
   4122 #include <stdio.h>
   4123 int
   4124 main (void)
   4125 {
   4126 FILE *f = fopen ("conftest.out", "w");
   4127  return ferror (f) || fclose (f) != 0;
   4128 
   4129   ;
   4130   return 0;
   4131 }
   4132 _ACEOF
   4133 ac_clean_files="$ac_clean_files conftest.out"
   4134 # Check that the compiler produces executables we can run.  If not, either
   4135 # the compiler is broken, or we cross compile.
   4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4137 printf %s "checking whether we are cross compiling... " >&6; }
   4138 if test "$cross_compiling" != yes; then
   4139   { { ac_try="$ac_link"
   4140 case "(($ac_try" in
   4141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4142   *) ac_try_echo=$ac_try;;
   4143 esac
   4144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4145 printf "%s\n" "$ac_try_echo"; } >&5
   4146   (eval "$ac_link") 2>&5
   4147   ac_status=$?
   4148   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4149   test $ac_status = 0; }
   4150   if { ac_try='./conftest$ac_cv_exeext'
   4151   { { case "(($ac_try" in
   4152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4153   *) ac_try_echo=$ac_try;;
   4154 esac
   4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4156 printf "%s\n" "$ac_try_echo"; } >&5
   4157   (eval "$ac_try") 2>&5
   4158   ac_status=$?
   4159   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4160   test $ac_status = 0; }; }; then
   4161     cross_compiling=no
   4162   else
   4163     if test "$cross_compiling" = maybe; then
   4164 	cross_compiling=yes
   4165     else
   4166 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4167 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4168 as_fn_error 77 "cannot run C compiled programs.
   4169 If you meant to cross compile, use \`--host'.
   4170 See \`config.log' for more details" "$LINENO" 5; }
   4171     fi
   4172   fi
   4173 fi
   4174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4175 printf "%s\n" "$cross_compiling" >&6; }
   4176 
   4177 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4178 ac_clean_files=$ac_clean_files_save
   4179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4180 printf %s "checking for suffix of object files... " >&6; }
   4181 if test ${ac_cv_objext+y}
   4182 then :
   4183   printf %s "(cached) " >&6
   4184 else $as_nop
   4185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4186 /* end confdefs.h.  */
   4187 
   4188 int
   4189 main (void)
   4190 {
   4191 
   4192   ;
   4193   return 0;
   4194 }
   4195 _ACEOF
   4196 rm -f conftest.o conftest.obj
   4197 if { { ac_try="$ac_compile"
   4198 case "(($ac_try" in
   4199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4200   *) ac_try_echo=$ac_try;;
   4201 esac
   4202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4203 printf "%s\n" "$ac_try_echo"; } >&5
   4204   (eval "$ac_compile") 2>&5
   4205   ac_status=$?
   4206   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4207   test $ac_status = 0; }
   4208 then :
   4209   for ac_file in conftest.o conftest.obj conftest.*; do
   4210   test -f "$ac_file" || continue;
   4211   case $ac_file in
   4212     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4213     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4214        break;;
   4215   esac
   4216 done
   4217 else $as_nop
   4218   printf "%s\n" "$as_me: failed program was:" >&5
   4219 sed 's/^/| /' conftest.$ac_ext >&5
   4220 
   4221 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4222 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4223 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4224 See \`config.log' for more details" "$LINENO" 5; }
   4225 fi
   4226 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4227 fi
   4228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4229 printf "%s\n" "$ac_cv_objext" >&6; }
   4230 OBJEXT=$ac_cv_objext
   4231 ac_objext=$OBJEXT
   4232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4233 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4234 if test ${ac_cv_c_compiler_gnu+y}
   4235 then :
   4236   printf %s "(cached) " >&6
   4237 else $as_nop
   4238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4239 /* end confdefs.h.  */
   4240 
   4241 int
   4242 main (void)
   4243 {
   4244 #ifndef __GNUC__
   4245        choke me
   4246 #endif
   4247 
   4248   ;
   4249   return 0;
   4250 }
   4251 _ACEOF
   4252 if ac_fn_c_try_compile "$LINENO"
   4253 then :
   4254   ac_compiler_gnu=yes
   4255 else $as_nop
   4256   ac_compiler_gnu=no
   4257 fi
   4258 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4259 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4260 
   4261 fi
   4262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4263 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4265 
   4266 if test $ac_compiler_gnu = yes; then
   4267   GCC=yes
   4268 else
   4269   GCC=
   4270 fi
   4271 ac_test_CFLAGS=${CFLAGS+y}
   4272 ac_save_CFLAGS=$CFLAGS
   4273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4274 printf %s "checking whether $CC accepts -g... " >&6; }
   4275 if test ${ac_cv_prog_cc_g+y}
   4276 then :
   4277   printf %s "(cached) " >&6
   4278 else $as_nop
   4279   ac_save_c_werror_flag=$ac_c_werror_flag
   4280    ac_c_werror_flag=yes
   4281    ac_cv_prog_cc_g=no
   4282    CFLAGS="-g"
   4283    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4284 /* end confdefs.h.  */
   4285 
   4286 int
   4287 main (void)
   4288 {
   4289 
   4290   ;
   4291   return 0;
   4292 }
   4293 _ACEOF
   4294 if ac_fn_c_try_compile "$LINENO"
   4295 then :
   4296   ac_cv_prog_cc_g=yes
   4297 else $as_nop
   4298   CFLAGS=""
   4299       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4300 /* end confdefs.h.  */
   4301 
   4302 int
   4303 main (void)
   4304 {
   4305 
   4306   ;
   4307   return 0;
   4308 }
   4309 _ACEOF
   4310 if ac_fn_c_try_compile "$LINENO"
   4311 then :
   4312 
   4313 else $as_nop
   4314   ac_c_werror_flag=$ac_save_c_werror_flag
   4315 	 CFLAGS="-g"
   4316 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4317 /* end confdefs.h.  */
   4318 
   4319 int
   4320 main (void)
   4321 {
   4322 
   4323   ;
   4324   return 0;
   4325 }
   4326 _ACEOF
   4327 if ac_fn_c_try_compile "$LINENO"
   4328 then :
   4329   ac_cv_prog_cc_g=yes
   4330 fi
   4331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4332 fi
   4333 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4334 fi
   4335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4336    ac_c_werror_flag=$ac_save_c_werror_flag
   4337 fi
   4338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4339 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4340 if test $ac_test_CFLAGS; then
   4341   CFLAGS=$ac_save_CFLAGS
   4342 elif test $ac_cv_prog_cc_g = yes; then
   4343   if test "$GCC" = yes; then
   4344     CFLAGS="-g -O2"
   4345   else
   4346     CFLAGS="-g"
   4347   fi
   4348 else
   4349   if test "$GCC" = yes; then
   4350     CFLAGS="-O2"
   4351   else
   4352     CFLAGS=
   4353   fi
   4354 fi
   4355 ac_prog_cc_stdc=no
   4356 if test x$ac_prog_cc_stdc = xno
   4357 then :
   4358   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4359 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4360 if test ${ac_cv_prog_cc_c11+y}
   4361 then :
   4362   printf %s "(cached) " >&6
   4363 else $as_nop
   4364   ac_cv_prog_cc_c11=no
   4365 ac_save_CC=$CC
   4366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4367 /* end confdefs.h.  */
   4368 $ac_c_conftest_c11_program
   4369 _ACEOF
   4370 for ac_arg in '' -std=gnu11
   4371 do
   4372   CC="$ac_save_CC $ac_arg"
   4373   if ac_fn_c_try_compile "$LINENO"
   4374 then :
   4375   ac_cv_prog_cc_c11=$ac_arg
   4376 fi
   4377 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4378   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4379 done
   4380 rm -f conftest.$ac_ext
   4381 CC=$ac_save_CC
   4382 fi
   4383 
   4384 if test "x$ac_cv_prog_cc_c11" = xno
   4385 then :
   4386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4387 printf "%s\n" "unsupported" >&6; }
   4388 else $as_nop
   4389   if test "x$ac_cv_prog_cc_c11" = x
   4390 then :
   4391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4392 printf "%s\n" "none needed" >&6; }
   4393 else $as_nop
   4394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4395 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4396      CC="$CC $ac_cv_prog_cc_c11"
   4397 fi
   4398   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4399   ac_prog_cc_stdc=c11
   4400 fi
   4401 fi
   4402 if test x$ac_prog_cc_stdc = xno
   4403 then :
   4404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4405 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4406 if test ${ac_cv_prog_cc_c99+y}
   4407 then :
   4408   printf %s "(cached) " >&6
   4409 else $as_nop
   4410   ac_cv_prog_cc_c99=no
   4411 ac_save_CC=$CC
   4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4413 /* end confdefs.h.  */
   4414 $ac_c_conftest_c99_program
   4415 _ACEOF
   4416 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4417 do
   4418   CC="$ac_save_CC $ac_arg"
   4419   if ac_fn_c_try_compile "$LINENO"
   4420 then :
   4421   ac_cv_prog_cc_c99=$ac_arg
   4422 fi
   4423 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4424   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4425 done
   4426 rm -f conftest.$ac_ext
   4427 CC=$ac_save_CC
   4428 fi
   4429 
   4430 if test "x$ac_cv_prog_cc_c99" = xno
   4431 then :
   4432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4433 printf "%s\n" "unsupported" >&6; }
   4434 else $as_nop
   4435   if test "x$ac_cv_prog_cc_c99" = x
   4436 then :
   4437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4438 printf "%s\n" "none needed" >&6; }
   4439 else $as_nop
   4440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4441 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4442      CC="$CC $ac_cv_prog_cc_c99"
   4443 fi
   4444   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4445   ac_prog_cc_stdc=c99
   4446 fi
   4447 fi
   4448 if test x$ac_prog_cc_stdc = xno
   4449 then :
   4450   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4451 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4452 if test ${ac_cv_prog_cc_c89+y}
   4453 then :
   4454   printf %s "(cached) " >&6
   4455 else $as_nop
   4456   ac_cv_prog_cc_c89=no
   4457 ac_save_CC=$CC
   4458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4459 /* end confdefs.h.  */
   4460 $ac_c_conftest_c89_program
   4461 _ACEOF
   4462 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4463 do
   4464   CC="$ac_save_CC $ac_arg"
   4465   if ac_fn_c_try_compile "$LINENO"
   4466 then :
   4467   ac_cv_prog_cc_c89=$ac_arg
   4468 fi
   4469 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4470   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4471 done
   4472 rm -f conftest.$ac_ext
   4473 CC=$ac_save_CC
   4474 fi
   4475 
   4476 if test "x$ac_cv_prog_cc_c89" = xno
   4477 then :
   4478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4479 printf "%s\n" "unsupported" >&6; }
   4480 else $as_nop
   4481   if test "x$ac_cv_prog_cc_c89" = x
   4482 then :
   4483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4484 printf "%s\n" "none needed" >&6; }
   4485 else $as_nop
   4486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4487 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4488      CC="$CC $ac_cv_prog_cc_c89"
   4489 fi
   4490   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4491   ac_prog_cc_stdc=c89
   4492 fi
   4493 fi
   4494 
   4495 ac_ext=c
   4496 ac_cpp='$CPP $CPPFLAGS'
   4497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4500 
   4501 
   4502   ac_ext=c
   4503 ac_cpp='$CPP $CPPFLAGS'
   4504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4508 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4509 if test ${am_cv_prog_cc_c_o+y}
   4510 then :
   4511   printf %s "(cached) " >&6
   4512 else $as_nop
   4513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4514 /* end confdefs.h.  */
   4515 
   4516 int
   4517 main (void)
   4518 {
   4519 
   4520   ;
   4521   return 0;
   4522 }
   4523 _ACEOF
   4524   # Make sure it works both with $CC and with simple cc.
   4525   # Following AC_PROG_CC_C_O, we do the test twice because some
   4526   # compilers refuse to overwrite an existing .o file with -o,
   4527   # though they will create one.
   4528   am_cv_prog_cc_c_o=yes
   4529   for am_i in 1 2; do
   4530     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4531    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4532    ac_status=$?
   4533    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4534    (exit $ac_status); } \
   4535          && test -f conftest2.$ac_objext; then
   4536       : OK
   4537     else
   4538       am_cv_prog_cc_c_o=no
   4539       break
   4540     fi
   4541   done
   4542   rm -f core conftest*
   4543   unset am_i
   4544 fi
   4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4546 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4547 if test "$am_cv_prog_cc_c_o" != yes; then
   4548    # Losing compiler, so override with the script.
   4549    # FIXME: It is wrong to rewrite CC.
   4550    # But if we don't then we get into trouble of one sort or another.
   4551    # A longer-term fix would be to have automake use am__CC in this case,
   4552    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4553    CC="$am_aux_dir/compile $CC"
   4554 fi
   4555 ac_ext=c
   4556 ac_cpp='$CPP $CPPFLAGS'
   4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4560 
   4561 
   4562 depcc="$CC"   am_compiler_list=
   4563 
   4564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4565 printf %s "checking dependency style of $depcc... " >&6; }
   4566 if test ${am_cv_CC_dependencies_compiler_type+y}
   4567 then :
   4568   printf %s "(cached) " >&6
   4569 else $as_nop
   4570   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4571   # We make a subdir and do the tests there.  Otherwise we can end up
   4572   # making bogus files that we don't know about and never remove.  For
   4573   # instance it was reported that on HP-UX the gcc test will end up
   4574   # making a dummy file named 'D' -- because '-MD' means "put the output
   4575   # in D".
   4576   rm -rf conftest.dir
   4577   mkdir conftest.dir
   4578   # Copy depcomp to subdir because otherwise we won't find it if we're
   4579   # using a relative directory.
   4580   cp "$am_depcomp" conftest.dir
   4581   cd conftest.dir
   4582   # We will build objects and dependencies in a subdirectory because
   4583   # it helps to detect inapplicable dependency modes.  For instance
   4584   # both Tru64's cc and ICC support -MD to output dependencies as a
   4585   # side effect of compilation, but ICC will put the dependencies in
   4586   # the current directory while Tru64 will put them in the object
   4587   # directory.
   4588   mkdir sub
   4589 
   4590   am_cv_CC_dependencies_compiler_type=none
   4591   if test "$am_compiler_list" = ""; then
   4592      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4593   fi
   4594   am__universal=false
   4595   case " $depcc " in #(
   4596      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4597      esac
   4598 
   4599   for depmode in $am_compiler_list; do
   4600     # Setup a source with many dependencies, because some compilers
   4601     # like to wrap large dependency lists on column 80 (with \), and
   4602     # we should not choose a depcomp mode which is confused by this.
   4603     #
   4604     # We need to recreate these files for each test, as the compiler may
   4605     # overwrite some of them when testing with obscure command lines.
   4606     # This happens at least with the AIX C compiler.
   4607     : > sub/conftest.c
   4608     for i in 1 2 3 4 5 6; do
   4609       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4610       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4611       # Solaris 10 /bin/sh.
   4612       echo '/* dummy */' > sub/conftst$i.h
   4613     done
   4614     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4615 
   4616     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4617     # mode.  It turns out that the SunPro C++ compiler does not properly
   4618     # handle '-M -o', and we need to detect this.  Also, some Intel
   4619     # versions had trouble with output in subdirs.
   4620     am__obj=sub/conftest.${OBJEXT-o}
   4621     am__minus_obj="-o $am__obj"
   4622     case $depmode in
   4623     gcc)
   4624       # This depmode causes a compiler race in universal mode.
   4625       test "$am__universal" = false || continue
   4626       ;;
   4627     nosideeffect)
   4628       # After this tag, mechanisms are not by side-effect, so they'll
   4629       # only be used when explicitly requested.
   4630       if test "x$enable_dependency_tracking" = xyes; then
   4631 	continue
   4632       else
   4633 	break
   4634       fi
   4635       ;;
   4636     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4637       # This compiler won't grok '-c -o', but also, the minuso test has
   4638       # not run yet.  These depmodes are late enough in the game, and
   4639       # so weak that their functioning should not be impacted.
   4640       am__obj=conftest.${OBJEXT-o}
   4641       am__minus_obj=
   4642       ;;
   4643     none) break ;;
   4644     esac
   4645     if depmode=$depmode \
   4646        source=sub/conftest.c object=$am__obj \
   4647        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4648        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4649          >/dev/null 2>conftest.err &&
   4650        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4651        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4652        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4653        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4654       # icc doesn't choke on unknown options, it will just issue warnings
   4655       # or remarks (even with -Werror).  So we grep stderr for any message
   4656       # that says an option was ignored or not supported.
   4657       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4658       #   icc: Command line warning: ignoring option '-M'; no argument required
   4659       # The diagnosis changed in icc 8.0:
   4660       #   icc: Command line remark: option '-MP' not supported
   4661       if (grep 'ignoring option' conftest.err ||
   4662           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4663         am_cv_CC_dependencies_compiler_type=$depmode
   4664         break
   4665       fi
   4666     fi
   4667   done
   4668 
   4669   cd ..
   4670   rm -rf conftest.dir
   4671 else
   4672   am_cv_CC_dependencies_compiler_type=none
   4673 fi
   4674 
   4675 fi
   4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4677 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4678 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4679 
   4680  if
   4681   test "x$enable_dependency_tracking" != xno \
   4682   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4683   am__fastdepCC_TRUE=
   4684   am__fastdepCC_FALSE='#'
   4685 else
   4686   am__fastdepCC_TRUE='#'
   4687   am__fastdepCC_FALSE=
   4688 fi
   4689 
   4690 
   4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4692 printf %s "checking for a sed that does not truncate output... " >&6; }
   4693 if test ${ac_cv_path_SED+y}
   4694 then :
   4695   printf %s "(cached) " >&6
   4696 else $as_nop
   4697             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4698      for ac_i in 1 2 3 4 5 6 7; do
   4699        ac_script="$ac_script$as_nl$ac_script"
   4700      done
   4701      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4702      { ac_script=; unset ac_script;}
   4703      if test -z "$SED"; then
   4704   ac_path_SED_found=false
   4705   # Loop through the user's path and test for each of PROGNAME-LIST
   4706   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4707 for as_dir in $PATH
   4708 do
   4709   IFS=$as_save_IFS
   4710   case $as_dir in #(((
   4711     '') as_dir=./ ;;
   4712     */) ;;
   4713     *) as_dir=$as_dir/ ;;
   4714   esac
   4715     for ac_prog in sed gsed
   4716    do
   4717     for ac_exec_ext in '' $ac_executable_extensions; do
   4718       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4719       as_fn_executable_p "$ac_path_SED" || continue
   4720 # Check for GNU ac_path_SED and select it if it is found.
   4721   # Check for GNU $ac_path_SED
   4722 case `"$ac_path_SED" --version 2>&1` in
   4723 *GNU*)
   4724   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4725 *)
   4726   ac_count=0
   4727   printf %s 0123456789 >"conftest.in"
   4728   while :
   4729   do
   4730     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4731     mv "conftest.tmp" "conftest.in"
   4732     cp "conftest.in" "conftest.nl"
   4733     printf "%s\n" '' >> "conftest.nl"
   4734     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4735     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4736     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4737     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4738       # Best one so far, save it but keep looking for a better one
   4739       ac_cv_path_SED="$ac_path_SED"
   4740       ac_path_SED_max=$ac_count
   4741     fi
   4742     # 10*(2^10) chars as input seems more than enough
   4743     test $ac_count -gt 10 && break
   4744   done
   4745   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4746 esac
   4747 
   4748       $ac_path_SED_found && break 3
   4749     done
   4750   done
   4751   done
   4752 IFS=$as_save_IFS
   4753   if test -z "$ac_cv_path_SED"; then
   4754     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4755   fi
   4756 else
   4757   ac_cv_path_SED=$SED
   4758 fi
   4759 
   4760 fi
   4761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4762 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4763  SED="$ac_cv_path_SED"
   4764   rm -f conftest.sed
   4765 
   4766 test -z "$SED" && SED=sed
   4767 Xsed="$SED -e 1s/^X//"
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 
   4778 
   4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4780 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4781 if test ${ac_cv_path_GREP+y}
   4782 then :
   4783   printf %s "(cached) " >&6
   4784 else $as_nop
   4785   if test -z "$GREP"; then
   4786   ac_path_GREP_found=false
   4787   # Loop through the user's path and test for each of PROGNAME-LIST
   4788   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4789 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4790 do
   4791   IFS=$as_save_IFS
   4792   case $as_dir in #(((
   4793     '') as_dir=./ ;;
   4794     */) ;;
   4795     *) as_dir=$as_dir/ ;;
   4796   esac
   4797     for ac_prog in grep ggrep
   4798    do
   4799     for ac_exec_ext in '' $ac_executable_extensions; do
   4800       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4801       as_fn_executable_p "$ac_path_GREP" || continue
   4802 # Check for GNU ac_path_GREP and select it if it is found.
   4803   # Check for GNU $ac_path_GREP
   4804 case `"$ac_path_GREP" --version 2>&1` in
   4805 *GNU*)
   4806   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4807 *)
   4808   ac_count=0
   4809   printf %s 0123456789 >"conftest.in"
   4810   while :
   4811   do
   4812     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4813     mv "conftest.tmp" "conftest.in"
   4814     cp "conftest.in" "conftest.nl"
   4815     printf "%s\n" 'GREP' >> "conftest.nl"
   4816     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4817     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4818     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4819     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4820       # Best one so far, save it but keep looking for a better one
   4821       ac_cv_path_GREP="$ac_path_GREP"
   4822       ac_path_GREP_max=$ac_count
   4823     fi
   4824     # 10*(2^10) chars as input seems more than enough
   4825     test $ac_count -gt 10 && break
   4826   done
   4827   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4828 esac
   4829 
   4830       $ac_path_GREP_found && break 3
   4831     done
   4832   done
   4833   done
   4834 IFS=$as_save_IFS
   4835   if test -z "$ac_cv_path_GREP"; then
   4836     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4837   fi
   4838 else
   4839   ac_cv_path_GREP=$GREP
   4840 fi
   4841 
   4842 fi
   4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4844 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4845  GREP="$ac_cv_path_GREP"
   4846 
   4847 
   4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4849 printf %s "checking for egrep... " >&6; }
   4850 if test ${ac_cv_path_EGREP+y}
   4851 then :
   4852   printf %s "(cached) " >&6
   4853 else $as_nop
   4854   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4855    then ac_cv_path_EGREP="$GREP -E"
   4856    else
   4857      if test -z "$EGREP"; then
   4858   ac_path_EGREP_found=false
   4859   # Loop through the user's path and test for each of PROGNAME-LIST
   4860   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4861 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4862 do
   4863   IFS=$as_save_IFS
   4864   case $as_dir in #(((
   4865     '') as_dir=./ ;;
   4866     */) ;;
   4867     *) as_dir=$as_dir/ ;;
   4868   esac
   4869     for ac_prog in egrep
   4870    do
   4871     for ac_exec_ext in '' $ac_executable_extensions; do
   4872       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4873       as_fn_executable_p "$ac_path_EGREP" || continue
   4874 # Check for GNU ac_path_EGREP and select it if it is found.
   4875   # Check for GNU $ac_path_EGREP
   4876 case `"$ac_path_EGREP" --version 2>&1` in
   4877 *GNU*)
   4878   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4879 *)
   4880   ac_count=0
   4881   printf %s 0123456789 >"conftest.in"
   4882   while :
   4883   do
   4884     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4885     mv "conftest.tmp" "conftest.in"
   4886     cp "conftest.in" "conftest.nl"
   4887     printf "%s\n" 'EGREP' >> "conftest.nl"
   4888     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4889     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4890     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4891     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4892       # Best one so far, save it but keep looking for a better one
   4893       ac_cv_path_EGREP="$ac_path_EGREP"
   4894       ac_path_EGREP_max=$ac_count
   4895     fi
   4896     # 10*(2^10) chars as input seems more than enough
   4897     test $ac_count -gt 10 && break
   4898   done
   4899   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4900 esac
   4901 
   4902       $ac_path_EGREP_found && break 3
   4903     done
   4904   done
   4905   done
   4906 IFS=$as_save_IFS
   4907   if test -z "$ac_cv_path_EGREP"; then
   4908     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4909   fi
   4910 else
   4911   ac_cv_path_EGREP=$EGREP
   4912 fi
   4913 
   4914    fi
   4915 fi
   4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4917 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4918  EGREP="$ac_cv_path_EGREP"
   4919 
   4920 
   4921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4922 printf %s "checking for fgrep... " >&6; }
   4923 if test ${ac_cv_path_FGREP+y}
   4924 then :
   4925   printf %s "(cached) " >&6
   4926 else $as_nop
   4927   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4928    then ac_cv_path_FGREP="$GREP -F"
   4929    else
   4930      if test -z "$FGREP"; then
   4931   ac_path_FGREP_found=false
   4932   # Loop through the user's path and test for each of PROGNAME-LIST
   4933   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4934 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4935 do
   4936   IFS=$as_save_IFS
   4937   case $as_dir in #(((
   4938     '') as_dir=./ ;;
   4939     */) ;;
   4940     *) as_dir=$as_dir/ ;;
   4941   esac
   4942     for ac_prog in fgrep
   4943    do
   4944     for ac_exec_ext in '' $ac_executable_extensions; do
   4945       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4946       as_fn_executable_p "$ac_path_FGREP" || continue
   4947 # Check for GNU ac_path_FGREP and select it if it is found.
   4948   # Check for GNU $ac_path_FGREP
   4949 case `"$ac_path_FGREP" --version 2>&1` in
   4950 *GNU*)
   4951   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4952 *)
   4953   ac_count=0
   4954   printf %s 0123456789 >"conftest.in"
   4955   while :
   4956   do
   4957     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4958     mv "conftest.tmp" "conftest.in"
   4959     cp "conftest.in" "conftest.nl"
   4960     printf "%s\n" 'FGREP' >> "conftest.nl"
   4961     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4962     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4963     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4964     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4965       # Best one so far, save it but keep looking for a better one
   4966       ac_cv_path_FGREP="$ac_path_FGREP"
   4967       ac_path_FGREP_max=$ac_count
   4968     fi
   4969     # 10*(2^10) chars as input seems more than enough
   4970     test $ac_count -gt 10 && break
   4971   done
   4972   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4973 esac
   4974 
   4975       $ac_path_FGREP_found && break 3
   4976     done
   4977   done
   4978   done
   4979 IFS=$as_save_IFS
   4980   if test -z "$ac_cv_path_FGREP"; then
   4981     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4982   fi
   4983 else
   4984   ac_cv_path_FGREP=$FGREP
   4985 fi
   4986 
   4987    fi
   4988 fi
   4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4990 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   4991  FGREP="$ac_cv_path_FGREP"
   4992 
   4993 
   4994 test -z "$GREP" && GREP=grep
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 # Check whether --with-gnu-ld was given.
   5015 if test ${with_gnu_ld+y}
   5016 then :
   5017   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5018 else $as_nop
   5019   with_gnu_ld=no
   5020 fi
   5021 
   5022 ac_prog=ld
   5023 if test yes = "$GCC"; then
   5024   # Check if gcc -print-prog-name=ld gives a path.
   5025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5026 printf %s "checking for ld used by $CC... " >&6; }
   5027   case $host in
   5028   *-*-mingw*)
   5029     # gcc leaves a trailing carriage return, which upsets mingw
   5030     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5031   *)
   5032     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5033   esac
   5034   case $ac_prog in
   5035     # Accept absolute paths.
   5036     [\\/]* | ?:[\\/]*)
   5037       re_direlt='/[^/][^/]*/\.\./'
   5038       # Canonicalize the pathname of ld
   5039       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5040       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5041 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5042       done
   5043       test -z "$LD" && LD=$ac_prog
   5044       ;;
   5045   "")
   5046     # If it fails, then pretend we aren't using GCC.
   5047     ac_prog=ld
   5048     ;;
   5049   *)
   5050     # If it is relative, then search for the first ld in PATH.
   5051     with_gnu_ld=unknown
   5052     ;;
   5053   esac
   5054 elif test yes = "$with_gnu_ld"; then
   5055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5056 printf %s "checking for GNU ld... " >&6; }
   5057 else
   5058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5059 printf %s "checking for non-GNU ld... " >&6; }
   5060 fi
   5061 if test ${lt_cv_path_LD+y}
   5062 then :
   5063   printf %s "(cached) " >&6
   5064 else $as_nop
   5065   if test -z "$LD"; then
   5066   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5067   for ac_dir in $PATH; do
   5068     IFS=$lt_save_ifs
   5069     test -z "$ac_dir" && ac_dir=.
   5070     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5071       lt_cv_path_LD=$ac_dir/$ac_prog
   5072       # Check to see if the program is GNU ld.  I'd rather use --version,
   5073       # but apparently some variants of GNU ld only accept -v.
   5074       # Break only if it was the GNU/non-GNU ld that we prefer.
   5075       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5076       *GNU* | *'with BFD'*)
   5077 	test no != "$with_gnu_ld" && break
   5078 	;;
   5079       *)
   5080 	test yes != "$with_gnu_ld" && break
   5081 	;;
   5082       esac
   5083     fi
   5084   done
   5085   IFS=$lt_save_ifs
   5086 else
   5087   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5088 fi
   5089 fi
   5090 
   5091 LD=$lt_cv_path_LD
   5092 if test -n "$LD"; then
   5093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5094 printf "%s\n" "$LD" >&6; }
   5095 else
   5096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5097 printf "%s\n" "no" >&6; }
   5098 fi
   5099 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5101 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5102 if test ${lt_cv_prog_gnu_ld+y}
   5103 then :
   5104   printf %s "(cached) " >&6
   5105 else $as_nop
   5106   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5107 case `$LD -v 2>&1 </dev/null` in
   5108 *GNU* | *'with BFD'*)
   5109   lt_cv_prog_gnu_ld=yes
   5110   ;;
   5111 *)
   5112   lt_cv_prog_gnu_ld=no
   5113   ;;
   5114 esac
   5115 fi
   5116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5117 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5118 with_gnu_ld=$lt_cv_prog_gnu_ld
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5129 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5130 if test ${lt_cv_path_NM+y}
   5131 then :
   5132   printf %s "(cached) " >&6
   5133 else $as_nop
   5134   if test -n "$NM"; then
   5135   # Let the user override the test.
   5136   lt_cv_path_NM=$NM
   5137 else
   5138   lt_nm_to_check=${ac_tool_prefix}nm
   5139   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5140     lt_nm_to_check="$lt_nm_to_check nm"
   5141   fi
   5142   for lt_tmp_nm in $lt_nm_to_check; do
   5143     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5144     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5145       IFS=$lt_save_ifs
   5146       test -z "$ac_dir" && ac_dir=.
   5147       tmp_nm=$ac_dir/$lt_tmp_nm
   5148       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5149 	# Check to see if the nm accepts a BSD-compat flag.
   5150 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5151 	#   nm: unknown option "B" ignored
   5152 	# Tru64's nm complains that /dev/null is an invalid object file
   5153 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5154 	case $build_os in
   5155 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5156 	*) lt_bad_file=/dev/null ;;
   5157 	esac
   5158 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5159 	*$lt_bad_file* | *'Invalid file or object type'*)
   5160 	  lt_cv_path_NM="$tmp_nm -B"
   5161 	  break 2
   5162 	  ;;
   5163 	*)
   5164 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5165 	  */dev/null*)
   5166 	    lt_cv_path_NM="$tmp_nm -p"
   5167 	    break 2
   5168 	    ;;
   5169 	  *)
   5170 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5171 	    continue # so that we can try to find one that supports BSD flags
   5172 	    ;;
   5173 	  esac
   5174 	  ;;
   5175 	esac
   5176       fi
   5177     done
   5178     IFS=$lt_save_ifs
   5179   done
   5180   : ${lt_cv_path_NM=no}
   5181 fi
   5182 fi
   5183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5184 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5185 if test no != "$lt_cv_path_NM"; then
   5186   NM=$lt_cv_path_NM
   5187 else
   5188   # Didn't find any BSD compatible name lister, look for dumpbin.
   5189   if test -n "$DUMPBIN"; then :
   5190     # Let the user override the test.
   5191   else
   5192     if test -n "$ac_tool_prefix"; then
   5193   for ac_prog in dumpbin "link -dump"
   5194   do
   5195     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5196 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5198 printf %s "checking for $ac_word... " >&6; }
   5199 if test ${ac_cv_prog_DUMPBIN+y}
   5200 then :
   5201   printf %s "(cached) " >&6
   5202 else $as_nop
   5203   if test -n "$DUMPBIN"; then
   5204   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5205 else
   5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5207 for as_dir in $PATH
   5208 do
   5209   IFS=$as_save_IFS
   5210   case $as_dir in #(((
   5211     '') as_dir=./ ;;
   5212     */) ;;
   5213     *) as_dir=$as_dir/ ;;
   5214   esac
   5215     for ac_exec_ext in '' $ac_executable_extensions; do
   5216   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5217     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5218     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5219     break 2
   5220   fi
   5221 done
   5222   done
   5223 IFS=$as_save_IFS
   5224 
   5225 fi
   5226 fi
   5227 DUMPBIN=$ac_cv_prog_DUMPBIN
   5228 if test -n "$DUMPBIN"; then
   5229   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5230 printf "%s\n" "$DUMPBIN" >&6; }
   5231 else
   5232   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5233 printf "%s\n" "no" >&6; }
   5234 fi
   5235 
   5236 
   5237     test -n "$DUMPBIN" && break
   5238   done
   5239 fi
   5240 if test -z "$DUMPBIN"; then
   5241   ac_ct_DUMPBIN=$DUMPBIN
   5242   for ac_prog in dumpbin "link -dump"
   5243 do
   5244   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5245 set dummy $ac_prog; ac_word=$2
   5246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5247 printf %s "checking for $ac_word... " >&6; }
   5248 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5249 then :
   5250   printf %s "(cached) " >&6
   5251 else $as_nop
   5252   if test -n "$ac_ct_DUMPBIN"; then
   5253   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5254 else
   5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5256 for as_dir in $PATH
   5257 do
   5258   IFS=$as_save_IFS
   5259   case $as_dir in #(((
   5260     '') as_dir=./ ;;
   5261     */) ;;
   5262     *) as_dir=$as_dir/ ;;
   5263   esac
   5264     for ac_exec_ext in '' $ac_executable_extensions; do
   5265   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5266     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5267     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5268     break 2
   5269   fi
   5270 done
   5271   done
   5272 IFS=$as_save_IFS
   5273 
   5274 fi
   5275 fi
   5276 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5277 if test -n "$ac_ct_DUMPBIN"; then
   5278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5279 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5280 else
   5281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5282 printf "%s\n" "no" >&6; }
   5283 fi
   5284 
   5285 
   5286   test -n "$ac_ct_DUMPBIN" && break
   5287 done
   5288 
   5289   if test "x$ac_ct_DUMPBIN" = x; then
   5290     DUMPBIN=":"
   5291   else
   5292     case $cross_compiling:$ac_tool_warned in
   5293 yes:)
   5294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5295 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5296 ac_tool_warned=yes ;;
   5297 esac
   5298     DUMPBIN=$ac_ct_DUMPBIN
   5299   fi
   5300 fi
   5301 
   5302     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5303     *COFF*)
   5304       DUMPBIN="$DUMPBIN -symbols -headers"
   5305       ;;
   5306     *)
   5307       DUMPBIN=:
   5308       ;;
   5309     esac
   5310   fi
   5311 
   5312   if test : != "$DUMPBIN"; then
   5313     NM=$DUMPBIN
   5314   fi
   5315 fi
   5316 test -z "$NM" && NM=nm
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5324 printf %s "checking the name lister ($NM) interface... " >&6; }
   5325 if test ${lt_cv_nm_interface+y}
   5326 then :
   5327   printf %s "(cached) " >&6
   5328 else $as_nop
   5329   lt_cv_nm_interface="BSD nm"
   5330   echo "int some_variable = 0;" > conftest.$ac_ext
   5331   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5332   (eval "$ac_compile" 2>conftest.err)
   5333   cat conftest.err >&5
   5334   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5335   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5336   cat conftest.err >&5
   5337   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5338   cat conftest.out >&5
   5339   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5340     lt_cv_nm_interface="MS dumpbin"
   5341   fi
   5342   rm -f conftest*
   5343 fi
   5344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5345 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5346 
   5347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5348 printf %s "checking whether ln -s works... " >&6; }
   5349 LN_S=$as_ln_s
   5350 if test "$LN_S" = "ln -s"; then
   5351   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5352 printf "%s\n" "yes" >&6; }
   5353 else
   5354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5355 printf "%s\n" "no, using $LN_S" >&6; }
   5356 fi
   5357 
   5358 # find the maximum length of command line arguments
   5359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5360 printf %s "checking the maximum length of command line arguments... " >&6; }
   5361 if test ${lt_cv_sys_max_cmd_len+y}
   5362 then :
   5363   printf %s "(cached) " >&6
   5364 else $as_nop
   5365     i=0
   5366   teststring=ABCD
   5367 
   5368   case $build_os in
   5369   msdosdjgpp*)
   5370     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5371     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5372     # during glob expansion).  Even if it were fixed, the result of this
   5373     # check would be larger than it should be.
   5374     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5375     ;;
   5376 
   5377   gnu*)
   5378     # Under GNU Hurd, this test is not required because there is
   5379     # no limit to the length of command line arguments.
   5380     # Libtool will interpret -1 as no limit whatsoever
   5381     lt_cv_sys_max_cmd_len=-1;
   5382     ;;
   5383 
   5384   cygwin* | mingw* | cegcc*)
   5385     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5386     # about 5 minutes as the teststring grows exponentially.
   5387     # Worse, since 9x/ME are not pre-emptively multitasking,
   5388     # you end up with a "frozen" computer, even though with patience
   5389     # the test eventually succeeds (with a max line length of 256k).
   5390     # Instead, let's just punt: use the minimum linelength reported by
   5391     # all of the supported platforms: 8192 (on NT/2K/XP).
   5392     lt_cv_sys_max_cmd_len=8192;
   5393     ;;
   5394 
   5395   mint*)
   5396     # On MiNT this can take a long time and run out of memory.
   5397     lt_cv_sys_max_cmd_len=8192;
   5398     ;;
   5399 
   5400   mint*)
   5401     # On MiNT this can take a long time and run out of memory.
   5402     lt_cv_sys_max_cmd_len=8192;
   5403     ;;
   5404 
   5405   amigaos*)
   5406     # On AmigaOS with pdksh, this test takes hours, literally.
   5407     # So we just punt and use a minimum line length of 8192.
   5408     lt_cv_sys_max_cmd_len=8192;
   5409     ;;
   5410 
   5411   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5412     # This has been around since 386BSD, at least.  Likely further.
   5413     if test -x /sbin/sysctl; then
   5414       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5415     elif test -x /usr/sbin/sysctl; then
   5416       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5417     else
   5418       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5419     fi
   5420     # And add a safety zone
   5421     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5422     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5423     ;;
   5424 
   5425   interix*)
   5426     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5427     lt_cv_sys_max_cmd_len=196608
   5428     ;;
   5429 
   5430   os2*)
   5431     # The test takes a long time on OS/2.
   5432     lt_cv_sys_max_cmd_len=8192
   5433     ;;
   5434 
   5435   osf*)
   5436     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5437     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5438     # nice to cause kernel panics so lets avoid the loop below.
   5439     # First set a reasonable default.
   5440     lt_cv_sys_max_cmd_len=16384
   5441     #
   5442     if test -x /sbin/sysconfig; then
   5443       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5444         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5445       esac
   5446     fi
   5447     ;;
   5448   sco3.2v5*)
   5449     lt_cv_sys_max_cmd_len=102400
   5450     ;;
   5451   sysv5* | sco5v6* | sysv4.2uw2*)
   5452     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5453     if test -n "$kargmax"; then
   5454       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5455     else
   5456       lt_cv_sys_max_cmd_len=32768
   5457     fi
   5458     ;;
   5459   *)
   5460     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5461     if test -n "$lt_cv_sys_max_cmd_len" && \
   5462        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5463       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5464       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5465     else
   5466       # Make teststring a little bigger before we do anything with it.
   5467       # a 1K string should be a reasonable start.
   5468       for i in 1 2 3 4 5 6 7 8; do
   5469         teststring=$teststring$teststring
   5470       done
   5471       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5472       # If test is not a shell built-in, we'll probably end up computing a
   5473       # maximum length that is only half of the actual maximum length, but
   5474       # we can't tell.
   5475       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5476 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5477 	      test 17 != "$i" # 1/2 MB should be enough
   5478       do
   5479         i=`expr $i + 1`
   5480         teststring=$teststring$teststring
   5481       done
   5482       # Only check the string length outside the loop.
   5483       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5484       teststring=
   5485       # Add a significant safety factor because C++ compilers can tack on
   5486       # massive amounts of additional arguments before passing them to the
   5487       # linker.  It appears as though 1/2 is a usable value.
   5488       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5489     fi
   5490     ;;
   5491   esac
   5492 
   5493 fi
   5494 
   5495 if test -n "$lt_cv_sys_max_cmd_len"; then
   5496   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5497 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5498 else
   5499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5500 printf "%s\n" "none" >&6; }
   5501 fi
   5502 max_cmd_len=$lt_cv_sys_max_cmd_len
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 : ${CP="cp -f"}
   5510 : ${MV="mv -f"}
   5511 : ${RM="rm -f"}
   5512 
   5513 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5514   lt_unset=unset
   5515 else
   5516   lt_unset=false
   5517 fi
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 # test EBCDIC or ASCII
   5524 case `echo X|tr X '\101'` in
   5525  A) # ASCII based system
   5526     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5527   lt_SP2NL='tr \040 \012'
   5528   lt_NL2SP='tr \015\012 \040\040'
   5529   ;;
   5530  *) # EBCDIC based system
   5531   lt_SP2NL='tr \100 \n'
   5532   lt_NL2SP='tr \r\n \100\100'
   5533   ;;
   5534 esac
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5545 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5546 if test ${lt_cv_to_host_file_cmd+y}
   5547 then :
   5548   printf %s "(cached) " >&6
   5549 else $as_nop
   5550   case $host in
   5551   *-*-mingw* )
   5552     case $build in
   5553       *-*-mingw* ) # actually msys
   5554         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5555         ;;
   5556       *-*-cygwin* )
   5557         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5558         ;;
   5559       * ) # otherwise, assume *nix
   5560         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5561         ;;
   5562     esac
   5563     ;;
   5564   *-*-cygwin* )
   5565     case $build in
   5566       *-*-mingw* ) # actually msys
   5567         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5568         ;;
   5569       *-*-cygwin* )
   5570         lt_cv_to_host_file_cmd=func_convert_file_noop
   5571         ;;
   5572       * ) # otherwise, assume *nix
   5573         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5574         ;;
   5575     esac
   5576     ;;
   5577   * ) # unhandled hosts (and "normal" native builds)
   5578     lt_cv_to_host_file_cmd=func_convert_file_noop
   5579     ;;
   5580 esac
   5581 
   5582 fi
   5583 
   5584 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5586 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5593 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5594 if test ${lt_cv_to_tool_file_cmd+y}
   5595 then :
   5596   printf %s "(cached) " >&6
   5597 else $as_nop
   5598   #assume ordinary cross tools, or native build.
   5599 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5600 case $host in
   5601   *-*-mingw* )
   5602     case $build in
   5603       *-*-mingw* ) # actually msys
   5604         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5605         ;;
   5606     esac
   5607     ;;
   5608 esac
   5609 
   5610 fi
   5611 
   5612 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5614 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5621 printf %s "checking for $LD option to reload object files... " >&6; }
   5622 if test ${lt_cv_ld_reload_flag+y}
   5623 then :
   5624   printf %s "(cached) " >&6
   5625 else $as_nop
   5626   lt_cv_ld_reload_flag='-r'
   5627 fi
   5628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5629 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5630 reload_flag=$lt_cv_ld_reload_flag
   5631 case $reload_flag in
   5632 "" | " "*) ;;
   5633 *) reload_flag=" $reload_flag" ;;
   5634 esac
   5635 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5636 case $host_os in
   5637   cygwin* | mingw* | pw32* | cegcc*)
   5638     if test yes != "$GCC"; then
   5639       reload_cmds=false
   5640     fi
   5641     ;;
   5642   darwin*)
   5643     if test yes = "$GCC"; then
   5644       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5645     else
   5646       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5647     fi
   5648     ;;
   5649 esac
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 if test -n "$ac_tool_prefix"; then
   5660   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5661 set dummy ${ac_tool_prefix}file; ac_word=$2
   5662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5663 printf %s "checking for $ac_word... " >&6; }
   5664 if test ${ac_cv_prog_FILECMD+y}
   5665 then :
   5666   printf %s "(cached) " >&6
   5667 else $as_nop
   5668   if test -n "$FILECMD"; then
   5669   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5670 else
   5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5672 for as_dir in $PATH
   5673 do
   5674   IFS=$as_save_IFS
   5675   case $as_dir in #(((
   5676     '') as_dir=./ ;;
   5677     */) ;;
   5678     *) as_dir=$as_dir/ ;;
   5679   esac
   5680     for ac_exec_ext in '' $ac_executable_extensions; do
   5681   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5682     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5683     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5684     break 2
   5685   fi
   5686 done
   5687   done
   5688 IFS=$as_save_IFS
   5689 
   5690 fi
   5691 fi
   5692 FILECMD=$ac_cv_prog_FILECMD
   5693 if test -n "$FILECMD"; then
   5694   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5695 printf "%s\n" "$FILECMD" >&6; }
   5696 else
   5697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5698 printf "%s\n" "no" >&6; }
   5699 fi
   5700 
   5701 
   5702 fi
   5703 if test -z "$ac_cv_prog_FILECMD"; then
   5704   ac_ct_FILECMD=$FILECMD
   5705   # Extract the first word of "file", so it can be a program name with args.
   5706 set dummy file; ac_word=$2
   5707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5708 printf %s "checking for $ac_word... " >&6; }
   5709 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5710 then :
   5711   printf %s "(cached) " >&6
   5712 else $as_nop
   5713   if test -n "$ac_ct_FILECMD"; then
   5714   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5715 else
   5716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5717 for as_dir in $PATH
   5718 do
   5719   IFS=$as_save_IFS
   5720   case $as_dir in #(((
   5721     '') as_dir=./ ;;
   5722     */) ;;
   5723     *) as_dir=$as_dir/ ;;
   5724   esac
   5725     for ac_exec_ext in '' $ac_executable_extensions; do
   5726   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5727     ac_cv_prog_ac_ct_FILECMD="file"
   5728     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5729     break 2
   5730   fi
   5731 done
   5732   done
   5733 IFS=$as_save_IFS
   5734 
   5735 fi
   5736 fi
   5737 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5738 if test -n "$ac_ct_FILECMD"; then
   5739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5740 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5741 else
   5742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5743 printf "%s\n" "no" >&6; }
   5744 fi
   5745 
   5746   if test "x$ac_ct_FILECMD" = x; then
   5747     FILECMD=":"
   5748   else
   5749     case $cross_compiling:$ac_tool_warned in
   5750 yes:)
   5751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5753 ac_tool_warned=yes ;;
   5754 esac
   5755     FILECMD=$ac_ct_FILECMD
   5756   fi
   5757 else
   5758   FILECMD="$ac_cv_prog_FILECMD"
   5759 fi
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 if test -n "$ac_tool_prefix"; then
   5768   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5769 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5771 printf %s "checking for $ac_word... " >&6; }
   5772 if test ${ac_cv_prog_OBJDUMP+y}
   5773 then :
   5774   printf %s "(cached) " >&6
   5775 else $as_nop
   5776   if test -n "$OBJDUMP"; then
   5777   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5778 else
   5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5780 for as_dir in $PATH
   5781 do
   5782   IFS=$as_save_IFS
   5783   case $as_dir in #(((
   5784     '') as_dir=./ ;;
   5785     */) ;;
   5786     *) as_dir=$as_dir/ ;;
   5787   esac
   5788     for ac_exec_ext in '' $ac_executable_extensions; do
   5789   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5790     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5791     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5792     break 2
   5793   fi
   5794 done
   5795   done
   5796 IFS=$as_save_IFS
   5797 
   5798 fi
   5799 fi
   5800 OBJDUMP=$ac_cv_prog_OBJDUMP
   5801 if test -n "$OBJDUMP"; then
   5802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5803 printf "%s\n" "$OBJDUMP" >&6; }
   5804 else
   5805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5806 printf "%s\n" "no" >&6; }
   5807 fi
   5808 
   5809 
   5810 fi
   5811 if test -z "$ac_cv_prog_OBJDUMP"; then
   5812   ac_ct_OBJDUMP=$OBJDUMP
   5813   # Extract the first word of "objdump", so it can be a program name with args.
   5814 set dummy objdump; ac_word=$2
   5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5816 printf %s "checking for $ac_word... " >&6; }
   5817 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5818 then :
   5819   printf %s "(cached) " >&6
   5820 else $as_nop
   5821   if test -n "$ac_ct_OBJDUMP"; then
   5822   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5823 else
   5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5825 for as_dir in $PATH
   5826 do
   5827   IFS=$as_save_IFS
   5828   case $as_dir in #(((
   5829     '') as_dir=./ ;;
   5830     */) ;;
   5831     *) as_dir=$as_dir/ ;;
   5832   esac
   5833     for ac_exec_ext in '' $ac_executable_extensions; do
   5834   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5835     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5836     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5837     break 2
   5838   fi
   5839 done
   5840   done
   5841 IFS=$as_save_IFS
   5842 
   5843 fi
   5844 fi
   5845 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5846 if test -n "$ac_ct_OBJDUMP"; then
   5847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5848 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5849 else
   5850   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5851 printf "%s\n" "no" >&6; }
   5852 fi
   5853 
   5854   if test "x$ac_ct_OBJDUMP" = x; then
   5855     OBJDUMP="false"
   5856   else
   5857     case $cross_compiling:$ac_tool_warned in
   5858 yes:)
   5859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5860 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5861 ac_tool_warned=yes ;;
   5862 esac
   5863     OBJDUMP=$ac_ct_OBJDUMP
   5864   fi
   5865 else
   5866   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5867 fi
   5868 
   5869 test -z "$OBJDUMP" && OBJDUMP=objdump
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5880 printf %s "checking how to recognize dependent libraries... " >&6; }
   5881 if test ${lt_cv_deplibs_check_method+y}
   5882 then :
   5883   printf %s "(cached) " >&6
   5884 else $as_nop
   5885   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5886 lt_cv_file_magic_test_file=
   5887 lt_cv_deplibs_check_method='unknown'
   5888 # Need to set the preceding variable on all platforms that support
   5889 # interlibrary dependencies.
   5890 # 'none' -- dependencies not supported.
   5891 # 'unknown' -- same as none, but documents that we really don't know.
   5892 # 'pass_all' -- all dependencies passed with no checks.
   5893 # 'test_compile' -- check by making test program.
   5894 # 'file_magic [[regex]]' -- check by looking for files in library path
   5895 # that responds to the $file_magic_cmd with a given extended regex.
   5896 # If you have 'file' or equivalent on your system and you're not sure
   5897 # whether 'pass_all' will *always* work, you probably want this one.
   5898 
   5899 case $host_os in
   5900 aix[4-9]*)
   5901   lt_cv_deplibs_check_method=pass_all
   5902   ;;
   5903 
   5904 beos*)
   5905   lt_cv_deplibs_check_method=pass_all
   5906   ;;
   5907 
   5908 bsdi[45]*)
   5909   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5910   lt_cv_file_magic_cmd='$FILECMD -L'
   5911   lt_cv_file_magic_test_file=/shlib/libc.so
   5912   ;;
   5913 
   5914 cygwin*)
   5915   # func_win32_libid is a shell function defined in ltmain.sh
   5916   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5917   lt_cv_file_magic_cmd='func_win32_libid'
   5918   ;;
   5919 
   5920 mingw* | pw32*)
   5921   # Base MSYS/MinGW do not provide the 'file' command needed by
   5922   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5923   # unless we find 'file', for example because we are cross-compiling.
   5924   if ( file / ) >/dev/null 2>&1; then
   5925     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5926     lt_cv_file_magic_cmd='func_win32_libid'
   5927   else
   5928     # Keep this pattern in sync with the one in func_win32_libid.
   5929     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5930     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5931   fi
   5932   ;;
   5933 
   5934 cegcc*)
   5935   # use the weaker test based on 'objdump'. See mingw*.
   5936   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5937   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5938   ;;
   5939 
   5940 darwin* | rhapsody*)
   5941   lt_cv_deplibs_check_method=pass_all
   5942   ;;
   5943 
   5944 freebsd* | dragonfly* | midnightbsd*)
   5945   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5946     case $host_cpu in
   5947     i*86 )
   5948       # Not sure whether the presence of OpenBSD here was a mistake.
   5949       # Let's accept both of them until this is cleared up.
   5950       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5951       lt_cv_file_magic_cmd=$FILECMD
   5952       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5953       ;;
   5954     esac
   5955   else
   5956     lt_cv_deplibs_check_method=pass_all
   5957   fi
   5958   ;;
   5959 
   5960 haiku*)
   5961   lt_cv_deplibs_check_method=pass_all
   5962   ;;
   5963 
   5964 hpux10.20* | hpux11*)
   5965   lt_cv_file_magic_cmd=$FILECMD
   5966   case $host_cpu in
   5967   ia64*)
   5968     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5969     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5970     ;;
   5971   hppa*64*)
   5972     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]'
   5973     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5974     ;;
   5975   *)
   5976     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5977     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5978     ;;
   5979   esac
   5980   ;;
   5981 
   5982 interix[3-9]*)
   5983   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5984   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5985   ;;
   5986 
   5987 irix5* | irix6* | nonstopux*)
   5988   case $LD in
   5989   *-32|*"-32 ") libmagic=32-bit;;
   5990   *-n32|*"-n32 ") libmagic=N32;;
   5991   *-64|*"-64 ") libmagic=64-bit;;
   5992   *) libmagic=never-match;;
   5993   esac
   5994   lt_cv_deplibs_check_method=pass_all
   5995   ;;
   5996 
   5997 # This must be glibc/ELF.
   5998 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5999   lt_cv_deplibs_check_method=pass_all
   6000   ;;
   6001 
   6002 netbsd*)
   6003   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6004     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6005   else
   6006     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6007   fi
   6008   ;;
   6009 
   6010 newos6*)
   6011   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6012   lt_cv_file_magic_cmd=$FILECMD
   6013   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6014   ;;
   6015 
   6016 *nto* | *qnx*)
   6017   lt_cv_deplibs_check_method=pass_all
   6018   ;;
   6019 
   6020 openbsd* | bitrig*)
   6021   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6022     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6023   else
   6024     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6025   fi
   6026   ;;
   6027 
   6028 osf3* | osf4* | osf5*)
   6029   lt_cv_deplibs_check_method=pass_all
   6030   ;;
   6031 
   6032 rdos*)
   6033   lt_cv_deplibs_check_method=pass_all
   6034   ;;
   6035 
   6036 solaris*)
   6037   lt_cv_deplibs_check_method=pass_all
   6038   ;;
   6039 
   6040 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6041   lt_cv_deplibs_check_method=pass_all
   6042   ;;
   6043 
   6044 sysv4 | sysv4.3*)
   6045   case $host_vendor in
   6046   motorola)
   6047     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]'
   6048     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6049     ;;
   6050   ncr)
   6051     lt_cv_deplibs_check_method=pass_all
   6052     ;;
   6053   sequent)
   6054     lt_cv_file_magic_cmd='/bin/file'
   6055     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6056     ;;
   6057   sni)
   6058     lt_cv_file_magic_cmd='/bin/file'
   6059     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6060     lt_cv_file_magic_test_file=/lib/libc.so
   6061     ;;
   6062   siemens)
   6063     lt_cv_deplibs_check_method=pass_all
   6064     ;;
   6065   pc)
   6066     lt_cv_deplibs_check_method=pass_all
   6067     ;;
   6068   esac
   6069   ;;
   6070 
   6071 tpf*)
   6072   lt_cv_deplibs_check_method=pass_all
   6073   ;;
   6074 os2*)
   6075   lt_cv_deplibs_check_method=pass_all
   6076   ;;
   6077 esac
   6078 
   6079 fi
   6080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6081 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6082 
   6083 file_magic_glob=
   6084 want_nocaseglob=no
   6085 if test "$build" = "$host"; then
   6086   case $host_os in
   6087   mingw* | pw32*)
   6088     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6089       want_nocaseglob=yes
   6090     else
   6091       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6092     fi
   6093     ;;
   6094   esac
   6095 fi
   6096 
   6097 file_magic_cmd=$lt_cv_file_magic_cmd
   6098 deplibs_check_method=$lt_cv_deplibs_check_method
   6099 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 if test -n "$ac_tool_prefix"; then
   6123   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6124 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6126 printf %s "checking for $ac_word... " >&6; }
   6127 if test ${ac_cv_prog_DLLTOOL+y}
   6128 then :
   6129   printf %s "(cached) " >&6
   6130 else $as_nop
   6131   if test -n "$DLLTOOL"; then
   6132   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6133 else
   6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6135 for as_dir in $PATH
   6136 do
   6137   IFS=$as_save_IFS
   6138   case $as_dir in #(((
   6139     '') as_dir=./ ;;
   6140     */) ;;
   6141     *) as_dir=$as_dir/ ;;
   6142   esac
   6143     for ac_exec_ext in '' $ac_executable_extensions; do
   6144   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6145     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6146     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6147     break 2
   6148   fi
   6149 done
   6150   done
   6151 IFS=$as_save_IFS
   6152 
   6153 fi
   6154 fi
   6155 DLLTOOL=$ac_cv_prog_DLLTOOL
   6156 if test -n "$DLLTOOL"; then
   6157   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6158 printf "%s\n" "$DLLTOOL" >&6; }
   6159 else
   6160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6161 printf "%s\n" "no" >&6; }
   6162 fi
   6163 
   6164 
   6165 fi
   6166 if test -z "$ac_cv_prog_DLLTOOL"; then
   6167   ac_ct_DLLTOOL=$DLLTOOL
   6168   # Extract the first word of "dlltool", so it can be a program name with args.
   6169 set dummy dlltool; ac_word=$2
   6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6171 printf %s "checking for $ac_word... " >&6; }
   6172 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6173 then :
   6174   printf %s "(cached) " >&6
   6175 else $as_nop
   6176   if test -n "$ac_ct_DLLTOOL"; then
   6177   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6178 else
   6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6180 for as_dir in $PATH
   6181 do
   6182   IFS=$as_save_IFS
   6183   case $as_dir in #(((
   6184     '') as_dir=./ ;;
   6185     */) ;;
   6186     *) as_dir=$as_dir/ ;;
   6187   esac
   6188     for ac_exec_ext in '' $ac_executable_extensions; do
   6189   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6190     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6191     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6192     break 2
   6193   fi
   6194 done
   6195   done
   6196 IFS=$as_save_IFS
   6197 
   6198 fi
   6199 fi
   6200 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6201 if test -n "$ac_ct_DLLTOOL"; then
   6202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6203 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6204 else
   6205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6206 printf "%s\n" "no" >&6; }
   6207 fi
   6208 
   6209   if test "x$ac_ct_DLLTOOL" = x; then
   6210     DLLTOOL="false"
   6211   else
   6212     case $cross_compiling:$ac_tool_warned in
   6213 yes:)
   6214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6215 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6216 ac_tool_warned=yes ;;
   6217 esac
   6218     DLLTOOL=$ac_ct_DLLTOOL
   6219   fi
   6220 else
   6221   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6222 fi
   6223 
   6224 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6236 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6237 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6238 then :
   6239   printf %s "(cached) " >&6
   6240 else $as_nop
   6241   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6242 
   6243 case $host_os in
   6244 cygwin* | mingw* | pw32* | cegcc*)
   6245   # two different shell functions defined in ltmain.sh;
   6246   # decide which one to use based on capabilities of $DLLTOOL
   6247   case `$DLLTOOL --help 2>&1` in
   6248   *--identify-strict*)
   6249     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6250     ;;
   6251   *)
   6252     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6253     ;;
   6254   esac
   6255   ;;
   6256 *)
   6257   # fallback: assume linklib IS sharedlib
   6258   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6259   ;;
   6260 esac
   6261 
   6262 fi
   6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6264 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6265 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6266 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 if test -n "$ac_tool_prefix"; then
   6276   for ac_prog in ar
   6277   do
   6278     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6281 printf %s "checking for $ac_word... " >&6; }
   6282 if test ${ac_cv_prog_AR+y}
   6283 then :
   6284   printf %s "(cached) " >&6
   6285 else $as_nop
   6286   if test -n "$AR"; then
   6287   ac_cv_prog_AR="$AR" # Let the user override the test.
   6288 else
   6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6290 for as_dir in $PATH
   6291 do
   6292   IFS=$as_save_IFS
   6293   case $as_dir in #(((
   6294     '') as_dir=./ ;;
   6295     */) ;;
   6296     *) as_dir=$as_dir/ ;;
   6297   esac
   6298     for ac_exec_ext in '' $ac_executable_extensions; do
   6299   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6300     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6301     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6302     break 2
   6303   fi
   6304 done
   6305   done
   6306 IFS=$as_save_IFS
   6307 
   6308 fi
   6309 fi
   6310 AR=$ac_cv_prog_AR
   6311 if test -n "$AR"; then
   6312   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6313 printf "%s\n" "$AR" >&6; }
   6314 else
   6315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6316 printf "%s\n" "no" >&6; }
   6317 fi
   6318 
   6319 
   6320     test -n "$AR" && break
   6321   done
   6322 fi
   6323 if test -z "$AR"; then
   6324   ac_ct_AR=$AR
   6325   for ac_prog in ar
   6326 do
   6327   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6328 set dummy $ac_prog; ac_word=$2
   6329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6330 printf %s "checking for $ac_word... " >&6; }
   6331 if test ${ac_cv_prog_ac_ct_AR+y}
   6332 then :
   6333   printf %s "(cached) " >&6
   6334 else $as_nop
   6335   if test -n "$ac_ct_AR"; then
   6336   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6337 else
   6338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6339 for as_dir in $PATH
   6340 do
   6341   IFS=$as_save_IFS
   6342   case $as_dir in #(((
   6343     '') as_dir=./ ;;
   6344     */) ;;
   6345     *) as_dir=$as_dir/ ;;
   6346   esac
   6347     for ac_exec_ext in '' $ac_executable_extensions; do
   6348   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6349     ac_cv_prog_ac_ct_AR="$ac_prog"
   6350     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6351     break 2
   6352   fi
   6353 done
   6354   done
   6355 IFS=$as_save_IFS
   6356 
   6357 fi
   6358 fi
   6359 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6360 if test -n "$ac_ct_AR"; then
   6361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6362 printf "%s\n" "$ac_ct_AR" >&6; }
   6363 else
   6364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6365 printf "%s\n" "no" >&6; }
   6366 fi
   6367 
   6368 
   6369   test -n "$ac_ct_AR" && break
   6370 done
   6371 
   6372   if test "x$ac_ct_AR" = x; then
   6373     AR="false"
   6374   else
   6375     case $cross_compiling:$ac_tool_warned in
   6376 yes:)
   6377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6378 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6379 ac_tool_warned=yes ;;
   6380 esac
   6381     AR=$ac_ct_AR
   6382   fi
   6383 fi
   6384 
   6385 : ${AR=ar}
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6393 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6394 # higher priority because thats what people were doing historically (setting
   6395 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6396 # variable obsoleted/removed.
   6397 
   6398 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6399 lt_ar_flags=$AR_FLAGS
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6407 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6415 printf %s "checking for archiver @FILE support... " >&6; }
   6416 if test ${lt_cv_ar_at_file+y}
   6417 then :
   6418   printf %s "(cached) " >&6
   6419 else $as_nop
   6420   lt_cv_ar_at_file=no
   6421    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6422 /* end confdefs.h.  */
   6423 
   6424 int
   6425 main (void)
   6426 {
   6427 
   6428   ;
   6429   return 0;
   6430 }
   6431 _ACEOF
   6432 if ac_fn_c_try_compile "$LINENO"
   6433 then :
   6434   echo conftest.$ac_objext > conftest.lst
   6435       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6436       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6437   (eval $lt_ar_try) 2>&5
   6438   ac_status=$?
   6439   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6440   test $ac_status = 0; }
   6441       if test 0 -eq "$ac_status"; then
   6442 	# Ensure the archiver fails upon bogus file names.
   6443 	rm -f conftest.$ac_objext libconftest.a
   6444 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6445   (eval $lt_ar_try) 2>&5
   6446   ac_status=$?
   6447   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6448   test $ac_status = 0; }
   6449 	if test 0 -ne "$ac_status"; then
   6450           lt_cv_ar_at_file=@
   6451         fi
   6452       fi
   6453       rm -f conftest.* libconftest.a
   6454 
   6455 fi
   6456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6457 
   6458 fi
   6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6460 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6461 
   6462 if test no = "$lt_cv_ar_at_file"; then
   6463   archiver_list_spec=
   6464 else
   6465   archiver_list_spec=$lt_cv_ar_at_file
   6466 fi
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 if test -n "$ac_tool_prefix"; then
   6475   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6476 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6478 printf %s "checking for $ac_word... " >&6; }
   6479 if test ${ac_cv_prog_STRIP+y}
   6480 then :
   6481   printf %s "(cached) " >&6
   6482 else $as_nop
   6483   if test -n "$STRIP"; then
   6484   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6485 else
   6486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6487 for as_dir in $PATH
   6488 do
   6489   IFS=$as_save_IFS
   6490   case $as_dir in #(((
   6491     '') as_dir=./ ;;
   6492     */) ;;
   6493     *) as_dir=$as_dir/ ;;
   6494   esac
   6495     for ac_exec_ext in '' $ac_executable_extensions; do
   6496   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6497     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6498     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6499     break 2
   6500   fi
   6501 done
   6502   done
   6503 IFS=$as_save_IFS
   6504 
   6505 fi
   6506 fi
   6507 STRIP=$ac_cv_prog_STRIP
   6508 if test -n "$STRIP"; then
   6509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6510 printf "%s\n" "$STRIP" >&6; }
   6511 else
   6512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6513 printf "%s\n" "no" >&6; }
   6514 fi
   6515 
   6516 
   6517 fi
   6518 if test -z "$ac_cv_prog_STRIP"; then
   6519   ac_ct_STRIP=$STRIP
   6520   # Extract the first word of "strip", so it can be a program name with args.
   6521 set dummy strip; ac_word=$2
   6522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6523 printf %s "checking for $ac_word... " >&6; }
   6524 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6525 then :
   6526   printf %s "(cached) " >&6
   6527 else $as_nop
   6528   if test -n "$ac_ct_STRIP"; then
   6529   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6530 else
   6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6532 for as_dir in $PATH
   6533 do
   6534   IFS=$as_save_IFS
   6535   case $as_dir in #(((
   6536     '') as_dir=./ ;;
   6537     */) ;;
   6538     *) as_dir=$as_dir/ ;;
   6539   esac
   6540     for ac_exec_ext in '' $ac_executable_extensions; do
   6541   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6542     ac_cv_prog_ac_ct_STRIP="strip"
   6543     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6544     break 2
   6545   fi
   6546 done
   6547   done
   6548 IFS=$as_save_IFS
   6549 
   6550 fi
   6551 fi
   6552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6553 if test -n "$ac_ct_STRIP"; then
   6554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6555 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6556 else
   6557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6558 printf "%s\n" "no" >&6; }
   6559 fi
   6560 
   6561   if test "x$ac_ct_STRIP" = x; then
   6562     STRIP=":"
   6563   else
   6564     case $cross_compiling:$ac_tool_warned in
   6565 yes:)
   6566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6567 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6568 ac_tool_warned=yes ;;
   6569 esac
   6570     STRIP=$ac_ct_STRIP
   6571   fi
   6572 else
   6573   STRIP="$ac_cv_prog_STRIP"
   6574 fi
   6575 
   6576 test -z "$STRIP" && STRIP=:
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 if test -n "$ac_tool_prefix"; then
   6584   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6585 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6587 printf %s "checking for $ac_word... " >&6; }
   6588 if test ${ac_cv_prog_RANLIB+y}
   6589 then :
   6590   printf %s "(cached) " >&6
   6591 else $as_nop
   6592   if test -n "$RANLIB"; then
   6593   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6594 else
   6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6596 for as_dir in $PATH
   6597 do
   6598   IFS=$as_save_IFS
   6599   case $as_dir in #(((
   6600     '') as_dir=./ ;;
   6601     */) ;;
   6602     *) as_dir=$as_dir/ ;;
   6603   esac
   6604     for ac_exec_ext in '' $ac_executable_extensions; do
   6605   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6606     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6607     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6608     break 2
   6609   fi
   6610 done
   6611   done
   6612 IFS=$as_save_IFS
   6613 
   6614 fi
   6615 fi
   6616 RANLIB=$ac_cv_prog_RANLIB
   6617 if test -n "$RANLIB"; then
   6618   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6619 printf "%s\n" "$RANLIB" >&6; }
   6620 else
   6621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6622 printf "%s\n" "no" >&6; }
   6623 fi
   6624 
   6625 
   6626 fi
   6627 if test -z "$ac_cv_prog_RANLIB"; then
   6628   ac_ct_RANLIB=$RANLIB
   6629   # Extract the first word of "ranlib", so it can be a program name with args.
   6630 set dummy ranlib; ac_word=$2
   6631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6632 printf %s "checking for $ac_word... " >&6; }
   6633 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6634 then :
   6635   printf %s "(cached) " >&6
   6636 else $as_nop
   6637   if test -n "$ac_ct_RANLIB"; then
   6638   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6639 else
   6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6641 for as_dir in $PATH
   6642 do
   6643   IFS=$as_save_IFS
   6644   case $as_dir in #(((
   6645     '') as_dir=./ ;;
   6646     */) ;;
   6647     *) as_dir=$as_dir/ ;;
   6648   esac
   6649     for ac_exec_ext in '' $ac_executable_extensions; do
   6650   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6651     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6652     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6653     break 2
   6654   fi
   6655 done
   6656   done
   6657 IFS=$as_save_IFS
   6658 
   6659 fi
   6660 fi
   6661 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6662 if test -n "$ac_ct_RANLIB"; then
   6663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6664 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6665 else
   6666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6667 printf "%s\n" "no" >&6; }
   6668 fi
   6669 
   6670   if test "x$ac_ct_RANLIB" = x; then
   6671     RANLIB=":"
   6672   else
   6673     case $cross_compiling:$ac_tool_warned in
   6674 yes:)
   6675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6676 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6677 ac_tool_warned=yes ;;
   6678 esac
   6679     RANLIB=$ac_ct_RANLIB
   6680   fi
   6681 else
   6682   RANLIB="$ac_cv_prog_RANLIB"
   6683 fi
   6684 
   6685 test -z "$RANLIB" && RANLIB=:
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 # Determine commands to create old-style static archives.
   6693 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6694 old_postinstall_cmds='chmod 644 $oldlib'
   6695 old_postuninstall_cmds=
   6696 
   6697 if test -n "$RANLIB"; then
   6698   case $host_os in
   6699   bitrig* | openbsd*)
   6700     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6701     ;;
   6702   *)
   6703     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6704     ;;
   6705   esac
   6706   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6707 fi
   6708 
   6709 case $host_os in
   6710   darwin*)
   6711     lock_old_archive_extraction=yes ;;
   6712   *)
   6713     lock_old_archive_extraction=no ;;
   6714 esac
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 # If no C compiler was specified, use CC.
   6755 LTCC=${LTCC-"$CC"}
   6756 
   6757 # If no C compiler flags were specified, use CFLAGS.
   6758 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6759 
   6760 # Allow CC to be a program name with arguments.
   6761 compiler=$CC
   6762 
   6763 
   6764 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6766 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6767 if test ${lt_cv_sys_global_symbol_pipe+y}
   6768 then :
   6769   printf %s "(cached) " >&6
   6770 else $as_nop
   6771 
   6772 # These are sane defaults that work on at least a few old systems.
   6773 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6774 
   6775 # Character class describing NM global symbol codes.
   6776 symcode='[BCDEGRST]'
   6777 
   6778 # Regexp to match symbols that can be accessed directly from C.
   6779 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6780 
   6781 # Define system-specific variables.
   6782 case $host_os in
   6783 aix*)
   6784   symcode='[BCDT]'
   6785   ;;
   6786 cygwin* | mingw* | pw32* | cegcc*)
   6787   symcode='[ABCDGISTW]'
   6788   ;;
   6789 hpux*)
   6790   if test ia64 = "$host_cpu"; then
   6791     symcode='[ABCDEGRST]'
   6792   fi
   6793   ;;
   6794 irix* | nonstopux*)
   6795   symcode='[BCDEGRST]'
   6796   ;;
   6797 osf*)
   6798   symcode='[BCDEGQRST]'
   6799   ;;
   6800 solaris*)
   6801   symcode='[BDRT]'
   6802   ;;
   6803 sco3.2v5*)
   6804   symcode='[DT]'
   6805   ;;
   6806 sysv4.2uw2*)
   6807   symcode='[DT]'
   6808   ;;
   6809 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6810   symcode='[ABDT]'
   6811   ;;
   6812 sysv4)
   6813   symcode='[DFNSTU]'
   6814   ;;
   6815 esac
   6816 
   6817 # If we're using GNU nm, then use its standard symbol codes.
   6818 case `$NM -V 2>&1` in
   6819 *GNU* | *'with BFD'*)
   6820   symcode='[ABCDGIRSTW]' ;;
   6821 esac
   6822 
   6823 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6824   # Gets list of data symbols to import.
   6825   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6826   # Adjust the below global symbol transforms to fixup imported variables.
   6827   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6828   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6829   lt_c_name_lib_hook="\
   6830   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6831   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6832 else
   6833   # Disable hooks by default.
   6834   lt_cv_sys_global_symbol_to_import=
   6835   lt_cdecl_hook=
   6836   lt_c_name_hook=
   6837   lt_c_name_lib_hook=
   6838 fi
   6839 
   6840 # Transform an extracted symbol line into a proper C declaration.
   6841 # Some systems (esp. on ia64) link data and code symbols differently,
   6842 # so use this general approach.
   6843 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6844 $lt_cdecl_hook\
   6845 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6846 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6847 
   6848 # Transform an extracted symbol line into symbol name and symbol address
   6849 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6850 $lt_c_name_hook\
   6851 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6852 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6853 
   6854 # Transform an extracted symbol line into symbol name with lib prefix and
   6855 # symbol address.
   6856 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6857 $lt_c_name_lib_hook\
   6858 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6859 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6860 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6861 
   6862 # Handle CRLF in mingw tool chain
   6863 opt_cr=
   6864 case $build_os in
   6865 mingw*)
   6866   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6867   ;;
   6868 esac
   6869 
   6870 # Try without a prefix underscore, then with it.
   6871 for ac_symprfx in "" "_"; do
   6872 
   6873   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6874   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6875 
   6876   # Write the raw and C identifiers.
   6877   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6878     # Fake it for dumpbin and say T for any non-static function,
   6879     # D for any global variable and I for any imported variable.
   6880     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6881     # which start with @ or ?.
   6882     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6883 "     {last_section=section; section=\$ 3};"\
   6884 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6885 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6886 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6887 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6888 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6889 "     \$ 0!~/External *\|/{next};"\
   6890 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6891 "     {if(hide[section]) next};"\
   6892 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6893 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6894 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6895 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6896 "     ' prfx=^$ac_symprfx"
   6897   else
   6898     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6899   fi
   6900   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6901 
   6902   # Check to see that the pipe works correctly.
   6903   pipe_works=no
   6904 
   6905   rm -f conftest*
   6906   cat > conftest.$ac_ext <<_LT_EOF
   6907 #ifdef __cplusplus
   6908 extern "C" {
   6909 #endif
   6910 char nm_test_var;
   6911 void nm_test_func(void);
   6912 void nm_test_func(void){}
   6913 #ifdef __cplusplus
   6914 }
   6915 #endif
   6916 int main(){nm_test_var='a';nm_test_func();return(0);}
   6917 _LT_EOF
   6918 
   6919   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6920   (eval $ac_compile) 2>&5
   6921   ac_status=$?
   6922   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6923   test $ac_status = 0; }; then
   6924     # Now try to grab the symbols.
   6925     nlist=conftest.nm
   6926     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6927   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6928   ac_status=$?
   6929   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6930   test $ac_status = 0; } && test -s "$nlist"; then
   6931       # Try sorting and uniquifying the output.
   6932       if sort "$nlist" | uniq > "$nlist"T; then
   6933 	mv -f "$nlist"T "$nlist"
   6934       else
   6935 	rm -f "$nlist"T
   6936       fi
   6937 
   6938       # Make sure that we snagged all the symbols we need.
   6939       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6940 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6941 	  cat <<_LT_EOF > conftest.$ac_ext
   6942 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6943 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6944 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6945    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6946 # define LT_DLSYM_CONST
   6947 #elif defined __osf__
   6948 /* This system does not cope well with relocations in const data.  */
   6949 # define LT_DLSYM_CONST
   6950 #else
   6951 # define LT_DLSYM_CONST const
   6952 #endif
   6953 
   6954 #ifdef __cplusplus
   6955 extern "C" {
   6956 #endif
   6957 
   6958 _LT_EOF
   6959 	  # Now generate the symbol file.
   6960 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6961 
   6962 	  cat <<_LT_EOF >> conftest.$ac_ext
   6963 
   6964 /* The mapping between symbol names and symbols.  */
   6965 LT_DLSYM_CONST struct {
   6966   const char *name;
   6967   void       *address;
   6968 }
   6969 lt__PROGRAM__LTX_preloaded_symbols[] =
   6970 {
   6971   { "@PROGRAM@", (void *) 0 },
   6972 _LT_EOF
   6973 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6974 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6975   {0, (void *) 0}
   6976 };
   6977 
   6978 /* This works around a problem in FreeBSD linker */
   6979 #ifdef FREEBSD_WORKAROUND
   6980 static const void *lt_preloaded_setup() {
   6981   return lt__PROGRAM__LTX_preloaded_symbols;
   6982 }
   6983 #endif
   6984 
   6985 #ifdef __cplusplus
   6986 }
   6987 #endif
   6988 _LT_EOF
   6989 	  # Now try linking the two files.
   6990 	  mv conftest.$ac_objext conftstm.$ac_objext
   6991 	  lt_globsym_save_LIBS=$LIBS
   6992 	  lt_globsym_save_CFLAGS=$CFLAGS
   6993 	  LIBS=conftstm.$ac_objext
   6994 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6995 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6996   (eval $ac_link) 2>&5
   6997   ac_status=$?
   6998   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6999   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7000 	    pipe_works=yes
   7001 	  fi
   7002 	  LIBS=$lt_globsym_save_LIBS
   7003 	  CFLAGS=$lt_globsym_save_CFLAGS
   7004 	else
   7005 	  echo "cannot find nm_test_func in $nlist" >&5
   7006 	fi
   7007       else
   7008 	echo "cannot find nm_test_var in $nlist" >&5
   7009       fi
   7010     else
   7011       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7012     fi
   7013   else
   7014     echo "$progname: failed program was:" >&5
   7015     cat conftest.$ac_ext >&5
   7016   fi
   7017   rm -rf conftest* conftst*
   7018 
   7019   # Do not use the global_symbol_pipe unless it works.
   7020   if test yes = "$pipe_works"; then
   7021     break
   7022   else
   7023     lt_cv_sys_global_symbol_pipe=
   7024   fi
   7025 done
   7026 
   7027 fi
   7028 
   7029 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7030   lt_cv_sys_global_symbol_to_cdecl=
   7031 fi
   7032 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7034 printf "%s\n" "failed" >&6; }
   7035 else
   7036   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7037 printf "%s\n" "ok" >&6; }
   7038 fi
   7039 
   7040 # Response file support.
   7041 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7042   nm_file_list_spec='@'
   7043 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7044   nm_file_list_spec='@'
   7045 fi
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7084 printf %s "checking for sysroot... " >&6; }
   7085 
   7086 # Check whether --with-sysroot was given.
   7087 if test ${with_sysroot+y}
   7088 then :
   7089   withval=$with_sysroot;
   7090 else $as_nop
   7091   with_sysroot=no
   7092 fi
   7093 
   7094 
   7095 lt_sysroot=
   7096 case $with_sysroot in #(
   7097  yes)
   7098    if test yes = "$GCC"; then
   7099      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7100    fi
   7101    ;; #(
   7102  /*)
   7103    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7104    ;; #(
   7105  no|'')
   7106    ;; #(
   7107  *)
   7108    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7109 printf "%s\n" "$with_sysroot" >&6; }
   7110    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7111    ;;
   7112 esac
   7113 
   7114  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7115 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7122 printf %s "checking for a working dd... " >&6; }
   7123 if test ${ac_cv_path_lt_DD+y}
   7124 then :
   7125   printf %s "(cached) " >&6
   7126 else $as_nop
   7127   printf 0123456789abcdef0123456789abcdef >conftest.i
   7128 cat conftest.i conftest.i >conftest2.i
   7129 : ${lt_DD:=$DD}
   7130 if test -z "$lt_DD"; then
   7131   ac_path_lt_DD_found=false
   7132   # Loop through the user's path and test for each of PROGNAME-LIST
   7133   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7134 for as_dir in $PATH
   7135 do
   7136   IFS=$as_save_IFS
   7137   case $as_dir in #(((
   7138     '') as_dir=./ ;;
   7139     */) ;;
   7140     *) as_dir=$as_dir/ ;;
   7141   esac
   7142     for ac_prog in dd
   7143    do
   7144     for ac_exec_ext in '' $ac_executable_extensions; do
   7145       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7146       as_fn_executable_p "$ac_path_lt_DD" || continue
   7147 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7148   cmp -s conftest.i conftest.out \
   7149   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7150 fi
   7151       $ac_path_lt_DD_found && break 3
   7152     done
   7153   done
   7154   done
   7155 IFS=$as_save_IFS
   7156   if test -z "$ac_cv_path_lt_DD"; then
   7157     :
   7158   fi
   7159 else
   7160   ac_cv_path_lt_DD=$lt_DD
   7161 fi
   7162 
   7163 rm -f conftest.i conftest2.i conftest.out
   7164 fi
   7165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7166 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7167 
   7168 
   7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7170 printf %s "checking how to truncate binary pipes... " >&6; }
   7171 if test ${lt_cv_truncate_bin+y}
   7172 then :
   7173   printf %s "(cached) " >&6
   7174 else $as_nop
   7175   printf 0123456789abcdef0123456789abcdef >conftest.i
   7176 cat conftest.i conftest.i >conftest2.i
   7177 lt_cv_truncate_bin=
   7178 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7179   cmp -s conftest.i conftest.out \
   7180   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7181 fi
   7182 rm -f conftest.i conftest2.i conftest.out
   7183 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7184 fi
   7185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7186 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7195 func_cc_basename ()
   7196 {
   7197     for cc_temp in $*""; do
   7198       case $cc_temp in
   7199         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7200         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7201         \-*) ;;
   7202         *) break;;
   7203       esac
   7204     done
   7205     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7206 }
   7207 
   7208 # Check whether --enable-libtool-lock was given.
   7209 if test ${enable_libtool_lock+y}
   7210 then :
   7211   enableval=$enable_libtool_lock;
   7212 fi
   7213 
   7214 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7215 
   7216 # Some flags need to be propagated to the compiler or linker for good
   7217 # libtool support.
   7218 case $host in
   7219 ia64-*-hpux*)
   7220   # Find out what ABI is being produced by ac_compile, and set mode
   7221   # options accordingly.
   7222   echo 'int i;' > conftest.$ac_ext
   7223   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7224   (eval $ac_compile) 2>&5
   7225   ac_status=$?
   7226   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7227   test $ac_status = 0; }; then
   7228     case `$FILECMD conftest.$ac_objext` in
   7229       *ELF-32*)
   7230 	HPUX_IA64_MODE=32
   7231 	;;
   7232       *ELF-64*)
   7233 	HPUX_IA64_MODE=64
   7234 	;;
   7235     esac
   7236   fi
   7237   rm -rf conftest*
   7238   ;;
   7239 *-*-irix6*)
   7240   # Find out what ABI is being produced by ac_compile, and set linker
   7241   # options accordingly.
   7242   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7243   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7244   (eval $ac_compile) 2>&5
   7245   ac_status=$?
   7246   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7247   test $ac_status = 0; }; then
   7248     if test yes = "$lt_cv_prog_gnu_ld"; then
   7249       case `$FILECMD conftest.$ac_objext` in
   7250 	*32-bit*)
   7251 	  LD="${LD-ld} -melf32bsmip"
   7252 	  ;;
   7253 	*N32*)
   7254 	  LD="${LD-ld} -melf32bmipn32"
   7255 	  ;;
   7256 	*64-bit*)
   7257 	  LD="${LD-ld} -melf64bmip"
   7258 	;;
   7259       esac
   7260     else
   7261       case `$FILECMD conftest.$ac_objext` in
   7262 	*32-bit*)
   7263 	  LD="${LD-ld} -32"
   7264 	  ;;
   7265 	*N32*)
   7266 	  LD="${LD-ld} -n32"
   7267 	  ;;
   7268 	*64-bit*)
   7269 	  LD="${LD-ld} -64"
   7270 	  ;;
   7271       esac
   7272     fi
   7273   fi
   7274   rm -rf conftest*
   7275   ;;
   7276 
   7277 mips64*-*linux*)
   7278   # Find out what ABI is being produced by ac_compile, and set linker
   7279   # options accordingly.
   7280   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7281   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7282   (eval $ac_compile) 2>&5
   7283   ac_status=$?
   7284   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7285   test $ac_status = 0; }; then
   7286     emul=elf
   7287     case `$FILECMD conftest.$ac_objext` in
   7288       *32-bit*)
   7289 	emul="${emul}32"
   7290 	;;
   7291       *64-bit*)
   7292 	emul="${emul}64"
   7293 	;;
   7294     esac
   7295     case `$FILECMD conftest.$ac_objext` in
   7296       *MSB*)
   7297 	emul="${emul}btsmip"
   7298 	;;
   7299       *LSB*)
   7300 	emul="${emul}ltsmip"
   7301 	;;
   7302     esac
   7303     case `$FILECMD conftest.$ac_objext` in
   7304       *N32*)
   7305 	emul="${emul}n32"
   7306 	;;
   7307     esac
   7308     LD="${LD-ld} -m $emul"
   7309   fi
   7310   rm -rf conftest*
   7311   ;;
   7312 
   7313 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7314 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7315   # Find out what ABI is being produced by ac_compile, and set linker
   7316   # options accordingly.  Note that the listed cases only cover the
   7317   # situations where additional linker options are needed (such as when
   7318   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7319   # vice versa); the common cases where no linker options are needed do
   7320   # not appear in the list.
   7321   echo 'int i;' > conftest.$ac_ext
   7322   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7323   (eval $ac_compile) 2>&5
   7324   ac_status=$?
   7325   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7326   test $ac_status = 0; }; then
   7327     case `$FILECMD conftest.o` in
   7328       *32-bit*)
   7329 	case $host in
   7330 	  x86_64-*kfreebsd*-gnu)
   7331 	    LD="${LD-ld} -m elf_i386_fbsd"
   7332 	    ;;
   7333 	  x86_64-*linux*)
   7334 	    case `$FILECMD conftest.o` in
   7335 	      *x86-64*)
   7336 		LD="${LD-ld} -m elf32_x86_64"
   7337 		;;
   7338 	      *)
   7339 		LD="${LD-ld} -m elf_i386"
   7340 		;;
   7341 	    esac
   7342 	    ;;
   7343 	  powerpc64le-*linux*)
   7344 	    LD="${LD-ld} -m elf32lppclinux"
   7345 	    ;;
   7346 	  powerpc64-*linux*)
   7347 	    LD="${LD-ld} -m elf32ppclinux"
   7348 	    ;;
   7349 	  s390x-*linux*)
   7350 	    LD="${LD-ld} -m elf_s390"
   7351 	    ;;
   7352 	  sparc64-*linux*)
   7353 	    LD="${LD-ld} -m elf32_sparc"
   7354 	    ;;
   7355 	esac
   7356 	;;
   7357       *64-bit*)
   7358 	case $host in
   7359 	  x86_64-*kfreebsd*-gnu)
   7360 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7361 	    ;;
   7362 	  x86_64-*linux*)
   7363 	    LD="${LD-ld} -m elf_x86_64"
   7364 	    ;;
   7365 	  powerpcle-*linux*|powerpc64le-*linux*)
   7366 	    LD="${LD-ld} -m elf64lppc"
   7367 	    ;;
   7368 	  powerpc-*linux*|powerpc64-*linux*)
   7369 	    LD="${LD-ld} -m elf64ppc"
   7370 	    ;;
   7371 	  s390*-*linux*|s390*-*tpf*)
   7372 	    LD="${LD-ld} -m elf64_s390"
   7373 	    ;;
   7374 	  sparc*-*linux*)
   7375 	    LD="${LD-ld} -m elf64_sparc"
   7376 	    ;;
   7377 	esac
   7378 	;;
   7379     esac
   7380   fi
   7381   rm -rf conftest*
   7382   ;;
   7383 
   7384 *-*-sco3.2v5*)
   7385   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7386   SAVE_CFLAGS=$CFLAGS
   7387   CFLAGS="$CFLAGS -belf"
   7388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7389 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7390 if test ${lt_cv_cc_needs_belf+y}
   7391 then :
   7392   printf %s "(cached) " >&6
   7393 else $as_nop
   7394   ac_ext=c
   7395 ac_cpp='$CPP $CPPFLAGS'
   7396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7399 
   7400      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7401 /* end confdefs.h.  */
   7402 
   7403 int
   7404 main (void)
   7405 {
   7406 
   7407   ;
   7408   return 0;
   7409 }
   7410 _ACEOF
   7411 if ac_fn_c_try_link "$LINENO"
   7412 then :
   7413   lt_cv_cc_needs_belf=yes
   7414 else $as_nop
   7415   lt_cv_cc_needs_belf=no
   7416 fi
   7417 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7418     conftest$ac_exeext conftest.$ac_ext
   7419      ac_ext=c
   7420 ac_cpp='$CPP $CPPFLAGS'
   7421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7424 
   7425 fi
   7426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7427 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7428   if test yes != "$lt_cv_cc_needs_belf"; then
   7429     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7430     CFLAGS=$SAVE_CFLAGS
   7431   fi
   7432   ;;
   7433 *-*solaris*)
   7434   # Find out what ABI is being produced by ac_compile, and set linker
   7435   # options accordingly.
   7436   echo 'int i;' > conftest.$ac_ext
   7437   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7438   (eval $ac_compile) 2>&5
   7439   ac_status=$?
   7440   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7441   test $ac_status = 0; }; then
   7442     case `$FILECMD conftest.o` in
   7443     *64-bit*)
   7444       case $lt_cv_prog_gnu_ld in
   7445       yes*)
   7446         case $host in
   7447         i?86-*-solaris*|x86_64-*-solaris*)
   7448           LD="${LD-ld} -m elf_x86_64"
   7449           ;;
   7450         sparc*-*-solaris*)
   7451           LD="${LD-ld} -m elf64_sparc"
   7452           ;;
   7453         esac
   7454         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7455         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7456           LD=${LD-ld}_sol2
   7457         fi
   7458         ;;
   7459       *)
   7460 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7461 	  LD="${LD-ld} -64"
   7462 	fi
   7463 	;;
   7464       esac
   7465       ;;
   7466     esac
   7467   fi
   7468   rm -rf conftest*
   7469   ;;
   7470 esac
   7471 
   7472 need_locks=$enable_libtool_lock
   7473 
   7474 if test -n "$ac_tool_prefix"; then
   7475   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7476 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7478 printf %s "checking for $ac_word... " >&6; }
   7479 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7480 then :
   7481   printf %s "(cached) " >&6
   7482 else $as_nop
   7483   if test -n "$MANIFEST_TOOL"; then
   7484   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7485 else
   7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7487 for as_dir in $PATH
   7488 do
   7489   IFS=$as_save_IFS
   7490   case $as_dir in #(((
   7491     '') as_dir=./ ;;
   7492     */) ;;
   7493     *) as_dir=$as_dir/ ;;
   7494   esac
   7495     for ac_exec_ext in '' $ac_executable_extensions; do
   7496   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7497     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7498     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7499     break 2
   7500   fi
   7501 done
   7502   done
   7503 IFS=$as_save_IFS
   7504 
   7505 fi
   7506 fi
   7507 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7508 if test -n "$MANIFEST_TOOL"; then
   7509   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7510 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7511 else
   7512   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7513 printf "%s\n" "no" >&6; }
   7514 fi
   7515 
   7516 
   7517 fi
   7518 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7519   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7520   # Extract the first word of "mt", so it can be a program name with args.
   7521 set dummy mt; ac_word=$2
   7522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7523 printf %s "checking for $ac_word... " >&6; }
   7524 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7525 then :
   7526   printf %s "(cached) " >&6
   7527 else $as_nop
   7528   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7529   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7530 else
   7531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7532 for as_dir in $PATH
   7533 do
   7534   IFS=$as_save_IFS
   7535   case $as_dir in #(((
   7536     '') as_dir=./ ;;
   7537     */) ;;
   7538     *) as_dir=$as_dir/ ;;
   7539   esac
   7540     for ac_exec_ext in '' $ac_executable_extensions; do
   7541   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7542     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7543     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7544     break 2
   7545   fi
   7546 done
   7547   done
   7548 IFS=$as_save_IFS
   7549 
   7550 fi
   7551 fi
   7552 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7553 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7555 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7556 else
   7557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7558 printf "%s\n" "no" >&6; }
   7559 fi
   7560 
   7561   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7562     MANIFEST_TOOL=":"
   7563   else
   7564     case $cross_compiling:$ac_tool_warned in
   7565 yes:)
   7566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7567 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7568 ac_tool_warned=yes ;;
   7569 esac
   7570     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7571   fi
   7572 else
   7573   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7574 fi
   7575 
   7576 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7578 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7579 if test ${lt_cv_path_mainfest_tool+y}
   7580 then :
   7581   printf %s "(cached) " >&6
   7582 else $as_nop
   7583   lt_cv_path_mainfest_tool=no
   7584   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7585   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7586   cat conftest.err >&5
   7587   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7588     lt_cv_path_mainfest_tool=yes
   7589   fi
   7590   rm -f conftest*
   7591 fi
   7592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7593 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7594 if test yes != "$lt_cv_path_mainfest_tool"; then
   7595   MANIFEST_TOOL=:
   7596 fi
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603   case $host_os in
   7604     rhapsody* | darwin*)
   7605     if test -n "$ac_tool_prefix"; then
   7606   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7607 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7609 printf %s "checking for $ac_word... " >&6; }
   7610 if test ${ac_cv_prog_DSYMUTIL+y}
   7611 then :
   7612   printf %s "(cached) " >&6
   7613 else $as_nop
   7614   if test -n "$DSYMUTIL"; then
   7615   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7616 else
   7617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7618 for as_dir in $PATH
   7619 do
   7620   IFS=$as_save_IFS
   7621   case $as_dir in #(((
   7622     '') as_dir=./ ;;
   7623     */) ;;
   7624     *) as_dir=$as_dir/ ;;
   7625   esac
   7626     for ac_exec_ext in '' $ac_executable_extensions; do
   7627   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7628     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7629     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7630     break 2
   7631   fi
   7632 done
   7633   done
   7634 IFS=$as_save_IFS
   7635 
   7636 fi
   7637 fi
   7638 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7639 if test -n "$DSYMUTIL"; then
   7640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7641 printf "%s\n" "$DSYMUTIL" >&6; }
   7642 else
   7643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7644 printf "%s\n" "no" >&6; }
   7645 fi
   7646 
   7647 
   7648 fi
   7649 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7650   ac_ct_DSYMUTIL=$DSYMUTIL
   7651   # Extract the first word of "dsymutil", so it can be a program name with args.
   7652 set dummy dsymutil; ac_word=$2
   7653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7654 printf %s "checking for $ac_word... " >&6; }
   7655 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7656 then :
   7657   printf %s "(cached) " >&6
   7658 else $as_nop
   7659   if test -n "$ac_ct_DSYMUTIL"; then
   7660   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7661 else
   7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7663 for as_dir in $PATH
   7664 do
   7665   IFS=$as_save_IFS
   7666   case $as_dir in #(((
   7667     '') as_dir=./ ;;
   7668     */) ;;
   7669     *) as_dir=$as_dir/ ;;
   7670   esac
   7671     for ac_exec_ext in '' $ac_executable_extensions; do
   7672   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7673     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7674     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7675     break 2
   7676   fi
   7677 done
   7678   done
   7679 IFS=$as_save_IFS
   7680 
   7681 fi
   7682 fi
   7683 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7684 if test -n "$ac_ct_DSYMUTIL"; then
   7685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7686 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7687 else
   7688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7689 printf "%s\n" "no" >&6; }
   7690 fi
   7691 
   7692   if test "x$ac_ct_DSYMUTIL" = x; then
   7693     DSYMUTIL=":"
   7694   else
   7695     case $cross_compiling:$ac_tool_warned in
   7696 yes:)
   7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7699 ac_tool_warned=yes ;;
   7700 esac
   7701     DSYMUTIL=$ac_ct_DSYMUTIL
   7702   fi
   7703 else
   7704   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7705 fi
   7706 
   7707     if test -n "$ac_tool_prefix"; then
   7708   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7709 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7711 printf %s "checking for $ac_word... " >&6; }
   7712 if test ${ac_cv_prog_NMEDIT+y}
   7713 then :
   7714   printf %s "(cached) " >&6
   7715 else $as_nop
   7716   if test -n "$NMEDIT"; then
   7717   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7718 else
   7719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7720 for as_dir in $PATH
   7721 do
   7722   IFS=$as_save_IFS
   7723   case $as_dir in #(((
   7724     '') as_dir=./ ;;
   7725     */) ;;
   7726     *) as_dir=$as_dir/ ;;
   7727   esac
   7728     for ac_exec_ext in '' $ac_executable_extensions; do
   7729   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7730     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7731     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7732     break 2
   7733   fi
   7734 done
   7735   done
   7736 IFS=$as_save_IFS
   7737 
   7738 fi
   7739 fi
   7740 NMEDIT=$ac_cv_prog_NMEDIT
   7741 if test -n "$NMEDIT"; then
   7742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7743 printf "%s\n" "$NMEDIT" >&6; }
   7744 else
   7745   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7746 printf "%s\n" "no" >&6; }
   7747 fi
   7748 
   7749 
   7750 fi
   7751 if test -z "$ac_cv_prog_NMEDIT"; then
   7752   ac_ct_NMEDIT=$NMEDIT
   7753   # Extract the first word of "nmedit", so it can be a program name with args.
   7754 set dummy nmedit; ac_word=$2
   7755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7756 printf %s "checking for $ac_word... " >&6; }
   7757 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7758 then :
   7759   printf %s "(cached) " >&6
   7760 else $as_nop
   7761   if test -n "$ac_ct_NMEDIT"; then
   7762   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7763 else
   7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7765 for as_dir in $PATH
   7766 do
   7767   IFS=$as_save_IFS
   7768   case $as_dir in #(((
   7769     '') as_dir=./ ;;
   7770     */) ;;
   7771     *) as_dir=$as_dir/ ;;
   7772   esac
   7773     for ac_exec_ext in '' $ac_executable_extensions; do
   7774   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7775     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7776     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7777     break 2
   7778   fi
   7779 done
   7780   done
   7781 IFS=$as_save_IFS
   7782 
   7783 fi
   7784 fi
   7785 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7786 if test -n "$ac_ct_NMEDIT"; then
   7787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7788 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7789 else
   7790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7791 printf "%s\n" "no" >&6; }
   7792 fi
   7793 
   7794   if test "x$ac_ct_NMEDIT" = x; then
   7795     NMEDIT=":"
   7796   else
   7797     case $cross_compiling:$ac_tool_warned in
   7798 yes:)
   7799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7800 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7801 ac_tool_warned=yes ;;
   7802 esac
   7803     NMEDIT=$ac_ct_NMEDIT
   7804   fi
   7805 else
   7806   NMEDIT="$ac_cv_prog_NMEDIT"
   7807 fi
   7808 
   7809     if test -n "$ac_tool_prefix"; then
   7810   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7811 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7813 printf %s "checking for $ac_word... " >&6; }
   7814 if test ${ac_cv_prog_LIPO+y}
   7815 then :
   7816   printf %s "(cached) " >&6
   7817 else $as_nop
   7818   if test -n "$LIPO"; then
   7819   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7820 else
   7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7822 for as_dir in $PATH
   7823 do
   7824   IFS=$as_save_IFS
   7825   case $as_dir in #(((
   7826     '') as_dir=./ ;;
   7827     */) ;;
   7828     *) as_dir=$as_dir/ ;;
   7829   esac
   7830     for ac_exec_ext in '' $ac_executable_extensions; do
   7831   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7832     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7833     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7834     break 2
   7835   fi
   7836 done
   7837   done
   7838 IFS=$as_save_IFS
   7839 
   7840 fi
   7841 fi
   7842 LIPO=$ac_cv_prog_LIPO
   7843 if test -n "$LIPO"; then
   7844   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7845 printf "%s\n" "$LIPO" >&6; }
   7846 else
   7847   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7848 printf "%s\n" "no" >&6; }
   7849 fi
   7850 
   7851 
   7852 fi
   7853 if test -z "$ac_cv_prog_LIPO"; then
   7854   ac_ct_LIPO=$LIPO
   7855   # Extract the first word of "lipo", so it can be a program name with args.
   7856 set dummy lipo; ac_word=$2
   7857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7858 printf %s "checking for $ac_word... " >&6; }
   7859 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7860 then :
   7861   printf %s "(cached) " >&6
   7862 else $as_nop
   7863   if test -n "$ac_ct_LIPO"; then
   7864   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7865 else
   7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7867 for as_dir in $PATH
   7868 do
   7869   IFS=$as_save_IFS
   7870   case $as_dir in #(((
   7871     '') as_dir=./ ;;
   7872     */) ;;
   7873     *) as_dir=$as_dir/ ;;
   7874   esac
   7875     for ac_exec_ext in '' $ac_executable_extensions; do
   7876   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7877     ac_cv_prog_ac_ct_LIPO="lipo"
   7878     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7879     break 2
   7880   fi
   7881 done
   7882   done
   7883 IFS=$as_save_IFS
   7884 
   7885 fi
   7886 fi
   7887 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7888 if test -n "$ac_ct_LIPO"; then
   7889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7890 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7891 else
   7892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7893 printf "%s\n" "no" >&6; }
   7894 fi
   7895 
   7896   if test "x$ac_ct_LIPO" = x; then
   7897     LIPO=":"
   7898   else
   7899     case $cross_compiling:$ac_tool_warned in
   7900 yes:)
   7901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7902 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7903 ac_tool_warned=yes ;;
   7904 esac
   7905     LIPO=$ac_ct_LIPO
   7906   fi
   7907 else
   7908   LIPO="$ac_cv_prog_LIPO"
   7909 fi
   7910 
   7911     if test -n "$ac_tool_prefix"; then
   7912   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7913 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7915 printf %s "checking for $ac_word... " >&6; }
   7916 if test ${ac_cv_prog_OTOOL+y}
   7917 then :
   7918   printf %s "(cached) " >&6
   7919 else $as_nop
   7920   if test -n "$OTOOL"; then
   7921   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7922 else
   7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7924 for as_dir in $PATH
   7925 do
   7926   IFS=$as_save_IFS
   7927   case $as_dir in #(((
   7928     '') as_dir=./ ;;
   7929     */) ;;
   7930     *) as_dir=$as_dir/ ;;
   7931   esac
   7932     for ac_exec_ext in '' $ac_executable_extensions; do
   7933   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7934     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7935     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7936     break 2
   7937   fi
   7938 done
   7939   done
   7940 IFS=$as_save_IFS
   7941 
   7942 fi
   7943 fi
   7944 OTOOL=$ac_cv_prog_OTOOL
   7945 if test -n "$OTOOL"; then
   7946   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7947 printf "%s\n" "$OTOOL" >&6; }
   7948 else
   7949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7950 printf "%s\n" "no" >&6; }
   7951 fi
   7952 
   7953 
   7954 fi
   7955 if test -z "$ac_cv_prog_OTOOL"; then
   7956   ac_ct_OTOOL=$OTOOL
   7957   # Extract the first word of "otool", so it can be a program name with args.
   7958 set dummy otool; ac_word=$2
   7959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7960 printf %s "checking for $ac_word... " >&6; }
   7961 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7962 then :
   7963   printf %s "(cached) " >&6
   7964 else $as_nop
   7965   if test -n "$ac_ct_OTOOL"; then
   7966   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7967 else
   7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7969 for as_dir in $PATH
   7970 do
   7971   IFS=$as_save_IFS
   7972   case $as_dir in #(((
   7973     '') as_dir=./ ;;
   7974     */) ;;
   7975     *) as_dir=$as_dir/ ;;
   7976   esac
   7977     for ac_exec_ext in '' $ac_executable_extensions; do
   7978   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7979     ac_cv_prog_ac_ct_OTOOL="otool"
   7980     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7981     break 2
   7982   fi
   7983 done
   7984   done
   7985 IFS=$as_save_IFS
   7986 
   7987 fi
   7988 fi
   7989 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7990 if test -n "$ac_ct_OTOOL"; then
   7991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7992 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   7993 else
   7994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7995 printf "%s\n" "no" >&6; }
   7996 fi
   7997 
   7998   if test "x$ac_ct_OTOOL" = x; then
   7999     OTOOL=":"
   8000   else
   8001     case $cross_compiling:$ac_tool_warned in
   8002 yes:)
   8003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8004 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8005 ac_tool_warned=yes ;;
   8006 esac
   8007     OTOOL=$ac_ct_OTOOL
   8008   fi
   8009 else
   8010   OTOOL="$ac_cv_prog_OTOOL"
   8011 fi
   8012 
   8013     if test -n "$ac_tool_prefix"; then
   8014   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8015 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8017 printf %s "checking for $ac_word... " >&6; }
   8018 if test ${ac_cv_prog_OTOOL64+y}
   8019 then :
   8020   printf %s "(cached) " >&6
   8021 else $as_nop
   8022   if test -n "$OTOOL64"; then
   8023   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8024 else
   8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8026 for as_dir in $PATH
   8027 do
   8028   IFS=$as_save_IFS
   8029   case $as_dir in #(((
   8030     '') as_dir=./ ;;
   8031     */) ;;
   8032     *) as_dir=$as_dir/ ;;
   8033   esac
   8034     for ac_exec_ext in '' $ac_executable_extensions; do
   8035   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8036     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8037     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8038     break 2
   8039   fi
   8040 done
   8041   done
   8042 IFS=$as_save_IFS
   8043 
   8044 fi
   8045 fi
   8046 OTOOL64=$ac_cv_prog_OTOOL64
   8047 if test -n "$OTOOL64"; then
   8048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8049 printf "%s\n" "$OTOOL64" >&6; }
   8050 else
   8051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8052 printf "%s\n" "no" >&6; }
   8053 fi
   8054 
   8055 
   8056 fi
   8057 if test -z "$ac_cv_prog_OTOOL64"; then
   8058   ac_ct_OTOOL64=$OTOOL64
   8059   # Extract the first word of "otool64", so it can be a program name with args.
   8060 set dummy otool64; ac_word=$2
   8061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8062 printf %s "checking for $ac_word... " >&6; }
   8063 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8064 then :
   8065   printf %s "(cached) " >&6
   8066 else $as_nop
   8067   if test -n "$ac_ct_OTOOL64"; then
   8068   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8069 else
   8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8071 for as_dir in $PATH
   8072 do
   8073   IFS=$as_save_IFS
   8074   case $as_dir in #(((
   8075     '') as_dir=./ ;;
   8076     */) ;;
   8077     *) as_dir=$as_dir/ ;;
   8078   esac
   8079     for ac_exec_ext in '' $ac_executable_extensions; do
   8080   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8081     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8082     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8083     break 2
   8084   fi
   8085 done
   8086   done
   8087 IFS=$as_save_IFS
   8088 
   8089 fi
   8090 fi
   8091 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8092 if test -n "$ac_ct_OTOOL64"; then
   8093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8094 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8095 else
   8096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8097 printf "%s\n" "no" >&6; }
   8098 fi
   8099 
   8100   if test "x$ac_ct_OTOOL64" = x; then
   8101     OTOOL64=":"
   8102   else
   8103     case $cross_compiling:$ac_tool_warned in
   8104 yes:)
   8105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8106 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8107 ac_tool_warned=yes ;;
   8108 esac
   8109     OTOOL64=$ac_ct_OTOOL64
   8110   fi
   8111 else
   8112   OTOOL64="$ac_cv_prog_OTOOL64"
   8113 fi
   8114 
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8142 printf %s "checking for -single_module linker flag... " >&6; }
   8143 if test ${lt_cv_apple_cc_single_mod+y}
   8144 then :
   8145   printf %s "(cached) " >&6
   8146 else $as_nop
   8147   lt_cv_apple_cc_single_mod=no
   8148       if test -z "$LT_MULTI_MODULE"; then
   8149 	# By default we will add the -single_module flag. You can override
   8150 	# by either setting the environment variable LT_MULTI_MODULE
   8151 	# non-empty at configure time, or by adding -multi_module to the
   8152 	# link flags.
   8153 	rm -rf libconftest.dylib*
   8154 	echo "int foo(void){return 1;}" > conftest.c
   8155 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8156 -dynamiclib -Wl,-single_module conftest.c" >&5
   8157 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8158 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8159         _lt_result=$?
   8160 	# If there is a non-empty error log, and "single_module"
   8161 	# appears in it, assume the flag caused a linker warning
   8162         if test -s conftest.err && $GREP single_module conftest.err; then
   8163 	  cat conftest.err >&5
   8164 	# Otherwise, if the output was created with a 0 exit code from
   8165 	# the compiler, it worked.
   8166 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8167 	  lt_cv_apple_cc_single_mod=yes
   8168 	else
   8169 	  cat conftest.err >&5
   8170 	fi
   8171 	rm -rf libconftest.dylib*
   8172 	rm -f conftest.*
   8173       fi
   8174 fi
   8175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8176 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8177 
   8178     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8179 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8180 if test ${lt_cv_ld_exported_symbols_list+y}
   8181 then :
   8182   printf %s "(cached) " >&6
   8183 else $as_nop
   8184   lt_cv_ld_exported_symbols_list=no
   8185       save_LDFLAGS=$LDFLAGS
   8186       echo "_main" > conftest.sym
   8187       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8189 /* end confdefs.h.  */
   8190 
   8191 int
   8192 main (void)
   8193 {
   8194 
   8195   ;
   8196   return 0;
   8197 }
   8198 _ACEOF
   8199 if ac_fn_c_try_link "$LINENO"
   8200 then :
   8201   lt_cv_ld_exported_symbols_list=yes
   8202 else $as_nop
   8203   lt_cv_ld_exported_symbols_list=no
   8204 fi
   8205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8206     conftest$ac_exeext conftest.$ac_ext
   8207 	LDFLAGS=$save_LDFLAGS
   8208 
   8209 fi
   8210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8211 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8212 
   8213     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8214 printf %s "checking for -force_load linker flag... " >&6; }
   8215 if test ${lt_cv_ld_force_load+y}
   8216 then :
   8217   printf %s "(cached) " >&6
   8218 else $as_nop
   8219   lt_cv_ld_force_load=no
   8220       cat > conftest.c << _LT_EOF
   8221 int forced_loaded() { return 2;}
   8222 _LT_EOF
   8223       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8224       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8225       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8226       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8227       echo "$RANLIB libconftest.a" >&5
   8228       $RANLIB libconftest.a 2>&5
   8229       cat > conftest.c << _LT_EOF
   8230 int main() { return 0;}
   8231 _LT_EOF
   8232       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8233       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8234       _lt_result=$?
   8235       if test -s conftest.err && $GREP force_load conftest.err; then
   8236 	cat conftest.err >&5
   8237       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8238 	lt_cv_ld_force_load=yes
   8239       else
   8240 	cat conftest.err >&5
   8241       fi
   8242         rm -f conftest.err libconftest.a conftest conftest.c
   8243         rm -rf conftest.dSYM
   8244 
   8245 fi
   8246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8247 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8248     case $host_os in
   8249     rhapsody* | darwin1.[012])
   8250       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8251     darwin1.*)
   8252       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8253     darwin*)
   8254       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8255         10.[012],*|,*powerpc*-darwin[5-8]*)
   8256           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8257         *)
   8258           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8259       esac
   8260     ;;
   8261   esac
   8262     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8263       _lt_dar_single_mod='$single_module'
   8264     fi
   8265     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8266       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8267     else
   8268       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8269     fi
   8270     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8271       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8272     else
   8273       _lt_dsymutil=
   8274     fi
   8275     ;;
   8276   esac
   8277 
   8278 # func_munge_path_list VARIABLE PATH
   8279 # -----------------------------------
   8280 # VARIABLE is name of variable containing _space_ separated list of
   8281 # directories to be munged by the contents of PATH, which is string
   8282 # having a format:
   8283 # "DIR[:DIR]:"
   8284 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8285 # ":DIR[:DIR]"
   8286 #       string "DIR[ DIR]" will be appended to VARIABLE
   8287 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8288 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8289 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8290 # "DIR[:DIR]"
   8291 #       VARIABLE will be replaced by "DIR[ DIR]"
   8292 func_munge_path_list ()
   8293 {
   8294     case x$2 in
   8295     x)
   8296         ;;
   8297     *:)
   8298         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8299         ;;
   8300     x:*)
   8301         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8302         ;;
   8303     *::*)
   8304         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8305         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8306         ;;
   8307     *)
   8308         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8309         ;;
   8310     esac
   8311 }
   8312 
   8313 ac_header= ac_cache=
   8314 for ac_item in $ac_header_c_list
   8315 do
   8316   if test $ac_cache; then
   8317     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8318     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8319       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8320     fi
   8321     ac_header= ac_cache=
   8322   elif test $ac_header; then
   8323     ac_cache=$ac_item
   8324   else
   8325     ac_header=$ac_item
   8326   fi
   8327 done
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8337 then :
   8338 
   8339 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8340 
   8341 fi
   8342 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8343 "
   8344 if test "x$ac_cv_header_dlfcn_h" = xyes
   8345 then :
   8346   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8347 
   8348 fi
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 # Set options
   8355 
   8356 
   8357 
   8358         enable_dlopen=no
   8359 
   8360 
   8361   enable_win32_dll=no
   8362 
   8363 
   8364             # Check whether --enable-shared was given.
   8365 if test ${enable_shared+y}
   8366 then :
   8367   enableval=$enable_shared; p=${PACKAGE-default}
   8368     case $enableval in
   8369     yes) enable_shared=yes ;;
   8370     no) enable_shared=no ;;
   8371     *)
   8372       enable_shared=no
   8373       # Look at the argument we got.  We use all the common list separators.
   8374       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8375       for pkg in $enableval; do
   8376 	IFS=$lt_save_ifs
   8377 	if test "X$pkg" = "X$p"; then
   8378 	  enable_shared=yes
   8379 	fi
   8380       done
   8381       IFS=$lt_save_ifs
   8382       ;;
   8383     esac
   8384 else $as_nop
   8385   enable_shared=yes
   8386 fi
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396   # Check whether --enable-static was given.
   8397 if test ${enable_static+y}
   8398 then :
   8399   enableval=$enable_static; p=${PACKAGE-default}
   8400     case $enableval in
   8401     yes) enable_static=yes ;;
   8402     no) enable_static=no ;;
   8403     *)
   8404      enable_static=no
   8405       # Look at the argument we got.  We use all the common list separators.
   8406       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8407       for pkg in $enableval; do
   8408 	IFS=$lt_save_ifs
   8409 	if test "X$pkg" = "X$p"; then
   8410 	  enable_static=yes
   8411 	fi
   8412       done
   8413       IFS=$lt_save_ifs
   8414       ;;
   8415     esac
   8416 else $as_nop
   8417   enable_static=yes
   8418 fi
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 # Check whether --with-pic was given.
   8430 if test ${with_pic+y}
   8431 then :
   8432   withval=$with_pic; lt_p=${PACKAGE-default}
   8433     case $withval in
   8434     yes|no) pic_mode=$withval ;;
   8435     *)
   8436       pic_mode=default
   8437       # Look at the argument we got.  We use all the common list separators.
   8438       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8439       for lt_pkg in $withval; do
   8440 	IFS=$lt_save_ifs
   8441 	if test "X$lt_pkg" = "X$lt_p"; then
   8442 	  pic_mode=yes
   8443 	fi
   8444       done
   8445       IFS=$lt_save_ifs
   8446       ;;
   8447     esac
   8448 else $as_nop
   8449   pic_mode=default
   8450 fi
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459   # Check whether --enable-fast-install was given.
   8460 if test ${enable_fast_install+y}
   8461 then :
   8462   enableval=$enable_fast_install; p=${PACKAGE-default}
   8463     case $enableval in
   8464     yes) enable_fast_install=yes ;;
   8465     no) enable_fast_install=no ;;
   8466     *)
   8467       enable_fast_install=no
   8468       # Look at the argument we got.  We use all the common list separators.
   8469       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8470       for pkg in $enableval; do
   8471 	IFS=$lt_save_ifs
   8472 	if test "X$pkg" = "X$p"; then
   8473 	  enable_fast_install=yes
   8474 	fi
   8475       done
   8476       IFS=$lt_save_ifs
   8477       ;;
   8478     esac
   8479 else $as_nop
   8480   enable_fast_install=yes
   8481 fi
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490   shared_archive_member_spec=
   8491 case $host,$enable_shared in
   8492 power*-*-aix[5-9]*,yes)
   8493   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8494 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8495 
   8496 # Check whether --with-aix-soname was given.
   8497 if test ${with_aix_soname+y}
   8498 then :
   8499   withval=$with_aix_soname; case $withval in
   8500     aix|svr4|both)
   8501       ;;
   8502     *)
   8503       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8504       ;;
   8505     esac
   8506     lt_cv_with_aix_soname=$with_aix_soname
   8507 else $as_nop
   8508   if test ${lt_cv_with_aix_soname+y}
   8509 then :
   8510   printf %s "(cached) " >&6
   8511 else $as_nop
   8512   lt_cv_with_aix_soname=aix
   8513 fi
   8514 
   8515     with_aix_soname=$lt_cv_with_aix_soname
   8516 fi
   8517 
   8518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8519 printf "%s\n" "$with_aix_soname" >&6; }
   8520   if test aix != "$with_aix_soname"; then
   8521     # For the AIX way of multilib, we name the shared archive member
   8522     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8523     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8524     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8525     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8526     if test 64 = "${OBJECT_MODE-32}"; then
   8527       shared_archive_member_spec=shr_64
   8528     else
   8529       shared_archive_member_spec=shr
   8530     fi
   8531   fi
   8532   ;;
   8533 *)
   8534   with_aix_soname=aix
   8535   ;;
   8536 esac
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 # This can be used to rebuild libtool when needed
   8548 LIBTOOL_DEPS=$ltmain
   8549 
   8550 # Always use our own libtool.
   8551 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 
   8575 
   8576 
   8577 
   8578 
   8579 
   8580 
   8581 
   8582 test -z "$LN_S" && LN_S="ln -s"
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 if test -n "${ZSH_VERSION+set}"; then
   8598    setopt NO_GLOB_SUBST
   8599 fi
   8600 
   8601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8602 printf %s "checking for objdir... " >&6; }
   8603 if test ${lt_cv_objdir+y}
   8604 then :
   8605   printf %s "(cached) " >&6
   8606 else $as_nop
   8607   rm -f .libs 2>/dev/null
   8608 mkdir .libs 2>/dev/null
   8609 if test -d .libs; then
   8610   lt_cv_objdir=.libs
   8611 else
   8612   # MS-DOS does not allow filenames that begin with a dot.
   8613   lt_cv_objdir=_libs
   8614 fi
   8615 rmdir .libs 2>/dev/null
   8616 fi
   8617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8618 printf "%s\n" "$lt_cv_objdir" >&6; }
   8619 objdir=$lt_cv_objdir
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8626 
   8627 
   8628 
   8629 
   8630 case $host_os in
   8631 aix3*)
   8632   # AIX sometimes has problems with the GCC collect2 program.  For some
   8633   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8634   # vanish in a puff of smoke.
   8635   if test set != "${COLLECT_NAMES+set}"; then
   8636     COLLECT_NAMES=
   8637     export COLLECT_NAMES
   8638   fi
   8639   ;;
   8640 esac
   8641 
   8642 # Global variables:
   8643 ofile=libtool
   8644 can_build_shared=yes
   8645 
   8646 # All known linkers require a '.a' archive for static linking (except MSVC and
   8647 # ICC, which need '.lib').
   8648 libext=a
   8649 
   8650 with_gnu_ld=$lt_cv_prog_gnu_ld
   8651 
   8652 old_CC=$CC
   8653 old_CFLAGS=$CFLAGS
   8654 
   8655 # Set sane defaults for various variables
   8656 test -z "$CC" && CC=cc
   8657 test -z "$LTCC" && LTCC=$CC
   8658 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8659 test -z "$LD" && LD=ld
   8660 test -z "$ac_objext" && ac_objext=o
   8661 
   8662 func_cc_basename $compiler
   8663 cc_basename=$func_cc_basename_result
   8664 
   8665 
   8666 # Only perform the check for file, if the check method requires it
   8667 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8668 case $deplibs_check_method in
   8669 file_magic*)
   8670   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8671     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8672 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8673 if test ${lt_cv_path_MAGIC_CMD+y}
   8674 then :
   8675   printf %s "(cached) " >&6
   8676 else $as_nop
   8677   case $MAGIC_CMD in
   8678 [\\/*] |  ?:[\\/]*)
   8679   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8680   ;;
   8681 *)
   8682   lt_save_MAGIC_CMD=$MAGIC_CMD
   8683   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8684   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8685   for ac_dir in $ac_dummy; do
   8686     IFS=$lt_save_ifs
   8687     test -z "$ac_dir" && ac_dir=.
   8688     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8689       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8690       if test -n "$file_magic_test_file"; then
   8691 	case $deplibs_check_method in
   8692 	"file_magic "*)
   8693 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8694 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8695 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8696 	    $EGREP "$file_magic_regex" > /dev/null; then
   8697 	    :
   8698 	  else
   8699 	    cat <<_LT_EOF 1>&2
   8700 
   8701 *** Warning: the command libtool uses to detect shared libraries,
   8702 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8703 *** The result is that libtool may fail to recognize shared libraries
   8704 *** as such.  This will affect the creation of libtool libraries that
   8705 *** depend on shared libraries, but programs linked with such libtool
   8706 *** libraries will work regardless of this problem.  Nevertheless, you
   8707 *** may want to report the problem to your system manager and/or to
   8708 *** bug-libtool@gnu.org
   8709 
   8710 _LT_EOF
   8711 	  fi ;;
   8712 	esac
   8713       fi
   8714       break
   8715     fi
   8716   done
   8717   IFS=$lt_save_ifs
   8718   MAGIC_CMD=$lt_save_MAGIC_CMD
   8719   ;;
   8720 esac
   8721 fi
   8722 
   8723 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8724 if test -n "$MAGIC_CMD"; then
   8725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8726 printf "%s\n" "$MAGIC_CMD" >&6; }
   8727 else
   8728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8729 printf "%s\n" "no" >&6; }
   8730 fi
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8737   if test -n "$ac_tool_prefix"; then
   8738     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8739 printf %s "checking for file... " >&6; }
   8740 if test ${lt_cv_path_MAGIC_CMD+y}
   8741 then :
   8742   printf %s "(cached) " >&6
   8743 else $as_nop
   8744   case $MAGIC_CMD in
   8745 [\\/*] |  ?:[\\/]*)
   8746   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8747   ;;
   8748 *)
   8749   lt_save_MAGIC_CMD=$MAGIC_CMD
   8750   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8751   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8752   for ac_dir in $ac_dummy; do
   8753     IFS=$lt_save_ifs
   8754     test -z "$ac_dir" && ac_dir=.
   8755     if test -f "$ac_dir/file"; then
   8756       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8757       if test -n "$file_magic_test_file"; then
   8758 	case $deplibs_check_method in
   8759 	"file_magic "*)
   8760 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8761 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8762 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8763 	    $EGREP "$file_magic_regex" > /dev/null; then
   8764 	    :
   8765 	  else
   8766 	    cat <<_LT_EOF 1>&2
   8767 
   8768 *** Warning: the command libtool uses to detect shared libraries,
   8769 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8770 *** The result is that libtool may fail to recognize shared libraries
   8771 *** as such.  This will affect the creation of libtool libraries that
   8772 *** depend on shared libraries, but programs linked with such libtool
   8773 *** libraries will work regardless of this problem.  Nevertheless, you
   8774 *** may want to report the problem to your system manager and/or to
   8775 *** bug-libtool@gnu.org
   8776 
   8777 _LT_EOF
   8778 	  fi ;;
   8779 	esac
   8780       fi
   8781       break
   8782     fi
   8783   done
   8784   IFS=$lt_save_ifs
   8785   MAGIC_CMD=$lt_save_MAGIC_CMD
   8786   ;;
   8787 esac
   8788 fi
   8789 
   8790 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8791 if test -n "$MAGIC_CMD"; then
   8792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8793 printf "%s\n" "$MAGIC_CMD" >&6; }
   8794 else
   8795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8796 printf "%s\n" "no" >&6; }
   8797 fi
   8798 
   8799 
   8800   else
   8801     MAGIC_CMD=:
   8802   fi
   8803 fi
   8804 
   8805   fi
   8806   ;;
   8807 esac
   8808 
   8809 # Use C for the default configuration in the libtool script
   8810 
   8811 lt_save_CC=$CC
   8812 ac_ext=c
   8813 ac_cpp='$CPP $CPPFLAGS'
   8814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8817 
   8818 
   8819 # Source file extension for C test sources.
   8820 ac_ext=c
   8821 
   8822 # Object file extension for compiled C test sources.
   8823 objext=o
   8824 objext=$objext
   8825 
   8826 # Code to be used in simple compile tests
   8827 lt_simple_compile_test_code="int some_variable = 0;"
   8828 
   8829 # Code to be used in simple link tests
   8830 lt_simple_link_test_code='int main(){return(0);}'
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 # If no C compiler was specified, use CC.
   8839 LTCC=${LTCC-"$CC"}
   8840 
   8841 # If no C compiler flags were specified, use CFLAGS.
   8842 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8843 
   8844 # Allow CC to be a program name with arguments.
   8845 compiler=$CC
   8846 
   8847 # Save the default compiler, since it gets overwritten when the other
   8848 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8849 compiler_DEFAULT=$CC
   8850 
   8851 # save warnings/boilerplate of simple test code
   8852 ac_outfile=conftest.$ac_objext
   8853 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8854 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8855 _lt_compiler_boilerplate=`cat conftest.err`
   8856 $RM conftest*
   8857 
   8858 ac_outfile=conftest.$ac_objext
   8859 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8860 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8861 _lt_linker_boilerplate=`cat conftest.err`
   8862 $RM -r conftest*
   8863 
   8864 
   8865 ## CAVEAT EMPTOR:
   8866 ## There is no encapsulation within the following macros, do not change
   8867 ## the running order or otherwise move them around unless you know exactly
   8868 ## what you are doing...
   8869 if test -n "$compiler"; then
   8870 
   8871 lt_prog_compiler_no_builtin_flag=
   8872 
   8873 if test yes = "$GCC"; then
   8874   case $cc_basename in
   8875   nvcc*)
   8876     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8877   *)
   8878     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8879   esac
   8880 
   8881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8882 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8883 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8884 then :
   8885   printf %s "(cached) " >&6
   8886 else $as_nop
   8887   lt_cv_prog_compiler_rtti_exceptions=no
   8888    ac_outfile=conftest.$ac_objext
   8889    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8890    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8891    # Insert the option either (1) after the last *FLAGS variable, or
   8892    # (2) before a word containing "conftest.", or (3) at the end.
   8893    # Note that $ac_compile itself does not contain backslashes and begins
   8894    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8895    # The option is referenced via a variable to avoid confusing sed.
   8896    lt_compile=`echo "$ac_compile" | $SED \
   8897    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8898    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8899    -e 's:$: $lt_compiler_flag:'`
   8900    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8901    (eval "$lt_compile" 2>conftest.err)
   8902    ac_status=$?
   8903    cat conftest.err >&5
   8904    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8905    if (exit $ac_status) && test -s "$ac_outfile"; then
   8906      # The compiler can only warn and ignore the option if not recognized
   8907      # So say no if there are warnings other than the usual output.
   8908      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8909      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8910      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8911        lt_cv_prog_compiler_rtti_exceptions=yes
   8912      fi
   8913    fi
   8914    $RM conftest*
   8915 
   8916 fi
   8917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8918 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8919 
   8920 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8921     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8922 else
   8923     :
   8924 fi
   8925 
   8926 fi
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933   lt_prog_compiler_wl=
   8934 lt_prog_compiler_pic=
   8935 lt_prog_compiler_static=
   8936 
   8937 
   8938   if test yes = "$GCC"; then
   8939     lt_prog_compiler_wl='-Wl,'
   8940     lt_prog_compiler_static='-static'
   8941 
   8942     case $host_os in
   8943       aix*)
   8944       # All AIX code is PIC.
   8945       if test ia64 = "$host_cpu"; then
   8946 	# AIX 5 now supports IA64 processor
   8947 	lt_prog_compiler_static='-Bstatic'
   8948       fi
   8949       lt_prog_compiler_pic='-fPIC'
   8950       ;;
   8951 
   8952     amigaos*)
   8953       case $host_cpu in
   8954       powerpc)
   8955             # see comment about AmigaOS4 .so support
   8956             lt_prog_compiler_pic='-fPIC'
   8957         ;;
   8958       m68k)
   8959             # FIXME: we need at least 68020 code to build shared libraries, but
   8960             # adding the '-m68020' flag to GCC prevents building anything better,
   8961             # like '-m68040'.
   8962             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8963         ;;
   8964       esac
   8965       ;;
   8966 
   8967     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8968       # PIC is the default for these OSes.
   8969       ;;
   8970 
   8971     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8972       # This hack is so that the source file can tell whether it is being
   8973       # built for inclusion in a dll (and should export symbols for example).
   8974       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8975       # (--disable-auto-import) libraries
   8976       lt_prog_compiler_pic='-DDLL_EXPORT'
   8977       case $host_os in
   8978       os2*)
   8979 	lt_prog_compiler_static='$wl-static'
   8980 	;;
   8981       esac
   8982       ;;
   8983 
   8984     darwin* | rhapsody*)
   8985       # PIC is the default on this platform
   8986       # Common symbols not allowed in MH_DYLIB files
   8987       lt_prog_compiler_pic='-fno-common'
   8988       ;;
   8989 
   8990     haiku*)
   8991       # PIC is the default for Haiku.
   8992       # The "-static" flag exists, but is broken.
   8993       lt_prog_compiler_static=
   8994       ;;
   8995 
   8996     hpux*)
   8997       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8998       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8999       # sets the default TLS model and affects inlining.
   9000       case $host_cpu in
   9001       hppa*64*)
   9002 	# +Z the default
   9003 	;;
   9004       *)
   9005 	lt_prog_compiler_pic='-fPIC'
   9006 	;;
   9007       esac
   9008       ;;
   9009 
   9010     interix[3-9]*)
   9011       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9012       # Instead, we relocate shared libraries at runtime.
   9013       ;;
   9014 
   9015     msdosdjgpp*)
   9016       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9017       # on systems that don't support them.
   9018       lt_prog_compiler_can_build_shared=no
   9019       enable_shared=no
   9020       ;;
   9021 
   9022     *nto* | *qnx*)
   9023       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9024       # it will coredump.
   9025       lt_prog_compiler_pic='-fPIC -shared'
   9026       ;;
   9027 
   9028     sysv4*MP*)
   9029       if test -d /usr/nec; then
   9030 	lt_prog_compiler_pic=-Kconform_pic
   9031       fi
   9032       ;;
   9033 
   9034     *)
   9035       lt_prog_compiler_pic='-fPIC'
   9036       ;;
   9037     esac
   9038 
   9039     case $cc_basename in
   9040     nvcc*) # Cuda Compiler Driver 2.2
   9041       lt_prog_compiler_wl='-Xlinker '
   9042       if test -n "$lt_prog_compiler_pic"; then
   9043         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9044       fi
   9045       ;;
   9046     esac
   9047   else
   9048     # PORTME Check for flag to pass linker flags through the system compiler.
   9049     case $host_os in
   9050     aix*)
   9051       lt_prog_compiler_wl='-Wl,'
   9052       if test ia64 = "$host_cpu"; then
   9053 	# AIX 5 now supports IA64 processor
   9054 	lt_prog_compiler_static='-Bstatic'
   9055       else
   9056 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9057       fi
   9058       ;;
   9059 
   9060     darwin* | rhapsody*)
   9061       # PIC is the default on this platform
   9062       # Common symbols not allowed in MH_DYLIB files
   9063       lt_prog_compiler_pic='-fno-common'
   9064       case $cc_basename in
   9065       nagfor*)
   9066         # NAG Fortran compiler
   9067         lt_prog_compiler_wl='-Wl,-Wl,,'
   9068         lt_prog_compiler_pic='-PIC'
   9069         lt_prog_compiler_static='-Bstatic'
   9070         ;;
   9071       esac
   9072       ;;
   9073 
   9074     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9075       # This hack is so that the source file can tell whether it is being
   9076       # built for inclusion in a dll (and should export symbols for example).
   9077       lt_prog_compiler_pic='-DDLL_EXPORT'
   9078       case $host_os in
   9079       os2*)
   9080 	lt_prog_compiler_static='$wl-static'
   9081 	;;
   9082       esac
   9083       ;;
   9084 
   9085     hpux9* | hpux10* | hpux11*)
   9086       lt_prog_compiler_wl='-Wl,'
   9087       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9088       # not for PA HP-UX.
   9089       case $host_cpu in
   9090       hppa*64*|ia64*)
   9091 	# +Z the default
   9092 	;;
   9093       *)
   9094 	lt_prog_compiler_pic='+Z'
   9095 	;;
   9096       esac
   9097       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9098       lt_prog_compiler_static='$wl-a ${wl}archive'
   9099       ;;
   9100 
   9101     irix5* | irix6* | nonstopux*)
   9102       lt_prog_compiler_wl='-Wl,'
   9103       # PIC (with -KPIC) is the default.
   9104       lt_prog_compiler_static='-non_shared'
   9105       ;;
   9106 
   9107     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9108       case $cc_basename in
   9109       # old Intel for x86_64, which still supported -KPIC.
   9110       ecc*)
   9111 	lt_prog_compiler_wl='-Wl,'
   9112 	lt_prog_compiler_pic='-KPIC'
   9113 	lt_prog_compiler_static='-static'
   9114         ;;
   9115       # icc used to be incompatible with GCC.
   9116       # ICC 10 doesn't accept -KPIC any more.
   9117       icc* | ifort*)
   9118 	lt_prog_compiler_wl='-Wl,'
   9119 	lt_prog_compiler_pic='-fPIC'
   9120 	lt_prog_compiler_static='-static'
   9121         ;;
   9122       # Lahey Fortran 8.1.
   9123       lf95*)
   9124 	lt_prog_compiler_wl='-Wl,'
   9125 	lt_prog_compiler_pic='--shared'
   9126 	lt_prog_compiler_static='--static'
   9127 	;;
   9128       nagfor*)
   9129 	# NAG Fortran compiler
   9130 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9131 	lt_prog_compiler_pic='-PIC'
   9132 	lt_prog_compiler_static='-Bstatic'
   9133 	;;
   9134       tcc*)
   9135 	# Fabrice Bellard et al's Tiny C Compiler
   9136 	lt_prog_compiler_wl='-Wl,'
   9137 	lt_prog_compiler_pic='-fPIC'
   9138 	lt_prog_compiler_static='-static'
   9139 	;;
   9140       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9141         # Portland Group compilers (*not* the Pentium gcc compiler,
   9142 	# which looks to be a dead project)
   9143 	lt_prog_compiler_wl='-Wl,'
   9144 	lt_prog_compiler_pic='-fpic'
   9145 	lt_prog_compiler_static='-Bstatic'
   9146         ;;
   9147       ccc*)
   9148         lt_prog_compiler_wl='-Wl,'
   9149         # All Alpha code is PIC.
   9150         lt_prog_compiler_static='-non_shared'
   9151         ;;
   9152       xl* | bgxl* | bgf* | mpixl*)
   9153 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9154 	lt_prog_compiler_wl='-Wl,'
   9155 	lt_prog_compiler_pic='-qpic'
   9156 	lt_prog_compiler_static='-qstaticlink'
   9157 	;;
   9158       *)
   9159 	case `$CC -V 2>&1 | $SED 5q` in
   9160 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9161 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9162 	  lt_prog_compiler_pic='-KPIC'
   9163 	  lt_prog_compiler_static='-Bstatic'
   9164 	  lt_prog_compiler_wl=''
   9165 	  ;;
   9166 	*Sun\ F* | *Sun*Fortran*)
   9167 	  lt_prog_compiler_pic='-KPIC'
   9168 	  lt_prog_compiler_static='-Bstatic'
   9169 	  lt_prog_compiler_wl='-Qoption ld '
   9170 	  ;;
   9171 	*Sun\ C*)
   9172 	  # Sun C 5.9
   9173 	  lt_prog_compiler_pic='-KPIC'
   9174 	  lt_prog_compiler_static='-Bstatic'
   9175 	  lt_prog_compiler_wl='-Wl,'
   9176 	  ;;
   9177         *Intel*\ [CF]*Compiler*)
   9178 	  lt_prog_compiler_wl='-Wl,'
   9179 	  lt_prog_compiler_pic='-fPIC'
   9180 	  lt_prog_compiler_static='-static'
   9181 	  ;;
   9182 	*Portland\ Group*)
   9183 	  lt_prog_compiler_wl='-Wl,'
   9184 	  lt_prog_compiler_pic='-fpic'
   9185 	  lt_prog_compiler_static='-Bstatic'
   9186 	  ;;
   9187 	esac
   9188 	;;
   9189       esac
   9190       ;;
   9191 
   9192     newsos6)
   9193       lt_prog_compiler_pic='-KPIC'
   9194       lt_prog_compiler_static='-Bstatic'
   9195       ;;
   9196 
   9197     *nto* | *qnx*)
   9198       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9199       # it will coredump.
   9200       lt_prog_compiler_pic='-fPIC -shared'
   9201       ;;
   9202 
   9203     osf3* | osf4* | osf5*)
   9204       lt_prog_compiler_wl='-Wl,'
   9205       # All OSF/1 code is PIC.
   9206       lt_prog_compiler_static='-non_shared'
   9207       ;;
   9208 
   9209     rdos*)
   9210       lt_prog_compiler_static='-non_shared'
   9211       ;;
   9212 
   9213     solaris*)
   9214       lt_prog_compiler_pic='-KPIC'
   9215       lt_prog_compiler_static='-Bstatic'
   9216       case $cc_basename in
   9217       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9218 	lt_prog_compiler_wl='-Qoption ld ';;
   9219       *)
   9220 	lt_prog_compiler_wl='-Wl,';;
   9221       esac
   9222       ;;
   9223 
   9224     sunos4*)
   9225       lt_prog_compiler_wl='-Qoption ld '
   9226       lt_prog_compiler_pic='-PIC'
   9227       lt_prog_compiler_static='-Bstatic'
   9228       ;;
   9229 
   9230     sysv4 | sysv4.2uw2* | sysv4.3*)
   9231       lt_prog_compiler_wl='-Wl,'
   9232       lt_prog_compiler_pic='-KPIC'
   9233       lt_prog_compiler_static='-Bstatic'
   9234       ;;
   9235 
   9236     sysv4*MP*)
   9237       if test -d /usr/nec; then
   9238 	lt_prog_compiler_pic='-Kconform_pic'
   9239 	lt_prog_compiler_static='-Bstatic'
   9240       fi
   9241       ;;
   9242 
   9243     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9244       lt_prog_compiler_wl='-Wl,'
   9245       lt_prog_compiler_pic='-KPIC'
   9246       lt_prog_compiler_static='-Bstatic'
   9247       ;;
   9248 
   9249     unicos*)
   9250       lt_prog_compiler_wl='-Wl,'
   9251       lt_prog_compiler_can_build_shared=no
   9252       ;;
   9253 
   9254     uts4*)
   9255       lt_prog_compiler_pic='-pic'
   9256       lt_prog_compiler_static='-Bstatic'
   9257       ;;
   9258 
   9259     *)
   9260       lt_prog_compiler_can_build_shared=no
   9261       ;;
   9262     esac
   9263   fi
   9264 
   9265 case $host_os in
   9266   # For platforms that do not support PIC, -DPIC is meaningless:
   9267   *djgpp*)
   9268     lt_prog_compiler_pic=
   9269     ;;
   9270   *)
   9271     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9272     ;;
   9273 esac
   9274 
   9275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9276 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9277 if test ${lt_cv_prog_compiler_pic+y}
   9278 then :
   9279   printf %s "(cached) " >&6
   9280 else $as_nop
   9281   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9282 fi
   9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9284 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9285 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9286 
   9287 #
   9288 # Check to make sure the PIC flag actually works.
   9289 #
   9290 if test -n "$lt_prog_compiler_pic"; then
   9291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9292 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9293 if test ${lt_cv_prog_compiler_pic_works+y}
   9294 then :
   9295   printf %s "(cached) " >&6
   9296 else $as_nop
   9297   lt_cv_prog_compiler_pic_works=no
   9298    ac_outfile=conftest.$ac_objext
   9299    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9300    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9301    # Insert the option either (1) after the last *FLAGS variable, or
   9302    # (2) before a word containing "conftest.", or (3) at the end.
   9303    # Note that $ac_compile itself does not contain backslashes and begins
   9304    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9305    # The option is referenced via a variable to avoid confusing sed.
   9306    lt_compile=`echo "$ac_compile" | $SED \
   9307    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9308    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9309    -e 's:$: $lt_compiler_flag:'`
   9310    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9311    (eval "$lt_compile" 2>conftest.err)
   9312    ac_status=$?
   9313    cat conftest.err >&5
   9314    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9315    if (exit $ac_status) && test -s "$ac_outfile"; then
   9316      # The compiler can only warn and ignore the option if not recognized
   9317      # So say no if there are warnings other than the usual output.
   9318      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9319      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9320      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9321        lt_cv_prog_compiler_pic_works=yes
   9322      fi
   9323    fi
   9324    $RM conftest*
   9325 
   9326 fi
   9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9328 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9329 
   9330 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9331     case $lt_prog_compiler_pic in
   9332      "" | " "*) ;;
   9333      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9334      esac
   9335 else
   9336     lt_prog_compiler_pic=
   9337      lt_prog_compiler_can_build_shared=no
   9338 fi
   9339 
   9340 fi
   9341 
   9342 
   9343 
   9344 
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 #
   9353 # Check to make sure the static flag actually works.
   9354 #
   9355 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9357 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9358 if test ${lt_cv_prog_compiler_static_works+y}
   9359 then :
   9360   printf %s "(cached) " >&6
   9361 else $as_nop
   9362   lt_cv_prog_compiler_static_works=no
   9363    save_LDFLAGS=$LDFLAGS
   9364    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9365    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9366    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9367      # The linker can only warn and ignore the option if not recognized
   9368      # So say no if there are warnings
   9369      if test -s conftest.err; then
   9370        # Append any errors to the config.log.
   9371        cat conftest.err 1>&5
   9372        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9373        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9374        if diff conftest.exp conftest.er2 >/dev/null; then
   9375          lt_cv_prog_compiler_static_works=yes
   9376        fi
   9377      else
   9378        lt_cv_prog_compiler_static_works=yes
   9379      fi
   9380    fi
   9381    $RM -r conftest*
   9382    LDFLAGS=$save_LDFLAGS
   9383 
   9384 fi
   9385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9386 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9387 
   9388 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9389     :
   9390 else
   9391     lt_prog_compiler_static=
   9392 fi
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9401 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9402 if test ${lt_cv_prog_compiler_c_o+y}
   9403 then :
   9404   printf %s "(cached) " >&6
   9405 else $as_nop
   9406   lt_cv_prog_compiler_c_o=no
   9407    $RM -r conftest 2>/dev/null
   9408    mkdir conftest
   9409    cd conftest
   9410    mkdir out
   9411    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9412 
   9413    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9414    # Insert the option either (1) after the last *FLAGS variable, or
   9415    # (2) before a word containing "conftest.", or (3) at the end.
   9416    # Note that $ac_compile itself does not contain backslashes and begins
   9417    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9418    lt_compile=`echo "$ac_compile" | $SED \
   9419    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9420    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9421    -e 's:$: $lt_compiler_flag:'`
   9422    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9423    (eval "$lt_compile" 2>out/conftest.err)
   9424    ac_status=$?
   9425    cat out/conftest.err >&5
   9426    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9427    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9428    then
   9429      # The compiler can only warn and ignore the option if not recognized
   9430      # So say no if there are warnings
   9431      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9432      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9433      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9434        lt_cv_prog_compiler_c_o=yes
   9435      fi
   9436    fi
   9437    chmod u+w . 2>&5
   9438    $RM conftest*
   9439    # SGI C++ compiler will create directory out/ii_files/ for
   9440    # template instantiation
   9441    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9442    $RM out/* && rmdir out
   9443    cd ..
   9444    $RM -r conftest
   9445    $RM conftest*
   9446 
   9447 fi
   9448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9449 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9450 
   9451 
   9452 
   9453 
   9454 
   9455 
   9456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9457 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9458 if test ${lt_cv_prog_compiler_c_o+y}
   9459 then :
   9460   printf %s "(cached) " >&6
   9461 else $as_nop
   9462   lt_cv_prog_compiler_c_o=no
   9463    $RM -r conftest 2>/dev/null
   9464    mkdir conftest
   9465    cd conftest
   9466    mkdir out
   9467    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9468 
   9469    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9470    # Insert the option either (1) after the last *FLAGS variable, or
   9471    # (2) before a word containing "conftest.", or (3) at the end.
   9472    # Note that $ac_compile itself does not contain backslashes and begins
   9473    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9474    lt_compile=`echo "$ac_compile" | $SED \
   9475    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9476    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9477    -e 's:$: $lt_compiler_flag:'`
   9478    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9479    (eval "$lt_compile" 2>out/conftest.err)
   9480    ac_status=$?
   9481    cat out/conftest.err >&5
   9482    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9483    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9484    then
   9485      # The compiler can only warn and ignore the option if not recognized
   9486      # So say no if there are warnings
   9487      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9488      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9489      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9490        lt_cv_prog_compiler_c_o=yes
   9491      fi
   9492    fi
   9493    chmod u+w . 2>&5
   9494    $RM conftest*
   9495    # SGI C++ compiler will create directory out/ii_files/ for
   9496    # template instantiation
   9497    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9498    $RM out/* && rmdir out
   9499    cd ..
   9500    $RM -r conftest
   9501    $RM conftest*
   9502 
   9503 fi
   9504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9505 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9506 
   9507 
   9508 
   9509 
   9510 hard_links=nottested
   9511 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9512   # do not overwrite the value of need_locks provided by the user
   9513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9514 printf %s "checking if we can lock with hard links... " >&6; }
   9515   hard_links=yes
   9516   $RM conftest*
   9517   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9518   touch conftest.a
   9519   ln conftest.a conftest.b 2>&5 || hard_links=no
   9520   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9522 printf "%s\n" "$hard_links" >&6; }
   9523   if test no = "$hard_links"; then
   9524     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9525 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9526     need_locks=warn
   9527   fi
   9528 else
   9529   need_locks=no
   9530 fi
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9538 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9539 
   9540   runpath_var=
   9541   allow_undefined_flag=
   9542   always_export_symbols=no
   9543   archive_cmds=
   9544   archive_expsym_cmds=
   9545   compiler_needs_object=no
   9546   enable_shared_with_static_runtimes=no
   9547   export_dynamic_flag_spec=
   9548   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9549   hardcode_automatic=no
   9550   hardcode_direct=no
   9551   hardcode_direct_absolute=no
   9552   hardcode_libdir_flag_spec=
   9553   hardcode_libdir_separator=
   9554   hardcode_minus_L=no
   9555   hardcode_shlibpath_var=unsupported
   9556   inherit_rpath=no
   9557   link_all_deplibs=unknown
   9558   module_cmds=
   9559   module_expsym_cmds=
   9560   old_archive_from_new_cmds=
   9561   old_archive_from_expsyms_cmds=
   9562   thread_safe_flag_spec=
   9563   whole_archive_flag_spec=
   9564   # include_expsyms should be a list of space-separated symbols to be *always*
   9565   # included in the symbol list
   9566   include_expsyms=
   9567   # exclude_expsyms can be an extended regexp of symbols to exclude
   9568   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9569   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9570   # as well as any symbol that contains 'd'.
   9571   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9572   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9573   # platforms (ab)use it in PIC code, but their linkers get confused if
   9574   # the symbol is explicitly referenced.  Since portable code cannot
   9575   # rely on this symbol name, it's probably fine to never include it in
   9576   # preloaded symbol tables.
   9577   # Exclude shared library initialization/finalization symbols.
   9578   extract_expsyms_cmds=
   9579 
   9580   case $host_os in
   9581   cygwin* | mingw* | pw32* | cegcc*)
   9582     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9583     # When not using gcc, we currently assume that we are using
   9584     # Microsoft Visual C++ or Intel C++ Compiler.
   9585     if test yes != "$GCC"; then
   9586       with_gnu_ld=no
   9587     fi
   9588     ;;
   9589   interix*)
   9590     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9591     with_gnu_ld=yes
   9592     ;;
   9593   openbsd* | bitrig*)
   9594     with_gnu_ld=no
   9595     ;;
   9596   esac
   9597 
   9598   ld_shlibs=yes
   9599 
   9600   # On some targets, GNU ld is compatible enough with the native linker
   9601   # that we're better off using the native interface for both.
   9602   lt_use_gnu_ld_interface=no
   9603   if test yes = "$with_gnu_ld"; then
   9604     case $host_os in
   9605       aix*)
   9606 	# The AIX port of GNU ld has always aspired to compatibility
   9607 	# with the native linker.  However, as the warning in the GNU ld
   9608 	# block says, versions before 2.19.5* couldn't really create working
   9609 	# shared libraries, regardless of the interface used.
   9610 	case `$LD -v 2>&1` in
   9611 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9612 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9613 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9614 	  *)
   9615 	    lt_use_gnu_ld_interface=yes
   9616 	    ;;
   9617 	esac
   9618 	;;
   9619       *)
   9620 	lt_use_gnu_ld_interface=yes
   9621 	;;
   9622     esac
   9623   fi
   9624 
   9625   if test yes = "$lt_use_gnu_ld_interface"; then
   9626     # If archive_cmds runs LD, not CC, wlarc should be empty
   9627     wlarc='$wl'
   9628 
   9629     # Set some defaults for GNU ld with shared library support. These
   9630     # are reset later if shared libraries are not supported. Putting them
   9631     # here allows them to be overridden if necessary.
   9632     runpath_var=LD_RUN_PATH
   9633     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9634     export_dynamic_flag_spec='$wl--export-dynamic'
   9635     # ancient GNU ld didn't support --whole-archive et. al.
   9636     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9637       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9638     else
   9639       whole_archive_flag_spec=
   9640     fi
   9641     supports_anon_versioning=no
   9642     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9643       *GNU\ gold*) supports_anon_versioning=yes ;;
   9644       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9645       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9646       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9647       *\ 2.11.*) ;; # other 2.11 versions
   9648       *) supports_anon_versioning=yes ;;
   9649     esac
   9650 
   9651     # See if GNU ld supports shared libraries.
   9652     case $host_os in
   9653     aix[3-9]*)
   9654       # On AIX/PPC, the GNU linker is very broken
   9655       if test ia64 != "$host_cpu"; then
   9656 	ld_shlibs=no
   9657 	cat <<_LT_EOF 1>&2
   9658 
   9659 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9660 *** to be unable to reliably create shared libraries on AIX.
   9661 *** Therefore, libtool is disabling shared libraries support.  If you
   9662 *** really care for shared libraries, you may want to install binutils
   9663 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9664 *** You will then need to restart the configuration process.
   9665 
   9666 _LT_EOF
   9667       fi
   9668       ;;
   9669 
   9670     amigaos*)
   9671       case $host_cpu in
   9672       powerpc)
   9673             # see comment about AmigaOS4 .so support
   9674             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9675             archive_expsym_cmds=''
   9676         ;;
   9677       m68k)
   9678             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)'
   9679             hardcode_libdir_flag_spec='-L$libdir'
   9680             hardcode_minus_L=yes
   9681         ;;
   9682       esac
   9683       ;;
   9684 
   9685     beos*)
   9686       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9687 	allow_undefined_flag=unsupported
   9688 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9689 	# support --undefined.  This deserves some investigation.  FIXME
   9690 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9691       else
   9692 	ld_shlibs=no
   9693       fi
   9694       ;;
   9695 
   9696     cygwin* | mingw* | pw32* | cegcc*)
   9697       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9698       # as there is no search path for DLLs.
   9699       hardcode_libdir_flag_spec='-L$libdir'
   9700       export_dynamic_flag_spec='$wl--export-all-symbols'
   9701       allow_undefined_flag=unsupported
   9702       always_export_symbols=no
   9703       enable_shared_with_static_runtimes=yes
   9704       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'
   9705       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9706 
   9707       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9708         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9709 	# If the export-symbols file already is a .def file, use it as
   9710 	# is; otherwise, prepend EXPORTS...
   9711 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9712           cp $export_symbols $output_objdir/$soname.def;
   9713         else
   9714           echo EXPORTS > $output_objdir/$soname.def;
   9715           cat $export_symbols >> $output_objdir/$soname.def;
   9716         fi~
   9717         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9718       else
   9719 	ld_shlibs=no
   9720       fi
   9721       ;;
   9722 
   9723     haiku*)
   9724       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9725       link_all_deplibs=yes
   9726       ;;
   9727 
   9728     os2*)
   9729       hardcode_libdir_flag_spec='-L$libdir'
   9730       hardcode_minus_L=yes
   9731       allow_undefined_flag=unsupported
   9732       shrext_cmds=.dll
   9733       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9734 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9735 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9736 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9737 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9738 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9739 	emximp -o $lib $output_objdir/$libname.def'
   9740       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9741 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9742 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9743 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9744 	prefix_cmds="$SED"~
   9745 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9746 	  prefix_cmds="$prefix_cmds -e 1d";
   9747 	fi~
   9748 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9749 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9750 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9751 	emximp -o $lib $output_objdir/$libname.def'
   9752       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9753       enable_shared_with_static_runtimes=yes
   9754       file_list_spec='@'
   9755       ;;
   9756 
   9757     interix[3-9]*)
   9758       hardcode_direct=no
   9759       hardcode_shlibpath_var=no
   9760       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9761       export_dynamic_flag_spec='$wl-E'
   9762       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9763       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9764       # default) and relocated if they conflict, which is a slow very memory
   9765       # consuming and fragmenting process.  To avoid this, we pick a random,
   9766       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9767       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9768       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9769       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'
   9770       ;;
   9771 
   9772     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9773       tmp_diet=no
   9774       if test linux-dietlibc = "$host_os"; then
   9775 	case $cc_basename in
   9776 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9777 	esac
   9778       fi
   9779       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9780 	 && test no = "$tmp_diet"
   9781       then
   9782 	tmp_addflag=' $pic_flag'
   9783 	tmp_sharedflag='-shared'
   9784 	case $cc_basename,$host_cpu in
   9785         pgcc*)				# Portland Group C compiler
   9786 	  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'
   9787 	  tmp_addflag=' $pic_flag'
   9788 	  ;;
   9789 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9790 					# Portland Group f77 and f90 compilers
   9791 	  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'
   9792 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9793 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9794 	  tmp_addflag=' -i_dynamic' ;;
   9795 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9796 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9797 	ifc* | ifort*)			# Intel Fortran compiler
   9798 	  tmp_addflag=' -nofor_main' ;;
   9799 	lf95*)				# Lahey Fortran 8.1
   9800 	  whole_archive_flag_spec=
   9801 	  tmp_sharedflag='--shared' ;;
   9802         nagfor*)                        # NAGFOR 5.3
   9803           tmp_sharedflag='-Wl,-shared' ;;
   9804 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9805 	  tmp_sharedflag='-qmkshrobj'
   9806 	  tmp_addflag= ;;
   9807 	nvcc*)	# Cuda Compiler Driver 2.2
   9808 	  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'
   9809 	  compiler_needs_object=yes
   9810 	  ;;
   9811 	esac
   9812 	case `$CC -V 2>&1 | $SED 5q` in
   9813 	*Sun\ C*)			# Sun C 5.9
   9814 	  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'
   9815 	  compiler_needs_object=yes
   9816 	  tmp_sharedflag='-G' ;;
   9817 	*Sun\ F*)			# Sun Fortran 8.3
   9818 	  tmp_sharedflag='-G' ;;
   9819 	esac
   9820 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9821 
   9822         if test yes = "$supports_anon_versioning"; then
   9823           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9824             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9825             echo "local: *; };" >> $output_objdir/$libname.ver~
   9826             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9827         fi
   9828 
   9829 	case $cc_basename in
   9830 	tcc*)
   9831 	  export_dynamic_flag_spec='-rdynamic'
   9832 	  ;;
   9833 	xlf* | bgf* | bgxlf* | mpixlf*)
   9834 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9835 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9836 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9837 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9838 	  if test yes = "$supports_anon_versioning"; then
   9839 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9840               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9841               echo "local: *; };" >> $output_objdir/$libname.ver~
   9842               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9843 	  fi
   9844 	  ;;
   9845 	esac
   9846       else
   9847         ld_shlibs=no
   9848       fi
   9849       ;;
   9850 
   9851     netbsd*)
   9852       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9853 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9854 	wlarc=
   9855       else
   9856 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9857 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9858       fi
   9859       ;;
   9860 
   9861     solaris*)
   9862       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9863 	ld_shlibs=no
   9864 	cat <<_LT_EOF 1>&2
   9865 
   9866 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9867 *** create shared libraries on Solaris systems.  Therefore, libtool
   9868 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9869 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9870 *** your PATH or compiler configuration so that the native linker is
   9871 *** used, and then restart.
   9872 
   9873 _LT_EOF
   9874       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9875 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9876 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9877       else
   9878 	ld_shlibs=no
   9879       fi
   9880       ;;
   9881 
   9882     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9883       case `$LD -v 2>&1` in
   9884         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9885 	ld_shlibs=no
   9886 	cat <<_LT_EOF 1>&2
   9887 
   9888 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9889 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9890 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9891 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9892 *** your PATH or compiler configuration so that the native linker is
   9893 *** used, and then restart.
   9894 
   9895 _LT_EOF
   9896 	;;
   9897 	*)
   9898 	  # For security reasons, it is highly recommended that you always
   9899 	  # use absolute paths for naming shared libraries, and exclude the
   9900 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9901 	  # requires that you compile everything twice, which is a pain.
   9902 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9903 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9904 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9905 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9906 	  else
   9907 	    ld_shlibs=no
   9908 	  fi
   9909 	;;
   9910       esac
   9911       ;;
   9912 
   9913     sunos4*)
   9914       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9915       wlarc=
   9916       hardcode_direct=yes
   9917       hardcode_shlibpath_var=no
   9918       ;;
   9919 
   9920     *)
   9921       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9922 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9923 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9924       else
   9925 	ld_shlibs=no
   9926       fi
   9927       ;;
   9928     esac
   9929 
   9930     if test no = "$ld_shlibs"; then
   9931       runpath_var=
   9932       hardcode_libdir_flag_spec=
   9933       export_dynamic_flag_spec=
   9934       whole_archive_flag_spec=
   9935     fi
   9936   else
   9937     # PORTME fill in a description of your system's linker (not GNU ld)
   9938     case $host_os in
   9939     aix3*)
   9940       allow_undefined_flag=unsupported
   9941       always_export_symbols=yes
   9942       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'
   9943       # Note: this linker hardcodes the directories in LIBPATH if there
   9944       # are no directories specified by -L.
   9945       hardcode_minus_L=yes
   9946       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9947 	# Neither direct hardcoding nor static linking is supported with a
   9948 	# broken collect2.
   9949 	hardcode_direct=unsupported
   9950       fi
   9951       ;;
   9952 
   9953     aix[4-9]*)
   9954       if test ia64 = "$host_cpu"; then
   9955 	# On IA64, the linker does run time linking by default, so we don't
   9956 	# have to do anything special.
   9957 	aix_use_runtimelinking=no
   9958 	exp_sym_flag='-Bexport'
   9959 	no_entry_flag=
   9960       else
   9961 	# If we're using GNU nm, then we don't want the "-C" option.
   9962 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9963 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9964 	# weak defined symbols like other global defined symbols, whereas
   9965 	# GNU nm marks them as "W".
   9966 	# While the 'weak' keyword is ignored in the Export File, we need
   9967 	# it in the Import File for the 'aix-soname' feature, so we have
   9968 	# to replace the "-B" option with "-P" for AIX nm.
   9969 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9970 	  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'
   9971 	else
   9972 	  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 == "L") || (\$ 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'
   9973 	fi
   9974 	aix_use_runtimelinking=no
   9975 
   9976 	# Test if we are trying to use run time linking or normal
   9977 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9978 	# have runtime linking enabled, and use it for executables.
   9979 	# For shared libraries, we enable/disable runtime linking
   9980 	# depending on the kind of the shared library created -
   9981 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9982 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9983 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9984 	#            lib.a           static archive
   9985 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9986 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9987 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9988 	#            lib.a(lib.so.V) shared, rtl:no
   9989 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9990 	#            lib.a           static archive
   9991 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9992 	  for ld_flag in $LDFLAGS; do
   9993 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9994 	    aix_use_runtimelinking=yes
   9995 	    break
   9996 	  fi
   9997 	  done
   9998 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9999 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10000 	    # so we don't have lib.a shared libs to link our executables.
   10001 	    # We have to force runtime linking in this case.
   10002 	    aix_use_runtimelinking=yes
   10003 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10004 	  fi
   10005 	  ;;
   10006 	esac
   10007 
   10008 	exp_sym_flag='-bexport'
   10009 	no_entry_flag='-bnoentry'
   10010       fi
   10011 
   10012       # When large executables or shared objects are built, AIX ld can
   10013       # have problems creating the table of contents.  If linking a library
   10014       # or program results in "error TOC overflow" add -mminimal-toc to
   10015       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10016       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10017 
   10018       archive_cmds=''
   10019       hardcode_direct=yes
   10020       hardcode_direct_absolute=yes
   10021       hardcode_libdir_separator=':'
   10022       link_all_deplibs=yes
   10023       file_list_spec='$wl-f,'
   10024       case $with_aix_soname,$aix_use_runtimelinking in
   10025       aix,*) ;; # traditional, no import file
   10026       svr4,* | *,yes) # use import file
   10027 	# The Import File defines what to hardcode.
   10028 	hardcode_direct=no
   10029 	hardcode_direct_absolute=no
   10030 	;;
   10031       esac
   10032 
   10033       if test yes = "$GCC"; then
   10034 	case $host_os in aix4.[012]|aix4.[012].*)
   10035 	# We only want to do this on AIX 4.2 and lower, the check
   10036 	# below for broken collect2 doesn't work under 4.3+
   10037 	  collect2name=`$CC -print-prog-name=collect2`
   10038 	  if test -f "$collect2name" &&
   10039 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10040 	  then
   10041 	  # We have reworked collect2
   10042 	  :
   10043 	  else
   10044 	  # We have old collect2
   10045 	  hardcode_direct=unsupported
   10046 	  # It fails to find uninstalled libraries when the uninstalled
   10047 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10048 	  # to unsupported forces relinking
   10049 	  hardcode_minus_L=yes
   10050 	  hardcode_libdir_flag_spec='-L$libdir'
   10051 	  hardcode_libdir_separator=
   10052 	  fi
   10053 	  ;;
   10054 	esac
   10055 	shared_flag='-shared'
   10056 	if test yes = "$aix_use_runtimelinking"; then
   10057 	  shared_flag="$shared_flag "'$wl-G'
   10058 	fi
   10059 	# Need to ensure runtime linking is disabled for the traditional
   10060 	# shared library, or the linker may eventually find shared libraries
   10061 	# /with/ Import File - we do not want to mix them.
   10062 	shared_flag_aix='-shared'
   10063 	shared_flag_svr4='-shared $wl-G'
   10064       else
   10065 	# not using gcc
   10066 	if test ia64 = "$host_cpu"; then
   10067 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10068 	# chokes on -Wl,-G. The following line is correct:
   10069 	  shared_flag='-G'
   10070 	else
   10071 	  if test yes = "$aix_use_runtimelinking"; then
   10072 	    shared_flag='$wl-G'
   10073 	  else
   10074 	    shared_flag='$wl-bM:SRE'
   10075 	  fi
   10076 	  shared_flag_aix='$wl-bM:SRE'
   10077 	  shared_flag_svr4='$wl-G'
   10078 	fi
   10079       fi
   10080 
   10081       export_dynamic_flag_spec='$wl-bexpall'
   10082       # It seems that -bexpall does not export symbols beginning with
   10083       # underscore (_), so it is better to generate a list of symbols to export.
   10084       always_export_symbols=yes
   10085       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10086 	# Warning - without using the other runtime loading flags (-brtl),
   10087 	# -berok will link without error, but may produce a broken library.
   10088 	allow_undefined_flag='-berok'
   10089         # Determine the default libpath from the value encoded in an
   10090         # empty executable.
   10091         if test set = "${lt_cv_aix_libpath+set}"; then
   10092   aix_libpath=$lt_cv_aix_libpath
   10093 else
   10094   if test ${lt_cv_aix_libpath_+y}
   10095 then :
   10096   printf %s "(cached) " >&6
   10097 else $as_nop
   10098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10099 /* end confdefs.h.  */
   10100 
   10101 int
   10102 main (void)
   10103 {
   10104 
   10105   ;
   10106   return 0;
   10107 }
   10108 _ACEOF
   10109 if ac_fn_c_try_link "$LINENO"
   10110 then :
   10111 
   10112   lt_aix_libpath_sed='
   10113       /Import File Strings/,/^$/ {
   10114 	  /^0/ {
   10115 	      s/^0  *\([^ ]*\) *$/\1/
   10116 	      p
   10117 	  }
   10118       }'
   10119   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10120   # Check for a 64-bit object if we didn't find anything.
   10121   if test -z "$lt_cv_aix_libpath_"; then
   10122     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10123   fi
   10124 fi
   10125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10126     conftest$ac_exeext conftest.$ac_ext
   10127   if test -z "$lt_cv_aix_libpath_"; then
   10128     lt_cv_aix_libpath_=/usr/lib:/lib
   10129   fi
   10130 
   10131 fi
   10132 
   10133   aix_libpath=$lt_cv_aix_libpath_
   10134 fi
   10135 
   10136         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10137         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
   10138       else
   10139 	if test ia64 = "$host_cpu"; then
   10140 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10141 	  allow_undefined_flag="-z nodefs"
   10142 	  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"
   10143 	else
   10144 	 # Determine the default libpath from the value encoded in an
   10145 	 # empty executable.
   10146 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10147   aix_libpath=$lt_cv_aix_libpath
   10148 else
   10149   if test ${lt_cv_aix_libpath_+y}
   10150 then :
   10151   printf %s "(cached) " >&6
   10152 else $as_nop
   10153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10154 /* end confdefs.h.  */
   10155 
   10156 int
   10157 main (void)
   10158 {
   10159 
   10160   ;
   10161   return 0;
   10162 }
   10163 _ACEOF
   10164 if ac_fn_c_try_link "$LINENO"
   10165 then :
   10166 
   10167   lt_aix_libpath_sed='
   10168       /Import File Strings/,/^$/ {
   10169 	  /^0/ {
   10170 	      s/^0  *\([^ ]*\) *$/\1/
   10171 	      p
   10172 	  }
   10173       }'
   10174   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10175   # Check for a 64-bit object if we didn't find anything.
   10176   if test -z "$lt_cv_aix_libpath_"; then
   10177     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10178   fi
   10179 fi
   10180 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10181     conftest$ac_exeext conftest.$ac_ext
   10182   if test -z "$lt_cv_aix_libpath_"; then
   10183     lt_cv_aix_libpath_=/usr/lib:/lib
   10184   fi
   10185 
   10186 fi
   10187 
   10188   aix_libpath=$lt_cv_aix_libpath_
   10189 fi
   10190 
   10191 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10192 	  # Warning - without using the other run time loading flags,
   10193 	  # -berok will link without error, but may produce a broken library.
   10194 	  no_undefined_flag=' $wl-bernotok'
   10195 	  allow_undefined_flag=' $wl-berok'
   10196 	  if test yes = "$with_gnu_ld"; then
   10197 	    # We only use this code for GNU lds that support --whole-archive.
   10198 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10199 	  else
   10200 	    # Exported symbols can be pulled into shared objects from archives
   10201 	    whole_archive_flag_spec='$convenience'
   10202 	  fi
   10203 	  archive_cmds_need_lc=yes
   10204 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10205 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10206 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10207 	  if test svr4 != "$with_aix_soname"; then
   10208 	    # This is similar to how AIX traditionally builds its shared libraries.
   10209 	    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'
   10210 	  fi
   10211 	  if test aix != "$with_aix_soname"; then
   10212 	    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'
   10213 	  else
   10214 	    # used by -dlpreopen to get the symbols
   10215 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10216 	  fi
   10217 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10218 	fi
   10219       fi
   10220       ;;
   10221 
   10222     amigaos*)
   10223       case $host_cpu in
   10224       powerpc)
   10225             # see comment about AmigaOS4 .so support
   10226             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10227             archive_expsym_cmds=''
   10228         ;;
   10229       m68k)
   10230             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)'
   10231             hardcode_libdir_flag_spec='-L$libdir'
   10232             hardcode_minus_L=yes
   10233         ;;
   10234       esac
   10235       ;;
   10236 
   10237     bsdi[45]*)
   10238       export_dynamic_flag_spec=-rdynamic
   10239       ;;
   10240 
   10241     cygwin* | mingw* | pw32* | cegcc*)
   10242       # When not using gcc, we currently assume that we are using
   10243       # Microsoft Visual C++ or Intel C++ Compiler.
   10244       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10245       # no search path for DLLs.
   10246       case $cc_basename in
   10247       cl* | icl*)
   10248 	# Native MSVC or ICC
   10249 	hardcode_libdir_flag_spec=' '
   10250 	allow_undefined_flag=unsupported
   10251 	always_export_symbols=yes
   10252 	file_list_spec='@'
   10253 	# Tell ltmain to make .lib files, not .a files.
   10254 	libext=lib
   10255 	# Tell ltmain to make .dll files, not .so files.
   10256 	shrext_cmds=.dll
   10257 	# FIXME: Setting linknames here is a bad hack.
   10258 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10259 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10260             cp "$export_symbols" "$output_objdir/$soname.def";
   10261             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10262           else
   10263             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10264           fi~
   10265           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10266           linknames='
   10267 	# The linker will not automatically build a static lib if we build a DLL.
   10268 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10269 	enable_shared_with_static_runtimes=yes
   10270 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10271 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10272 	# Don't use ranlib
   10273 	old_postinstall_cmds='chmod 644 $oldlib'
   10274 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10275           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10276           case $lt_outputfile in
   10277             *.exe|*.EXE) ;;
   10278             *)
   10279               lt_outputfile=$lt_outputfile.exe
   10280               lt_tool_outputfile=$lt_tool_outputfile.exe
   10281               ;;
   10282           esac~
   10283           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10284             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10285             $RM "$lt_outputfile.manifest";
   10286           fi'
   10287 	;;
   10288       *)
   10289 	# Assume MSVC and ICC wrapper
   10290 	hardcode_libdir_flag_spec=' '
   10291 	allow_undefined_flag=unsupported
   10292 	# Tell ltmain to make .lib files, not .a files.
   10293 	libext=lib
   10294 	# Tell ltmain to make .dll files, not .so files.
   10295 	shrext_cmds=.dll
   10296 	# FIXME: Setting linknames here is a bad hack.
   10297 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10298 	# The linker will automatically build a .lib file if we build a DLL.
   10299 	old_archive_from_new_cmds='true'
   10300 	# FIXME: Should let the user specify the lib program.
   10301 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10302 	enable_shared_with_static_runtimes=yes
   10303 	;;
   10304       esac
   10305       ;;
   10306 
   10307     darwin* | rhapsody*)
   10308 
   10309 
   10310   archive_cmds_need_lc=no
   10311   hardcode_direct=no
   10312   hardcode_automatic=yes
   10313   hardcode_shlibpath_var=unsupported
   10314   if test yes = "$lt_cv_ld_force_load"; then
   10315     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\"`'
   10316 
   10317   else
   10318     whole_archive_flag_spec=''
   10319   fi
   10320   link_all_deplibs=yes
   10321   allow_undefined_flag=$_lt_dar_allow_undefined
   10322   case $cc_basename in
   10323      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10324      *) _lt_dar_can_shared=$GCC ;;
   10325   esac
   10326   if test yes = "$_lt_dar_can_shared"; then
   10327     output_verbose_link_cmd=func_echo_all
   10328     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10329     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10330     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"
   10331     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"
   10332 
   10333   else
   10334   ld_shlibs=no
   10335   fi
   10336 
   10337       ;;
   10338 
   10339     dgux*)
   10340       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10341       hardcode_libdir_flag_spec='-L$libdir'
   10342       hardcode_shlibpath_var=no
   10343       ;;
   10344 
   10345     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10346     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10347     # does not break anything, and helps significantly (at the cost of a little
   10348     # extra space).
   10349     freebsd2.2*)
   10350       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10351       hardcode_libdir_flag_spec='-R$libdir'
   10352       hardcode_direct=yes
   10353       hardcode_shlibpath_var=no
   10354       ;;
   10355 
   10356     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10357     freebsd2.*)
   10358       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10359       hardcode_direct=yes
   10360       hardcode_minus_L=yes
   10361       hardcode_shlibpath_var=no
   10362       ;;
   10363 
   10364     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10365     freebsd* | dragonfly* | midnightbsd*)
   10366       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10367       hardcode_libdir_flag_spec='-R$libdir'
   10368       hardcode_direct=yes
   10369       hardcode_shlibpath_var=no
   10370       ;;
   10371 
   10372     hpux9*)
   10373       if test yes = "$GCC"; then
   10374 	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'
   10375       else
   10376 	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'
   10377       fi
   10378       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10379       hardcode_libdir_separator=:
   10380       hardcode_direct=yes
   10381 
   10382       # hardcode_minus_L: Not really in the search PATH,
   10383       # but as the default location of the library.
   10384       hardcode_minus_L=yes
   10385       export_dynamic_flag_spec='$wl-E'
   10386       ;;
   10387 
   10388     hpux10*)
   10389       if test yes,no = "$GCC,$with_gnu_ld"; then
   10390 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10391       else
   10392 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10393       fi
   10394       if test no = "$with_gnu_ld"; then
   10395 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10396 	hardcode_libdir_separator=:
   10397 	hardcode_direct=yes
   10398 	hardcode_direct_absolute=yes
   10399 	export_dynamic_flag_spec='$wl-E'
   10400 	# hardcode_minus_L: Not really in the search PATH,
   10401 	# but as the default location of the library.
   10402 	hardcode_minus_L=yes
   10403       fi
   10404       ;;
   10405 
   10406     hpux11*)
   10407       if test yes,no = "$GCC,$with_gnu_ld"; then
   10408 	case $host_cpu in
   10409 	hppa*64*)
   10410 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10411 	  ;;
   10412 	ia64*)
   10413 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10414 	  ;;
   10415 	*)
   10416 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10417 	  ;;
   10418 	esac
   10419       else
   10420 	case $host_cpu in
   10421 	hppa*64*)
   10422 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10423 	  ;;
   10424 	ia64*)
   10425 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10426 	  ;;
   10427 	*)
   10428 
   10429 	  # Older versions of the 11.00 compiler do not understand -b yet
   10430 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10431 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10432 printf %s "checking if $CC understands -b... " >&6; }
   10433 if test ${lt_cv_prog_compiler__b+y}
   10434 then :
   10435   printf %s "(cached) " >&6
   10436 else $as_nop
   10437   lt_cv_prog_compiler__b=no
   10438    save_LDFLAGS=$LDFLAGS
   10439    LDFLAGS="$LDFLAGS -b"
   10440    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10441    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10442      # The linker can only warn and ignore the option if not recognized
   10443      # So say no if there are warnings
   10444      if test -s conftest.err; then
   10445        # Append any errors to the config.log.
   10446        cat conftest.err 1>&5
   10447        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10448        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10449        if diff conftest.exp conftest.er2 >/dev/null; then
   10450          lt_cv_prog_compiler__b=yes
   10451        fi
   10452      else
   10453        lt_cv_prog_compiler__b=yes
   10454      fi
   10455    fi
   10456    $RM -r conftest*
   10457    LDFLAGS=$save_LDFLAGS
   10458 
   10459 fi
   10460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10461 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10462 
   10463 if test yes = "$lt_cv_prog_compiler__b"; then
   10464     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10465 else
   10466     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10467 fi
   10468 
   10469 	  ;;
   10470 	esac
   10471       fi
   10472       if test no = "$with_gnu_ld"; then
   10473 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10474 	hardcode_libdir_separator=:
   10475 
   10476 	case $host_cpu in
   10477 	hppa*64*|ia64*)
   10478 	  hardcode_direct=no
   10479 	  hardcode_shlibpath_var=no
   10480 	  ;;
   10481 	*)
   10482 	  hardcode_direct=yes
   10483 	  hardcode_direct_absolute=yes
   10484 	  export_dynamic_flag_spec='$wl-E'
   10485 
   10486 	  # hardcode_minus_L: Not really in the search PATH,
   10487 	  # but as the default location of the library.
   10488 	  hardcode_minus_L=yes
   10489 	  ;;
   10490 	esac
   10491       fi
   10492       ;;
   10493 
   10494     irix5* | irix6* | nonstopux*)
   10495       if test yes = "$GCC"; then
   10496 	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'
   10497 	# Try to use the -exported_symbol ld option, if it does not
   10498 	# work, assume that -exports_file does not work either and
   10499 	# implicitly export all symbols.
   10500 	# This should be the same for all languages, so no per-tag cache variable.
   10501 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10502 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10503 if test ${lt_cv_irix_exported_symbol+y}
   10504 then :
   10505   printf %s "(cached) " >&6
   10506 else $as_nop
   10507   save_LDFLAGS=$LDFLAGS
   10508 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10509 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10510 /* end confdefs.h.  */
   10511 int foo (void) { return 0; }
   10512 _ACEOF
   10513 if ac_fn_c_try_link "$LINENO"
   10514 then :
   10515   lt_cv_irix_exported_symbol=yes
   10516 else $as_nop
   10517   lt_cv_irix_exported_symbol=no
   10518 fi
   10519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10520     conftest$ac_exeext conftest.$ac_ext
   10521            LDFLAGS=$save_LDFLAGS
   10522 fi
   10523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10524 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10525 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10526           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'
   10527 	fi
   10528       else
   10529 	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'
   10530 	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'
   10531       fi
   10532       archive_cmds_need_lc='no'
   10533       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10534       hardcode_libdir_separator=:
   10535       inherit_rpath=yes
   10536       link_all_deplibs=yes
   10537       ;;
   10538 
   10539     linux*)
   10540       case $cc_basename in
   10541       tcc*)
   10542 	# Fabrice Bellard et al's Tiny C Compiler
   10543 	ld_shlibs=yes
   10544 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10545 	;;
   10546       esac
   10547       ;;
   10548 
   10549     netbsd*)
   10550       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10551 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10552       else
   10553 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10554       fi
   10555       hardcode_libdir_flag_spec='-R$libdir'
   10556       hardcode_direct=yes
   10557       hardcode_shlibpath_var=no
   10558       ;;
   10559 
   10560     newsos6)
   10561       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10562       hardcode_direct=yes
   10563       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10564       hardcode_libdir_separator=:
   10565       hardcode_shlibpath_var=no
   10566       ;;
   10567 
   10568     *nto* | *qnx*)
   10569       ;;
   10570 
   10571     openbsd* | bitrig*)
   10572       if test -f /usr/libexec/ld.so; then
   10573 	hardcode_direct=yes
   10574 	hardcode_shlibpath_var=no
   10575 	hardcode_direct_absolute=yes
   10576 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10577 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10578 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10579 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10580 	  export_dynamic_flag_spec='$wl-E'
   10581 	else
   10582 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10583 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10584 	fi
   10585       else
   10586 	ld_shlibs=no
   10587       fi
   10588       ;;
   10589 
   10590     os2*)
   10591       hardcode_libdir_flag_spec='-L$libdir'
   10592       hardcode_minus_L=yes
   10593       allow_undefined_flag=unsupported
   10594       shrext_cmds=.dll
   10595       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10596 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10597 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10598 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10599 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10600 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10601 	emximp -o $lib $output_objdir/$libname.def'
   10602       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10603 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10604 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10605 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10606 	prefix_cmds="$SED"~
   10607 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10608 	  prefix_cmds="$prefix_cmds -e 1d";
   10609 	fi~
   10610 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10611 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10612 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10613 	emximp -o $lib $output_objdir/$libname.def'
   10614       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10615       enable_shared_with_static_runtimes=yes
   10616       file_list_spec='@'
   10617       ;;
   10618 
   10619     osf3*)
   10620       if test yes = "$GCC"; then
   10621 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10622 	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'
   10623       else
   10624 	allow_undefined_flag=' -expect_unresolved \*'
   10625 	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'
   10626       fi
   10627       archive_cmds_need_lc='no'
   10628       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10629       hardcode_libdir_separator=:
   10630       ;;
   10631 
   10632     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10633       if test yes = "$GCC"; then
   10634 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10635 	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'
   10636 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10637       else
   10638 	allow_undefined_flag=' -expect_unresolved \*'
   10639 	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'
   10640 	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~
   10641           $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'
   10642 
   10643 	# Both c and cxx compiler support -rpath directly
   10644 	hardcode_libdir_flag_spec='-rpath $libdir'
   10645       fi
   10646       archive_cmds_need_lc='no'
   10647       hardcode_libdir_separator=:
   10648       ;;
   10649 
   10650     solaris*)
   10651       no_undefined_flag=' -z defs'
   10652       if test yes = "$GCC"; then
   10653 	wlarc='$wl'
   10654 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10655 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10656           $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'
   10657       else
   10658 	case `$CC -V 2>&1` in
   10659 	*"Compilers 5.0"*)
   10660 	  wlarc=''
   10661 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10662 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10663             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10664 	  ;;
   10665 	*)
   10666 	  wlarc='$wl'
   10667 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10668 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10669             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10670 	  ;;
   10671 	esac
   10672       fi
   10673       hardcode_libdir_flag_spec='-R$libdir'
   10674       hardcode_shlibpath_var=no
   10675       case $host_os in
   10676       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10677       *)
   10678 	# The compiler driver will combine and reorder linker options,
   10679 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10680 	# but is careful enough not to reorder.
   10681 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10682 	if test yes = "$GCC"; then
   10683 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10684 	else
   10685 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10686 	fi
   10687 	;;
   10688       esac
   10689       link_all_deplibs=yes
   10690       ;;
   10691 
   10692     sunos4*)
   10693       if test sequent = "$host_vendor"; then
   10694 	# Use $CC to link under sequent, because it throws in some extra .o
   10695 	# files that make .init and .fini sections work.
   10696 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10697       else
   10698 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10699       fi
   10700       hardcode_libdir_flag_spec='-L$libdir'
   10701       hardcode_direct=yes
   10702       hardcode_minus_L=yes
   10703       hardcode_shlibpath_var=no
   10704       ;;
   10705 
   10706     sysv4)
   10707       case $host_vendor in
   10708 	sni)
   10709 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10710 	  hardcode_direct=yes # is this really true???
   10711 	;;
   10712 	siemens)
   10713 	  ## LD is ld it makes a PLAMLIB
   10714 	  ## CC just makes a GrossModule.
   10715 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10716 	  reload_cmds='$CC -r -o $output$reload_objs'
   10717 	  hardcode_direct=no
   10718         ;;
   10719 	motorola)
   10720 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10721 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10722 	;;
   10723       esac
   10724       runpath_var='LD_RUN_PATH'
   10725       hardcode_shlibpath_var=no
   10726       ;;
   10727 
   10728     sysv4.3*)
   10729       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10730       hardcode_shlibpath_var=no
   10731       export_dynamic_flag_spec='-Bexport'
   10732       ;;
   10733 
   10734     sysv4*MP*)
   10735       if test -d /usr/nec; then
   10736 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10737 	hardcode_shlibpath_var=no
   10738 	runpath_var=LD_RUN_PATH
   10739 	hardcode_runpath_var=yes
   10740 	ld_shlibs=yes
   10741       fi
   10742       ;;
   10743 
   10744     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10745       no_undefined_flag='$wl-z,text'
   10746       archive_cmds_need_lc=no
   10747       hardcode_shlibpath_var=no
   10748       runpath_var='LD_RUN_PATH'
   10749 
   10750       if test yes = "$GCC"; then
   10751 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10752 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10753       else
   10754 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10755 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10756       fi
   10757       ;;
   10758 
   10759     sysv5* | sco3.2v5* | sco5v6*)
   10760       # Note: We CANNOT use -z defs as we might desire, because we do not
   10761       # link with -lc, and that would cause any symbols used from libc to
   10762       # always be unresolved, which means just about no library would
   10763       # ever link correctly.  If we're not using GNU ld we use -z text
   10764       # though, which does catch some bad symbols but isn't as heavy-handed
   10765       # as -z defs.
   10766       no_undefined_flag='$wl-z,text'
   10767       allow_undefined_flag='$wl-z,nodefs'
   10768       archive_cmds_need_lc=no
   10769       hardcode_shlibpath_var=no
   10770       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10771       hardcode_libdir_separator=':'
   10772       link_all_deplibs=yes
   10773       export_dynamic_flag_spec='$wl-Bexport'
   10774       runpath_var='LD_RUN_PATH'
   10775 
   10776       if test yes = "$GCC"; then
   10777 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10778 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10779       else
   10780 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10781 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10782       fi
   10783       ;;
   10784 
   10785     uts4*)
   10786       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10787       hardcode_libdir_flag_spec='-L$libdir'
   10788       hardcode_shlibpath_var=no
   10789       ;;
   10790 
   10791     *)
   10792       ld_shlibs=no
   10793       ;;
   10794     esac
   10795 
   10796     if test sni = "$host_vendor"; then
   10797       case $host in
   10798       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10799 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10800 	;;
   10801       esac
   10802     fi
   10803   fi
   10804 
   10805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10806 printf "%s\n" "$ld_shlibs" >&6; }
   10807 test no = "$ld_shlibs" && can_build_shared=no
   10808 
   10809 with_gnu_ld=$with_gnu_ld
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 #
   10826 # Do we need to explicitly link libc?
   10827 #
   10828 case "x$archive_cmds_need_lc" in
   10829 x|xyes)
   10830   # Assume -lc should be added
   10831   archive_cmds_need_lc=yes
   10832 
   10833   if test yes,yes = "$GCC,$enable_shared"; then
   10834     case $archive_cmds in
   10835     *'~'*)
   10836       # FIXME: we may have to deal with multi-command sequences.
   10837       ;;
   10838     '$CC '*)
   10839       # Test whether the compiler implicitly links with -lc since on some
   10840       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10841       # to ld, don't add -lc before -lgcc.
   10842       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10843 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10844 if test ${lt_cv_archive_cmds_need_lc+y}
   10845 then :
   10846   printf %s "(cached) " >&6
   10847 else $as_nop
   10848   $RM conftest*
   10849 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10850 
   10851 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10852   (eval $ac_compile) 2>&5
   10853   ac_status=$?
   10854   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10855   test $ac_status = 0; } 2>conftest.err; then
   10856 	  soname=conftest
   10857 	  lib=conftest
   10858 	  libobjs=conftest.$ac_objext
   10859 	  deplibs=
   10860 	  wl=$lt_prog_compiler_wl
   10861 	  pic_flag=$lt_prog_compiler_pic
   10862 	  compiler_flags=-v
   10863 	  linker_flags=-v
   10864 	  verstring=
   10865 	  output_objdir=.
   10866 	  libname=conftest
   10867 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10868 	  allow_undefined_flag=
   10869 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10870   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10871   ac_status=$?
   10872   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10873   test $ac_status = 0; }
   10874 	  then
   10875 	    lt_cv_archive_cmds_need_lc=no
   10876 	  else
   10877 	    lt_cv_archive_cmds_need_lc=yes
   10878 	  fi
   10879 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10880 	else
   10881 	  cat conftest.err 1>&5
   10882 	fi
   10883 	$RM conftest*
   10884 
   10885 fi
   10886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10887 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10888       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10889       ;;
   10890     esac
   10891   fi
   10892   ;;
   10893 esac
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11047 printf %s "checking dynamic linker characteristics... " >&6; }
   11048 
   11049 if test yes = "$GCC"; then
   11050   case $host_os in
   11051     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11052     *) lt_awk_arg='/^libraries:/' ;;
   11053   esac
   11054   case $host_os in
   11055     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11056     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11057   esac
   11058   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11059   case $lt_search_path_spec in
   11060   *\;*)
   11061     # if the path contains ";" then we assume it to be the separator
   11062     # otherwise default to the standard path separator (i.e. ":") - it is
   11063     # assumed that no part of a normal pathname contains ";" but that should
   11064     # okay in the real world where ";" in dirpaths is itself problematic.
   11065     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11066     ;;
   11067   *)
   11068     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11069     ;;
   11070   esac
   11071   # Ok, now we have the path, separated by spaces, we can step through it
   11072   # and add multilib dir if necessary...
   11073   lt_tmp_lt_search_path_spec=
   11074   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11075   # ...but if some path component already ends with the multilib dir we assume
   11076   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11077   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11078   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11079     lt_multi_os_dir=
   11080     ;;
   11081   esac
   11082   for lt_sys_path in $lt_search_path_spec; do
   11083     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11084       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11085     elif test -n "$lt_multi_os_dir"; then
   11086       test -d "$lt_sys_path" && \
   11087 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11088     fi
   11089   done
   11090   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11091 BEGIN {RS = " "; FS = "/|\n";} {
   11092   lt_foo = "";
   11093   lt_count = 0;
   11094   for (lt_i = NF; lt_i > 0; lt_i--) {
   11095     if ($lt_i != "" && $lt_i != ".") {
   11096       if ($lt_i == "..") {
   11097         lt_count++;
   11098       } else {
   11099         if (lt_count == 0) {
   11100           lt_foo = "/" $lt_i lt_foo;
   11101         } else {
   11102           lt_count--;
   11103         }
   11104       }
   11105     }
   11106   }
   11107   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11108   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11109 }'`
   11110   # AWK program above erroneously prepends '/' to C:/dos/paths
   11111   # for these hosts.
   11112   case $host_os in
   11113     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11114       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11115   esac
   11116   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11117 else
   11118   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11119 fi
   11120 library_names_spec=
   11121 libname_spec='lib$name'
   11122 soname_spec=
   11123 shrext_cmds=.so
   11124 postinstall_cmds=
   11125 postuninstall_cmds=
   11126 finish_cmds=
   11127 finish_eval=
   11128 shlibpath_var=
   11129 shlibpath_overrides_runpath=unknown
   11130 version_type=none
   11131 dynamic_linker="$host_os ld.so"
   11132 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11133 need_lib_prefix=unknown
   11134 hardcode_into_libs=no
   11135 
   11136 # when you set need_version to no, make sure it does not cause -set_version
   11137 # flags to be left without arguments
   11138 need_version=unknown
   11139 
   11140 
   11141 
   11142 case $host_os in
   11143 aix3*)
   11144   version_type=linux # correct to gnu/linux during the next big refactor
   11145   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11146   shlibpath_var=LIBPATH
   11147 
   11148   # AIX 3 has no versioning support, so we append a major version to the name.
   11149   soname_spec='$libname$release$shared_ext$major'
   11150   ;;
   11151 
   11152 aix[4-9]*)
   11153   version_type=linux # correct to gnu/linux during the next big refactor
   11154   need_lib_prefix=no
   11155   need_version=no
   11156   hardcode_into_libs=yes
   11157   if test ia64 = "$host_cpu"; then
   11158     # AIX 5 supports IA64
   11159     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11160     shlibpath_var=LD_LIBRARY_PATH
   11161   else
   11162     # With GCC up to 2.95.x, collect2 would create an import file
   11163     # for dependence libraries.  The import file would start with
   11164     # the line '#! .'.  This would cause the generated library to
   11165     # depend on '.', always an invalid library.  This was fixed in
   11166     # development snapshots of GCC prior to 3.0.
   11167     case $host_os in
   11168       aix4 | aix4.[01] | aix4.[01].*)
   11169       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11170 	   echo ' yes '
   11171 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11172 	:
   11173       else
   11174 	can_build_shared=no
   11175       fi
   11176       ;;
   11177     esac
   11178     # Using Import Files as archive members, it is possible to support
   11179     # filename-based versioning of shared library archives on AIX. While
   11180     # this would work for both with and without runtime linking, it will
   11181     # prevent static linking of such archives. So we do filename-based
   11182     # shared library versioning with .so extension only, which is used
   11183     # when both runtime linking and shared linking is enabled.
   11184     # Unfortunately, runtime linking may impact performance, so we do
   11185     # not want this to be the default eventually. Also, we use the
   11186     # versioned .so libs for executables only if there is the -brtl
   11187     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11188     # To allow for filename-based versioning support, we need to create
   11189     # libNAME.so.V as an archive file, containing:
   11190     # *) an Import File, referring to the versioned filename of the
   11191     #    archive as well as the shared archive member, telling the
   11192     #    bitwidth (32 or 64) of that shared object, and providing the
   11193     #    list of exported symbols of that shared object, eventually
   11194     #    decorated with the 'weak' keyword
   11195     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11196     #    it being seen by the linker.
   11197     # At run time we better use the real file rather than another symlink,
   11198     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11199 
   11200     case $with_aix_soname,$aix_use_runtimelinking in
   11201     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11202     # soname into executable. Probably we can add versioning support to
   11203     # collect2, so additional links can be useful in future.
   11204     aix,yes) # traditional libtool
   11205       dynamic_linker='AIX unversionable lib.so'
   11206       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11207       # instead of lib<name>.a to let people know that these are not
   11208       # typical AIX shared libraries.
   11209       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11210       ;;
   11211     aix,no) # traditional AIX only
   11212       dynamic_linker='AIX lib.a(lib.so.V)'
   11213       # We preserve .a as extension for shared libraries through AIX4.2
   11214       # and later when we are not doing run time linking.
   11215       library_names_spec='$libname$release.a $libname.a'
   11216       soname_spec='$libname$release$shared_ext$major'
   11217       ;;
   11218     svr4,*) # full svr4 only
   11219       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11220       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11221       # We do not specify a path in Import Files, so LIBPATH fires.
   11222       shlibpath_overrides_runpath=yes
   11223       ;;
   11224     *,yes) # both, prefer svr4
   11225       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11226       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11227       # unpreferred sharedlib libNAME.a needs extra handling
   11228       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"'
   11229       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"'
   11230       # We do not specify a path in Import Files, so LIBPATH fires.
   11231       shlibpath_overrides_runpath=yes
   11232       ;;
   11233     *,no) # both, prefer aix
   11234       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11235       library_names_spec='$libname$release.a $libname.a'
   11236       soname_spec='$libname$release$shared_ext$major'
   11237       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11238       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)'
   11239       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"'
   11240       ;;
   11241     esac
   11242     shlibpath_var=LIBPATH
   11243   fi
   11244   ;;
   11245 
   11246 amigaos*)
   11247   case $host_cpu in
   11248   powerpc)
   11249     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11250     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11251     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11252     ;;
   11253   m68k)
   11254     library_names_spec='$libname.ixlibrary $libname.a'
   11255     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11256     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'
   11257     ;;
   11258   esac
   11259   ;;
   11260 
   11261 beos*)
   11262   library_names_spec='$libname$shared_ext'
   11263   dynamic_linker="$host_os ld.so"
   11264   shlibpath_var=LIBRARY_PATH
   11265   ;;
   11266 
   11267 bsdi[45]*)
   11268   version_type=linux # correct to gnu/linux during the next big refactor
   11269   need_version=no
   11270   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11271   soname_spec='$libname$release$shared_ext$major'
   11272   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11273   shlibpath_var=LD_LIBRARY_PATH
   11274   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11275   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11276   # the default ld.so.conf also contains /usr/contrib/lib and
   11277   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11278   # libtool to hard-code these into programs
   11279   ;;
   11280 
   11281 cygwin* | mingw* | pw32* | cegcc*)
   11282   version_type=windows
   11283   shrext_cmds=.dll
   11284   need_version=no
   11285   need_lib_prefix=no
   11286 
   11287   case $GCC,$cc_basename in
   11288   yes,*)
   11289     # gcc
   11290     library_names_spec='$libname.dll.a'
   11291     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11292     postinstall_cmds='base_file=`basename \$file`~
   11293       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11294       dldir=$destdir/`dirname \$dlpath`~
   11295       test -d \$dldir || mkdir -p \$dldir~
   11296       $install_prog $dir/$dlname \$dldir/$dlname~
   11297       chmod a+x \$dldir/$dlname~
   11298       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11299         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11300       fi'
   11301     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11302       dlpath=$dir/\$dldll~
   11303        $RM \$dlpath'
   11304     shlibpath_overrides_runpath=yes
   11305 
   11306     case $host_os in
   11307     cygwin*)
   11308       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11309       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11310 
   11311       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11312       ;;
   11313     mingw* | cegcc*)
   11314       # MinGW DLLs use traditional 'lib' prefix
   11315       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11316       ;;
   11317     pw32*)
   11318       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11319       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11320       ;;
   11321     esac
   11322     dynamic_linker='Win32 ld.exe'
   11323     ;;
   11324 
   11325   *,cl* | *,icl*)
   11326     # Native MSVC or ICC
   11327     libname_spec='$name'
   11328     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11329     library_names_spec='$libname.dll.lib'
   11330 
   11331     case $build_os in
   11332     mingw*)
   11333       sys_lib_search_path_spec=
   11334       lt_save_ifs=$IFS
   11335       IFS=';'
   11336       for lt_path in $LIB
   11337       do
   11338         IFS=$lt_save_ifs
   11339         # Let DOS variable expansion print the short 8.3 style file name.
   11340         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11341         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11342       done
   11343       IFS=$lt_save_ifs
   11344       # Convert to MSYS style.
   11345       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11346       ;;
   11347     cygwin*)
   11348       # Convert to unix form, then to dos form, then back to unix form
   11349       # but this time dos style (no spaces!) so that the unix form looks
   11350       # like /cygdrive/c/PROGRA~1:/cygdr...
   11351       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11352       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11353       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11354       ;;
   11355     *)
   11356       sys_lib_search_path_spec=$LIB
   11357       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11358         # It is most probably a Windows format PATH.
   11359         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11360       else
   11361         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11362       fi
   11363       # FIXME: find the short name or the path components, as spaces are
   11364       # common. (e.g. "Program Files" -> "PROGRA~1")
   11365       ;;
   11366     esac
   11367 
   11368     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11369     postinstall_cmds='base_file=`basename \$file`~
   11370       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11371       dldir=$destdir/`dirname \$dlpath`~
   11372       test -d \$dldir || mkdir -p \$dldir~
   11373       $install_prog $dir/$dlname \$dldir/$dlname'
   11374     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11375       dlpath=$dir/\$dldll~
   11376        $RM \$dlpath'
   11377     shlibpath_overrides_runpath=yes
   11378     dynamic_linker='Win32 link.exe'
   11379     ;;
   11380 
   11381   *)
   11382     # Assume MSVC and ICC wrapper
   11383     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11384     dynamic_linker='Win32 ld.exe'
   11385     ;;
   11386   esac
   11387   # FIXME: first we should search . and the directory the executable is in
   11388   shlibpath_var=PATH
   11389   ;;
   11390 
   11391 darwin* | rhapsody*)
   11392   dynamic_linker="$host_os dyld"
   11393   version_type=darwin
   11394   need_lib_prefix=no
   11395   need_version=no
   11396   library_names_spec='$libname$release$versuffix$shared_ext $libname$release$major$shared_ext $libname$shared_ext'
   11397   soname_spec='$libname$release$major$shared_ext'
   11398   shlibpath_overrides_runpath=yes
   11399   shlibpath_var=DYLD_LIBRARY_PATH
   11400   shrext_cmds='`test .$module = .yes && echo .bundle || echo .dylib`'
   11401 
   11402   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11403   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11404   ;;
   11405 
   11406 dgux*)
   11407   version_type=linux # correct to gnu/linux during the next big refactor
   11408   need_lib_prefix=no
   11409   need_version=no
   11410   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11411   soname_spec='$libname$release$shared_ext$major'
   11412   shlibpath_var=LD_LIBRARY_PATH
   11413   ;;
   11414 
   11415 freebsd* | dragonfly* | midnightbsd*)
   11416   # DragonFly does not have aout.  When/if they implement a new
   11417   # versioning mechanism, adjust this.
   11418   if test -x /usr/bin/objformat; then
   11419     objformat=`/usr/bin/objformat`
   11420   else
   11421     case $host_os in
   11422     freebsd[23].*) objformat=aout ;;
   11423     *) objformat=elf ;;
   11424     esac
   11425   fi
   11426   # Handle Gentoo/FreeBSD as it was Linux
   11427   case $host_vendor in
   11428     gentoo)
   11429       version_type=linux ;;
   11430     *)
   11431       version_type=freebsd-$objformat ;;
   11432   esac
   11433 
   11434   case $version_type in
   11435     freebsd-elf*)
   11436       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11437       soname_spec='$libname$release$shared_ext$major'
   11438       need_version=no
   11439       need_lib_prefix=no
   11440       ;;
   11441     freebsd-*)
   11442       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11443       need_version=yes
   11444       ;;
   11445     linux)
   11446       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11447       soname_spec='${libname}${release}${shared_ext}$major'
   11448       need_lib_prefix=no
   11449       need_version=no
   11450       ;;
   11451   esac
   11452   shlibpath_var=LD_LIBRARY_PATH
   11453   case $host_os in
   11454   freebsd2.*)
   11455     shlibpath_overrides_runpath=yes
   11456     ;;
   11457   freebsd3.[01]* | freebsdelf3.[01]*)
   11458     shlibpath_overrides_runpath=yes
   11459     hardcode_into_libs=yes
   11460     ;;
   11461   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11462   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11463     shlibpath_overrides_runpath=no
   11464     hardcode_into_libs=yes
   11465     ;;
   11466   *) # from 4.6 on, and DragonFly
   11467     shlibpath_overrides_runpath=yes
   11468     hardcode_into_libs=yes
   11469     ;;
   11470   esac
   11471   ;;
   11472 
   11473 haiku*)
   11474   version_type=linux # correct to gnu/linux during the next big refactor
   11475   need_lib_prefix=no
   11476   need_version=no
   11477   dynamic_linker="$host_os runtime_loader"
   11478   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11479   soname_spec='$libname$release$shared_ext$major'
   11480   shlibpath_var=LIBRARY_PATH
   11481   shlibpath_overrides_runpath=no
   11482   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11483   hardcode_into_libs=yes
   11484   ;;
   11485 
   11486 hpux9* | hpux10* | hpux11*)
   11487   # Give a soname corresponding to the major version so that dld.sl refuses to
   11488   # link against other versions.
   11489   version_type=sunos
   11490   need_lib_prefix=no
   11491   need_version=no
   11492   case $host_cpu in
   11493   ia64*)
   11494     shrext_cmds='.so'
   11495     hardcode_into_libs=yes
   11496     dynamic_linker="$host_os dld.so"
   11497     shlibpath_var=LD_LIBRARY_PATH
   11498     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11499     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11500     soname_spec='$libname$release$shared_ext$major'
   11501     if test 32 = "$HPUX_IA64_MODE"; then
   11502       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11503       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11504     else
   11505       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11506       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11507     fi
   11508     ;;
   11509   hppa*64*)
   11510     shrext_cmds='.sl'
   11511     hardcode_into_libs=yes
   11512     dynamic_linker="$host_os dld.sl"
   11513     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11514     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11515     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11516     soname_spec='$libname$release$shared_ext$major'
   11517     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11518     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11519     ;;
   11520   *)
   11521     shrext_cmds='.sl'
   11522     dynamic_linker="$host_os dld.sl"
   11523     shlibpath_var=SHLIB_PATH
   11524     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11525     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11526     soname_spec='$libname$release$shared_ext$major'
   11527     ;;
   11528   esac
   11529   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11530   postinstall_cmds='chmod 555 $lib'
   11531   # or fails outright, so override atomically:
   11532   install_override_mode=555
   11533   ;;
   11534 
   11535 interix[3-9]*)
   11536   version_type=linux # correct to gnu/linux during the next big refactor
   11537   need_lib_prefix=no
   11538   need_version=no
   11539   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11540   soname_spec='$libname$release$shared_ext$major'
   11541   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11542   shlibpath_var=LD_LIBRARY_PATH
   11543   shlibpath_overrides_runpath=no
   11544   hardcode_into_libs=yes
   11545   ;;
   11546 
   11547 irix5* | irix6* | nonstopux*)
   11548   case $host_os in
   11549     nonstopux*) version_type=nonstopux ;;
   11550     *)
   11551 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11552 		version_type=linux # correct to gnu/linux during the next big refactor
   11553 	else
   11554 		version_type=irix
   11555 	fi ;;
   11556   esac
   11557   need_lib_prefix=no
   11558   need_version=no
   11559   soname_spec='$libname$release$shared_ext$major'
   11560   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11561   case $host_os in
   11562   irix5* | nonstopux*)
   11563     libsuff= shlibsuff=
   11564     ;;
   11565   *)
   11566     case $LD in # libtool.m4 will add one of these switches to LD
   11567     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11568       libsuff= shlibsuff= libmagic=32-bit;;
   11569     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11570       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11571     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11572       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11573     *) libsuff= shlibsuff= libmagic=never-match;;
   11574     esac
   11575     ;;
   11576   esac
   11577   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11578   shlibpath_overrides_runpath=no
   11579   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11580   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11581   hardcode_into_libs=yes
   11582   ;;
   11583 
   11584 # No shared lib support for Linux oldld, aout, or coff.
   11585 linux*oldld* | linux*aout* | linux*coff*)
   11586   dynamic_linker=no
   11587   ;;
   11588 
   11589 linux*android*)
   11590   version_type=none # Android doesn't support versioned libraries.
   11591   need_lib_prefix=no
   11592   need_version=no
   11593   library_names_spec='$libname$release$shared_ext'
   11594   soname_spec='$libname$release$shared_ext'
   11595   finish_cmds=
   11596   shlibpath_var=LD_LIBRARY_PATH
   11597   shlibpath_overrides_runpath=yes
   11598 
   11599   # This implies no fast_install, which is unacceptable.
   11600   # Some rework will be needed to allow for fast_install
   11601   # before this can be enabled.
   11602   hardcode_into_libs=yes
   11603 
   11604   dynamic_linker='Android linker'
   11605   # Don't embed -rpath directories since the linker doesn't support them.
   11606   hardcode_libdir_flag_spec='-L$libdir'
   11607   ;;
   11608 
   11609 # This must be glibc/ELF.
   11610 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11611   version_type=linux # correct to gnu/linux during the next big refactor
   11612   need_lib_prefix=no
   11613   need_version=no
   11614   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11615   soname_spec='$libname$release$shared_ext$major'
   11616   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11617   shlibpath_var=LD_LIBRARY_PATH
   11618   shlibpath_overrides_runpath=no
   11619 
   11620   # Some binutils ld are patched to set DT_RUNPATH
   11621   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11622 then :
   11623   printf %s "(cached) " >&6
   11624 else $as_nop
   11625   lt_cv_shlibpath_overrides_runpath=no
   11626     save_LDFLAGS=$LDFLAGS
   11627     save_libdir=$libdir
   11628     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11629 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11630     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11631 /* end confdefs.h.  */
   11632 
   11633 int
   11634 main (void)
   11635 {
   11636 
   11637   ;
   11638   return 0;
   11639 }
   11640 _ACEOF
   11641 if ac_fn_c_try_link "$LINENO"
   11642 then :
   11643   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11644 then :
   11645   lt_cv_shlibpath_overrides_runpath=yes
   11646 fi
   11647 fi
   11648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11649     conftest$ac_exeext conftest.$ac_ext
   11650     LDFLAGS=$save_LDFLAGS
   11651     libdir=$save_libdir
   11652 
   11653 fi
   11654 
   11655   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11656 
   11657   # This implies no fast_install, which is unacceptable.
   11658   # Some rework will be needed to allow for fast_install
   11659   # before this can be enabled.
   11660   hardcode_into_libs=yes
   11661 
   11662   # Ideally, we could use ldconfig to report *all* directores which are
   11663   # searched for libraries, however this is still not possible.  Aside from not
   11664   # being certain /sbin/ldconfig is available, command
   11665   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11666   # even though it is searched at run-time.  Try to do the best guess by
   11667   # appending ld.so.conf contents (and includes) to the search path.
   11668   if test -f /etc/ld.so.conf; then
   11669     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' ' '`
   11670     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11671   fi
   11672 
   11673   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11674   # powerpc, because MkLinux only supported shared libraries with the
   11675   # GNU dynamic linker.  Since this was broken with cross compilers,
   11676   # most powerpc-linux boxes support dynamic linking these days and
   11677   # people can always --disable-shared, the test was removed, and we
   11678   # assume the GNU/Linux dynamic linker is in use.
   11679   dynamic_linker='GNU/Linux ld.so'
   11680   ;;
   11681 
   11682 netbsd*)
   11683   version_type=sunos
   11684   need_lib_prefix=no
   11685   need_version=no
   11686   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11687     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11688     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11689     dynamic_linker='NetBSD (a.out) ld.so'
   11690   else
   11691     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11692     soname_spec='$libname$release$shared_ext$major'
   11693     dynamic_linker='NetBSD ld.elf_so'
   11694   fi
   11695   shlibpath_var=LD_LIBRARY_PATH
   11696   shlibpath_overrides_runpath=yes
   11697   hardcode_into_libs=yes
   11698   ;;
   11699 
   11700 newsos6)
   11701   version_type=linux # correct to gnu/linux during the next big refactor
   11702   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11703   shlibpath_var=LD_LIBRARY_PATH
   11704   shlibpath_overrides_runpath=yes
   11705   ;;
   11706 
   11707 *nto* | *qnx*)
   11708   version_type=qnx
   11709   need_lib_prefix=no
   11710   need_version=no
   11711   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11712   soname_spec='$libname$release$shared_ext$major'
   11713   shlibpath_var=LD_LIBRARY_PATH
   11714   shlibpath_overrides_runpath=no
   11715   hardcode_into_libs=yes
   11716   dynamic_linker='ldqnx.so'
   11717   ;;
   11718 
   11719 openbsd* | bitrig*)
   11720   version_type=sunos
   11721   sys_lib_dlsearch_path_spec=/usr/lib
   11722   need_lib_prefix=no
   11723   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11724     need_version=no
   11725   else
   11726     need_version=yes
   11727   fi
   11728   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11729   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11730   shlibpath_var=LD_LIBRARY_PATH
   11731   shlibpath_overrides_runpath=yes
   11732   ;;
   11733 
   11734 os2*)
   11735   libname_spec='$name'
   11736   version_type=windows
   11737   shrext_cmds=.dll
   11738   need_version=no
   11739   need_lib_prefix=no
   11740   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11741   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11742     v=$($ECHO $release$versuffix | tr -d .-);
   11743     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11744     $ECHO $n$v`$shared_ext'
   11745   library_names_spec='${libname}_dll.$libext'
   11746   dynamic_linker='OS/2 ld.exe'
   11747   shlibpath_var=BEGINLIBPATH
   11748   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11749   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11750   postinstall_cmds='base_file=`basename \$file`~
   11751     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11752     dldir=$destdir/`dirname \$dlpath`~
   11753     test -d \$dldir || mkdir -p \$dldir~
   11754     $install_prog $dir/$dlname \$dldir/$dlname~
   11755     chmod a+x \$dldir/$dlname~
   11756     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11757       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11758     fi'
   11759   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11760     dlpath=$dir/\$dldll~
   11761     $RM \$dlpath'
   11762   ;;
   11763 
   11764 osf3* | osf4* | osf5*)
   11765   version_type=osf
   11766   need_lib_prefix=no
   11767   need_version=no
   11768   soname_spec='$libname$release$shared_ext$major'
   11769   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11770   shlibpath_var=LD_LIBRARY_PATH
   11771   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11772   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11773   ;;
   11774 
   11775 rdos*)
   11776   dynamic_linker=no
   11777   ;;
   11778 
   11779 solaris*)
   11780   version_type=linux # correct to gnu/linux during the next big refactor
   11781   need_lib_prefix=no
   11782   need_version=no
   11783   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11784   soname_spec='$libname$release$shared_ext$major'
   11785   shlibpath_var=LD_LIBRARY_PATH
   11786   shlibpath_overrides_runpath=yes
   11787   hardcode_into_libs=yes
   11788   # ldd complains unless libraries are executable
   11789   postinstall_cmds='chmod +x $lib'
   11790   ;;
   11791 
   11792 sunos4*)
   11793   version_type=sunos
   11794   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11795   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11796   shlibpath_var=LD_LIBRARY_PATH
   11797   shlibpath_overrides_runpath=yes
   11798   if test yes = "$with_gnu_ld"; then
   11799     need_lib_prefix=no
   11800   fi
   11801   need_version=yes
   11802   ;;
   11803 
   11804 sysv4 | sysv4.3*)
   11805   version_type=linux # correct to gnu/linux during the next big refactor
   11806   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11807   soname_spec='$libname$release$shared_ext$major'
   11808   shlibpath_var=LD_LIBRARY_PATH
   11809   case $host_vendor in
   11810     sni)
   11811       shlibpath_overrides_runpath=no
   11812       need_lib_prefix=no
   11813       runpath_var=LD_RUN_PATH
   11814       ;;
   11815     siemens)
   11816       need_lib_prefix=no
   11817       ;;
   11818     motorola)
   11819       need_lib_prefix=no
   11820       need_version=no
   11821       shlibpath_overrides_runpath=no
   11822       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11823       ;;
   11824   esac
   11825   ;;
   11826 
   11827 sysv4*MP*)
   11828   if test -d /usr/nec; then
   11829     version_type=linux # correct to gnu/linux during the next big refactor
   11830     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11831     soname_spec='$libname$shared_ext.$major'
   11832     shlibpath_var=LD_LIBRARY_PATH
   11833   fi
   11834   ;;
   11835 
   11836 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11837   version_type=sco
   11838   need_lib_prefix=no
   11839   need_version=no
   11840   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11841   soname_spec='$libname$release$shared_ext$major'
   11842   shlibpath_var=LD_LIBRARY_PATH
   11843   shlibpath_overrides_runpath=yes
   11844   hardcode_into_libs=yes
   11845   if test yes = "$with_gnu_ld"; then
   11846     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11847   else
   11848     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11849     case $host_os in
   11850       sco3.2v5*)
   11851         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11852 	;;
   11853     esac
   11854   fi
   11855   sys_lib_dlsearch_path_spec='/usr/lib'
   11856   ;;
   11857 
   11858 tpf*)
   11859   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11860   version_type=linux # correct to gnu/linux during the next big refactor
   11861   need_lib_prefix=no
   11862   need_version=no
   11863   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11864   shlibpath_var=LD_LIBRARY_PATH
   11865   shlibpath_overrides_runpath=no
   11866   hardcode_into_libs=yes
   11867   ;;
   11868 
   11869 uts4*)
   11870   version_type=linux # correct to gnu/linux during the next big refactor
   11871   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11872   soname_spec='$libname$release$shared_ext$major'
   11873   shlibpath_var=LD_LIBRARY_PATH
   11874   ;;
   11875 
   11876 *)
   11877   dynamic_linker=no
   11878   ;;
   11879 esac
   11880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11881 printf "%s\n" "$dynamic_linker" >&6; }
   11882 test no = "$dynamic_linker" && can_build_shared=no
   11883 
   11884 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11885 if test yes = "$GCC"; then
   11886   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11887 fi
   11888 
   11889 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11890   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11891 fi
   11892 
   11893 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11894   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11895 fi
   11896 
   11897 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11898 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11899 
   11900 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11901 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11902 
   11903 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11904 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12003 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12004 hardcode_action=
   12005 if test -n "$hardcode_libdir_flag_spec" ||
   12006    test -n "$runpath_var" ||
   12007    test yes = "$hardcode_automatic"; then
   12008 
   12009   # We can hardcode non-existent directories.
   12010   if test no != "$hardcode_direct" &&
   12011      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12012      # have to relink, otherwise we might link with an installed library
   12013      # when we should be linking with a yet-to-be-installed one
   12014      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12015      test no != "$hardcode_minus_L"; then
   12016     # Linking always hardcodes the temporary library directory.
   12017     hardcode_action=relink
   12018   else
   12019     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12020     hardcode_action=immediate
   12021   fi
   12022 else
   12023   # We cannot hardcode anything, or else we can only hardcode existing
   12024   # directories.
   12025   hardcode_action=unsupported
   12026 fi
   12027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12028 printf "%s\n" "$hardcode_action" >&6; }
   12029 
   12030 if test relink = "$hardcode_action" ||
   12031    test yes = "$inherit_rpath"; then
   12032   # Fast installation is not supported
   12033   enable_fast_install=no
   12034 elif test yes = "$shlibpath_overrides_runpath" ||
   12035      test no = "$enable_shared"; then
   12036   # Fast installation is not necessary
   12037   enable_fast_install=needless
   12038 fi
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045   if test yes != "$enable_dlopen"; then
   12046   enable_dlopen=unknown
   12047   enable_dlopen_self=unknown
   12048   enable_dlopen_self_static=unknown
   12049 else
   12050   lt_cv_dlopen=no
   12051   lt_cv_dlopen_libs=
   12052 
   12053   case $host_os in
   12054   beos*)
   12055     lt_cv_dlopen=load_add_on
   12056     lt_cv_dlopen_libs=
   12057     lt_cv_dlopen_self=yes
   12058     ;;
   12059 
   12060   mingw* | pw32* | cegcc*)
   12061     lt_cv_dlopen=LoadLibrary
   12062     lt_cv_dlopen_libs=
   12063     ;;
   12064 
   12065   cygwin*)
   12066     lt_cv_dlopen=dlopen
   12067     lt_cv_dlopen_libs=
   12068     ;;
   12069 
   12070   darwin*)
   12071     # if libdl is installed we need to link against it
   12072     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12073 printf %s "checking for dlopen in -ldl... " >&6; }
   12074 if test ${ac_cv_lib_dl_dlopen+y}
   12075 then :
   12076   printf %s "(cached) " >&6
   12077 else $as_nop
   12078   ac_check_lib_save_LIBS=$LIBS
   12079 LIBS="-ldl  $LIBS"
   12080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12081 /* end confdefs.h.  */
   12082 
   12083 /* Override any GCC internal prototype to avoid an error.
   12084    Use char because int might match the return type of a GCC
   12085    builtin and then its argument prototype would still apply.
   12086    The 'extern "C"' is for builds by C++ compilers;
   12087    although this is not generally supported in C code supporting it here
   12088    has little cost and some practical benefit (sr 110532).  */
   12089 #ifdef __cplusplus
   12090 extern "C"
   12091 #endif
   12092 char dlopen (void);
   12093 int
   12094 main (void)
   12095 {
   12096 return dlopen ();
   12097   ;
   12098   return 0;
   12099 }
   12100 _ACEOF
   12101 if ac_fn_c_try_link "$LINENO"
   12102 then :
   12103   ac_cv_lib_dl_dlopen=yes
   12104 else $as_nop
   12105   ac_cv_lib_dl_dlopen=no
   12106 fi
   12107 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12108     conftest$ac_exeext conftest.$ac_ext
   12109 LIBS=$ac_check_lib_save_LIBS
   12110 fi
   12111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12112 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12113 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12114 then :
   12115   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12116 else $as_nop
   12117 
   12118     lt_cv_dlopen=dyld
   12119     lt_cv_dlopen_libs=
   12120     lt_cv_dlopen_self=yes
   12121 
   12122 fi
   12123 
   12124     ;;
   12125 
   12126   tpf*)
   12127     # Don't try to run any link tests for TPF.  We know it's impossible
   12128     # because TPF is a cross-compiler, and we know how we open DSOs.
   12129     lt_cv_dlopen=dlopen
   12130     lt_cv_dlopen_libs=
   12131     lt_cv_dlopen_self=no
   12132     ;;
   12133 
   12134   *)
   12135     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12136 if test "x$ac_cv_func_shl_load" = xyes
   12137 then :
   12138   lt_cv_dlopen=shl_load
   12139 else $as_nop
   12140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12141 printf %s "checking for shl_load in -ldld... " >&6; }
   12142 if test ${ac_cv_lib_dld_shl_load+y}
   12143 then :
   12144   printf %s "(cached) " >&6
   12145 else $as_nop
   12146   ac_check_lib_save_LIBS=$LIBS
   12147 LIBS="-ldld  $LIBS"
   12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12149 /* end confdefs.h.  */
   12150 
   12151 /* Override any GCC internal prototype to avoid an error.
   12152    Use char because int might match the return type of a GCC
   12153    builtin and then its argument prototype would still apply.
   12154    The 'extern "C"' is for builds by C++ compilers;
   12155    although this is not generally supported in C code supporting it here
   12156    has little cost and some practical benefit (sr 110532).  */
   12157 #ifdef __cplusplus
   12158 extern "C"
   12159 #endif
   12160 char shl_load (void);
   12161 int
   12162 main (void)
   12163 {
   12164 return shl_load ();
   12165   ;
   12166   return 0;
   12167 }
   12168 _ACEOF
   12169 if ac_fn_c_try_link "$LINENO"
   12170 then :
   12171   ac_cv_lib_dld_shl_load=yes
   12172 else $as_nop
   12173   ac_cv_lib_dld_shl_load=no
   12174 fi
   12175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12176     conftest$ac_exeext conftest.$ac_ext
   12177 LIBS=$ac_check_lib_save_LIBS
   12178 fi
   12179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12180 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12181 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12182 then :
   12183   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12184 else $as_nop
   12185   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12186 if test "x$ac_cv_func_dlopen" = xyes
   12187 then :
   12188   lt_cv_dlopen=dlopen
   12189 else $as_nop
   12190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12191 printf %s "checking for dlopen in -ldl... " >&6; }
   12192 if test ${ac_cv_lib_dl_dlopen+y}
   12193 then :
   12194   printf %s "(cached) " >&6
   12195 else $as_nop
   12196   ac_check_lib_save_LIBS=$LIBS
   12197 LIBS="-ldl  $LIBS"
   12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12199 /* end confdefs.h.  */
   12200 
   12201 /* Override any GCC internal prototype to avoid an error.
   12202    Use char because int might match the return type of a GCC
   12203    builtin and then its argument prototype would still apply.
   12204    The 'extern "C"' is for builds by C++ compilers;
   12205    although this is not generally supported in C code supporting it here
   12206    has little cost and some practical benefit (sr 110532).  */
   12207 #ifdef __cplusplus
   12208 extern "C"
   12209 #endif
   12210 char dlopen (void);
   12211 int
   12212 main (void)
   12213 {
   12214 return dlopen ();
   12215   ;
   12216   return 0;
   12217 }
   12218 _ACEOF
   12219 if ac_fn_c_try_link "$LINENO"
   12220 then :
   12221   ac_cv_lib_dl_dlopen=yes
   12222 else $as_nop
   12223   ac_cv_lib_dl_dlopen=no
   12224 fi
   12225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12226     conftest$ac_exeext conftest.$ac_ext
   12227 LIBS=$ac_check_lib_save_LIBS
   12228 fi
   12229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12230 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12231 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12232 then :
   12233   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12234 else $as_nop
   12235   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12236 printf %s "checking for dlopen in -lsvld... " >&6; }
   12237 if test ${ac_cv_lib_svld_dlopen+y}
   12238 then :
   12239   printf %s "(cached) " >&6
   12240 else $as_nop
   12241   ac_check_lib_save_LIBS=$LIBS
   12242 LIBS="-lsvld  $LIBS"
   12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12244 /* end confdefs.h.  */
   12245 
   12246 /* Override any GCC internal prototype to avoid an error.
   12247    Use char because int might match the return type of a GCC
   12248    builtin and then its argument prototype would still apply.
   12249    The 'extern "C"' is for builds by C++ compilers;
   12250    although this is not generally supported in C code supporting it here
   12251    has little cost and some practical benefit (sr 110532).  */
   12252 #ifdef __cplusplus
   12253 extern "C"
   12254 #endif
   12255 char dlopen (void);
   12256 int
   12257 main (void)
   12258 {
   12259 return dlopen ();
   12260   ;
   12261   return 0;
   12262 }
   12263 _ACEOF
   12264 if ac_fn_c_try_link "$LINENO"
   12265 then :
   12266   ac_cv_lib_svld_dlopen=yes
   12267 else $as_nop
   12268   ac_cv_lib_svld_dlopen=no
   12269 fi
   12270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12271     conftest$ac_exeext conftest.$ac_ext
   12272 LIBS=$ac_check_lib_save_LIBS
   12273 fi
   12274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12275 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12276 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12277 then :
   12278   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12279 else $as_nop
   12280   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12281 printf %s "checking for dld_link in -ldld... " >&6; }
   12282 if test ${ac_cv_lib_dld_dld_link+y}
   12283 then :
   12284   printf %s "(cached) " >&6
   12285 else $as_nop
   12286   ac_check_lib_save_LIBS=$LIBS
   12287 LIBS="-ldld  $LIBS"
   12288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12289 /* end confdefs.h.  */
   12290 
   12291 /* Override any GCC internal prototype to avoid an error.
   12292    Use char because int might match the return type of a GCC
   12293    builtin and then its argument prototype would still apply.
   12294    The 'extern "C"' is for builds by C++ compilers;
   12295    although this is not generally supported in C code supporting it here
   12296    has little cost and some practical benefit (sr 110532).  */
   12297 #ifdef __cplusplus
   12298 extern "C"
   12299 #endif
   12300 char dld_link (void);
   12301 int
   12302 main (void)
   12303 {
   12304 return dld_link ();
   12305   ;
   12306   return 0;
   12307 }
   12308 _ACEOF
   12309 if ac_fn_c_try_link "$LINENO"
   12310 then :
   12311   ac_cv_lib_dld_dld_link=yes
   12312 else $as_nop
   12313   ac_cv_lib_dld_dld_link=no
   12314 fi
   12315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12316     conftest$ac_exeext conftest.$ac_ext
   12317 LIBS=$ac_check_lib_save_LIBS
   12318 fi
   12319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12320 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12321 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12322 then :
   12323   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12324 fi
   12325 
   12326 
   12327 fi
   12328 
   12329 
   12330 fi
   12331 
   12332 
   12333 fi
   12334 
   12335 
   12336 fi
   12337 
   12338 
   12339 fi
   12340 
   12341     ;;
   12342   esac
   12343 
   12344   if test no = "$lt_cv_dlopen"; then
   12345     enable_dlopen=no
   12346   else
   12347     enable_dlopen=yes
   12348   fi
   12349 
   12350   case $lt_cv_dlopen in
   12351   dlopen)
   12352     save_CPPFLAGS=$CPPFLAGS
   12353     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12354 
   12355     save_LDFLAGS=$LDFLAGS
   12356     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12357 
   12358     save_LIBS=$LIBS
   12359     LIBS="$lt_cv_dlopen_libs $LIBS"
   12360 
   12361     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12362 printf %s "checking whether a program can dlopen itself... " >&6; }
   12363 if test ${lt_cv_dlopen_self+y}
   12364 then :
   12365   printf %s "(cached) " >&6
   12366 else $as_nop
   12367   	  if test yes = "$cross_compiling"; then :
   12368   lt_cv_dlopen_self=cross
   12369 else
   12370   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12371   lt_status=$lt_dlunknown
   12372   cat > conftest.$ac_ext <<_LT_EOF
   12373 #line $LINENO "configure"
   12374 #include "confdefs.h"
   12375 
   12376 #if HAVE_DLFCN_H
   12377 #include <dlfcn.h>
   12378 #endif
   12379 
   12380 #include <stdio.h>
   12381 
   12382 #ifdef RTLD_GLOBAL
   12383 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12384 #else
   12385 #  ifdef DL_GLOBAL
   12386 #    define LT_DLGLOBAL		DL_GLOBAL
   12387 #  else
   12388 #    define LT_DLGLOBAL		0
   12389 #  endif
   12390 #endif
   12391 
   12392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12393    find out it does not work in some platform. */
   12394 #ifndef LT_DLLAZY_OR_NOW
   12395 #  ifdef RTLD_LAZY
   12396 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12397 #  else
   12398 #    ifdef DL_LAZY
   12399 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12400 #    else
   12401 #      ifdef RTLD_NOW
   12402 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12403 #      else
   12404 #        ifdef DL_NOW
   12405 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12406 #        else
   12407 #          define LT_DLLAZY_OR_NOW	0
   12408 #        endif
   12409 #      endif
   12410 #    endif
   12411 #  endif
   12412 #endif
   12413 
   12414 /* When -fvisibility=hidden is used, assume the code has been annotated
   12415    correspondingly for the symbols needed.  */
   12416 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12417 int fnord () __attribute__((visibility("default")));
   12418 #endif
   12419 
   12420 int fnord () { return 42; }
   12421 int main ()
   12422 {
   12423   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12424   int status = $lt_dlunknown;
   12425 
   12426   if (self)
   12427     {
   12428       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12429       else
   12430         {
   12431 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12432           else puts (dlerror ());
   12433 	}
   12434       /* dlclose (self); */
   12435     }
   12436   else
   12437     puts (dlerror ());
   12438 
   12439   return status;
   12440 }
   12441 _LT_EOF
   12442   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12443   (eval $ac_link) 2>&5
   12444   ac_status=$?
   12445   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12446   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12447     (./conftest; exit; ) >&5 2>/dev/null
   12448     lt_status=$?
   12449     case x$lt_status in
   12450       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12451       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12452       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12453     esac
   12454   else :
   12455     # compilation failed
   12456     lt_cv_dlopen_self=no
   12457   fi
   12458 fi
   12459 rm -fr conftest*
   12460 
   12461 
   12462 fi
   12463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12464 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12465 
   12466     if test yes = "$lt_cv_dlopen_self"; then
   12467       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12468       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12469 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12470 if test ${lt_cv_dlopen_self_static+y}
   12471 then :
   12472   printf %s "(cached) " >&6
   12473 else $as_nop
   12474   	  if test yes = "$cross_compiling"; then :
   12475   lt_cv_dlopen_self_static=cross
   12476 else
   12477   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12478   lt_status=$lt_dlunknown
   12479   cat > conftest.$ac_ext <<_LT_EOF
   12480 #line $LINENO "configure"
   12481 #include "confdefs.h"
   12482 
   12483 #if HAVE_DLFCN_H
   12484 #include <dlfcn.h>
   12485 #endif
   12486 
   12487 #include <stdio.h>
   12488 
   12489 #ifdef RTLD_GLOBAL
   12490 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12491 #else
   12492 #  ifdef DL_GLOBAL
   12493 #    define LT_DLGLOBAL		DL_GLOBAL
   12494 #  else
   12495 #    define LT_DLGLOBAL		0
   12496 #  endif
   12497 #endif
   12498 
   12499 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12500    find out it does not work in some platform. */
   12501 #ifndef LT_DLLAZY_OR_NOW
   12502 #  ifdef RTLD_LAZY
   12503 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12504 #  else
   12505 #    ifdef DL_LAZY
   12506 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12507 #    else
   12508 #      ifdef RTLD_NOW
   12509 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12510 #      else
   12511 #        ifdef DL_NOW
   12512 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12513 #        else
   12514 #          define LT_DLLAZY_OR_NOW	0
   12515 #        endif
   12516 #      endif
   12517 #    endif
   12518 #  endif
   12519 #endif
   12520 
   12521 /* When -fvisibility=hidden is used, assume the code has been annotated
   12522    correspondingly for the symbols needed.  */
   12523 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12524 int fnord () __attribute__((visibility("default")));
   12525 #endif
   12526 
   12527 int fnord () { return 42; }
   12528 int main ()
   12529 {
   12530   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12531   int status = $lt_dlunknown;
   12532 
   12533   if (self)
   12534     {
   12535       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12536       else
   12537         {
   12538 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12539           else puts (dlerror ());
   12540 	}
   12541       /* dlclose (self); */
   12542     }
   12543   else
   12544     puts (dlerror ());
   12545 
   12546   return status;
   12547 }
   12548 _LT_EOF
   12549   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12550   (eval $ac_link) 2>&5
   12551   ac_status=$?
   12552   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12553   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12554     (./conftest; exit; ) >&5 2>/dev/null
   12555     lt_status=$?
   12556     case x$lt_status in
   12557       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12558       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12559       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12560     esac
   12561   else :
   12562     # compilation failed
   12563     lt_cv_dlopen_self_static=no
   12564   fi
   12565 fi
   12566 rm -fr conftest*
   12567 
   12568 
   12569 fi
   12570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12571 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12572     fi
   12573 
   12574     CPPFLAGS=$save_CPPFLAGS
   12575     LDFLAGS=$save_LDFLAGS
   12576     LIBS=$save_LIBS
   12577     ;;
   12578   esac
   12579 
   12580   case $lt_cv_dlopen_self in
   12581   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12582   *) enable_dlopen_self=unknown ;;
   12583   esac
   12584 
   12585   case $lt_cv_dlopen_self_static in
   12586   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12587   *) enable_dlopen_self_static=unknown ;;
   12588   esac
   12589 fi
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604 
   12605 
   12606 
   12607 striplib=
   12608 old_striplib=
   12609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12610 printf %s "checking whether stripping libraries is possible... " >&6; }
   12611 if test -z "$STRIP"; then
   12612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12613 printf "%s\n" "no" >&6; }
   12614 else
   12615   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12616     old_striplib="$STRIP --strip-debug"
   12617     striplib="$STRIP --strip-unneeded"
   12618     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12619 printf "%s\n" "yes" >&6; }
   12620   else
   12621     case $host_os in
   12622     darwin*)
   12623       # FIXME - insert some real tests, host_os isn't really good enough
   12624       striplib="$STRIP -x"
   12625       old_striplib="$STRIP -S"
   12626       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12627 printf "%s\n" "yes" >&6; }
   12628       ;;
   12629     freebsd*)
   12630       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12631         old_striplib="$STRIP --strip-debug"
   12632         striplib="$STRIP --strip-unneeded"
   12633         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12634 printf "%s\n" "yes" >&6; }
   12635       else
   12636         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12637 printf "%s\n" "no" >&6; }
   12638       fi
   12639       ;;
   12640     *)
   12641       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12642 printf "%s\n" "no" >&6; }
   12643       ;;
   12644     esac
   12645   fi
   12646 fi
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659   # Report what library types will actually be built
   12660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12661 printf %s "checking if libtool supports shared libraries... " >&6; }
   12662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12663 printf "%s\n" "$can_build_shared" >&6; }
   12664 
   12665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12666 printf %s "checking whether to build shared libraries... " >&6; }
   12667   test no = "$can_build_shared" && enable_shared=no
   12668 
   12669   # On AIX, shared libraries and static libraries use the same namespace, and
   12670   # are all built from PIC.
   12671   case $host_os in
   12672   aix3*)
   12673     test yes = "$enable_shared" && enable_static=no
   12674     if test -n "$RANLIB"; then
   12675       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12676       postinstall_cmds='$RANLIB $lib'
   12677     fi
   12678     ;;
   12679 
   12680   aix[4-9]*)
   12681     if test ia64 != "$host_cpu"; then
   12682       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12683       yes,aix,yes) ;;			# shared object as lib.so file only
   12684       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12685       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12686       esac
   12687     fi
   12688     ;;
   12689   esac
   12690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12691 printf "%s\n" "$enable_shared" >&6; }
   12692 
   12693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12694 printf %s "checking whether to build static libraries... " >&6; }
   12695   # Make sure either enable_shared or enable_static is yes.
   12696   test yes = "$enable_shared" || enable_static=yes
   12697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12698 printf "%s\n" "$enable_static" >&6; }
   12699 
   12700 
   12701 
   12702 
   12703 fi
   12704 ac_ext=c
   12705 ac_cpp='$CPP $CPPFLAGS'
   12706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12709 
   12710 CC=$lt_save_CC
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 
   12725 
   12726         ac_config_commands="$ac_config_commands libtool"
   12727 
   12728 
   12729 
   12730 
   12731 # Only expand once:
   12732 
   12733 
   12734 
   12735 # Require X.Org macros 1.16 or later for XORG_MEMORY_CHECK_FLAGS
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 
   12746 
   12747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12748 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12749 if test ${ac_cv_c_undeclared_builtin_options+y}
   12750 then :
   12751   printf %s "(cached) " >&6
   12752 else $as_nop
   12753   ac_save_CFLAGS=$CFLAGS
   12754    ac_cv_c_undeclared_builtin_options='cannot detect'
   12755    for ac_arg in '' -fno-builtin; do
   12756      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12757      # This test program should *not* compile successfully.
   12758      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12759 /* end confdefs.h.  */
   12760 
   12761 int
   12762 main (void)
   12763 {
   12764 (void) strchr;
   12765   ;
   12766   return 0;
   12767 }
   12768 _ACEOF
   12769 if ac_fn_c_try_compile "$LINENO"
   12770 then :
   12771 
   12772 else $as_nop
   12773   # This test program should compile successfully.
   12774         # No library function is consistently available on
   12775         # freestanding implementations, so test against a dummy
   12776         # declaration.  Include always-available headers on the
   12777         # off chance that they somehow elicit warnings.
   12778         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12779 /* end confdefs.h.  */
   12780 #include <float.h>
   12781 #include <limits.h>
   12782 #include <stdarg.h>
   12783 #include <stddef.h>
   12784 extern void ac_decl (int, char *);
   12785 
   12786 int
   12787 main (void)
   12788 {
   12789 (void) ac_decl (0, (char *) 0);
   12790   (void) ac_decl;
   12791 
   12792   ;
   12793   return 0;
   12794 }
   12795 _ACEOF
   12796 if ac_fn_c_try_compile "$LINENO"
   12797 then :
   12798   if test x"$ac_arg" = x
   12799 then :
   12800   ac_cv_c_undeclared_builtin_options='none needed'
   12801 else $as_nop
   12802   ac_cv_c_undeclared_builtin_options=$ac_arg
   12803 fi
   12804           break
   12805 fi
   12806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12807 fi
   12808 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12809     done
   12810     CFLAGS=$ac_save_CFLAGS
   12811 
   12812 fi
   12813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12814 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12815   case $ac_cv_c_undeclared_builtin_options in #(
   12816   'cannot detect') :
   12817     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12818 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12819 as_fn_error $? "cannot make $CC report undeclared builtins
   12820 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12821   'none needed') :
   12822     ac_c_undeclared_builtin_options='' ;; #(
   12823   *) :
   12824     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12825 esac
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12832 if test "x$ac_cv_have_decl___clang__" = xyes
   12833 then :
   12834   CLANGCC="yes"
   12835 else $as_nop
   12836   CLANGCC="no"
   12837 fi
   12838 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12839 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12840 then :
   12841   INTELCC="yes"
   12842 else $as_nop
   12843   INTELCC="no"
   12844 fi
   12845 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12846 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12847 then :
   12848   SUNCC="yes"
   12849 else $as_nop
   12850   SUNCC="no"
   12851 fi
   12852 
   12853 
   12854 
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12861 	if test -n "$ac_tool_prefix"; then
   12862   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12863 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12865 printf %s "checking for $ac_word... " >&6; }
   12866 if test ${ac_cv_path_PKG_CONFIG+y}
   12867 then :
   12868   printf %s "(cached) " >&6
   12869 else $as_nop
   12870   case $PKG_CONFIG in
   12871   [\\/]* | ?:[\\/]*)
   12872   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12873   ;;
   12874   *)
   12875   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12876 for as_dir in $PATH
   12877 do
   12878   IFS=$as_save_IFS
   12879   case $as_dir in #(((
   12880     '') as_dir=./ ;;
   12881     */) ;;
   12882     *) as_dir=$as_dir/ ;;
   12883   esac
   12884     for ac_exec_ext in '' $ac_executable_extensions; do
   12885   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12886     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12887     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12888     break 2
   12889   fi
   12890 done
   12891   done
   12892 IFS=$as_save_IFS
   12893 
   12894   ;;
   12895 esac
   12896 fi
   12897 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12898 if test -n "$PKG_CONFIG"; then
   12899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12900 printf "%s\n" "$PKG_CONFIG" >&6; }
   12901 else
   12902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12903 printf "%s\n" "no" >&6; }
   12904 fi
   12905 
   12906 
   12907 fi
   12908 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12909   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12910   # Extract the first word of "pkg-config", so it can be a program name with args.
   12911 set dummy pkg-config; ac_word=$2
   12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12913 printf %s "checking for $ac_word... " >&6; }
   12914 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12915 then :
   12916   printf %s "(cached) " >&6
   12917 else $as_nop
   12918   case $ac_pt_PKG_CONFIG in
   12919   [\\/]* | ?:[\\/]*)
   12920   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12921   ;;
   12922   *)
   12923   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12924 for as_dir in $PATH
   12925 do
   12926   IFS=$as_save_IFS
   12927   case $as_dir in #(((
   12928     '') as_dir=./ ;;
   12929     */) ;;
   12930     *) as_dir=$as_dir/ ;;
   12931   esac
   12932     for ac_exec_ext in '' $ac_executable_extensions; do
   12933   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12934     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12935     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12936     break 2
   12937   fi
   12938 done
   12939   done
   12940 IFS=$as_save_IFS
   12941 
   12942   ;;
   12943 esac
   12944 fi
   12945 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12946 if test -n "$ac_pt_PKG_CONFIG"; then
   12947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12948 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12949 else
   12950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12951 printf "%s\n" "no" >&6; }
   12952 fi
   12953 
   12954   if test "x$ac_pt_PKG_CONFIG" = x; then
   12955     PKG_CONFIG=""
   12956   else
   12957     case $cross_compiling:$ac_tool_warned in
   12958 yes:)
   12959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12960 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12961 ac_tool_warned=yes ;;
   12962 esac
   12963     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12964   fi
   12965 else
   12966   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12967 fi
   12968 
   12969 fi
   12970 if test -n "$PKG_CONFIG"; then
   12971 	_pkg_min_version=0.9.0
   12972 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12973 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12974 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12976 printf "%s\n" "yes" >&6; }
   12977 	else
   12978 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12979 printf "%s\n" "no" >&6; }
   12980 		PKG_CONFIG=""
   12981 	fi
   12982 fi
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 # Check whether --enable-selective-werror was given.
   12989 if test ${enable_selective_werror+y}
   12990 then :
   12991   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12992 else $as_nop
   12993   SELECTIVE_WERROR=yes
   12994 fi
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13001 if test "x$SUNCC" = "xyes"; then
   13002     BASE_CFLAGS="-v"
   13003 else
   13004     BASE_CFLAGS=""
   13005 fi
   13006 
   13007 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 xorg_testset_save_CFLAGS="$CFLAGS"
   13022 
   13023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13026 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13027 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13028 then :
   13029   printf %s "(cached) " >&6
   13030 else $as_nop
   13031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13032 /* end confdefs.h.  */
   13033 int i;
   13034 _ACEOF
   13035 if ac_fn_c_try_compile "$LINENO"
   13036 then :
   13037   xorg_cv_cc_flag_unknown_warning_option=yes
   13038 else $as_nop
   13039   xorg_cv_cc_flag_unknown_warning_option=no
   13040 fi
   13041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13042 fi
   13043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13046 	CFLAGS="$xorg_testset_save_CFLAGS"
   13047 fi
   13048 
   13049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13052 	fi
   13053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13057 then :
   13058   printf %s "(cached) " >&6
   13059 else $as_nop
   13060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13061 /* end confdefs.h.  */
   13062 int i;
   13063 _ACEOF
   13064 if ac_fn_c_try_compile "$LINENO"
   13065 then :
   13066   xorg_cv_cc_flag_unused_command_line_argument=yes
   13067 else $as_nop
   13068   xorg_cv_cc_flag_unused_command_line_argument=no
   13069 fi
   13070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13071 fi
   13072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13075 	CFLAGS="$xorg_testset_save_CFLAGS"
   13076 fi
   13077 
   13078 found="no"
   13079 
   13080 	if test $found = "no" ; then
   13081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13083 		fi
   13084 
   13085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13087 		fi
   13088 
   13089 		CFLAGS="$CFLAGS -Wall"
   13090 
   13091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13092 printf %s "checking if $CC supports -Wall... " >&6; }
   13093 		cacheid=xorg_cv_cc_flag__Wall
   13094 		if eval test \${$cacheid+y}
   13095 then :
   13096   printf %s "(cached) " >&6
   13097 else $as_nop
   13098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13099 /* end confdefs.h.  */
   13100 int i;
   13101 int
   13102 main (void)
   13103 {
   13104 
   13105   ;
   13106   return 0;
   13107 }
   13108 _ACEOF
   13109 if ac_fn_c_try_link "$LINENO"
   13110 then :
   13111   eval $cacheid=yes
   13112 else $as_nop
   13113   eval $cacheid=no
   13114 fi
   13115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13116     conftest$ac_exeext conftest.$ac_ext
   13117 fi
   13118 
   13119 
   13120 		CFLAGS="$xorg_testset_save_CFLAGS"
   13121 
   13122 		eval supported=\$$cacheid
   13123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13124 printf "%s\n" "$supported" >&6; }
   13125 		if test "$supported" = "yes" ; then
   13126 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13127 			found="yes"
   13128 		fi
   13129 	fi
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 xorg_testset_save_CFLAGS="$CFLAGS"
   13146 
   13147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13150 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13151 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13152 then :
   13153   printf %s "(cached) " >&6
   13154 else $as_nop
   13155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13156 /* end confdefs.h.  */
   13157 int i;
   13158 _ACEOF
   13159 if ac_fn_c_try_compile "$LINENO"
   13160 then :
   13161   xorg_cv_cc_flag_unknown_warning_option=yes
   13162 else $as_nop
   13163   xorg_cv_cc_flag_unknown_warning_option=no
   13164 fi
   13165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13166 fi
   13167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13170 	CFLAGS="$xorg_testset_save_CFLAGS"
   13171 fi
   13172 
   13173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13176 	fi
   13177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13181 then :
   13182   printf %s "(cached) " >&6
   13183 else $as_nop
   13184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13185 /* end confdefs.h.  */
   13186 int i;
   13187 _ACEOF
   13188 if ac_fn_c_try_compile "$LINENO"
   13189 then :
   13190   xorg_cv_cc_flag_unused_command_line_argument=yes
   13191 else $as_nop
   13192   xorg_cv_cc_flag_unused_command_line_argument=no
   13193 fi
   13194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13195 fi
   13196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13197 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13199 	CFLAGS="$xorg_testset_save_CFLAGS"
   13200 fi
   13201 
   13202 found="no"
   13203 
   13204 	if test $found = "no" ; then
   13205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13207 		fi
   13208 
   13209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13211 		fi
   13212 
   13213 		CFLAGS="$CFLAGS -Wpointer-arith"
   13214 
   13215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13216 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13217 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13218 		if eval test \${$cacheid+y}
   13219 then :
   13220   printf %s "(cached) " >&6
   13221 else $as_nop
   13222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13223 /* end confdefs.h.  */
   13224 int i;
   13225 int
   13226 main (void)
   13227 {
   13228 
   13229   ;
   13230   return 0;
   13231 }
   13232 _ACEOF
   13233 if ac_fn_c_try_link "$LINENO"
   13234 then :
   13235   eval $cacheid=yes
   13236 else $as_nop
   13237   eval $cacheid=no
   13238 fi
   13239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13240     conftest$ac_exeext conftest.$ac_ext
   13241 fi
   13242 
   13243 
   13244 		CFLAGS="$xorg_testset_save_CFLAGS"
   13245 
   13246 		eval supported=\$$cacheid
   13247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13248 printf "%s\n" "$supported" >&6; }
   13249 		if test "$supported" = "yes" ; then
   13250 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13251 			found="yes"
   13252 		fi
   13253 	fi
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 xorg_testset_save_CFLAGS="$CFLAGS"
   13270 
   13271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13274 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13275 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13276 then :
   13277   printf %s "(cached) " >&6
   13278 else $as_nop
   13279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13280 /* end confdefs.h.  */
   13281 int i;
   13282 _ACEOF
   13283 if ac_fn_c_try_compile "$LINENO"
   13284 then :
   13285   xorg_cv_cc_flag_unknown_warning_option=yes
   13286 else $as_nop
   13287   xorg_cv_cc_flag_unknown_warning_option=no
   13288 fi
   13289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13290 fi
   13291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13292 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13294 	CFLAGS="$xorg_testset_save_CFLAGS"
   13295 fi
   13296 
   13297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13300 	fi
   13301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13303 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13304 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13305 then :
   13306   printf %s "(cached) " >&6
   13307 else $as_nop
   13308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13309 /* end confdefs.h.  */
   13310 int i;
   13311 _ACEOF
   13312 if ac_fn_c_try_compile "$LINENO"
   13313 then :
   13314   xorg_cv_cc_flag_unused_command_line_argument=yes
   13315 else $as_nop
   13316   xorg_cv_cc_flag_unused_command_line_argument=no
   13317 fi
   13318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13319 fi
   13320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13321 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13323 	CFLAGS="$xorg_testset_save_CFLAGS"
   13324 fi
   13325 
   13326 found="no"
   13327 
   13328 	if test $found = "no" ; then
   13329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13331 		fi
   13332 
   13333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13335 		fi
   13336 
   13337 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13338 
   13339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13340 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13341 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13342 		if eval test \${$cacheid+y}
   13343 then :
   13344   printf %s "(cached) " >&6
   13345 else $as_nop
   13346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13347 /* end confdefs.h.  */
   13348 int i;
   13349 int
   13350 main (void)
   13351 {
   13352 
   13353   ;
   13354   return 0;
   13355 }
   13356 _ACEOF
   13357 if ac_fn_c_try_link "$LINENO"
   13358 then :
   13359   eval $cacheid=yes
   13360 else $as_nop
   13361   eval $cacheid=no
   13362 fi
   13363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13364     conftest$ac_exeext conftest.$ac_ext
   13365 fi
   13366 
   13367 
   13368 		CFLAGS="$xorg_testset_save_CFLAGS"
   13369 
   13370 		eval supported=\$$cacheid
   13371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13372 printf "%s\n" "$supported" >&6; }
   13373 		if test "$supported" = "yes" ; then
   13374 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13375 			found="yes"
   13376 		fi
   13377 	fi
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 xorg_testset_save_CFLAGS="$CFLAGS"
   13394 
   13395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13400 then :
   13401   printf %s "(cached) " >&6
   13402 else $as_nop
   13403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13404 /* end confdefs.h.  */
   13405 int i;
   13406 _ACEOF
   13407 if ac_fn_c_try_compile "$LINENO"
   13408 then :
   13409   xorg_cv_cc_flag_unknown_warning_option=yes
   13410 else $as_nop
   13411   xorg_cv_cc_flag_unknown_warning_option=no
   13412 fi
   13413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13414 fi
   13415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13416 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13418 	CFLAGS="$xorg_testset_save_CFLAGS"
   13419 fi
   13420 
   13421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13424 	fi
   13425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13427 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13428 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13429 then :
   13430   printf %s "(cached) " >&6
   13431 else $as_nop
   13432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13433 /* end confdefs.h.  */
   13434 int i;
   13435 _ACEOF
   13436 if ac_fn_c_try_compile "$LINENO"
   13437 then :
   13438   xorg_cv_cc_flag_unused_command_line_argument=yes
   13439 else $as_nop
   13440   xorg_cv_cc_flag_unused_command_line_argument=no
   13441 fi
   13442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13443 fi
   13444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13445 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13447 	CFLAGS="$xorg_testset_save_CFLAGS"
   13448 fi
   13449 
   13450 found="no"
   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 -Wformat=2"
   13462 
   13463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13464 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13465 		cacheid=xorg_cv_cc_flag__Wformat_2
   13466 		if eval test \${$cacheid+y}
   13467 then :
   13468   printf %s "(cached) " >&6
   13469 else $as_nop
   13470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13471 /* end confdefs.h.  */
   13472 int i;
   13473 int
   13474 main (void)
   13475 {
   13476 
   13477   ;
   13478   return 0;
   13479 }
   13480 _ACEOF
   13481 if ac_fn_c_try_link "$LINENO"
   13482 then :
   13483   eval $cacheid=yes
   13484 else $as_nop
   13485   eval $cacheid=no
   13486 fi
   13487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13488     conftest$ac_exeext conftest.$ac_ext
   13489 fi
   13490 
   13491 
   13492 		CFLAGS="$xorg_testset_save_CFLAGS"
   13493 
   13494 		eval supported=\$$cacheid
   13495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13496 printf "%s\n" "$supported" >&6; }
   13497 		if test "$supported" = "yes" ; then
   13498 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13499 			found="yes"
   13500 		fi
   13501 	fi
   13502 
   13503 	if test $found = "no" ; then
   13504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13506 		fi
   13507 
   13508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13510 		fi
   13511 
   13512 		CFLAGS="$CFLAGS -Wformat"
   13513 
   13514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13515 printf %s "checking if $CC supports -Wformat... " >&6; }
   13516 		cacheid=xorg_cv_cc_flag__Wformat
   13517 		if eval test \${$cacheid+y}
   13518 then :
   13519   printf %s "(cached) " >&6
   13520 else $as_nop
   13521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13522 /* end confdefs.h.  */
   13523 int i;
   13524 int
   13525 main (void)
   13526 {
   13527 
   13528   ;
   13529   return 0;
   13530 }
   13531 _ACEOF
   13532 if ac_fn_c_try_link "$LINENO"
   13533 then :
   13534   eval $cacheid=yes
   13535 else $as_nop
   13536   eval $cacheid=no
   13537 fi
   13538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13539     conftest$ac_exeext conftest.$ac_ext
   13540 fi
   13541 
   13542 
   13543 		CFLAGS="$xorg_testset_save_CFLAGS"
   13544 
   13545 		eval supported=\$$cacheid
   13546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13547 printf "%s\n" "$supported" >&6; }
   13548 		if test "$supported" = "yes" ; then
   13549 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13550 			found="yes"
   13551 		fi
   13552 	fi
   13553 
   13554 
   13555 
   13556 
   13557 
   13558 
   13559 
   13560 
   13561 
   13562 
   13563 
   13564 
   13565 
   13566 
   13567 
   13568 
   13569 
   13570 xorg_testset_save_CFLAGS="$CFLAGS"
   13571 
   13572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13575 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13576 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13577 then :
   13578   printf %s "(cached) " >&6
   13579 else $as_nop
   13580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13581 /* end confdefs.h.  */
   13582 int i;
   13583 _ACEOF
   13584 if ac_fn_c_try_compile "$LINENO"
   13585 then :
   13586   xorg_cv_cc_flag_unknown_warning_option=yes
   13587 else $as_nop
   13588   xorg_cv_cc_flag_unknown_warning_option=no
   13589 fi
   13590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13591 fi
   13592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13593 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13595 	CFLAGS="$xorg_testset_save_CFLAGS"
   13596 fi
   13597 
   13598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13601 	fi
   13602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13603 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13604 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13605 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13606 then :
   13607   printf %s "(cached) " >&6
   13608 else $as_nop
   13609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13610 /* end confdefs.h.  */
   13611 int i;
   13612 _ACEOF
   13613 if ac_fn_c_try_compile "$LINENO"
   13614 then :
   13615   xorg_cv_cc_flag_unused_command_line_argument=yes
   13616 else $as_nop
   13617   xorg_cv_cc_flag_unused_command_line_argument=no
   13618 fi
   13619 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13620 fi
   13621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13622 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13624 	CFLAGS="$xorg_testset_save_CFLAGS"
   13625 fi
   13626 
   13627 found="no"
   13628 
   13629 	if test $found = "no" ; then
   13630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13632 		fi
   13633 
   13634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13636 		fi
   13637 
   13638 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13639 
   13640 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13641 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13642 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13643 		if eval test \${$cacheid+y}
   13644 then :
   13645   printf %s "(cached) " >&6
   13646 else $as_nop
   13647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13648 /* end confdefs.h.  */
   13649 int i;
   13650 int
   13651 main (void)
   13652 {
   13653 
   13654   ;
   13655   return 0;
   13656 }
   13657 _ACEOF
   13658 if ac_fn_c_try_link "$LINENO"
   13659 then :
   13660   eval $cacheid=yes
   13661 else $as_nop
   13662   eval $cacheid=no
   13663 fi
   13664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13665     conftest$ac_exeext conftest.$ac_ext
   13666 fi
   13667 
   13668 
   13669 		CFLAGS="$xorg_testset_save_CFLAGS"
   13670 
   13671 		eval supported=\$$cacheid
   13672 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13673 printf "%s\n" "$supported" >&6; }
   13674 		if test "$supported" = "yes" ; then
   13675 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13676 			found="yes"
   13677 		fi
   13678 	fi
   13679 
   13680 
   13681 
   13682 
   13683 
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 xorg_testset_save_CFLAGS="$CFLAGS"
   13695 
   13696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13698 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13699 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13700 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13701 then :
   13702   printf %s "(cached) " >&6
   13703 else $as_nop
   13704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13705 /* end confdefs.h.  */
   13706 int i;
   13707 _ACEOF
   13708 if ac_fn_c_try_compile "$LINENO"
   13709 then :
   13710   xorg_cv_cc_flag_unknown_warning_option=yes
   13711 else $as_nop
   13712   xorg_cv_cc_flag_unknown_warning_option=no
   13713 fi
   13714 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13715 fi
   13716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13717 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13719 	CFLAGS="$xorg_testset_save_CFLAGS"
   13720 fi
   13721 
   13722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13725 	fi
   13726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13727 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13728 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13729 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13730 then :
   13731   printf %s "(cached) " >&6
   13732 else $as_nop
   13733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13734 /* end confdefs.h.  */
   13735 int i;
   13736 _ACEOF
   13737 if ac_fn_c_try_compile "$LINENO"
   13738 then :
   13739   xorg_cv_cc_flag_unused_command_line_argument=yes
   13740 else $as_nop
   13741   xorg_cv_cc_flag_unused_command_line_argument=no
   13742 fi
   13743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13744 fi
   13745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13746 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13747 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13748 	CFLAGS="$xorg_testset_save_CFLAGS"
   13749 fi
   13750 
   13751 found="no"
   13752 
   13753 	if test $found = "no" ; then
   13754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13756 		fi
   13757 
   13758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13760 		fi
   13761 
   13762 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13763 
   13764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13765 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13766 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13767 		if eval test \${$cacheid+y}
   13768 then :
   13769   printf %s "(cached) " >&6
   13770 else $as_nop
   13771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13772 /* end confdefs.h.  */
   13773 int i;
   13774 int
   13775 main (void)
   13776 {
   13777 
   13778   ;
   13779   return 0;
   13780 }
   13781 _ACEOF
   13782 if ac_fn_c_try_link "$LINENO"
   13783 then :
   13784   eval $cacheid=yes
   13785 else $as_nop
   13786   eval $cacheid=no
   13787 fi
   13788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13789     conftest$ac_exeext conftest.$ac_ext
   13790 fi
   13791 
   13792 
   13793 		CFLAGS="$xorg_testset_save_CFLAGS"
   13794 
   13795 		eval supported=\$$cacheid
   13796 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13797 printf "%s\n" "$supported" >&6; }
   13798 		if test "$supported" = "yes" ; then
   13799 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13800 			found="yes"
   13801 		fi
   13802 	fi
   13803 
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 xorg_testset_save_CFLAGS="$CFLAGS"
   13819 
   13820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13822 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13823 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13824 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13825 then :
   13826   printf %s "(cached) " >&6
   13827 else $as_nop
   13828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13829 /* end confdefs.h.  */
   13830 int i;
   13831 _ACEOF
   13832 if ac_fn_c_try_compile "$LINENO"
   13833 then :
   13834   xorg_cv_cc_flag_unknown_warning_option=yes
   13835 else $as_nop
   13836   xorg_cv_cc_flag_unknown_warning_option=no
   13837 fi
   13838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13839 fi
   13840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13841 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13843 	CFLAGS="$xorg_testset_save_CFLAGS"
   13844 fi
   13845 
   13846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13849 	fi
   13850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13851 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13852 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13853 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13854 then :
   13855   printf %s "(cached) " >&6
   13856 else $as_nop
   13857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13858 /* end confdefs.h.  */
   13859 int i;
   13860 _ACEOF
   13861 if ac_fn_c_try_compile "$LINENO"
   13862 then :
   13863   xorg_cv_cc_flag_unused_command_line_argument=yes
   13864 else $as_nop
   13865   xorg_cv_cc_flag_unused_command_line_argument=no
   13866 fi
   13867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13868 fi
   13869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13870 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13872 	CFLAGS="$xorg_testset_save_CFLAGS"
   13873 fi
   13874 
   13875 found="no"
   13876 
   13877 	if test $found = "no" ; then
   13878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13880 		fi
   13881 
   13882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13884 		fi
   13885 
   13886 		CFLAGS="$CFLAGS -Wnested-externs"
   13887 
   13888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13889 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13890 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13891 		if eval test \${$cacheid+y}
   13892 then :
   13893   printf %s "(cached) " >&6
   13894 else $as_nop
   13895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13896 /* end confdefs.h.  */
   13897 int i;
   13898 int
   13899 main (void)
   13900 {
   13901 
   13902   ;
   13903   return 0;
   13904 }
   13905 _ACEOF
   13906 if ac_fn_c_try_link "$LINENO"
   13907 then :
   13908   eval $cacheid=yes
   13909 else $as_nop
   13910   eval $cacheid=no
   13911 fi
   13912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13913     conftest$ac_exeext conftest.$ac_ext
   13914 fi
   13915 
   13916 
   13917 		CFLAGS="$xorg_testset_save_CFLAGS"
   13918 
   13919 		eval supported=\$$cacheid
   13920 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13921 printf "%s\n" "$supported" >&6; }
   13922 		if test "$supported" = "yes" ; then
   13923 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13924 			found="yes"
   13925 		fi
   13926 	fi
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 xorg_testset_save_CFLAGS="$CFLAGS"
   13943 
   13944 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13946 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13947 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13948 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13949 then :
   13950   printf %s "(cached) " >&6
   13951 else $as_nop
   13952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13953 /* end confdefs.h.  */
   13954 int i;
   13955 _ACEOF
   13956 if ac_fn_c_try_compile "$LINENO"
   13957 then :
   13958   xorg_cv_cc_flag_unknown_warning_option=yes
   13959 else $as_nop
   13960   xorg_cv_cc_flag_unknown_warning_option=no
   13961 fi
   13962 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13963 fi
   13964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13965 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13966 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13967 	CFLAGS="$xorg_testset_save_CFLAGS"
   13968 fi
   13969 
   13970 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13971 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13972 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13973 	fi
   13974 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13975 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13976 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13977 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13978 then :
   13979   printf %s "(cached) " >&6
   13980 else $as_nop
   13981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13982 /* end confdefs.h.  */
   13983 int i;
   13984 _ACEOF
   13985 if ac_fn_c_try_compile "$LINENO"
   13986 then :
   13987   xorg_cv_cc_flag_unused_command_line_argument=yes
   13988 else $as_nop
   13989   xorg_cv_cc_flag_unused_command_line_argument=no
   13990 fi
   13991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13992 fi
   13993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13994 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13995 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13996 	CFLAGS="$xorg_testset_save_CFLAGS"
   13997 fi
   13998 
   13999 found="no"
   14000 
   14001 	if test $found = "no" ; then
   14002 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14003 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14004 		fi
   14005 
   14006 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14007 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14008 		fi
   14009 
   14010 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14011 
   14012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14013 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14014 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14015 		if eval test \${$cacheid+y}
   14016 then :
   14017   printf %s "(cached) " >&6
   14018 else $as_nop
   14019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14020 /* end confdefs.h.  */
   14021 int i;
   14022 int
   14023 main (void)
   14024 {
   14025 
   14026   ;
   14027   return 0;
   14028 }
   14029 _ACEOF
   14030 if ac_fn_c_try_link "$LINENO"
   14031 then :
   14032   eval $cacheid=yes
   14033 else $as_nop
   14034   eval $cacheid=no
   14035 fi
   14036 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14037     conftest$ac_exeext conftest.$ac_ext
   14038 fi
   14039 
   14040 
   14041 		CFLAGS="$xorg_testset_save_CFLAGS"
   14042 
   14043 		eval supported=\$$cacheid
   14044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14045 printf "%s\n" "$supported" >&6; }
   14046 		if test "$supported" = "yes" ; then
   14047 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14048 			found="yes"
   14049 		fi
   14050 	fi
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 xorg_testset_save_CFLAGS="$CFLAGS"
   14067 
   14068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14070 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14071 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14072 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14073 then :
   14074   printf %s "(cached) " >&6
   14075 else $as_nop
   14076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14077 /* end confdefs.h.  */
   14078 int i;
   14079 _ACEOF
   14080 if ac_fn_c_try_compile "$LINENO"
   14081 then :
   14082   xorg_cv_cc_flag_unknown_warning_option=yes
   14083 else $as_nop
   14084   xorg_cv_cc_flag_unknown_warning_option=no
   14085 fi
   14086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14087 fi
   14088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14089 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14090 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14091 	CFLAGS="$xorg_testset_save_CFLAGS"
   14092 fi
   14093 
   14094 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14095 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14096 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14097 	fi
   14098 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14099 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14100 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14101 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14102 then :
   14103   printf %s "(cached) " >&6
   14104 else $as_nop
   14105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14106 /* end confdefs.h.  */
   14107 int i;
   14108 _ACEOF
   14109 if ac_fn_c_try_compile "$LINENO"
   14110 then :
   14111   xorg_cv_cc_flag_unused_command_line_argument=yes
   14112 else $as_nop
   14113   xorg_cv_cc_flag_unused_command_line_argument=no
   14114 fi
   14115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14116 fi
   14117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14118 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14120 	CFLAGS="$xorg_testset_save_CFLAGS"
   14121 fi
   14122 
   14123 found="no"
   14124 
   14125 	if test $found = "no" ; then
   14126 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14128 		fi
   14129 
   14130 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14132 		fi
   14133 
   14134 		CFLAGS="$CFLAGS -Wold-style-definition"
   14135 
   14136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14137 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14138 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14139 		if eval test \${$cacheid+y}
   14140 then :
   14141   printf %s "(cached) " >&6
   14142 else $as_nop
   14143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14144 /* end confdefs.h.  */
   14145 int i;
   14146 int
   14147 main (void)
   14148 {
   14149 
   14150   ;
   14151   return 0;
   14152 }
   14153 _ACEOF
   14154 if ac_fn_c_try_link "$LINENO"
   14155 then :
   14156   eval $cacheid=yes
   14157 else $as_nop
   14158   eval $cacheid=no
   14159 fi
   14160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14161     conftest$ac_exeext conftest.$ac_ext
   14162 fi
   14163 
   14164 
   14165 		CFLAGS="$xorg_testset_save_CFLAGS"
   14166 
   14167 		eval supported=\$$cacheid
   14168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14169 printf "%s\n" "$supported" >&6; }
   14170 		if test "$supported" = "yes" ; then
   14171 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14172 			found="yes"
   14173 		fi
   14174 	fi
   14175 
   14176 	if test $found = "no" ; then
   14177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14179 		fi
   14180 
   14181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14183 		fi
   14184 
   14185 		CFLAGS="$CFLAGS -fd"
   14186 
   14187 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14188 printf %s "checking if $CC supports -fd... " >&6; }
   14189 		cacheid=xorg_cv_cc_flag__fd
   14190 		if eval test \${$cacheid+y}
   14191 then :
   14192   printf %s "(cached) " >&6
   14193 else $as_nop
   14194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14195 /* end confdefs.h.  */
   14196 int i;
   14197 int
   14198 main (void)
   14199 {
   14200 
   14201   ;
   14202   return 0;
   14203 }
   14204 _ACEOF
   14205 if ac_fn_c_try_link "$LINENO"
   14206 then :
   14207   eval $cacheid=yes
   14208 else $as_nop
   14209   eval $cacheid=no
   14210 fi
   14211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14212     conftest$ac_exeext conftest.$ac_ext
   14213 fi
   14214 
   14215 
   14216 		CFLAGS="$xorg_testset_save_CFLAGS"
   14217 
   14218 		eval supported=\$$cacheid
   14219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14220 printf "%s\n" "$supported" >&6; }
   14221 		if test "$supported" = "yes" ; then
   14222 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14223 			found="yes"
   14224 		fi
   14225 	fi
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 xorg_testset_save_CFLAGS="$CFLAGS"
   14242 
   14243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14245 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14246 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14247 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14248 then :
   14249   printf %s "(cached) " >&6
   14250 else $as_nop
   14251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14252 /* end confdefs.h.  */
   14253 int i;
   14254 _ACEOF
   14255 if ac_fn_c_try_compile "$LINENO"
   14256 then :
   14257   xorg_cv_cc_flag_unknown_warning_option=yes
   14258 else $as_nop
   14259   xorg_cv_cc_flag_unknown_warning_option=no
   14260 fi
   14261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14262 fi
   14263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14264 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14266 	CFLAGS="$xorg_testset_save_CFLAGS"
   14267 fi
   14268 
   14269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14272 	fi
   14273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14275 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14276 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14277 then :
   14278   printf %s "(cached) " >&6
   14279 else $as_nop
   14280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14281 /* end confdefs.h.  */
   14282 int i;
   14283 _ACEOF
   14284 if ac_fn_c_try_compile "$LINENO"
   14285 then :
   14286   xorg_cv_cc_flag_unused_command_line_argument=yes
   14287 else $as_nop
   14288   xorg_cv_cc_flag_unused_command_line_argument=no
   14289 fi
   14290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14291 fi
   14292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14293 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14294 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14295 	CFLAGS="$xorg_testset_save_CFLAGS"
   14296 fi
   14297 
   14298 found="no"
   14299 
   14300 	if test $found = "no" ; then
   14301 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14302 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14303 		fi
   14304 
   14305 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14306 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14307 		fi
   14308 
   14309 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14310 
   14311 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14312 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14313 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14314 		if eval test \${$cacheid+y}
   14315 then :
   14316   printf %s "(cached) " >&6
   14317 else $as_nop
   14318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14319 /* end confdefs.h.  */
   14320 int i;
   14321 int
   14322 main (void)
   14323 {
   14324 
   14325   ;
   14326   return 0;
   14327 }
   14328 _ACEOF
   14329 if ac_fn_c_try_link "$LINENO"
   14330 then :
   14331   eval $cacheid=yes
   14332 else $as_nop
   14333   eval $cacheid=no
   14334 fi
   14335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14336     conftest$ac_exeext conftest.$ac_ext
   14337 fi
   14338 
   14339 
   14340 		CFLAGS="$xorg_testset_save_CFLAGS"
   14341 
   14342 		eval supported=\$$cacheid
   14343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14344 printf "%s\n" "$supported" >&6; }
   14345 		if test "$supported" = "yes" ; then
   14346 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14347 			found="yes"
   14348 		fi
   14349 	fi
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 # This chunk adds additional warnings that could catch undesired effects.
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 xorg_testset_save_CFLAGS="$CFLAGS"
   14370 
   14371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14374 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14375 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14376 then :
   14377   printf %s "(cached) " >&6
   14378 else $as_nop
   14379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14380 /* end confdefs.h.  */
   14381 int i;
   14382 _ACEOF
   14383 if ac_fn_c_try_compile "$LINENO"
   14384 then :
   14385   xorg_cv_cc_flag_unknown_warning_option=yes
   14386 else $as_nop
   14387   xorg_cv_cc_flag_unknown_warning_option=no
   14388 fi
   14389 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14390 fi
   14391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14392 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14394 	CFLAGS="$xorg_testset_save_CFLAGS"
   14395 fi
   14396 
   14397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14400 	fi
   14401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14402 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14403 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14404 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14405 then :
   14406   printf %s "(cached) " >&6
   14407 else $as_nop
   14408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14409 /* end confdefs.h.  */
   14410 int i;
   14411 _ACEOF
   14412 if ac_fn_c_try_compile "$LINENO"
   14413 then :
   14414   xorg_cv_cc_flag_unused_command_line_argument=yes
   14415 else $as_nop
   14416   xorg_cv_cc_flag_unused_command_line_argument=no
   14417 fi
   14418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14419 fi
   14420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14421 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14423 	CFLAGS="$xorg_testset_save_CFLAGS"
   14424 fi
   14425 
   14426 found="no"
   14427 
   14428 	if test $found = "no" ; then
   14429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14431 		fi
   14432 
   14433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14435 		fi
   14436 
   14437 		CFLAGS="$CFLAGS -Wunused"
   14438 
   14439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14440 printf %s "checking if $CC supports -Wunused... " >&6; }
   14441 		cacheid=xorg_cv_cc_flag__Wunused
   14442 		if eval test \${$cacheid+y}
   14443 then :
   14444   printf %s "(cached) " >&6
   14445 else $as_nop
   14446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14447 /* end confdefs.h.  */
   14448 int i;
   14449 int
   14450 main (void)
   14451 {
   14452 
   14453   ;
   14454   return 0;
   14455 }
   14456 _ACEOF
   14457 if ac_fn_c_try_link "$LINENO"
   14458 then :
   14459   eval $cacheid=yes
   14460 else $as_nop
   14461   eval $cacheid=no
   14462 fi
   14463 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14464     conftest$ac_exeext conftest.$ac_ext
   14465 fi
   14466 
   14467 
   14468 		CFLAGS="$xorg_testset_save_CFLAGS"
   14469 
   14470 		eval supported=\$$cacheid
   14471 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14472 printf "%s\n" "$supported" >&6; }
   14473 		if test "$supported" = "yes" ; then
   14474 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14475 			found="yes"
   14476 		fi
   14477 	fi
   14478 
   14479 
   14480 
   14481 
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 
   14493 xorg_testset_save_CFLAGS="$CFLAGS"
   14494 
   14495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14497 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14498 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14499 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14500 then :
   14501   printf %s "(cached) " >&6
   14502 else $as_nop
   14503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14504 /* end confdefs.h.  */
   14505 int i;
   14506 _ACEOF
   14507 if ac_fn_c_try_compile "$LINENO"
   14508 then :
   14509   xorg_cv_cc_flag_unknown_warning_option=yes
   14510 else $as_nop
   14511   xorg_cv_cc_flag_unknown_warning_option=no
   14512 fi
   14513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14514 fi
   14515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14516 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14518 	CFLAGS="$xorg_testset_save_CFLAGS"
   14519 fi
   14520 
   14521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14524 	fi
   14525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14527 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14528 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14529 then :
   14530   printf %s "(cached) " >&6
   14531 else $as_nop
   14532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14533 /* end confdefs.h.  */
   14534 int i;
   14535 _ACEOF
   14536 if ac_fn_c_try_compile "$LINENO"
   14537 then :
   14538   xorg_cv_cc_flag_unused_command_line_argument=yes
   14539 else $as_nop
   14540   xorg_cv_cc_flag_unused_command_line_argument=no
   14541 fi
   14542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14543 fi
   14544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14545 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14547 	CFLAGS="$xorg_testset_save_CFLAGS"
   14548 fi
   14549 
   14550 found="no"
   14551 
   14552 	if test $found = "no" ; then
   14553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14555 		fi
   14556 
   14557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14559 		fi
   14560 
   14561 		CFLAGS="$CFLAGS -Wuninitialized"
   14562 
   14563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14564 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14565 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14566 		if eval test \${$cacheid+y}
   14567 then :
   14568   printf %s "(cached) " >&6
   14569 else $as_nop
   14570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14571 /* end confdefs.h.  */
   14572 int i;
   14573 int
   14574 main (void)
   14575 {
   14576 
   14577   ;
   14578   return 0;
   14579 }
   14580 _ACEOF
   14581 if ac_fn_c_try_link "$LINENO"
   14582 then :
   14583   eval $cacheid=yes
   14584 else $as_nop
   14585   eval $cacheid=no
   14586 fi
   14587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14588     conftest$ac_exeext conftest.$ac_ext
   14589 fi
   14590 
   14591 
   14592 		CFLAGS="$xorg_testset_save_CFLAGS"
   14593 
   14594 		eval supported=\$$cacheid
   14595 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14596 printf "%s\n" "$supported" >&6; }
   14597 		if test "$supported" = "yes" ; then
   14598 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14599 			found="yes"
   14600 		fi
   14601 	fi
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 xorg_testset_save_CFLAGS="$CFLAGS"
   14618 
   14619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14622 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14623 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14624 then :
   14625   printf %s "(cached) " >&6
   14626 else $as_nop
   14627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14628 /* end confdefs.h.  */
   14629 int i;
   14630 _ACEOF
   14631 if ac_fn_c_try_compile "$LINENO"
   14632 then :
   14633   xorg_cv_cc_flag_unknown_warning_option=yes
   14634 else $as_nop
   14635   xorg_cv_cc_flag_unknown_warning_option=no
   14636 fi
   14637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14638 fi
   14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14640 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14641 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14642 	CFLAGS="$xorg_testset_save_CFLAGS"
   14643 fi
   14644 
   14645 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14646 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14647 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14648 	fi
   14649 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14651 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14652 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14653 then :
   14654   printf %s "(cached) " >&6
   14655 else $as_nop
   14656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14657 /* end confdefs.h.  */
   14658 int i;
   14659 _ACEOF
   14660 if ac_fn_c_try_compile "$LINENO"
   14661 then :
   14662   xorg_cv_cc_flag_unused_command_line_argument=yes
   14663 else $as_nop
   14664   xorg_cv_cc_flag_unused_command_line_argument=no
   14665 fi
   14666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14667 fi
   14668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14669 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14671 	CFLAGS="$xorg_testset_save_CFLAGS"
   14672 fi
   14673 
   14674 found="no"
   14675 
   14676 	if test $found = "no" ; then
   14677 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14679 		fi
   14680 
   14681 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14683 		fi
   14684 
   14685 		CFLAGS="$CFLAGS -Wshadow"
   14686 
   14687 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14688 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14689 		cacheid=xorg_cv_cc_flag__Wshadow
   14690 		if eval test \${$cacheid+y}
   14691 then :
   14692   printf %s "(cached) " >&6
   14693 else $as_nop
   14694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14695 /* end confdefs.h.  */
   14696 int i;
   14697 int
   14698 main (void)
   14699 {
   14700 
   14701   ;
   14702   return 0;
   14703 }
   14704 _ACEOF
   14705 if ac_fn_c_try_link "$LINENO"
   14706 then :
   14707   eval $cacheid=yes
   14708 else $as_nop
   14709   eval $cacheid=no
   14710 fi
   14711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14712     conftest$ac_exeext conftest.$ac_ext
   14713 fi
   14714 
   14715 
   14716 		CFLAGS="$xorg_testset_save_CFLAGS"
   14717 
   14718 		eval supported=\$$cacheid
   14719 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14720 printf "%s\n" "$supported" >&6; }
   14721 		if test "$supported" = "yes" ; then
   14722 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14723 			found="yes"
   14724 		fi
   14725 	fi
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 
   14741 xorg_testset_save_CFLAGS="$CFLAGS"
   14742 
   14743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14746 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14747 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14748 then :
   14749   printf %s "(cached) " >&6
   14750 else $as_nop
   14751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14752 /* end confdefs.h.  */
   14753 int i;
   14754 _ACEOF
   14755 if ac_fn_c_try_compile "$LINENO"
   14756 then :
   14757   xorg_cv_cc_flag_unknown_warning_option=yes
   14758 else $as_nop
   14759   xorg_cv_cc_flag_unknown_warning_option=no
   14760 fi
   14761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14762 fi
   14763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14764 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14766 	CFLAGS="$xorg_testset_save_CFLAGS"
   14767 fi
   14768 
   14769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14772 	fi
   14773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14775 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14776 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14777 then :
   14778   printf %s "(cached) " >&6
   14779 else $as_nop
   14780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14781 /* end confdefs.h.  */
   14782 int i;
   14783 _ACEOF
   14784 if ac_fn_c_try_compile "$LINENO"
   14785 then :
   14786   xorg_cv_cc_flag_unused_command_line_argument=yes
   14787 else $as_nop
   14788   xorg_cv_cc_flag_unused_command_line_argument=no
   14789 fi
   14790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14791 fi
   14792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14793 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14795 	CFLAGS="$xorg_testset_save_CFLAGS"
   14796 fi
   14797 
   14798 found="no"
   14799 
   14800 	if test $found = "no" ; then
   14801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14803 		fi
   14804 
   14805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14807 		fi
   14808 
   14809 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14810 
   14811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14812 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14813 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14814 		if eval test \${$cacheid+y}
   14815 then :
   14816   printf %s "(cached) " >&6
   14817 else $as_nop
   14818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14819 /* end confdefs.h.  */
   14820 int i;
   14821 int
   14822 main (void)
   14823 {
   14824 
   14825   ;
   14826   return 0;
   14827 }
   14828 _ACEOF
   14829 if ac_fn_c_try_link "$LINENO"
   14830 then :
   14831   eval $cacheid=yes
   14832 else $as_nop
   14833   eval $cacheid=no
   14834 fi
   14835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14836     conftest$ac_exeext conftest.$ac_ext
   14837 fi
   14838 
   14839 
   14840 		CFLAGS="$xorg_testset_save_CFLAGS"
   14841 
   14842 		eval supported=\$$cacheid
   14843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14844 printf "%s\n" "$supported" >&6; }
   14845 		if test "$supported" = "yes" ; then
   14846 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14847 			found="yes"
   14848 		fi
   14849 	fi
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 xorg_testset_save_CFLAGS="$CFLAGS"
   14866 
   14867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14870 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14871 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14872 then :
   14873   printf %s "(cached) " >&6
   14874 else $as_nop
   14875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14876 /* end confdefs.h.  */
   14877 int i;
   14878 _ACEOF
   14879 if ac_fn_c_try_compile "$LINENO"
   14880 then :
   14881   xorg_cv_cc_flag_unknown_warning_option=yes
   14882 else $as_nop
   14883   xorg_cv_cc_flag_unknown_warning_option=no
   14884 fi
   14885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14886 fi
   14887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14888 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14889 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14890 	CFLAGS="$xorg_testset_save_CFLAGS"
   14891 fi
   14892 
   14893 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14894 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14895 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14896 	fi
   14897 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14898 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14899 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14900 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14901 then :
   14902   printf %s "(cached) " >&6
   14903 else $as_nop
   14904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14905 /* end confdefs.h.  */
   14906 int i;
   14907 _ACEOF
   14908 if ac_fn_c_try_compile "$LINENO"
   14909 then :
   14910   xorg_cv_cc_flag_unused_command_line_argument=yes
   14911 else $as_nop
   14912   xorg_cv_cc_flag_unused_command_line_argument=no
   14913 fi
   14914 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14915 fi
   14916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14917 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14919 	CFLAGS="$xorg_testset_save_CFLAGS"
   14920 fi
   14921 
   14922 found="no"
   14923 
   14924 	if test $found = "no" ; then
   14925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14927 		fi
   14928 
   14929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14931 		fi
   14932 
   14933 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14934 
   14935 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14936 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14937 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14938 		if eval test \${$cacheid+y}
   14939 then :
   14940   printf %s "(cached) " >&6
   14941 else $as_nop
   14942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14943 /* end confdefs.h.  */
   14944 int i;
   14945 int
   14946 main (void)
   14947 {
   14948 
   14949   ;
   14950   return 0;
   14951 }
   14952 _ACEOF
   14953 if ac_fn_c_try_link "$LINENO"
   14954 then :
   14955   eval $cacheid=yes
   14956 else $as_nop
   14957   eval $cacheid=no
   14958 fi
   14959 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14960     conftest$ac_exeext conftest.$ac_ext
   14961 fi
   14962 
   14963 
   14964 		CFLAGS="$xorg_testset_save_CFLAGS"
   14965 
   14966 		eval supported=\$$cacheid
   14967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14968 printf "%s\n" "$supported" >&6; }
   14969 		if test "$supported" = "yes" ; then
   14970 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14971 			found="yes"
   14972 		fi
   14973 	fi
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 xorg_testset_save_CFLAGS="$CFLAGS"
   14990 
   14991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14993 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14994 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14995 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14996 then :
   14997   printf %s "(cached) " >&6
   14998 else $as_nop
   14999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15000 /* end confdefs.h.  */
   15001 int i;
   15002 _ACEOF
   15003 if ac_fn_c_try_compile "$LINENO"
   15004 then :
   15005   xorg_cv_cc_flag_unknown_warning_option=yes
   15006 else $as_nop
   15007   xorg_cv_cc_flag_unknown_warning_option=no
   15008 fi
   15009 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15010 fi
   15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15012 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15014 	CFLAGS="$xorg_testset_save_CFLAGS"
   15015 fi
   15016 
   15017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15020 	fi
   15021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15023 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15024 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15025 then :
   15026   printf %s "(cached) " >&6
   15027 else $as_nop
   15028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15029 /* end confdefs.h.  */
   15030 int i;
   15031 _ACEOF
   15032 if ac_fn_c_try_compile "$LINENO"
   15033 then :
   15034   xorg_cv_cc_flag_unused_command_line_argument=yes
   15035 else $as_nop
   15036   xorg_cv_cc_flag_unused_command_line_argument=no
   15037 fi
   15038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15039 fi
   15040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15041 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15043 	CFLAGS="$xorg_testset_save_CFLAGS"
   15044 fi
   15045 
   15046 found="no"
   15047 
   15048 	if test $found = "no" ; then
   15049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15051 		fi
   15052 
   15053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15055 		fi
   15056 
   15057 		CFLAGS="$CFLAGS -Wredundant-decls"
   15058 
   15059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15060 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15061 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15062 		if eval test \${$cacheid+y}
   15063 then :
   15064   printf %s "(cached) " >&6
   15065 else $as_nop
   15066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15067 /* end confdefs.h.  */
   15068 int i;
   15069 int
   15070 main (void)
   15071 {
   15072 
   15073   ;
   15074   return 0;
   15075 }
   15076 _ACEOF
   15077 if ac_fn_c_try_link "$LINENO"
   15078 then :
   15079   eval $cacheid=yes
   15080 else $as_nop
   15081   eval $cacheid=no
   15082 fi
   15083 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15084     conftest$ac_exeext conftest.$ac_ext
   15085 fi
   15086 
   15087 
   15088 		CFLAGS="$xorg_testset_save_CFLAGS"
   15089 
   15090 		eval supported=\$$cacheid
   15091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15092 printf "%s\n" "$supported" >&6; }
   15093 		if test "$supported" = "yes" ; then
   15094 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15095 			found="yes"
   15096 		fi
   15097 	fi
   15098 
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 
   15110 
   15111 
   15112 
   15113 xorg_testset_save_CFLAGS="$CFLAGS"
   15114 
   15115 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15116 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15117 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15118 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15119 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15120 then :
   15121   printf %s "(cached) " >&6
   15122 else $as_nop
   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"
   15128 then :
   15129   xorg_cv_cc_flag_unknown_warning_option=yes
   15130 else $as_nop
   15131   xorg_cv_cc_flag_unknown_warning_option=no
   15132 fi
   15133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15134 fi
   15135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15136 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15137 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15138 	CFLAGS="$xorg_testset_save_CFLAGS"
   15139 fi
   15140 
   15141 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15142 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15143 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15144 	fi
   15145 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15146 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15147 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15148 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15149 then :
   15150   printf %s "(cached) " >&6
   15151 else $as_nop
   15152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15153 /* end confdefs.h.  */
   15154 int i;
   15155 _ACEOF
   15156 if ac_fn_c_try_compile "$LINENO"
   15157 then :
   15158   xorg_cv_cc_flag_unused_command_line_argument=yes
   15159 else $as_nop
   15160   xorg_cv_cc_flag_unused_command_line_argument=no
   15161 fi
   15162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15163 fi
   15164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15165 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15166 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15167 	CFLAGS="$xorg_testset_save_CFLAGS"
   15168 fi
   15169 
   15170 found="no"
   15171 
   15172 	if test $found = "no" ; then
   15173 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15175 		fi
   15176 
   15177 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15179 		fi
   15180 
   15181 		CFLAGS="$CFLAGS -Wlogical-op"
   15182 
   15183 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15184 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15185 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15186 		if eval test \${$cacheid+y}
   15187 then :
   15188   printf %s "(cached) " >&6
   15189 else $as_nop
   15190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15191 /* end confdefs.h.  */
   15192 int i;
   15193 int
   15194 main (void)
   15195 {
   15196 
   15197   ;
   15198   return 0;
   15199 }
   15200 _ACEOF
   15201 if ac_fn_c_try_link "$LINENO"
   15202 then :
   15203   eval $cacheid=yes
   15204 else $as_nop
   15205   eval $cacheid=no
   15206 fi
   15207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15208     conftest$ac_exeext conftest.$ac_ext
   15209 fi
   15210 
   15211 
   15212 		CFLAGS="$xorg_testset_save_CFLAGS"
   15213 
   15214 		eval supported=\$$cacheid
   15215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15216 printf "%s\n" "$supported" >&6; }
   15217 		if test "$supported" = "yes" ; then
   15218 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15219 			found="yes"
   15220 		fi
   15221 	fi
   15222 
   15223 
   15224 
   15225 # These are currently disabled because they are noisy.  They will be enabled
   15226 # in the future once the codebase is sufficiently modernized to silence
   15227 # them.  For now, I don't want them to drown out the other warnings.
   15228 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15229 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15230 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15231 
   15232 # Turn some warnings into errors, so we don't accidentally get successful builds
   15233 # when there are problems that should be fixed.
   15234 
   15235 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248 
   15249 xorg_testset_save_CFLAGS="$CFLAGS"
   15250 
   15251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15254 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15255 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15256 then :
   15257   printf %s "(cached) " >&6
   15258 else $as_nop
   15259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15260 /* end confdefs.h.  */
   15261 int i;
   15262 _ACEOF
   15263 if ac_fn_c_try_compile "$LINENO"
   15264 then :
   15265   xorg_cv_cc_flag_unknown_warning_option=yes
   15266 else $as_nop
   15267   xorg_cv_cc_flag_unknown_warning_option=no
   15268 fi
   15269 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15270 fi
   15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15272 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15273 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15274 	CFLAGS="$xorg_testset_save_CFLAGS"
   15275 fi
   15276 
   15277 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15278 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15280 	fi
   15281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15282 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15283 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15284 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15285 then :
   15286   printf %s "(cached) " >&6
   15287 else $as_nop
   15288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15289 /* end confdefs.h.  */
   15290 int i;
   15291 _ACEOF
   15292 if ac_fn_c_try_compile "$LINENO"
   15293 then :
   15294   xorg_cv_cc_flag_unused_command_line_argument=yes
   15295 else $as_nop
   15296   xorg_cv_cc_flag_unused_command_line_argument=no
   15297 fi
   15298 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15299 fi
   15300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15303 	CFLAGS="$xorg_testset_save_CFLAGS"
   15304 fi
   15305 
   15306 found="no"
   15307 
   15308 	if test $found = "no" ; then
   15309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15311 		fi
   15312 
   15313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15315 		fi
   15316 
   15317 		CFLAGS="$CFLAGS -Werror=implicit"
   15318 
   15319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15320 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15321 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15322 		if eval test \${$cacheid+y}
   15323 then :
   15324   printf %s "(cached) " >&6
   15325 else $as_nop
   15326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15327 /* end confdefs.h.  */
   15328 int i;
   15329 int
   15330 main (void)
   15331 {
   15332 
   15333   ;
   15334   return 0;
   15335 }
   15336 _ACEOF
   15337 if ac_fn_c_try_link "$LINENO"
   15338 then :
   15339   eval $cacheid=yes
   15340 else $as_nop
   15341   eval $cacheid=no
   15342 fi
   15343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15344     conftest$ac_exeext conftest.$ac_ext
   15345 fi
   15346 
   15347 
   15348 		CFLAGS="$xorg_testset_save_CFLAGS"
   15349 
   15350 		eval supported=\$$cacheid
   15351 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15352 printf "%s\n" "$supported" >&6; }
   15353 		if test "$supported" = "yes" ; then
   15354 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15355 			found="yes"
   15356 		fi
   15357 	fi
   15358 
   15359 	if test $found = "no" ; then
   15360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15362 		fi
   15363 
   15364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15366 		fi
   15367 
   15368 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15369 
   15370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   15371 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15372 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15373 		if eval test \${$cacheid+y}
   15374 then :
   15375   printf %s "(cached) " >&6
   15376 else $as_nop
   15377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15378 /* end confdefs.h.  */
   15379 int i;
   15380 int
   15381 main (void)
   15382 {
   15383 
   15384   ;
   15385   return 0;
   15386 }
   15387 _ACEOF
   15388 if ac_fn_c_try_link "$LINENO"
   15389 then :
   15390   eval $cacheid=yes
   15391 else $as_nop
   15392   eval $cacheid=no
   15393 fi
   15394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15395     conftest$ac_exeext conftest.$ac_ext
   15396 fi
   15397 
   15398 
   15399 		CFLAGS="$xorg_testset_save_CFLAGS"
   15400 
   15401 		eval supported=\$$cacheid
   15402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15403 printf "%s\n" "$supported" >&6; }
   15404 		if test "$supported" = "yes" ; then
   15405 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15406 			found="yes"
   15407 		fi
   15408 	fi
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 xorg_testset_save_CFLAGS="$CFLAGS"
   15425 
   15426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15431 then :
   15432   printf %s "(cached) " >&6
   15433 else $as_nop
   15434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15435 /* end confdefs.h.  */
   15436 int i;
   15437 _ACEOF
   15438 if ac_fn_c_try_compile "$LINENO"
   15439 then :
   15440   xorg_cv_cc_flag_unknown_warning_option=yes
   15441 else $as_nop
   15442   xorg_cv_cc_flag_unknown_warning_option=no
   15443 fi
   15444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15445 fi
   15446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15447 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15449 	CFLAGS="$xorg_testset_save_CFLAGS"
   15450 fi
   15451 
   15452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15455 	fi
   15456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15460 then :
   15461   printf %s "(cached) " >&6
   15462 else $as_nop
   15463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15464 /* end confdefs.h.  */
   15465 int i;
   15466 _ACEOF
   15467 if ac_fn_c_try_compile "$LINENO"
   15468 then :
   15469   xorg_cv_cc_flag_unused_command_line_argument=yes
   15470 else $as_nop
   15471   xorg_cv_cc_flag_unused_command_line_argument=no
   15472 fi
   15473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15474 fi
   15475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15478 	CFLAGS="$xorg_testset_save_CFLAGS"
   15479 fi
   15480 
   15481 found="no"
   15482 
   15483 	if test $found = "no" ; then
   15484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15486 		fi
   15487 
   15488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15490 		fi
   15491 
   15492 		CFLAGS="$CFLAGS -Werror=nonnull"
   15493 
   15494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15495 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15496 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15497 		if eval test \${$cacheid+y}
   15498 then :
   15499   printf %s "(cached) " >&6
   15500 else $as_nop
   15501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15502 /* end confdefs.h.  */
   15503 int i;
   15504 int
   15505 main (void)
   15506 {
   15507 
   15508   ;
   15509   return 0;
   15510 }
   15511 _ACEOF
   15512 if ac_fn_c_try_link "$LINENO"
   15513 then :
   15514   eval $cacheid=yes
   15515 else $as_nop
   15516   eval $cacheid=no
   15517 fi
   15518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15519     conftest$ac_exeext conftest.$ac_ext
   15520 fi
   15521 
   15522 
   15523 		CFLAGS="$xorg_testset_save_CFLAGS"
   15524 
   15525 		eval supported=\$$cacheid
   15526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15527 printf "%s\n" "$supported" >&6; }
   15528 		if test "$supported" = "yes" ; then
   15529 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15530 			found="yes"
   15531 		fi
   15532 	fi
   15533 
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 xorg_testset_save_CFLAGS="$CFLAGS"
   15549 
   15550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15553 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15554 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15555 then :
   15556   printf %s "(cached) " >&6
   15557 else $as_nop
   15558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15559 /* end confdefs.h.  */
   15560 int i;
   15561 _ACEOF
   15562 if ac_fn_c_try_compile "$LINENO"
   15563 then :
   15564   xorg_cv_cc_flag_unknown_warning_option=yes
   15565 else $as_nop
   15566   xorg_cv_cc_flag_unknown_warning_option=no
   15567 fi
   15568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15569 fi
   15570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15571 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15573 	CFLAGS="$xorg_testset_save_CFLAGS"
   15574 fi
   15575 
   15576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15579 	fi
   15580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15582 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15583 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15584 then :
   15585   printf %s "(cached) " >&6
   15586 else $as_nop
   15587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15588 /* end confdefs.h.  */
   15589 int i;
   15590 _ACEOF
   15591 if ac_fn_c_try_compile "$LINENO"
   15592 then :
   15593   xorg_cv_cc_flag_unused_command_line_argument=yes
   15594 else $as_nop
   15595   xorg_cv_cc_flag_unused_command_line_argument=no
   15596 fi
   15597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15598 fi
   15599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15600 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15602 	CFLAGS="$xorg_testset_save_CFLAGS"
   15603 fi
   15604 
   15605 found="no"
   15606 
   15607 	if test $found = "no" ; then
   15608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15610 		fi
   15611 
   15612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15614 		fi
   15615 
   15616 		CFLAGS="$CFLAGS -Werror=init-self"
   15617 
   15618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15619 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15620 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15621 		if eval test \${$cacheid+y}
   15622 then :
   15623   printf %s "(cached) " >&6
   15624 else $as_nop
   15625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15626 /* end confdefs.h.  */
   15627 int i;
   15628 int
   15629 main (void)
   15630 {
   15631 
   15632   ;
   15633   return 0;
   15634 }
   15635 _ACEOF
   15636 if ac_fn_c_try_link "$LINENO"
   15637 then :
   15638   eval $cacheid=yes
   15639 else $as_nop
   15640   eval $cacheid=no
   15641 fi
   15642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15643     conftest$ac_exeext conftest.$ac_ext
   15644 fi
   15645 
   15646 
   15647 		CFLAGS="$xorg_testset_save_CFLAGS"
   15648 
   15649 		eval supported=\$$cacheid
   15650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15651 printf "%s\n" "$supported" >&6; }
   15652 		if test "$supported" = "yes" ; then
   15653 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15654 			found="yes"
   15655 		fi
   15656 	fi
   15657 
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 xorg_testset_save_CFLAGS="$CFLAGS"
   15673 
   15674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15677 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15678 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15679 then :
   15680   printf %s "(cached) " >&6
   15681 else $as_nop
   15682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15683 /* end confdefs.h.  */
   15684 int i;
   15685 _ACEOF
   15686 if ac_fn_c_try_compile "$LINENO"
   15687 then :
   15688   xorg_cv_cc_flag_unknown_warning_option=yes
   15689 else $as_nop
   15690   xorg_cv_cc_flag_unknown_warning_option=no
   15691 fi
   15692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15693 fi
   15694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15697 	CFLAGS="$xorg_testset_save_CFLAGS"
   15698 fi
   15699 
   15700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15703 	fi
   15704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15708 then :
   15709   printf %s "(cached) " >&6
   15710 else $as_nop
   15711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15712 /* end confdefs.h.  */
   15713 int i;
   15714 _ACEOF
   15715 if ac_fn_c_try_compile "$LINENO"
   15716 then :
   15717   xorg_cv_cc_flag_unused_command_line_argument=yes
   15718 else $as_nop
   15719   xorg_cv_cc_flag_unused_command_line_argument=no
   15720 fi
   15721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15722 fi
   15723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15724 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15726 	CFLAGS="$xorg_testset_save_CFLAGS"
   15727 fi
   15728 
   15729 found="no"
   15730 
   15731 	if test $found = "no" ; then
   15732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15734 		fi
   15735 
   15736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15738 		fi
   15739 
   15740 		CFLAGS="$CFLAGS -Werror=main"
   15741 
   15742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15743 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15744 		cacheid=xorg_cv_cc_flag__Werror_main
   15745 		if eval test \${$cacheid+y}
   15746 then :
   15747   printf %s "(cached) " >&6
   15748 else $as_nop
   15749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15750 /* end confdefs.h.  */
   15751 int i;
   15752 int
   15753 main (void)
   15754 {
   15755 
   15756   ;
   15757   return 0;
   15758 }
   15759 _ACEOF
   15760 if ac_fn_c_try_link "$LINENO"
   15761 then :
   15762   eval $cacheid=yes
   15763 else $as_nop
   15764   eval $cacheid=no
   15765 fi
   15766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15767     conftest$ac_exeext conftest.$ac_ext
   15768 fi
   15769 
   15770 
   15771 		CFLAGS="$xorg_testset_save_CFLAGS"
   15772 
   15773 		eval supported=\$$cacheid
   15774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15775 printf "%s\n" "$supported" >&6; }
   15776 		if test "$supported" = "yes" ; then
   15777 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15778 			found="yes"
   15779 		fi
   15780 	fi
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794 
   15795 
   15796 xorg_testset_save_CFLAGS="$CFLAGS"
   15797 
   15798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15801 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15802 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15803 then :
   15804   printf %s "(cached) " >&6
   15805 else $as_nop
   15806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15807 /* end confdefs.h.  */
   15808 int i;
   15809 _ACEOF
   15810 if ac_fn_c_try_compile "$LINENO"
   15811 then :
   15812   xorg_cv_cc_flag_unknown_warning_option=yes
   15813 else $as_nop
   15814   xorg_cv_cc_flag_unknown_warning_option=no
   15815 fi
   15816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15817 fi
   15818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15819 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15821 	CFLAGS="$xorg_testset_save_CFLAGS"
   15822 fi
   15823 
   15824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15827 	fi
   15828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15830 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15831 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15832 then :
   15833   printf %s "(cached) " >&6
   15834 else $as_nop
   15835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15836 /* end confdefs.h.  */
   15837 int i;
   15838 _ACEOF
   15839 if ac_fn_c_try_compile "$LINENO"
   15840 then :
   15841   xorg_cv_cc_flag_unused_command_line_argument=yes
   15842 else $as_nop
   15843   xorg_cv_cc_flag_unused_command_line_argument=no
   15844 fi
   15845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15846 fi
   15847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15848 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15850 	CFLAGS="$xorg_testset_save_CFLAGS"
   15851 fi
   15852 
   15853 found="no"
   15854 
   15855 	if test $found = "no" ; then
   15856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15858 		fi
   15859 
   15860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15862 		fi
   15863 
   15864 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15865 
   15866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15867 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15868 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15869 		if eval test \${$cacheid+y}
   15870 then :
   15871   printf %s "(cached) " >&6
   15872 else $as_nop
   15873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15874 /* end confdefs.h.  */
   15875 int i;
   15876 int
   15877 main (void)
   15878 {
   15879 
   15880   ;
   15881   return 0;
   15882 }
   15883 _ACEOF
   15884 if ac_fn_c_try_link "$LINENO"
   15885 then :
   15886   eval $cacheid=yes
   15887 else $as_nop
   15888   eval $cacheid=no
   15889 fi
   15890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15891     conftest$ac_exeext conftest.$ac_ext
   15892 fi
   15893 
   15894 
   15895 		CFLAGS="$xorg_testset_save_CFLAGS"
   15896 
   15897 		eval supported=\$$cacheid
   15898 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15899 printf "%s\n" "$supported" >&6; }
   15900 		if test "$supported" = "yes" ; then
   15901 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15902 			found="yes"
   15903 		fi
   15904 	fi
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 xorg_testset_save_CFLAGS="$CFLAGS"
   15921 
   15922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15925 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15926 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15927 then :
   15928   printf %s "(cached) " >&6
   15929 else $as_nop
   15930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15931 /* end confdefs.h.  */
   15932 int i;
   15933 _ACEOF
   15934 if ac_fn_c_try_compile "$LINENO"
   15935 then :
   15936   xorg_cv_cc_flag_unknown_warning_option=yes
   15937 else $as_nop
   15938   xorg_cv_cc_flag_unknown_warning_option=no
   15939 fi
   15940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15941 fi
   15942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15943 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15945 	CFLAGS="$xorg_testset_save_CFLAGS"
   15946 fi
   15947 
   15948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15951 	fi
   15952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15954 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15955 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15956 then :
   15957   printf %s "(cached) " >&6
   15958 else $as_nop
   15959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15960 /* end confdefs.h.  */
   15961 int i;
   15962 _ACEOF
   15963 if ac_fn_c_try_compile "$LINENO"
   15964 then :
   15965   xorg_cv_cc_flag_unused_command_line_argument=yes
   15966 else $as_nop
   15967   xorg_cv_cc_flag_unused_command_line_argument=no
   15968 fi
   15969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15970 fi
   15971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15972 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15974 	CFLAGS="$xorg_testset_save_CFLAGS"
   15975 fi
   15976 
   15977 found="no"
   15978 
   15979 	if test $found = "no" ; then
   15980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15982 		fi
   15983 
   15984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15986 		fi
   15987 
   15988 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15989 
   15990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15991 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15992 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15993 		if eval test \${$cacheid+y}
   15994 then :
   15995   printf %s "(cached) " >&6
   15996 else $as_nop
   15997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15998 /* end confdefs.h.  */
   15999 int i;
   16000 int
   16001 main (void)
   16002 {
   16003 
   16004   ;
   16005   return 0;
   16006 }
   16007 _ACEOF
   16008 if ac_fn_c_try_link "$LINENO"
   16009 then :
   16010   eval $cacheid=yes
   16011 else $as_nop
   16012   eval $cacheid=no
   16013 fi
   16014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16015     conftest$ac_exeext conftest.$ac_ext
   16016 fi
   16017 
   16018 
   16019 		CFLAGS="$xorg_testset_save_CFLAGS"
   16020 
   16021 		eval supported=\$$cacheid
   16022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16023 printf "%s\n" "$supported" >&6; }
   16024 		if test "$supported" = "yes" ; then
   16025 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16026 			found="yes"
   16027 		fi
   16028 	fi
   16029 
   16030 
   16031 
   16032 
   16033 
   16034 
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 xorg_testset_save_CFLAGS="$CFLAGS"
   16045 
   16046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16051 then :
   16052   printf %s "(cached) " >&6
   16053 else $as_nop
   16054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16055 /* end confdefs.h.  */
   16056 int i;
   16057 _ACEOF
   16058 if ac_fn_c_try_compile "$LINENO"
   16059 then :
   16060   xorg_cv_cc_flag_unknown_warning_option=yes
   16061 else $as_nop
   16062   xorg_cv_cc_flag_unknown_warning_option=no
   16063 fi
   16064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16065 fi
   16066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16067 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16069 	CFLAGS="$xorg_testset_save_CFLAGS"
   16070 fi
   16071 
   16072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16075 	fi
   16076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16078 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16079 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16080 then :
   16081   printf %s "(cached) " >&6
   16082 else $as_nop
   16083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16084 /* end confdefs.h.  */
   16085 int i;
   16086 _ACEOF
   16087 if ac_fn_c_try_compile "$LINENO"
   16088 then :
   16089   xorg_cv_cc_flag_unused_command_line_argument=yes
   16090 else $as_nop
   16091   xorg_cv_cc_flag_unused_command_line_argument=no
   16092 fi
   16093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16094 fi
   16095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16096 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16098 	CFLAGS="$xorg_testset_save_CFLAGS"
   16099 fi
   16100 
   16101 found="no"
   16102 
   16103 	if test $found = "no" ; then
   16104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16106 		fi
   16107 
   16108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16110 		fi
   16111 
   16112 		CFLAGS="$CFLAGS -Werror=return-type"
   16113 
   16114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16115 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16116 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16117 		if eval test \${$cacheid+y}
   16118 then :
   16119   printf %s "(cached) " >&6
   16120 else $as_nop
   16121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16122 /* end confdefs.h.  */
   16123 int i;
   16124 int
   16125 main (void)
   16126 {
   16127 
   16128   ;
   16129   return 0;
   16130 }
   16131 _ACEOF
   16132 if ac_fn_c_try_link "$LINENO"
   16133 then :
   16134   eval $cacheid=yes
   16135 else $as_nop
   16136   eval $cacheid=no
   16137 fi
   16138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16139     conftest$ac_exeext conftest.$ac_ext
   16140 fi
   16141 
   16142 
   16143 		CFLAGS="$xorg_testset_save_CFLAGS"
   16144 
   16145 		eval supported=\$$cacheid
   16146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16147 printf "%s\n" "$supported" >&6; }
   16148 		if test "$supported" = "yes" ; then
   16149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16150 			found="yes"
   16151 		fi
   16152 	fi
   16153 
   16154 	if test $found = "no" ; then
   16155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16157 		fi
   16158 
   16159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16161 		fi
   16162 
   16163 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16164 
   16165 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16166 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16167 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16168 		if eval test \${$cacheid+y}
   16169 then :
   16170   printf %s "(cached) " >&6
   16171 else $as_nop
   16172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16173 /* end confdefs.h.  */
   16174 int i;
   16175 int
   16176 main (void)
   16177 {
   16178 
   16179   ;
   16180   return 0;
   16181 }
   16182 _ACEOF
   16183 if ac_fn_c_try_link "$LINENO"
   16184 then :
   16185   eval $cacheid=yes
   16186 else $as_nop
   16187   eval $cacheid=no
   16188 fi
   16189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16190     conftest$ac_exeext conftest.$ac_ext
   16191 fi
   16192 
   16193 
   16194 		CFLAGS="$xorg_testset_save_CFLAGS"
   16195 
   16196 		eval supported=\$$cacheid
   16197 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16198 printf "%s\n" "$supported" >&6; }
   16199 		if test "$supported" = "yes" ; then
   16200 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16201 			found="yes"
   16202 		fi
   16203 	fi
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 xorg_testset_save_CFLAGS="$CFLAGS"
   16220 
   16221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16223 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16224 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16225 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16226 then :
   16227   printf %s "(cached) " >&6
   16228 else $as_nop
   16229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16230 /* end confdefs.h.  */
   16231 int i;
   16232 _ACEOF
   16233 if ac_fn_c_try_compile "$LINENO"
   16234 then :
   16235   xorg_cv_cc_flag_unknown_warning_option=yes
   16236 else $as_nop
   16237   xorg_cv_cc_flag_unknown_warning_option=no
   16238 fi
   16239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16240 fi
   16241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16242 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16244 	CFLAGS="$xorg_testset_save_CFLAGS"
   16245 fi
   16246 
   16247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16250 	fi
   16251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16253 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16254 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16255 then :
   16256   printf %s "(cached) " >&6
   16257 else $as_nop
   16258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16259 /* end confdefs.h.  */
   16260 int i;
   16261 _ACEOF
   16262 if ac_fn_c_try_compile "$LINENO"
   16263 then :
   16264   xorg_cv_cc_flag_unused_command_line_argument=yes
   16265 else $as_nop
   16266   xorg_cv_cc_flag_unused_command_line_argument=no
   16267 fi
   16268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16269 fi
   16270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16271 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16272 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16273 	CFLAGS="$xorg_testset_save_CFLAGS"
   16274 fi
   16275 
   16276 found="no"
   16277 
   16278 	if test $found = "no" ; then
   16279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16281 		fi
   16282 
   16283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16285 		fi
   16286 
   16287 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16288 
   16289 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16290 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16291 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16292 		if eval test \${$cacheid+y}
   16293 then :
   16294   printf %s "(cached) " >&6
   16295 else $as_nop
   16296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16297 /* end confdefs.h.  */
   16298 int i;
   16299 int
   16300 main (void)
   16301 {
   16302 
   16303   ;
   16304   return 0;
   16305 }
   16306 _ACEOF
   16307 if ac_fn_c_try_link "$LINENO"
   16308 then :
   16309   eval $cacheid=yes
   16310 else $as_nop
   16311   eval $cacheid=no
   16312 fi
   16313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16314     conftest$ac_exeext conftest.$ac_ext
   16315 fi
   16316 
   16317 
   16318 		CFLAGS="$xorg_testset_save_CFLAGS"
   16319 
   16320 		eval supported=\$$cacheid
   16321 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16322 printf "%s\n" "$supported" >&6; }
   16323 		if test "$supported" = "yes" ; then
   16324 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16325 			found="yes"
   16326 		fi
   16327 	fi
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 xorg_testset_save_CFLAGS="$CFLAGS"
   16344 
   16345 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16346 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16347 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16348 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16349 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16350 then :
   16351   printf %s "(cached) " >&6
   16352 else $as_nop
   16353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16354 /* end confdefs.h.  */
   16355 int i;
   16356 _ACEOF
   16357 if ac_fn_c_try_compile "$LINENO"
   16358 then :
   16359   xorg_cv_cc_flag_unknown_warning_option=yes
   16360 else $as_nop
   16361   xorg_cv_cc_flag_unknown_warning_option=no
   16362 fi
   16363 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16364 fi
   16365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16366 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16368 	CFLAGS="$xorg_testset_save_CFLAGS"
   16369 fi
   16370 
   16371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16374 	fi
   16375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16376 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16377 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16378 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16379 then :
   16380   printf %s "(cached) " >&6
   16381 else $as_nop
   16382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16383 /* end confdefs.h.  */
   16384 int i;
   16385 _ACEOF
   16386 if ac_fn_c_try_compile "$LINENO"
   16387 then :
   16388   xorg_cv_cc_flag_unused_command_line_argument=yes
   16389 else $as_nop
   16390   xorg_cv_cc_flag_unused_command_line_argument=no
   16391 fi
   16392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16393 fi
   16394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16395 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16396 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16397 	CFLAGS="$xorg_testset_save_CFLAGS"
   16398 fi
   16399 
   16400 found="no"
   16401 
   16402 	if test $found = "no" ; then
   16403 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16404 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16405 		fi
   16406 
   16407 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16408 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16409 		fi
   16410 
   16411 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16412 
   16413 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16414 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16415 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16416 		if eval test \${$cacheid+y}
   16417 then :
   16418   printf %s "(cached) " >&6
   16419 else $as_nop
   16420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16421 /* end confdefs.h.  */
   16422 int i;
   16423 int
   16424 main (void)
   16425 {
   16426 
   16427   ;
   16428   return 0;
   16429 }
   16430 _ACEOF
   16431 if ac_fn_c_try_link "$LINENO"
   16432 then :
   16433   eval $cacheid=yes
   16434 else $as_nop
   16435   eval $cacheid=no
   16436 fi
   16437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16438     conftest$ac_exeext conftest.$ac_ext
   16439 fi
   16440 
   16441 
   16442 		CFLAGS="$xorg_testset_save_CFLAGS"
   16443 
   16444 		eval supported=\$$cacheid
   16445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16446 printf "%s\n" "$supported" >&6; }
   16447 		if test "$supported" = "yes" ; then
   16448 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16449 			found="yes"
   16450 		fi
   16451 	fi
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 xorg_testset_save_CFLAGS="$CFLAGS"
   16468 
   16469 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16470 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16471 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16472 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16473 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16474 then :
   16475   printf %s "(cached) " >&6
   16476 else $as_nop
   16477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16478 /* end confdefs.h.  */
   16479 int i;
   16480 _ACEOF
   16481 if ac_fn_c_try_compile "$LINENO"
   16482 then :
   16483   xorg_cv_cc_flag_unknown_warning_option=yes
   16484 else $as_nop
   16485   xorg_cv_cc_flag_unknown_warning_option=no
   16486 fi
   16487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16488 fi
   16489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16490 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16492 	CFLAGS="$xorg_testset_save_CFLAGS"
   16493 fi
   16494 
   16495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16498 	fi
   16499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16501 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16502 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16503 then :
   16504   printf %s "(cached) " >&6
   16505 else $as_nop
   16506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16507 /* end confdefs.h.  */
   16508 int i;
   16509 _ACEOF
   16510 if ac_fn_c_try_compile "$LINENO"
   16511 then :
   16512   xorg_cv_cc_flag_unused_command_line_argument=yes
   16513 else $as_nop
   16514   xorg_cv_cc_flag_unused_command_line_argument=no
   16515 fi
   16516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16517 fi
   16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16519 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16521 	CFLAGS="$xorg_testset_save_CFLAGS"
   16522 fi
   16523 
   16524 found="no"
   16525 
   16526 	if test $found = "no" ; then
   16527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16529 		fi
   16530 
   16531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16533 		fi
   16534 
   16535 		CFLAGS="$CFLAGS -Werror=write-strings"
   16536 
   16537 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16538 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16539 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16540 		if eval test \${$cacheid+y}
   16541 then :
   16542   printf %s "(cached) " >&6
   16543 else $as_nop
   16544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16545 /* end confdefs.h.  */
   16546 int i;
   16547 int
   16548 main (void)
   16549 {
   16550 
   16551   ;
   16552   return 0;
   16553 }
   16554 _ACEOF
   16555 if ac_fn_c_try_link "$LINENO"
   16556 then :
   16557   eval $cacheid=yes
   16558 else $as_nop
   16559   eval $cacheid=no
   16560 fi
   16561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16562     conftest$ac_exeext conftest.$ac_ext
   16563 fi
   16564 
   16565 
   16566 		CFLAGS="$xorg_testset_save_CFLAGS"
   16567 
   16568 		eval supported=\$$cacheid
   16569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16570 printf "%s\n" "$supported" >&6; }
   16571 		if test "$supported" = "yes" ; then
   16572 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16573 			found="yes"
   16574 		fi
   16575 	fi
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 xorg_testset_save_CFLAGS="$CFLAGS"
   16592 
   16593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16596 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16597 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16598 then :
   16599   printf %s "(cached) " >&6
   16600 else $as_nop
   16601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16602 /* end confdefs.h.  */
   16603 int i;
   16604 _ACEOF
   16605 if ac_fn_c_try_compile "$LINENO"
   16606 then :
   16607   xorg_cv_cc_flag_unknown_warning_option=yes
   16608 else $as_nop
   16609   xorg_cv_cc_flag_unknown_warning_option=no
   16610 fi
   16611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16612 fi
   16613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16614 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16616 	CFLAGS="$xorg_testset_save_CFLAGS"
   16617 fi
   16618 
   16619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16622 	fi
   16623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16625 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16626 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16627 then :
   16628   printf %s "(cached) " >&6
   16629 else $as_nop
   16630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16631 /* end confdefs.h.  */
   16632 int i;
   16633 _ACEOF
   16634 if ac_fn_c_try_compile "$LINENO"
   16635 then :
   16636   xorg_cv_cc_flag_unused_command_line_argument=yes
   16637 else $as_nop
   16638   xorg_cv_cc_flag_unused_command_line_argument=no
   16639 fi
   16640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16641 fi
   16642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16643 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16645 	CFLAGS="$xorg_testset_save_CFLAGS"
   16646 fi
   16647 
   16648 found="no"
   16649 
   16650 	if test $found = "no" ; then
   16651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16653 		fi
   16654 
   16655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16657 		fi
   16658 
   16659 		CFLAGS="$CFLAGS -Werror=address"
   16660 
   16661 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16662 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16663 		cacheid=xorg_cv_cc_flag__Werror_address
   16664 		if eval test \${$cacheid+y}
   16665 then :
   16666   printf %s "(cached) " >&6
   16667 else $as_nop
   16668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16669 /* end confdefs.h.  */
   16670 int i;
   16671 int
   16672 main (void)
   16673 {
   16674 
   16675   ;
   16676   return 0;
   16677 }
   16678 _ACEOF
   16679 if ac_fn_c_try_link "$LINENO"
   16680 then :
   16681   eval $cacheid=yes
   16682 else $as_nop
   16683   eval $cacheid=no
   16684 fi
   16685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16686     conftest$ac_exeext conftest.$ac_ext
   16687 fi
   16688 
   16689 
   16690 		CFLAGS="$xorg_testset_save_CFLAGS"
   16691 
   16692 		eval supported=\$$cacheid
   16693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16694 printf "%s\n" "$supported" >&6; }
   16695 		if test "$supported" = "yes" ; then
   16696 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16697 			found="yes"
   16698 		fi
   16699 	fi
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 xorg_testset_save_CFLAGS="$CFLAGS"
   16716 
   16717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16720 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16721 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16722 then :
   16723   printf %s "(cached) " >&6
   16724 else $as_nop
   16725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16726 /* end confdefs.h.  */
   16727 int i;
   16728 _ACEOF
   16729 if ac_fn_c_try_compile "$LINENO"
   16730 then :
   16731   xorg_cv_cc_flag_unknown_warning_option=yes
   16732 else $as_nop
   16733   xorg_cv_cc_flag_unknown_warning_option=no
   16734 fi
   16735 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16736 fi
   16737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16738 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16740 	CFLAGS="$xorg_testset_save_CFLAGS"
   16741 fi
   16742 
   16743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16746 	fi
   16747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16749 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16750 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16751 then :
   16752   printf %s "(cached) " >&6
   16753 else $as_nop
   16754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16755 /* end confdefs.h.  */
   16756 int i;
   16757 _ACEOF
   16758 if ac_fn_c_try_compile "$LINENO"
   16759 then :
   16760   xorg_cv_cc_flag_unused_command_line_argument=yes
   16761 else $as_nop
   16762   xorg_cv_cc_flag_unused_command_line_argument=no
   16763 fi
   16764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16765 fi
   16766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16767 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16769 	CFLAGS="$xorg_testset_save_CFLAGS"
   16770 fi
   16771 
   16772 found="no"
   16773 
   16774 	if test $found = "no" ; then
   16775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16777 		fi
   16778 
   16779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16781 		fi
   16782 
   16783 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16784 
   16785 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16786 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16787 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16788 		if eval test \${$cacheid+y}
   16789 then :
   16790   printf %s "(cached) " >&6
   16791 else $as_nop
   16792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16793 /* end confdefs.h.  */
   16794 int i;
   16795 int
   16796 main (void)
   16797 {
   16798 
   16799   ;
   16800   return 0;
   16801 }
   16802 _ACEOF
   16803 if ac_fn_c_try_link "$LINENO"
   16804 then :
   16805   eval $cacheid=yes
   16806 else $as_nop
   16807   eval $cacheid=no
   16808 fi
   16809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16810     conftest$ac_exeext conftest.$ac_ext
   16811 fi
   16812 
   16813 
   16814 		CFLAGS="$xorg_testset_save_CFLAGS"
   16815 
   16816 		eval supported=\$$cacheid
   16817 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16818 printf "%s\n" "$supported" >&6; }
   16819 		if test "$supported" = "yes" ; then
   16820 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16821 			found="yes"
   16822 		fi
   16823 	fi
   16824 
   16825 	if test $found = "no" ; then
   16826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16828 		fi
   16829 
   16830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16832 		fi
   16833 
   16834 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16835 
   16836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16837 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16838 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16839 		if eval test \${$cacheid+y}
   16840 then :
   16841   printf %s "(cached) " >&6
   16842 else $as_nop
   16843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16844 /* end confdefs.h.  */
   16845 int i;
   16846 int
   16847 main (void)
   16848 {
   16849 
   16850   ;
   16851   return 0;
   16852 }
   16853 _ACEOF
   16854 if ac_fn_c_try_link "$LINENO"
   16855 then :
   16856   eval $cacheid=yes
   16857 else $as_nop
   16858   eval $cacheid=no
   16859 fi
   16860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16861     conftest$ac_exeext conftest.$ac_ext
   16862 fi
   16863 
   16864 
   16865 		CFLAGS="$xorg_testset_save_CFLAGS"
   16866 
   16867 		eval supported=\$$cacheid
   16868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16869 printf "%s\n" "$supported" >&6; }
   16870 		if test "$supported" = "yes" ; then
   16871 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16872 			found="yes"
   16873 		fi
   16874 	fi
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882 
   16883 
   16884 
   16885 
   16886 
   16887 
   16888 
   16889 
   16890 xorg_testset_save_CFLAGS="$CFLAGS"
   16891 
   16892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16895 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16896 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16897 then :
   16898   printf %s "(cached) " >&6
   16899 else $as_nop
   16900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16901 /* end confdefs.h.  */
   16902 int i;
   16903 _ACEOF
   16904 if ac_fn_c_try_compile "$LINENO"
   16905 then :
   16906   xorg_cv_cc_flag_unknown_warning_option=yes
   16907 else $as_nop
   16908   xorg_cv_cc_flag_unknown_warning_option=no
   16909 fi
   16910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16911 fi
   16912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16913 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16915 	CFLAGS="$xorg_testset_save_CFLAGS"
   16916 fi
   16917 
   16918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16921 	fi
   16922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16924 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16925 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16926 then :
   16927   printf %s "(cached) " >&6
   16928 else $as_nop
   16929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16930 /* end confdefs.h.  */
   16931 int i;
   16932 _ACEOF
   16933 if ac_fn_c_try_compile "$LINENO"
   16934 then :
   16935   xorg_cv_cc_flag_unused_command_line_argument=yes
   16936 else $as_nop
   16937   xorg_cv_cc_flag_unused_command_line_argument=no
   16938 fi
   16939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16940 fi
   16941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16942 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16944 	CFLAGS="$xorg_testset_save_CFLAGS"
   16945 fi
   16946 
   16947 found="no"
   16948 
   16949 	if test $found = "no" ; then
   16950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16952 		fi
   16953 
   16954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16956 		fi
   16957 
   16958 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16959 
   16960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16961 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16962 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16963 		if eval test \${$cacheid+y}
   16964 then :
   16965   printf %s "(cached) " >&6
   16966 else $as_nop
   16967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16968 /* end confdefs.h.  */
   16969 int i;
   16970 int
   16971 main (void)
   16972 {
   16973 
   16974   ;
   16975   return 0;
   16976 }
   16977 _ACEOF
   16978 if ac_fn_c_try_link "$LINENO"
   16979 then :
   16980   eval $cacheid=yes
   16981 else $as_nop
   16982   eval $cacheid=no
   16983 fi
   16984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16985     conftest$ac_exeext conftest.$ac_ext
   16986 fi
   16987 
   16988 
   16989 		CFLAGS="$xorg_testset_save_CFLAGS"
   16990 
   16991 		eval supported=\$$cacheid
   16992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16993 printf "%s\n" "$supported" >&6; }
   16994 		if test "$supported" = "yes" ; then
   16995 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16996 			found="yes"
   16997 		fi
   16998 	fi
   16999 
   17000  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17001 else
   17002 { printf "%s\n" "$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
   17003 printf "%s\n" "$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;}
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 xorg_testset_save_CFLAGS="$CFLAGS"
   17018 
   17019 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17020 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17021 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17022 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17023 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17024 then :
   17025   printf %s "(cached) " >&6
   17026 else $as_nop
   17027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17028 /* end confdefs.h.  */
   17029 int i;
   17030 _ACEOF
   17031 if ac_fn_c_try_compile "$LINENO"
   17032 then :
   17033   xorg_cv_cc_flag_unknown_warning_option=yes
   17034 else $as_nop
   17035   xorg_cv_cc_flag_unknown_warning_option=no
   17036 fi
   17037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17038 fi
   17039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17040 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17042 	CFLAGS="$xorg_testset_save_CFLAGS"
   17043 fi
   17044 
   17045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17048 	fi
   17049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17051 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17052 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17053 then :
   17054   printf %s "(cached) " >&6
   17055 else $as_nop
   17056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17057 /* end confdefs.h.  */
   17058 int i;
   17059 _ACEOF
   17060 if ac_fn_c_try_compile "$LINENO"
   17061 then :
   17062   xorg_cv_cc_flag_unused_command_line_argument=yes
   17063 else $as_nop
   17064   xorg_cv_cc_flag_unused_command_line_argument=no
   17065 fi
   17066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17067 fi
   17068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17069 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17071 	CFLAGS="$xorg_testset_save_CFLAGS"
   17072 fi
   17073 
   17074 found="no"
   17075 
   17076 	if test $found = "no" ; then
   17077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17079 		fi
   17080 
   17081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17083 		fi
   17084 
   17085 		CFLAGS="$CFLAGS -Wimplicit"
   17086 
   17087 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17088 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17089 		cacheid=xorg_cv_cc_flag__Wimplicit
   17090 		if eval test \${$cacheid+y}
   17091 then :
   17092   printf %s "(cached) " >&6
   17093 else $as_nop
   17094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17095 /* end confdefs.h.  */
   17096 int i;
   17097 int
   17098 main (void)
   17099 {
   17100 
   17101   ;
   17102   return 0;
   17103 }
   17104 _ACEOF
   17105 if ac_fn_c_try_link "$LINENO"
   17106 then :
   17107   eval $cacheid=yes
   17108 else $as_nop
   17109   eval $cacheid=no
   17110 fi
   17111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17112     conftest$ac_exeext conftest.$ac_ext
   17113 fi
   17114 
   17115 
   17116 		CFLAGS="$xorg_testset_save_CFLAGS"
   17117 
   17118 		eval supported=\$$cacheid
   17119 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17120 printf "%s\n" "$supported" >&6; }
   17121 		if test "$supported" = "yes" ; then
   17122 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17123 			found="yes"
   17124 		fi
   17125 	fi
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 xorg_testset_save_CFLAGS="$CFLAGS"
   17142 
   17143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17145 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17146 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17147 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17148 then :
   17149   printf %s "(cached) " >&6
   17150 else $as_nop
   17151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17152 /* end confdefs.h.  */
   17153 int i;
   17154 _ACEOF
   17155 if ac_fn_c_try_compile "$LINENO"
   17156 then :
   17157   xorg_cv_cc_flag_unknown_warning_option=yes
   17158 else $as_nop
   17159   xorg_cv_cc_flag_unknown_warning_option=no
   17160 fi
   17161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17162 fi
   17163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17164 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17166 	CFLAGS="$xorg_testset_save_CFLAGS"
   17167 fi
   17168 
   17169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17172 	fi
   17173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17175 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17176 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17177 then :
   17178   printf %s "(cached) " >&6
   17179 else $as_nop
   17180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17181 /* end confdefs.h.  */
   17182 int i;
   17183 _ACEOF
   17184 if ac_fn_c_try_compile "$LINENO"
   17185 then :
   17186   xorg_cv_cc_flag_unused_command_line_argument=yes
   17187 else $as_nop
   17188   xorg_cv_cc_flag_unused_command_line_argument=no
   17189 fi
   17190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17191 fi
   17192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17193 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17195 	CFLAGS="$xorg_testset_save_CFLAGS"
   17196 fi
   17197 
   17198 found="no"
   17199 
   17200 	if test $found = "no" ; then
   17201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17203 		fi
   17204 
   17205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17207 		fi
   17208 
   17209 		CFLAGS="$CFLAGS -Wnonnull"
   17210 
   17211 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17212 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17213 		cacheid=xorg_cv_cc_flag__Wnonnull
   17214 		if eval test \${$cacheid+y}
   17215 then :
   17216   printf %s "(cached) " >&6
   17217 else $as_nop
   17218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17219 /* end confdefs.h.  */
   17220 int i;
   17221 int
   17222 main (void)
   17223 {
   17224 
   17225   ;
   17226   return 0;
   17227 }
   17228 _ACEOF
   17229 if ac_fn_c_try_link "$LINENO"
   17230 then :
   17231   eval $cacheid=yes
   17232 else $as_nop
   17233   eval $cacheid=no
   17234 fi
   17235 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17236     conftest$ac_exeext conftest.$ac_ext
   17237 fi
   17238 
   17239 
   17240 		CFLAGS="$xorg_testset_save_CFLAGS"
   17241 
   17242 		eval supported=\$$cacheid
   17243 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17244 printf "%s\n" "$supported" >&6; }
   17245 		if test "$supported" = "yes" ; then
   17246 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17247 			found="yes"
   17248 		fi
   17249 	fi
   17250 
   17251 
   17252 
   17253 
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 
   17262 
   17263 
   17264 
   17265 xorg_testset_save_CFLAGS="$CFLAGS"
   17266 
   17267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17269 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17270 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17271 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17272 then :
   17273   printf %s "(cached) " >&6
   17274 else $as_nop
   17275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17276 /* end confdefs.h.  */
   17277 int i;
   17278 _ACEOF
   17279 if ac_fn_c_try_compile "$LINENO"
   17280 then :
   17281   xorg_cv_cc_flag_unknown_warning_option=yes
   17282 else $as_nop
   17283   xorg_cv_cc_flag_unknown_warning_option=no
   17284 fi
   17285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17286 fi
   17287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17288 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17290 	CFLAGS="$xorg_testset_save_CFLAGS"
   17291 fi
   17292 
   17293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17296 	fi
   17297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17299 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17300 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17301 then :
   17302   printf %s "(cached) " >&6
   17303 else $as_nop
   17304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17305 /* end confdefs.h.  */
   17306 int i;
   17307 _ACEOF
   17308 if ac_fn_c_try_compile "$LINENO"
   17309 then :
   17310   xorg_cv_cc_flag_unused_command_line_argument=yes
   17311 else $as_nop
   17312   xorg_cv_cc_flag_unused_command_line_argument=no
   17313 fi
   17314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17315 fi
   17316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17317 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17319 	CFLAGS="$xorg_testset_save_CFLAGS"
   17320 fi
   17321 
   17322 found="no"
   17323 
   17324 	if test $found = "no" ; then
   17325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17327 		fi
   17328 
   17329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17331 		fi
   17332 
   17333 		CFLAGS="$CFLAGS -Winit-self"
   17334 
   17335 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17336 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17337 		cacheid=xorg_cv_cc_flag__Winit_self
   17338 		if eval test \${$cacheid+y}
   17339 then :
   17340   printf %s "(cached) " >&6
   17341 else $as_nop
   17342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17343 /* end confdefs.h.  */
   17344 int i;
   17345 int
   17346 main (void)
   17347 {
   17348 
   17349   ;
   17350   return 0;
   17351 }
   17352 _ACEOF
   17353 if ac_fn_c_try_link "$LINENO"
   17354 then :
   17355   eval $cacheid=yes
   17356 else $as_nop
   17357   eval $cacheid=no
   17358 fi
   17359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17360     conftest$ac_exeext conftest.$ac_ext
   17361 fi
   17362 
   17363 
   17364 		CFLAGS="$xorg_testset_save_CFLAGS"
   17365 
   17366 		eval supported=\$$cacheid
   17367 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17368 printf "%s\n" "$supported" >&6; }
   17369 		if test "$supported" = "yes" ; then
   17370 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17371 			found="yes"
   17372 		fi
   17373 	fi
   17374 
   17375 
   17376 
   17377 
   17378 
   17379 
   17380 
   17381 
   17382 
   17383 
   17384 
   17385 
   17386 
   17387 
   17388 
   17389 xorg_testset_save_CFLAGS="$CFLAGS"
   17390 
   17391 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17392 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17394 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17395 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17396 then :
   17397   printf %s "(cached) " >&6
   17398 else $as_nop
   17399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17400 /* end confdefs.h.  */
   17401 int i;
   17402 _ACEOF
   17403 if ac_fn_c_try_compile "$LINENO"
   17404 then :
   17405   xorg_cv_cc_flag_unknown_warning_option=yes
   17406 else $as_nop
   17407   xorg_cv_cc_flag_unknown_warning_option=no
   17408 fi
   17409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17410 fi
   17411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17412 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17414 	CFLAGS="$xorg_testset_save_CFLAGS"
   17415 fi
   17416 
   17417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17420 	fi
   17421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17423 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17424 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17425 then :
   17426   printf %s "(cached) " >&6
   17427 else $as_nop
   17428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17429 /* end confdefs.h.  */
   17430 int i;
   17431 _ACEOF
   17432 if ac_fn_c_try_compile "$LINENO"
   17433 then :
   17434   xorg_cv_cc_flag_unused_command_line_argument=yes
   17435 else $as_nop
   17436   xorg_cv_cc_flag_unused_command_line_argument=no
   17437 fi
   17438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17439 fi
   17440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17441 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17443 	CFLAGS="$xorg_testset_save_CFLAGS"
   17444 fi
   17445 
   17446 found="no"
   17447 
   17448 	if test $found = "no" ; then
   17449 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17451 		fi
   17452 
   17453 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17455 		fi
   17456 
   17457 		CFLAGS="$CFLAGS -Wmain"
   17458 
   17459 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17460 printf %s "checking if $CC supports -Wmain... " >&6; }
   17461 		cacheid=xorg_cv_cc_flag__Wmain
   17462 		if eval test \${$cacheid+y}
   17463 then :
   17464   printf %s "(cached) " >&6
   17465 else $as_nop
   17466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17467 /* end confdefs.h.  */
   17468 int i;
   17469 int
   17470 main (void)
   17471 {
   17472 
   17473   ;
   17474   return 0;
   17475 }
   17476 _ACEOF
   17477 if ac_fn_c_try_link "$LINENO"
   17478 then :
   17479   eval $cacheid=yes
   17480 else $as_nop
   17481   eval $cacheid=no
   17482 fi
   17483 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17484     conftest$ac_exeext conftest.$ac_ext
   17485 fi
   17486 
   17487 
   17488 		CFLAGS="$xorg_testset_save_CFLAGS"
   17489 
   17490 		eval supported=\$$cacheid
   17491 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17492 printf "%s\n" "$supported" >&6; }
   17493 		if test "$supported" = "yes" ; then
   17494 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17495 			found="yes"
   17496 		fi
   17497 	fi
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 
   17507 
   17508 
   17509 
   17510 
   17511 
   17512 
   17513 xorg_testset_save_CFLAGS="$CFLAGS"
   17514 
   17515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17518 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17519 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17520 then :
   17521   printf %s "(cached) " >&6
   17522 else $as_nop
   17523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17524 /* end confdefs.h.  */
   17525 int i;
   17526 _ACEOF
   17527 if ac_fn_c_try_compile "$LINENO"
   17528 then :
   17529   xorg_cv_cc_flag_unknown_warning_option=yes
   17530 else $as_nop
   17531   xorg_cv_cc_flag_unknown_warning_option=no
   17532 fi
   17533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17534 fi
   17535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17536 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17538 	CFLAGS="$xorg_testset_save_CFLAGS"
   17539 fi
   17540 
   17541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17544 	fi
   17545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17546 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17547 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17548 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17549 then :
   17550   printf %s "(cached) " >&6
   17551 else $as_nop
   17552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17553 /* end confdefs.h.  */
   17554 int i;
   17555 _ACEOF
   17556 if ac_fn_c_try_compile "$LINENO"
   17557 then :
   17558   xorg_cv_cc_flag_unused_command_line_argument=yes
   17559 else $as_nop
   17560   xorg_cv_cc_flag_unused_command_line_argument=no
   17561 fi
   17562 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17563 fi
   17564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17565 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17566 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17567 	CFLAGS="$xorg_testset_save_CFLAGS"
   17568 fi
   17569 
   17570 found="no"
   17571 
   17572 	if test $found = "no" ; then
   17573 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17574 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17575 		fi
   17576 
   17577 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17578 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17579 		fi
   17580 
   17581 		CFLAGS="$CFLAGS -Wmissing-braces"
   17582 
   17583 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17584 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17585 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17586 		if eval test \${$cacheid+y}
   17587 then :
   17588   printf %s "(cached) " >&6
   17589 else $as_nop
   17590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17591 /* end confdefs.h.  */
   17592 int i;
   17593 int
   17594 main (void)
   17595 {
   17596 
   17597   ;
   17598   return 0;
   17599 }
   17600 _ACEOF
   17601 if ac_fn_c_try_link "$LINENO"
   17602 then :
   17603   eval $cacheid=yes
   17604 else $as_nop
   17605   eval $cacheid=no
   17606 fi
   17607 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17608     conftest$ac_exeext conftest.$ac_ext
   17609 fi
   17610 
   17611 
   17612 		CFLAGS="$xorg_testset_save_CFLAGS"
   17613 
   17614 		eval supported=\$$cacheid
   17615 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17616 printf "%s\n" "$supported" >&6; }
   17617 		if test "$supported" = "yes" ; then
   17618 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17619 			found="yes"
   17620 		fi
   17621 	fi
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 xorg_testset_save_CFLAGS="$CFLAGS"
   17638 
   17639 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17640 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17641 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17642 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17643 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17644 then :
   17645   printf %s "(cached) " >&6
   17646 else $as_nop
   17647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17648 /* end confdefs.h.  */
   17649 int i;
   17650 _ACEOF
   17651 if ac_fn_c_try_compile "$LINENO"
   17652 then :
   17653   xorg_cv_cc_flag_unknown_warning_option=yes
   17654 else $as_nop
   17655   xorg_cv_cc_flag_unknown_warning_option=no
   17656 fi
   17657 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17658 fi
   17659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17660 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17661 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17662 	CFLAGS="$xorg_testset_save_CFLAGS"
   17663 fi
   17664 
   17665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17666 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17667 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17668 	fi
   17669 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17670 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17671 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17672 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17673 then :
   17674   printf %s "(cached) " >&6
   17675 else $as_nop
   17676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17677 /* end confdefs.h.  */
   17678 int i;
   17679 _ACEOF
   17680 if ac_fn_c_try_compile "$LINENO"
   17681 then :
   17682   xorg_cv_cc_flag_unused_command_line_argument=yes
   17683 else $as_nop
   17684   xorg_cv_cc_flag_unused_command_line_argument=no
   17685 fi
   17686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17687 fi
   17688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17689 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17690 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17691 	CFLAGS="$xorg_testset_save_CFLAGS"
   17692 fi
   17693 
   17694 found="no"
   17695 
   17696 	if test $found = "no" ; then
   17697 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17698 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17699 		fi
   17700 
   17701 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17702 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17703 		fi
   17704 
   17705 		CFLAGS="$CFLAGS -Wsequence-point"
   17706 
   17707 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17708 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17709 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17710 		if eval test \${$cacheid+y}
   17711 then :
   17712   printf %s "(cached) " >&6
   17713 else $as_nop
   17714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17715 /* end confdefs.h.  */
   17716 int i;
   17717 int
   17718 main (void)
   17719 {
   17720 
   17721   ;
   17722   return 0;
   17723 }
   17724 _ACEOF
   17725 if ac_fn_c_try_link "$LINENO"
   17726 then :
   17727   eval $cacheid=yes
   17728 else $as_nop
   17729   eval $cacheid=no
   17730 fi
   17731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17732     conftest$ac_exeext conftest.$ac_ext
   17733 fi
   17734 
   17735 
   17736 		CFLAGS="$xorg_testset_save_CFLAGS"
   17737 
   17738 		eval supported=\$$cacheid
   17739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17740 printf "%s\n" "$supported" >&6; }
   17741 		if test "$supported" = "yes" ; then
   17742 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17743 			found="yes"
   17744 		fi
   17745 	fi
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 xorg_testset_save_CFLAGS="$CFLAGS"
   17762 
   17763 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17764 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17765 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17766 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17767 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17768 then :
   17769   printf %s "(cached) " >&6
   17770 else $as_nop
   17771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17772 /* end confdefs.h.  */
   17773 int i;
   17774 _ACEOF
   17775 if ac_fn_c_try_compile "$LINENO"
   17776 then :
   17777   xorg_cv_cc_flag_unknown_warning_option=yes
   17778 else $as_nop
   17779   xorg_cv_cc_flag_unknown_warning_option=no
   17780 fi
   17781 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17782 fi
   17783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17784 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17786 	CFLAGS="$xorg_testset_save_CFLAGS"
   17787 fi
   17788 
   17789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17792 	fi
   17793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17795 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17796 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17797 then :
   17798   printf %s "(cached) " >&6
   17799 else $as_nop
   17800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17801 /* end confdefs.h.  */
   17802 int i;
   17803 _ACEOF
   17804 if ac_fn_c_try_compile "$LINENO"
   17805 then :
   17806   xorg_cv_cc_flag_unused_command_line_argument=yes
   17807 else $as_nop
   17808   xorg_cv_cc_flag_unused_command_line_argument=no
   17809 fi
   17810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17811 fi
   17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17813 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17815 	CFLAGS="$xorg_testset_save_CFLAGS"
   17816 fi
   17817 
   17818 found="no"
   17819 
   17820 	if test $found = "no" ; then
   17821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17823 		fi
   17824 
   17825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17827 		fi
   17828 
   17829 		CFLAGS="$CFLAGS -Wreturn-type"
   17830 
   17831 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17832 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17833 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17834 		if eval test \${$cacheid+y}
   17835 then :
   17836   printf %s "(cached) " >&6
   17837 else $as_nop
   17838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17839 /* end confdefs.h.  */
   17840 int i;
   17841 int
   17842 main (void)
   17843 {
   17844 
   17845   ;
   17846   return 0;
   17847 }
   17848 _ACEOF
   17849 if ac_fn_c_try_link "$LINENO"
   17850 then :
   17851   eval $cacheid=yes
   17852 else $as_nop
   17853   eval $cacheid=no
   17854 fi
   17855 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17856     conftest$ac_exeext conftest.$ac_ext
   17857 fi
   17858 
   17859 
   17860 		CFLAGS="$xorg_testset_save_CFLAGS"
   17861 
   17862 		eval supported=\$$cacheid
   17863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17864 printf "%s\n" "$supported" >&6; }
   17865 		if test "$supported" = "yes" ; then
   17866 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17867 			found="yes"
   17868 		fi
   17869 	fi
   17870 
   17871 
   17872 
   17873 
   17874 
   17875 
   17876 
   17877 
   17878 
   17879 
   17880 
   17881 
   17882 
   17883 
   17884 
   17885 xorg_testset_save_CFLAGS="$CFLAGS"
   17886 
   17887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17889 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17890 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17891 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17892 then :
   17893   printf %s "(cached) " >&6
   17894 else $as_nop
   17895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17896 /* end confdefs.h.  */
   17897 int i;
   17898 _ACEOF
   17899 if ac_fn_c_try_compile "$LINENO"
   17900 then :
   17901   xorg_cv_cc_flag_unknown_warning_option=yes
   17902 else $as_nop
   17903   xorg_cv_cc_flag_unknown_warning_option=no
   17904 fi
   17905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17906 fi
   17907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17908 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17910 	CFLAGS="$xorg_testset_save_CFLAGS"
   17911 fi
   17912 
   17913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17916 	fi
   17917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17919 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17920 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17921 then :
   17922   printf %s "(cached) " >&6
   17923 else $as_nop
   17924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17925 /* end confdefs.h.  */
   17926 int i;
   17927 _ACEOF
   17928 if ac_fn_c_try_compile "$LINENO"
   17929 then :
   17930   xorg_cv_cc_flag_unused_command_line_argument=yes
   17931 else $as_nop
   17932   xorg_cv_cc_flag_unused_command_line_argument=no
   17933 fi
   17934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17935 fi
   17936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17937 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17939 	CFLAGS="$xorg_testset_save_CFLAGS"
   17940 fi
   17941 
   17942 found="no"
   17943 
   17944 	if test $found = "no" ; then
   17945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17947 		fi
   17948 
   17949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17951 		fi
   17952 
   17953 		CFLAGS="$CFLAGS -Wtrigraphs"
   17954 
   17955 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17956 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17957 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17958 		if eval test \${$cacheid+y}
   17959 then :
   17960   printf %s "(cached) " >&6
   17961 else $as_nop
   17962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17963 /* end confdefs.h.  */
   17964 int i;
   17965 int
   17966 main (void)
   17967 {
   17968 
   17969   ;
   17970   return 0;
   17971 }
   17972 _ACEOF
   17973 if ac_fn_c_try_link "$LINENO"
   17974 then :
   17975   eval $cacheid=yes
   17976 else $as_nop
   17977   eval $cacheid=no
   17978 fi
   17979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17980     conftest$ac_exeext conftest.$ac_ext
   17981 fi
   17982 
   17983 
   17984 		CFLAGS="$xorg_testset_save_CFLAGS"
   17985 
   17986 		eval supported=\$$cacheid
   17987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17988 printf "%s\n" "$supported" >&6; }
   17989 		if test "$supported" = "yes" ; then
   17990 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17991 			found="yes"
   17992 		fi
   17993 	fi
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 
   18005 
   18006 
   18007 
   18008 
   18009 xorg_testset_save_CFLAGS="$CFLAGS"
   18010 
   18011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18013 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18014 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18015 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18016 then :
   18017   printf %s "(cached) " >&6
   18018 else $as_nop
   18019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18020 /* end confdefs.h.  */
   18021 int i;
   18022 _ACEOF
   18023 if ac_fn_c_try_compile "$LINENO"
   18024 then :
   18025   xorg_cv_cc_flag_unknown_warning_option=yes
   18026 else $as_nop
   18027   xorg_cv_cc_flag_unknown_warning_option=no
   18028 fi
   18029 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18030 fi
   18031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18032 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18034 	CFLAGS="$xorg_testset_save_CFLAGS"
   18035 fi
   18036 
   18037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18040 	fi
   18041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18042 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18043 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18044 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18045 then :
   18046   printf %s "(cached) " >&6
   18047 else $as_nop
   18048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18049 /* end confdefs.h.  */
   18050 int i;
   18051 _ACEOF
   18052 if ac_fn_c_try_compile "$LINENO"
   18053 then :
   18054   xorg_cv_cc_flag_unused_command_line_argument=yes
   18055 else $as_nop
   18056   xorg_cv_cc_flag_unused_command_line_argument=no
   18057 fi
   18058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18059 fi
   18060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18061 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18062 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18063 	CFLAGS="$xorg_testset_save_CFLAGS"
   18064 fi
   18065 
   18066 found="no"
   18067 
   18068 	if test $found = "no" ; then
   18069 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18070 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18071 		fi
   18072 
   18073 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18074 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18075 		fi
   18076 
   18077 		CFLAGS="$CFLAGS -Warray-bounds"
   18078 
   18079 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18080 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18081 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18082 		if eval test \${$cacheid+y}
   18083 then :
   18084   printf %s "(cached) " >&6
   18085 else $as_nop
   18086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18087 /* end confdefs.h.  */
   18088 int i;
   18089 int
   18090 main (void)
   18091 {
   18092 
   18093   ;
   18094   return 0;
   18095 }
   18096 _ACEOF
   18097 if ac_fn_c_try_link "$LINENO"
   18098 then :
   18099   eval $cacheid=yes
   18100 else $as_nop
   18101   eval $cacheid=no
   18102 fi
   18103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18104     conftest$ac_exeext conftest.$ac_ext
   18105 fi
   18106 
   18107 
   18108 		CFLAGS="$xorg_testset_save_CFLAGS"
   18109 
   18110 		eval supported=\$$cacheid
   18111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18112 printf "%s\n" "$supported" >&6; }
   18113 		if test "$supported" = "yes" ; then
   18114 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18115 			found="yes"
   18116 		fi
   18117 	fi
   18118 
   18119 
   18120 
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 
   18127 
   18128 
   18129 
   18130 
   18131 
   18132 
   18133 xorg_testset_save_CFLAGS="$CFLAGS"
   18134 
   18135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18137 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18138 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18139 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18140 then :
   18141   printf %s "(cached) " >&6
   18142 else $as_nop
   18143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18144 /* end confdefs.h.  */
   18145 int i;
   18146 _ACEOF
   18147 if ac_fn_c_try_compile "$LINENO"
   18148 then :
   18149   xorg_cv_cc_flag_unknown_warning_option=yes
   18150 else $as_nop
   18151   xorg_cv_cc_flag_unknown_warning_option=no
   18152 fi
   18153 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18154 fi
   18155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18156 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18157 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18158 	CFLAGS="$xorg_testset_save_CFLAGS"
   18159 fi
   18160 
   18161 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18162 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18164 	fi
   18165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18166 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18167 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18168 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18169 then :
   18170   printf %s "(cached) " >&6
   18171 else $as_nop
   18172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18173 /* end confdefs.h.  */
   18174 int i;
   18175 _ACEOF
   18176 if ac_fn_c_try_compile "$LINENO"
   18177 then :
   18178   xorg_cv_cc_flag_unused_command_line_argument=yes
   18179 else $as_nop
   18180   xorg_cv_cc_flag_unused_command_line_argument=no
   18181 fi
   18182 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18183 fi
   18184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18185 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18187 	CFLAGS="$xorg_testset_save_CFLAGS"
   18188 fi
   18189 
   18190 found="no"
   18191 
   18192 	if test $found = "no" ; then
   18193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18195 		fi
   18196 
   18197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18199 		fi
   18200 
   18201 		CFLAGS="$CFLAGS -Wwrite-strings"
   18202 
   18203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18204 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18205 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18206 		if eval test \${$cacheid+y}
   18207 then :
   18208   printf %s "(cached) " >&6
   18209 else $as_nop
   18210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18211 /* end confdefs.h.  */
   18212 int i;
   18213 int
   18214 main (void)
   18215 {
   18216 
   18217   ;
   18218   return 0;
   18219 }
   18220 _ACEOF
   18221 if ac_fn_c_try_link "$LINENO"
   18222 then :
   18223   eval $cacheid=yes
   18224 else $as_nop
   18225   eval $cacheid=no
   18226 fi
   18227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18228     conftest$ac_exeext conftest.$ac_ext
   18229 fi
   18230 
   18231 
   18232 		CFLAGS="$xorg_testset_save_CFLAGS"
   18233 
   18234 		eval supported=\$$cacheid
   18235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18236 printf "%s\n" "$supported" >&6; }
   18237 		if test "$supported" = "yes" ; then
   18238 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18239 			found="yes"
   18240 		fi
   18241 	fi
   18242 
   18243 
   18244 
   18245 
   18246 
   18247 
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 xorg_testset_save_CFLAGS="$CFLAGS"
   18258 
   18259 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18261 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18262 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18263 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18264 then :
   18265   printf %s "(cached) " >&6
   18266 else $as_nop
   18267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18268 /* end confdefs.h.  */
   18269 int i;
   18270 _ACEOF
   18271 if ac_fn_c_try_compile "$LINENO"
   18272 then :
   18273   xorg_cv_cc_flag_unknown_warning_option=yes
   18274 else $as_nop
   18275   xorg_cv_cc_flag_unknown_warning_option=no
   18276 fi
   18277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18278 fi
   18279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18280 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18282 	CFLAGS="$xorg_testset_save_CFLAGS"
   18283 fi
   18284 
   18285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18288 	fi
   18289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18290 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18291 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18292 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18293 then :
   18294   printf %s "(cached) " >&6
   18295 else $as_nop
   18296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18297 /* end confdefs.h.  */
   18298 int i;
   18299 _ACEOF
   18300 if ac_fn_c_try_compile "$LINENO"
   18301 then :
   18302   xorg_cv_cc_flag_unused_command_line_argument=yes
   18303 else $as_nop
   18304   xorg_cv_cc_flag_unused_command_line_argument=no
   18305 fi
   18306 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18307 fi
   18308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18309 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18311 	CFLAGS="$xorg_testset_save_CFLAGS"
   18312 fi
   18313 
   18314 found="no"
   18315 
   18316 	if test $found = "no" ; then
   18317 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18319 		fi
   18320 
   18321 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18323 		fi
   18324 
   18325 		CFLAGS="$CFLAGS -Waddress"
   18326 
   18327 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18328 printf %s "checking if $CC supports -Waddress... " >&6; }
   18329 		cacheid=xorg_cv_cc_flag__Waddress
   18330 		if eval test \${$cacheid+y}
   18331 then :
   18332   printf %s "(cached) " >&6
   18333 else $as_nop
   18334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18335 /* end confdefs.h.  */
   18336 int i;
   18337 int
   18338 main (void)
   18339 {
   18340 
   18341   ;
   18342   return 0;
   18343 }
   18344 _ACEOF
   18345 if ac_fn_c_try_link "$LINENO"
   18346 then :
   18347   eval $cacheid=yes
   18348 else $as_nop
   18349   eval $cacheid=no
   18350 fi
   18351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18352     conftest$ac_exeext conftest.$ac_ext
   18353 fi
   18354 
   18355 
   18356 		CFLAGS="$xorg_testset_save_CFLAGS"
   18357 
   18358 		eval supported=\$$cacheid
   18359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18360 printf "%s\n" "$supported" >&6; }
   18361 		if test "$supported" = "yes" ; then
   18362 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18363 			found="yes"
   18364 		fi
   18365 	fi
   18366 
   18367 
   18368 
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 
   18381 xorg_testset_save_CFLAGS="$CFLAGS"
   18382 
   18383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18385 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18386 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18387 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18388 then :
   18389   printf %s "(cached) " >&6
   18390 else $as_nop
   18391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18392 /* end confdefs.h.  */
   18393 int i;
   18394 _ACEOF
   18395 if ac_fn_c_try_compile "$LINENO"
   18396 then :
   18397   xorg_cv_cc_flag_unknown_warning_option=yes
   18398 else $as_nop
   18399   xorg_cv_cc_flag_unknown_warning_option=no
   18400 fi
   18401 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18402 fi
   18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18404 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18406 	CFLAGS="$xorg_testset_save_CFLAGS"
   18407 fi
   18408 
   18409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18412 	fi
   18413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18414 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18415 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18416 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18417 then :
   18418   printf %s "(cached) " >&6
   18419 else $as_nop
   18420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18421 /* end confdefs.h.  */
   18422 int i;
   18423 _ACEOF
   18424 if ac_fn_c_try_compile "$LINENO"
   18425 then :
   18426   xorg_cv_cc_flag_unused_command_line_argument=yes
   18427 else $as_nop
   18428   xorg_cv_cc_flag_unused_command_line_argument=no
   18429 fi
   18430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18431 fi
   18432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18433 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18435 	CFLAGS="$xorg_testset_save_CFLAGS"
   18436 fi
   18437 
   18438 found="no"
   18439 
   18440 	if test $found = "no" ; then
   18441 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18443 		fi
   18444 
   18445 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18447 		fi
   18448 
   18449 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18450 
   18451 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18452 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18453 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18454 		if eval test \${$cacheid+y}
   18455 then :
   18456   printf %s "(cached) " >&6
   18457 else $as_nop
   18458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18459 /* end confdefs.h.  */
   18460 int i;
   18461 int
   18462 main (void)
   18463 {
   18464 
   18465   ;
   18466   return 0;
   18467 }
   18468 _ACEOF
   18469 if ac_fn_c_try_link "$LINENO"
   18470 then :
   18471   eval $cacheid=yes
   18472 else $as_nop
   18473   eval $cacheid=no
   18474 fi
   18475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18476     conftest$ac_exeext conftest.$ac_ext
   18477 fi
   18478 
   18479 
   18480 		CFLAGS="$xorg_testset_save_CFLAGS"
   18481 
   18482 		eval supported=\$$cacheid
   18483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18484 printf "%s\n" "$supported" >&6; }
   18485 		if test "$supported" = "yes" ; then
   18486 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18487 			found="yes"
   18488 		fi
   18489 	fi
   18490 
   18491 
   18492 
   18493 
   18494 
   18495 
   18496 
   18497 
   18498 
   18499 
   18500 
   18501 
   18502 
   18503 
   18504 
   18505 xorg_testset_save_CFLAGS="$CFLAGS"
   18506 
   18507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18509 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18510 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18511 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18512 then :
   18513   printf %s "(cached) " >&6
   18514 else $as_nop
   18515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18516 /* end confdefs.h.  */
   18517 int i;
   18518 _ACEOF
   18519 if ac_fn_c_try_compile "$LINENO"
   18520 then :
   18521   xorg_cv_cc_flag_unknown_warning_option=yes
   18522 else $as_nop
   18523   xorg_cv_cc_flag_unknown_warning_option=no
   18524 fi
   18525 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18526 fi
   18527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18528 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18529 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18530 	CFLAGS="$xorg_testset_save_CFLAGS"
   18531 fi
   18532 
   18533 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18534 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18535 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18536 	fi
   18537 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18538 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18539 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18540 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18541 then :
   18542   printf %s "(cached) " >&6
   18543 else $as_nop
   18544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18545 /* end confdefs.h.  */
   18546 int i;
   18547 _ACEOF
   18548 if ac_fn_c_try_compile "$LINENO"
   18549 then :
   18550   xorg_cv_cc_flag_unused_command_line_argument=yes
   18551 else $as_nop
   18552   xorg_cv_cc_flag_unused_command_line_argument=no
   18553 fi
   18554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18555 fi
   18556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18557 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18559 	CFLAGS="$xorg_testset_save_CFLAGS"
   18560 fi
   18561 
   18562 found="no"
   18563 
   18564 	if test $found = "no" ; then
   18565 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18567 		fi
   18568 
   18569 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18571 		fi
   18572 
   18573 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18574 
   18575 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18576 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18577 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18578 		if eval test \${$cacheid+y}
   18579 then :
   18580   printf %s "(cached) " >&6
   18581 else $as_nop
   18582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18583 /* end confdefs.h.  */
   18584 int i;
   18585 int
   18586 main (void)
   18587 {
   18588 
   18589   ;
   18590   return 0;
   18591 }
   18592 _ACEOF
   18593 if ac_fn_c_try_link "$LINENO"
   18594 then :
   18595   eval $cacheid=yes
   18596 else $as_nop
   18597   eval $cacheid=no
   18598 fi
   18599 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18600     conftest$ac_exeext conftest.$ac_ext
   18601 fi
   18602 
   18603 
   18604 		CFLAGS="$xorg_testset_save_CFLAGS"
   18605 
   18606 		eval supported=\$$cacheid
   18607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18608 printf "%s\n" "$supported" >&6; }
   18609 		if test "$supported" = "yes" ; then
   18610 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18611 			found="yes"
   18612 		fi
   18613 	fi
   18614 
   18615 
   18616 fi
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 		CWARNFLAGS="$BASE_CFLAGS"
   18625 		if  test "x$GCC" = xyes ; then
   18626 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18627 		fi
   18628 
   18629 
   18630 
   18631 
   18632 
   18633 
   18634 
   18635 
   18636 # Check whether --enable-strict-compilation was given.
   18637 if test ${enable_strict_compilation+y}
   18638 then :
   18639   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18640 else $as_nop
   18641   STRICT_COMPILE=no
   18642 fi
   18643 
   18644 
   18645 
   18646 
   18647 
   18648 
   18649 STRICT_CFLAGS=""
   18650 
   18651 
   18652 
   18653 
   18654 
   18655 
   18656 
   18657 
   18658 
   18659 
   18660 
   18661 
   18662 
   18663 xorg_testset_save_CFLAGS="$CFLAGS"
   18664 
   18665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18668 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18669 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18670 then :
   18671   printf %s "(cached) " >&6
   18672 else $as_nop
   18673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18674 /* end confdefs.h.  */
   18675 int i;
   18676 _ACEOF
   18677 if ac_fn_c_try_compile "$LINENO"
   18678 then :
   18679   xorg_cv_cc_flag_unknown_warning_option=yes
   18680 else $as_nop
   18681   xorg_cv_cc_flag_unknown_warning_option=no
   18682 fi
   18683 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18684 fi
   18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18686 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18687 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18688 	CFLAGS="$xorg_testset_save_CFLAGS"
   18689 fi
   18690 
   18691 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18692 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18693 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18694 	fi
   18695 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18697 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18698 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18699 then :
   18700   printf %s "(cached) " >&6
   18701 else $as_nop
   18702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18703 /* end confdefs.h.  */
   18704 int i;
   18705 _ACEOF
   18706 if ac_fn_c_try_compile "$LINENO"
   18707 then :
   18708   xorg_cv_cc_flag_unused_command_line_argument=yes
   18709 else $as_nop
   18710   xorg_cv_cc_flag_unused_command_line_argument=no
   18711 fi
   18712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18713 fi
   18714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18715 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18717 	CFLAGS="$xorg_testset_save_CFLAGS"
   18718 fi
   18719 
   18720 found="no"
   18721 
   18722 	if test $found = "no" ; then
   18723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18725 		fi
   18726 
   18727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18729 		fi
   18730 
   18731 		CFLAGS="$CFLAGS -pedantic"
   18732 
   18733 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18734 printf %s "checking if $CC supports -pedantic... " >&6; }
   18735 		cacheid=xorg_cv_cc_flag__pedantic
   18736 		if eval test \${$cacheid+y}
   18737 then :
   18738   printf %s "(cached) " >&6
   18739 else $as_nop
   18740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18741 /* end confdefs.h.  */
   18742 int i;
   18743 int
   18744 main (void)
   18745 {
   18746 
   18747   ;
   18748   return 0;
   18749 }
   18750 _ACEOF
   18751 if ac_fn_c_try_link "$LINENO"
   18752 then :
   18753   eval $cacheid=yes
   18754 else $as_nop
   18755   eval $cacheid=no
   18756 fi
   18757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18758     conftest$ac_exeext conftest.$ac_ext
   18759 fi
   18760 
   18761 
   18762 		CFLAGS="$xorg_testset_save_CFLAGS"
   18763 
   18764 		eval supported=\$$cacheid
   18765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18766 printf "%s\n" "$supported" >&6; }
   18767 		if test "$supported" = "yes" ; then
   18768 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18769 			found="yes"
   18770 		fi
   18771 	fi
   18772 
   18773 
   18774 
   18775 
   18776 
   18777 
   18778 
   18779 
   18780 
   18781 
   18782 
   18783 
   18784 
   18785 
   18786 
   18787 xorg_testset_save_CFLAGS="$CFLAGS"
   18788 
   18789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18791 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18792 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18793 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18794 then :
   18795   printf %s "(cached) " >&6
   18796 else $as_nop
   18797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18798 /* end confdefs.h.  */
   18799 int i;
   18800 _ACEOF
   18801 if ac_fn_c_try_compile "$LINENO"
   18802 then :
   18803   xorg_cv_cc_flag_unknown_warning_option=yes
   18804 else $as_nop
   18805   xorg_cv_cc_flag_unknown_warning_option=no
   18806 fi
   18807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18808 fi
   18809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18810 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18812 	CFLAGS="$xorg_testset_save_CFLAGS"
   18813 fi
   18814 
   18815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18818 	fi
   18819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18820 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18821 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18822 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18823 then :
   18824   printf %s "(cached) " >&6
   18825 else $as_nop
   18826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18827 /* end confdefs.h.  */
   18828 int i;
   18829 _ACEOF
   18830 if ac_fn_c_try_compile "$LINENO"
   18831 then :
   18832   xorg_cv_cc_flag_unused_command_line_argument=yes
   18833 else $as_nop
   18834   xorg_cv_cc_flag_unused_command_line_argument=no
   18835 fi
   18836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18837 fi
   18838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18839 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18841 	CFLAGS="$xorg_testset_save_CFLAGS"
   18842 fi
   18843 
   18844 found="no"
   18845 
   18846 	if test $found = "no" ; then
   18847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18849 		fi
   18850 
   18851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18853 		fi
   18854 
   18855 		CFLAGS="$CFLAGS -Werror"
   18856 
   18857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18858 printf %s "checking if $CC supports -Werror... " >&6; }
   18859 		cacheid=xorg_cv_cc_flag__Werror
   18860 		if eval test \${$cacheid+y}
   18861 then :
   18862   printf %s "(cached) " >&6
   18863 else $as_nop
   18864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18865 /* end confdefs.h.  */
   18866 int i;
   18867 int
   18868 main (void)
   18869 {
   18870 
   18871   ;
   18872   return 0;
   18873 }
   18874 _ACEOF
   18875 if ac_fn_c_try_link "$LINENO"
   18876 then :
   18877   eval $cacheid=yes
   18878 else $as_nop
   18879   eval $cacheid=no
   18880 fi
   18881 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18882     conftest$ac_exeext conftest.$ac_ext
   18883 fi
   18884 
   18885 
   18886 		CFLAGS="$xorg_testset_save_CFLAGS"
   18887 
   18888 		eval supported=\$$cacheid
   18889 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18890 printf "%s\n" "$supported" >&6; }
   18891 		if test "$supported" = "yes" ; then
   18892 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18893 			found="yes"
   18894 		fi
   18895 	fi
   18896 
   18897 	if test $found = "no" ; then
   18898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18900 		fi
   18901 
   18902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18904 		fi
   18905 
   18906 		CFLAGS="$CFLAGS -errwarn"
   18907 
   18908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18909 printf %s "checking if $CC supports -errwarn... " >&6; }
   18910 		cacheid=xorg_cv_cc_flag__errwarn
   18911 		if eval test \${$cacheid+y}
   18912 then :
   18913   printf %s "(cached) " >&6
   18914 else $as_nop
   18915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18916 /* end confdefs.h.  */
   18917 int i;
   18918 int
   18919 main (void)
   18920 {
   18921 
   18922   ;
   18923   return 0;
   18924 }
   18925 _ACEOF
   18926 if ac_fn_c_try_link "$LINENO"
   18927 then :
   18928   eval $cacheid=yes
   18929 else $as_nop
   18930   eval $cacheid=no
   18931 fi
   18932 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18933     conftest$ac_exeext conftest.$ac_ext
   18934 fi
   18935 
   18936 
   18937 		CFLAGS="$xorg_testset_save_CFLAGS"
   18938 
   18939 		eval supported=\$$cacheid
   18940 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18941 printf "%s\n" "$supported" >&6; }
   18942 		if test "$supported" = "yes" ; then
   18943 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18944 			found="yes"
   18945 		fi
   18946 	fi
   18947 
   18948 
   18949 
   18950 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18951 # activate it with -Werror, so we add it here explicitly.
   18952 
   18953 
   18954 
   18955 
   18956 
   18957 
   18958 
   18959 
   18960 
   18961 
   18962 
   18963 
   18964 
   18965 xorg_testset_save_CFLAGS="$CFLAGS"
   18966 
   18967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18969 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18970 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18971 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18972 then :
   18973   printf %s "(cached) " >&6
   18974 else $as_nop
   18975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18976 /* end confdefs.h.  */
   18977 int i;
   18978 _ACEOF
   18979 if ac_fn_c_try_compile "$LINENO"
   18980 then :
   18981   xorg_cv_cc_flag_unknown_warning_option=yes
   18982 else $as_nop
   18983   xorg_cv_cc_flag_unknown_warning_option=no
   18984 fi
   18985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18986 fi
   18987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18988 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18990 	CFLAGS="$xorg_testset_save_CFLAGS"
   18991 fi
   18992 
   18993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18996 	fi
   18997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18998 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18999 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19000 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19001 then :
   19002   printf %s "(cached) " >&6
   19003 else $as_nop
   19004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19005 /* end confdefs.h.  */
   19006 int i;
   19007 _ACEOF
   19008 if ac_fn_c_try_compile "$LINENO"
   19009 then :
   19010   xorg_cv_cc_flag_unused_command_line_argument=yes
   19011 else $as_nop
   19012   xorg_cv_cc_flag_unused_command_line_argument=no
   19013 fi
   19014 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19015 fi
   19016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19017 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19018 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19019 	CFLAGS="$xorg_testset_save_CFLAGS"
   19020 fi
   19021 
   19022 found="no"
   19023 
   19024 	if test $found = "no" ; then
   19025 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19026 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19027 		fi
   19028 
   19029 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19030 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19031 		fi
   19032 
   19033 		CFLAGS="$CFLAGS -Werror=attributes"
   19034 
   19035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19036 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19037 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19038 		if eval test \${$cacheid+y}
   19039 then :
   19040   printf %s "(cached) " >&6
   19041 else $as_nop
   19042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19043 /* end confdefs.h.  */
   19044 int i;
   19045 int
   19046 main (void)
   19047 {
   19048 
   19049   ;
   19050   return 0;
   19051 }
   19052 _ACEOF
   19053 if ac_fn_c_try_link "$LINENO"
   19054 then :
   19055   eval $cacheid=yes
   19056 else $as_nop
   19057   eval $cacheid=no
   19058 fi
   19059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19060     conftest$ac_exeext conftest.$ac_ext
   19061 fi
   19062 
   19063 
   19064 		CFLAGS="$xorg_testset_save_CFLAGS"
   19065 
   19066 		eval supported=\$$cacheid
   19067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19068 printf "%s\n" "$supported" >&6; }
   19069 		if test "$supported" = "yes" ; then
   19070 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19071 			found="yes"
   19072 		fi
   19073 	fi
   19074 
   19075 
   19076 
   19077 if test "x$STRICT_COMPILE" = "xyes"; then
   19078     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19079     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19080 fi
   19081 
   19082 
   19083 
   19084 
   19085 
   19086 
   19087 
   19088 
   19089 cat >>confdefs.h <<_ACEOF
   19090 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19091 _ACEOF
   19092 
   19093 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19094 	if test "x$PVM" = "x"; then
   19095 		PVM="0"
   19096 	fi
   19097 
   19098 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19099 
   19100 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19101 	if test "x$PVP" = "x"; then
   19102 		PVP="0"
   19103 	fi
   19104 
   19105 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19106 
   19107 
   19108 
   19109 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19110 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19111 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19112 touch \$(top_srcdir)/ChangeLog; \
   19113 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19114 
   19115 
   19116 
   19117 
   19118 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19119 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19120 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19121 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19122 touch \$(top_srcdir)/INSTALL; \
   19123 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19124 
   19125 
   19126 
   19127 
   19128 
   19129 
   19130 case $host_os in
   19131     solaris*)
   19132         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19133         # check for a man page file found in later versions that use
   19134         # traditional section numbers instead
   19135         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19136 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19137 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19138 then :
   19139   printf %s "(cached) " >&6
   19140 else $as_nop
   19141   test "$cross_compiling" = yes &&
   19142   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19143 if test -r "/usr/share/man/man7/attributes.7"; then
   19144   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19145 else
   19146   ac_cv_file__usr_share_man_man7_attributes_7=no
   19147 fi
   19148 fi
   19149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19150 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19151 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19152 then :
   19153   SYSV_MAN_SECTIONS=false
   19154 else $as_nop
   19155   SYSV_MAN_SECTIONS=true
   19156 fi
   19157 
   19158         ;;
   19159     *) SYSV_MAN_SECTIONS=false ;;
   19160 esac
   19161 
   19162 if test x$APP_MAN_SUFFIX = x    ; then
   19163     APP_MAN_SUFFIX=1
   19164 fi
   19165 if test x$APP_MAN_DIR = x    ; then
   19166     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19167 fi
   19168 
   19169 if test x$LIB_MAN_SUFFIX = x    ; then
   19170     LIB_MAN_SUFFIX=3
   19171 fi
   19172 if test x$LIB_MAN_DIR = x    ; then
   19173     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19174 fi
   19175 
   19176 if test x$FILE_MAN_SUFFIX = x    ; then
   19177     case $SYSV_MAN_SECTIONS in
   19178 	true)				FILE_MAN_SUFFIX=4  ;;
   19179 	*)				FILE_MAN_SUFFIX=5  ;;
   19180     esac
   19181 fi
   19182 if test x$FILE_MAN_DIR = x    ; then
   19183     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19184 fi
   19185 
   19186 if test x$MISC_MAN_SUFFIX = x    ; then
   19187     case $SYSV_MAN_SECTIONS in
   19188 	true)				MISC_MAN_SUFFIX=5  ;;
   19189 	*)				MISC_MAN_SUFFIX=7  ;;
   19190     esac
   19191 fi
   19192 if test x$MISC_MAN_DIR = x    ; then
   19193     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19194 fi
   19195 
   19196 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19197     case $SYSV_MAN_SECTIONS in
   19198 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19199 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19200     esac
   19201 fi
   19202 if test x$DRIVER_MAN_DIR = x    ; then
   19203     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19204 fi
   19205 
   19206 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19207     case $SYSV_MAN_SECTIONS in
   19208 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19209 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19210     esac
   19211 fi
   19212 if test x$ADMIN_MAN_DIR = x    ; then
   19213     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19214 fi
   19215 
   19216 
   19217 
   19218 
   19219 
   19220 
   19221 
   19222 
   19223 
   19224 
   19225 
   19226 
   19227 
   19228 
   19229 
   19230 XORG_MAN_PAGE="X Version 11"
   19231 
   19232 MAN_SUBSTS="\
   19233 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19234 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19235 	-e 's|__xservername__|Xorg|g' \
   19236 	-e 's|__xconfigfile__|xorg.conf|g' \
   19237 	-e 's|__projectroot__|\$(prefix)|g' \
   19238 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19239 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19240 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19241 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19242 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19243 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19244 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19245 
   19246 
   19247 
   19248 # Check whether --enable-silent-rules was given.
   19249 if test ${enable_silent_rules+y}
   19250 then :
   19251   enableval=$enable_silent_rules;
   19252 fi
   19253 
   19254 case $enable_silent_rules in # (((
   19255   yes) AM_DEFAULT_VERBOSITY=0;;
   19256    no) AM_DEFAULT_VERBOSITY=1;;
   19257     *) AM_DEFAULT_VERBOSITY=0;;
   19258 esac
   19259 am_make=${MAKE-make}
   19260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19261 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19262 if test ${am_cv_make_support_nested_variables+y}
   19263 then :
   19264   printf %s "(cached) " >&6
   19265 else $as_nop
   19266   if printf "%s\n" 'TRUE=$(BAR$(V))
   19267 BAR0=false
   19268 BAR1=true
   19269 V=1
   19270 am__doit:
   19271 	@$(TRUE)
   19272 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19273   am_cv_make_support_nested_variables=yes
   19274 else
   19275   am_cv_make_support_nested_variables=no
   19276 fi
   19277 fi
   19278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19279 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19280 if test $am_cv_make_support_nested_variables = yes; then
   19281     AM_V='$(V)'
   19282   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19283 else
   19284   AM_V=$AM_DEFAULT_VERBOSITY
   19285   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19286 fi
   19287 AM_BACKSLASH='\'
   19288 
   19289 
   19290 
   19291 
   19292 # Checks for library functions
   19293 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   19294 if test "x$ac_cv_func_strlcat" = xyes
   19295 then :
   19296   printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
   19297 
   19298 fi
   19299 
   19300 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
   19301 if test "x$ac_cv_func_fork" = xyes
   19302 then :
   19303 
   19304 else $as_nop
   19305   printf "%s\n" "#define NO_ZPIPE 1" >>confdefs.h
   19306 
   19307 fi
   19308 
   19309 
   19310 # Obtain compiler/linker options for dependencies
   19311 
   19312 pkg_failed=no
   19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5
   19314 printf %s "checking for XPM... " >&6; }
   19315 
   19316 if test -n "$XPM_CFLAGS"; then
   19317     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   19318  elif test -n "$PKG_CONFIG"; then
   19319     if test -n "$PKG_CONFIG" && \
   19320     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   19321   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   19322   ac_status=$?
   19323   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19324   test $ac_status = 0; }; then
   19325   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
   19326 		      test "x$?" != "x0" && pkg_failed=yes
   19327 else
   19328   pkg_failed=yes
   19329 fi
   19330  else
   19331     pkg_failed=untried
   19332 fi
   19333 if test -n "$XPM_LIBS"; then
   19334     pkg_cv_XPM_LIBS="$XPM_LIBS"
   19335  elif test -n "$PKG_CONFIG"; then
   19336     if test -n "$PKG_CONFIG" && \
   19337     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   19338   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   19339   ac_status=$?
   19340   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19341   test $ac_status = 0; }; then
   19342   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
   19343 		      test "x$?" != "x0" && pkg_failed=yes
   19344 else
   19345   pkg_failed=yes
   19346 fi
   19347  else
   19348     pkg_failed=untried
   19349 fi
   19350 
   19351 
   19352 
   19353 if test $pkg_failed = yes; then
   19354    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19355 printf "%s\n" "no" >&6; }
   19356 
   19357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19358         _pkg_short_errors_supported=yes
   19359 else
   19360         _pkg_short_errors_supported=no
   19361 fi
   19362         if test $_pkg_short_errors_supported = yes; then
   19363 	        XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11" 2>&1`
   19364         else
   19365 	        XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11" 2>&1`
   19366         fi
   19367 	# Put the nasty error message in config.log where it belongs
   19368 	echo "$XPM_PKG_ERRORS" >&5
   19369 
   19370 	as_fn_error $? "Package requirements (xproto x11) were not met:
   19371 
   19372 $XPM_PKG_ERRORS
   19373 
   19374 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19375 installed software in a non-standard prefix.
   19376 
   19377 Alternatively, you may set the environment variables XPM_CFLAGS
   19378 and XPM_LIBS to avoid the need to call pkg-config.
   19379 See the pkg-config man page for more details." "$LINENO" 5
   19380 elif test $pkg_failed = untried; then
   19381      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19382 printf "%s\n" "no" >&6; }
   19383 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19384 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19385 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19386 is in your PATH or set the PKG_CONFIG environment variable to the full
   19387 path to pkg-config.
   19388 
   19389 Alternatively, you may set the environment variables XPM_CFLAGS
   19390 and XPM_LIBS to avoid the need to call pkg-config.
   19391 See the pkg-config man page for more details.
   19392 
   19393 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19394 See \`config.log' for more details" "$LINENO" 5; }
   19395 else
   19396 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   19397 	XPM_LIBS=$pkg_cv_XPM_LIBS
   19398         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19399 printf "%s\n" "yes" >&6; }
   19400 
   19401 fi
   19402 
   19403 pkg_failed=no
   19404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SXPM" >&5
   19405 printf %s "checking for SXPM... " >&6; }
   19406 
   19407 if test -n "$SXPM_CFLAGS"; then
   19408     pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
   19409  elif test -n "$PKG_CONFIG"; then
   19410     if test -n "$PKG_CONFIG" && \
   19411     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   19412   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   19413   ac_status=$?
   19414   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19415   test $ac_status = 0; }; then
   19416   pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   19417 		      test "x$?" != "x0" && pkg_failed=yes
   19418 else
   19419   pkg_failed=yes
   19420 fi
   19421  else
   19422     pkg_failed=untried
   19423 fi
   19424 if test -n "$SXPM_LIBS"; then
   19425     pkg_cv_SXPM_LIBS="$SXPM_LIBS"
   19426  elif test -n "$PKG_CONFIG"; then
   19427     if test -n "$PKG_CONFIG" && \
   19428     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   19429   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   19430   ac_status=$?
   19431   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19432   test $ac_status = 0; }; then
   19433   pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   19434 		      test "x$?" != "x0" && pkg_failed=yes
   19435 else
   19436   pkg_failed=yes
   19437 fi
   19438  else
   19439     pkg_failed=untried
   19440 fi
   19441 
   19442 
   19443 
   19444 if test $pkg_failed = yes; then
   19445    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19446 printf "%s\n" "no" >&6; }
   19447 
   19448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19449         _pkg_short_errors_supported=yes
   19450 else
   19451         _pkg_short_errors_supported=no
   19452 fi
   19453         if test $_pkg_short_errors_supported = yes; then
   19454 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   19455         else
   19456 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   19457         fi
   19458 	# Put the nasty error message in config.log where it belongs
   19459 	echo "$SXPM_PKG_ERRORS" >&5
   19460 
   19461 	build_sxpm=false
   19462 elif test $pkg_failed = untried; then
   19463      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19464 printf "%s\n" "no" >&6; }
   19465 	build_sxpm=false
   19466 else
   19467 	SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
   19468 	SXPM_LIBS=$pkg_cv_SXPM_LIBS
   19469         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19470 printf "%s\n" "yes" >&6; }
   19471 	build_sxpm=true
   19472 fi
   19473  if test x$build_sxpm = xtrue; then
   19474   BUILD_SXPM_TRUE=
   19475   BUILD_SXPM_FALSE='#'
   19476 else
   19477   BUILD_SXPM_TRUE='#'
   19478   BUILD_SXPM_FALSE=
   19479 fi
   19480 
   19481 
   19482 # Internationalization & localization support
   19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   19484 printf %s "checking for library containing gettext... " >&6; }
   19485 if test ${ac_cv_search_gettext+y}
   19486 then :
   19487   printf %s "(cached) " >&6
   19488 else $as_nop
   19489   ac_func_search_save_LIBS=$LIBS
   19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19491 /* end confdefs.h.  */
   19492 
   19493 /* Override any GCC internal prototype to avoid an error.
   19494    Use char because int might match the return type of a GCC
   19495    builtin and then its argument prototype would still apply.
   19496    The 'extern "C"' is for builds by C++ compilers;
   19497    although this is not generally supported in C code supporting it here
   19498    has little cost and some practical benefit (sr 110532).  */
   19499 #ifdef __cplusplus
   19500 extern "C"
   19501 #endif
   19502 char gettext (void);
   19503 int
   19504 main (void)
   19505 {
   19506 return gettext ();
   19507   ;
   19508   return 0;
   19509 }
   19510 _ACEOF
   19511 for ac_lib in '' intl
   19512 do
   19513   if test -z "$ac_lib"; then
   19514     ac_res="none required"
   19515   else
   19516     ac_res=-l$ac_lib
   19517     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19518   fi
   19519   if ac_fn_c_try_link "$LINENO"
   19520 then :
   19521   ac_cv_search_gettext=$ac_res
   19522 fi
   19523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19524     conftest$ac_exeext
   19525   if test ${ac_cv_search_gettext+y}
   19526 then :
   19527   break
   19528 fi
   19529 done
   19530 if test ${ac_cv_search_gettext+y}
   19531 then :
   19532 
   19533 else $as_nop
   19534   ac_cv_search_gettext=no
   19535 fi
   19536 rm conftest.$ac_ext
   19537 LIBS=$ac_func_search_save_LIBS
   19538 fi
   19539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   19540 printf "%s\n" "$ac_cv_search_gettext" >&6; }
   19541 ac_res=$ac_cv_search_gettext
   19542 if test "$ac_res" != no
   19543 then :
   19544   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19545   USE_GETTEXT="yes"
   19546 else $as_nop
   19547   USE_GETTEXT="no"
   19548 fi
   19549 
   19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   19551 printf %s "checking where to install localized messages... " >&6; }
   19552 
   19553 # Check whether --with-localedir was given.
   19554 if test ${with_localedir+y}
   19555 then :
   19556   withval=$with_localedir; LOCALEDIR=${withval}
   19557 else $as_nop
   19558   LOCALEDIR=${datadir}/locale
   19559 fi
   19560 
   19561 
   19562   prefix_NONE=
   19563   exec_prefix_NONE=
   19564   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   19565   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   19566   eval ax_define_dir="\"$LOCALEDIR\""
   19567   eval ax_define_dir="\"$ax_define_dir\""
   19568   LOCALEDIR="$ax_define_dir"
   19569 
   19570 
   19571 printf "%s\n" "#define LOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   19572 
   19573   test "$prefix_NONE" && prefix=NONE
   19574   test "$exec_prefix_NONE" && exec_prefix=NONE
   19575 
   19576 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   19577 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   19578 printf "%s\n" "nowhere" >&6; }
   19579 	USE_GETTEXT="no"
   19580 else
   19581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   19582 printf "%s\n" "$LOCALEDIR" >&6; }
   19583 fi
   19584 
   19585 if test "x$USE_GETTEXT" = "xyes" ; then
   19586 
   19587 printf "%s\n" "#define USE_GETTEXT 1" >>confdefs.h
   19588 
   19589 fi
   19590  if test "x$USE_GETTEXT" = "xyes"; then
   19591   USE_GETTEXT_TRUE=
   19592   USE_GETTEXT_FALSE='#'
   19593 else
   19594   USE_GETTEXT_TRUE='#'
   19595   USE_GETTEXT_FALSE=
   19596 fi
   19597 
   19598 
   19599 
   19600 # Optional feature: When a filename ending in .Z or .gz is requested,
   19601 # open a pipe to a newly forked compress/uncompress/gzip command to
   19602 # handle it.
   19603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to handle compressed pixmaps" >&5
   19604 printf %s "checking whether to handle compressed pixmaps... " >&6; }
   19605 case $host_os in
   19606         *mingw*)        zpipe_default="no" ;;
   19607         *)              zpipe_default="yes" ;;
   19608 esac
   19609 # Check whether --enable-open-zfile was given.
   19610 if test ${enable_open_zfile+y}
   19611 then :
   19612   enableval=$enable_open_zfile; OPEN_ZFILE=$enableval
   19613 else $as_nop
   19614   OPEN_ZFILE=yes
   19615 fi
   19616 
   19617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OPEN_ZFILE" >&5
   19618 printf "%s\n" "$OPEN_ZFILE" >&6; }
   19619  if test "x$OPEN_ZFILE" = "xyes"; then
   19620   COMPRESSED_PIXMAPS_TRUE=
   19621   COMPRESSED_PIXMAPS_FALSE='#'
   19622 else
   19623   COMPRESSED_PIXMAPS_TRUE='#'
   19624   COMPRESSED_PIXMAPS_FALSE=
   19625 fi
   19626 
   19627 if test x$OPEN_ZFILE = xno ; then
   19628 
   19629 printf "%s\n" "#define NO_ZPIPE 1" >>confdefs.h
   19630 
   19631 else
   19632         # gzip is absolutely required for the compressed file handling code
   19633 
   19634 # Extract the first word of "gzip", so it can be a program name with args.
   19635 set dummy gzip; ac_word=$2
   19636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19637 printf %s "checking for $ac_word... " >&6; }
   19638 if test ${ac_cv_path_XPM_PATH_GZIP+y}
   19639 then :
   19640   printf %s "(cached) " >&6
   19641 else $as_nop
   19642   case $XPM_PATH_GZIP in
   19643   [\\/]* | ?:[\\/]*)
   19644   ac_cv_path_XPM_PATH_GZIP="$XPM_PATH_GZIP" # Let the user override the test with a path.
   19645   ;;
   19646   *)
   19647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19648 for as_dir in $PATH
   19649 do
   19650   IFS=$as_save_IFS
   19651   case $as_dir in #(((
   19652     '') as_dir=./ ;;
   19653     */) ;;
   19654     *) as_dir=$as_dir/ ;;
   19655   esac
   19656     for ac_exec_ext in '' $ac_executable_extensions; do
   19657   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19658     ac_cv_path_XPM_PATH_GZIP="$as_dir$ac_word$ac_exec_ext"
   19659     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19660     break 2
   19661   fi
   19662 done
   19663   done
   19664 IFS=$as_save_IFS
   19665 
   19666   ;;
   19667 esac
   19668 fi
   19669 XPM_PATH_GZIP=$ac_cv_path_XPM_PATH_GZIP
   19670 if test -n "$XPM_PATH_GZIP"; then
   19671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_GZIP" >&5
   19672 printf "%s\n" "$XPM_PATH_GZIP" >&6; }
   19673 else
   19674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19675 printf "%s\n" "no" >&6; }
   19676 fi
   19677 
   19678 
   19679 if test "x$XPM_PATH_GZIP" = "x"
   19680 then :
   19681   as_fn_error $? "gzip not found, set XPM_PATH_GZIP or use --disable-open-zfile" "$LINENO" 5
   19682 else $as_nop
   19683 
   19684 printf "%s\n" "#define XPM_PATH_GZIP \"$XPM_PATH_GZIP\"" >>confdefs.h
   19685 
   19686 fi
   19687 
   19688 
   19689         # if compress is not found, we disable writing to .Z files,
   19690         # but leave the rest of the compression code active
   19691 
   19692 # Extract the first word of "compress", so it can be a program name with args.
   19693 set dummy compress; ac_word=$2
   19694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19695 printf %s "checking for $ac_word... " >&6; }
   19696 if test ${ac_cv_path_XPM_PATH_COMPRESS+y}
   19697 then :
   19698   printf %s "(cached) " >&6
   19699 else $as_nop
   19700   case $XPM_PATH_COMPRESS in
   19701   [\\/]* | ?:[\\/]*)
   19702   ac_cv_path_XPM_PATH_COMPRESS="$XPM_PATH_COMPRESS" # Let the user override the test with a path.
   19703   ;;
   19704   *)
   19705   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19706 for as_dir in $PATH
   19707 do
   19708   IFS=$as_save_IFS
   19709   case $as_dir in #(((
   19710     '') as_dir=./ ;;
   19711     */) ;;
   19712     *) as_dir=$as_dir/ ;;
   19713   esac
   19714     for ac_exec_ext in '' $ac_executable_extensions; do
   19715   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19716     ac_cv_path_XPM_PATH_COMPRESS="$as_dir$ac_word$ac_exec_ext"
   19717     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19718     break 2
   19719   fi
   19720 done
   19721   done
   19722 IFS=$as_save_IFS
   19723 
   19724   ;;
   19725 esac
   19726 fi
   19727 XPM_PATH_COMPRESS=$ac_cv_path_XPM_PATH_COMPRESS
   19728 if test -n "$XPM_PATH_COMPRESS"; then
   19729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_COMPRESS" >&5
   19730 printf "%s\n" "$XPM_PATH_COMPRESS" >&6; }
   19731 else
   19732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19733 printf "%s\n" "no" >&6; }
   19734 fi
   19735 
   19736 
   19737 if test "x$XPM_PATH_COMPRESS" = "x"
   19738 then :
   19739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compress not found, disabling writing of .Z files" >&5
   19740 printf "%s\n" "$as_me: WARNING: compress not found, disabling writing of .Z files" >&2;}
   19741 else $as_nop
   19742 
   19743 printf "%s\n" "#define XPM_PATH_COMPRESS \"$XPM_PATH_COMPRESS\"" >>confdefs.h
   19744 
   19745 fi
   19746 
   19747         # if uncompress is not found, we use gzip to read .Z files
   19748 
   19749 # Extract the first word of "uncompress", so it can be a program name with args.
   19750 set dummy uncompress; ac_word=$2
   19751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19752 printf %s "checking for $ac_word... " >&6; }
   19753 if test ${ac_cv_path_XPM_PATH_UNCOMPRESS+y}
   19754 then :
   19755   printf %s "(cached) " >&6
   19756 else $as_nop
   19757   case $XPM_PATH_UNCOMPRESS in
   19758   [\\/]* | ?:[\\/]*)
   19759   ac_cv_path_XPM_PATH_UNCOMPRESS="$XPM_PATH_UNCOMPRESS" # Let the user override the test with a path.
   19760   ;;
   19761   *)
   19762   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19763 for as_dir in $PATH
   19764 do
   19765   IFS=$as_save_IFS
   19766   case $as_dir in #(((
   19767     '') as_dir=./ ;;
   19768     */) ;;
   19769     *) as_dir=$as_dir/ ;;
   19770   esac
   19771     for ac_exec_ext in '' $ac_executable_extensions; do
   19772   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19773     ac_cv_path_XPM_PATH_UNCOMPRESS="$as_dir$ac_word$ac_exec_ext"
   19774     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19775     break 2
   19776   fi
   19777 done
   19778   done
   19779 IFS=$as_save_IFS
   19780 
   19781   ;;
   19782 esac
   19783 fi
   19784 XPM_PATH_UNCOMPRESS=$ac_cv_path_XPM_PATH_UNCOMPRESS
   19785 if test -n "$XPM_PATH_UNCOMPRESS"; then
   19786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XPM_PATH_UNCOMPRESS" >&5
   19787 printf "%s\n" "$XPM_PATH_UNCOMPRESS" >&6; }
   19788 else
   19789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19790 printf "%s\n" "no" >&6; }
   19791 fi
   19792 
   19793 
   19794 if test "x$XPM_PATH_UNCOMPRESS" = "x"
   19795 then :
   19796 
   19797 else $as_nop
   19798 
   19799 printf "%s\n" "#define XPM_PATH_UNCOMPRESS \"$XPM_PATH_UNCOMPRESS\"" >>confdefs.h
   19800 
   19801 fi
   19802 
   19803 
   19804 
   19805   for ac_func in closefrom close_range
   19806 do :
   19807   as_ac_var=`printf "%s\n" "ac_cv_func_$ac_func" | $as_tr_sh`
   19808 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19809 if eval test \"x\$"$as_ac_var"\" = x"yes"
   19810 then :
   19811   cat >>confdefs.h <<_ACEOF
   19812 #define `printf "%s\n" "HAVE_$ac_func" | $as_tr_cpp` 1
   19813 _ACEOF
   19814  break
   19815 fi
   19816 
   19817 done
   19818 fi
   19819 
   19820 # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
   19821 # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
   19822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to search for compressed pixmaps" >&5
   19823 printf %s "checking whether to search for compressed pixmaps... " >&6; }
   19824 # Check whether --enable-stat-zfile was given.
   19825 if test ${enable_stat_zfile+y}
   19826 then :
   19827   enableval=$enable_stat_zfile; STAT_ZFILE=$enableval
   19828 else $as_nop
   19829   STAT_ZFILE=$OPEN_ZFILE
   19830 fi
   19831 
   19832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STAT_ZFILE" >&5
   19833 printf "%s\n" "$STAT_ZFILE" >&6; }
   19834 if test x$STAT_ZFILE = xyes ; then
   19835 
   19836 printf "%s\n" "#define STAT_ZFILE 1" >>confdefs.h
   19837 
   19838 fi
   19839 
   19840 # --enable-unit-tests
   19841 
   19842 
   19843 
   19844 
   19845 
   19846 
   19847 
   19848 # Check for different types of support on different platforms
   19849 case $host_os in
   19850     solaris*)
   19851         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   19852 printf %s "checking for umem_alloc in -lumem... " >&6; }
   19853 if test ${ac_cv_lib_umem_umem_alloc+y}
   19854 then :
   19855   printf %s "(cached) " >&6
   19856 else $as_nop
   19857   ac_check_lib_save_LIBS=$LIBS
   19858 LIBS="-lumem  $LIBS"
   19859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19860 /* end confdefs.h.  */
   19861 
   19862 /* Override any GCC internal prototype to avoid an error.
   19863    Use char because int might match the return type of a GCC
   19864    builtin and then its argument prototype would still apply.
   19865    The 'extern "C"' is for builds by C++ compilers;
   19866    although this is not generally supported in C code supporting it here
   19867    has little cost and some practical benefit (sr 110532).  */
   19868 #ifdef __cplusplus
   19869 extern "C"
   19870 #endif
   19871 char umem_alloc (void);
   19872 int
   19873 main (void)
   19874 {
   19875 return umem_alloc ();
   19876   ;
   19877   return 0;
   19878 }
   19879 _ACEOF
   19880 if ac_fn_c_try_link "$LINENO"
   19881 then :
   19882   ac_cv_lib_umem_umem_alloc=yes
   19883 else $as_nop
   19884   ac_cv_lib_umem_umem_alloc=no
   19885 fi
   19886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19887     conftest$ac_exeext conftest.$ac_ext
   19888 LIBS=$ac_check_lib_save_LIBS
   19889 fi
   19890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   19891 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   19892 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   19893 then :
   19894   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   19895 fi
   19896 
   19897         ;;
   19898     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   19899         # both directly and inverted, so should not be 0 or 255.
   19900         malloc_debug_env='MALLOC_PERTURB_=15'
   19901         ;;
   19902     darwin*)
   19903         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   19904         ;;
   19905     *bsd*)
   19906         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   19907         ;;
   19908 esac
   19909 
   19910 # User supplied flags override default flags
   19911 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   19912     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   19913 fi
   19914 
   19915 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   19916 
   19917 
   19918 
   19919 
   19920 
   19921 
   19922 
   19923 # Check whether --enable-unit-tests was given.
   19924 if test ${enable_unit_tests+y}
   19925 then :
   19926   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   19927 else $as_nop
   19928   enable_unit_tests=auto
   19929 fi
   19930 
   19931 
   19932  if test "x$enable_unit_tests" != xno; then
   19933   ENABLE_UNIT_TESTS_TRUE=
   19934   ENABLE_UNIT_TESTS_FALSE='#'
   19935 else
   19936   ENABLE_UNIT_TESTS_TRUE='#'
   19937   ENABLE_UNIT_TESTS_FALSE=
   19938 fi
   19939 
   19940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   19941 printf %s "checking whether to build unit test cases... " >&6; }
   19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   19943 printf "%s\n" "$enable_unit_tests" >&6; }
   19944 
   19945 
   19946 
   19947 
   19948 
   19949 # Check whether --with-glib was given.
   19950 if test ${with_glib+y}
   19951 then :
   19952   withval=$with_glib; with_glib=$withval
   19953 else $as_nop
   19954   with_glib=auto
   19955 fi
   19956 
   19957 
   19958 
   19959 have_glib=no
   19960 # Do not probe GLib if user explicitly disabled unit testing
   19961 if test "x$enable_unit_tests" != x"no"; then
   19962   # Do not probe GLib if user explicitly disabled it
   19963   if test "x$with_glib" != x"no"; then
   19964 
   19965 pkg_failed=no
   19966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
   19967 printf %s "checking for GLIB... " >&6; }
   19968 
   19969 if test -n "$GLIB_CFLAGS"; then
   19970     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   19971  elif test -n "$PKG_CONFIG"; then
   19972     if test -n "$PKG_CONFIG" && \
   19973     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.46\""; } >&5
   19974   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.46") 2>&5
   19975   ac_status=$?
   19976   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19977   test $ac_status = 0; }; then
   19978   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.46" 2>/dev/null`
   19979 		      test "x$?" != "x0" && pkg_failed=yes
   19980 else
   19981   pkg_failed=yes
   19982 fi
   19983  else
   19984     pkg_failed=untried
   19985 fi
   19986 if test -n "$GLIB_LIBS"; then
   19987     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   19988  elif test -n "$PKG_CONFIG"; then
   19989     if test -n "$PKG_CONFIG" && \
   19990     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.46\""; } >&5
   19991   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.46") 2>&5
   19992   ac_status=$?
   19993   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19994   test $ac_status = 0; }; then
   19995   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.46" 2>/dev/null`
   19996 		      test "x$?" != "x0" && pkg_failed=yes
   19997 else
   19998   pkg_failed=yes
   19999 fi
   20000  else
   20001     pkg_failed=untried
   20002 fi
   20003 
   20004 
   20005 
   20006 if test $pkg_failed = yes; then
   20007    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20008 printf "%s\n" "no" >&6; }
   20009 
   20010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20011         _pkg_short_errors_supported=yes
   20012 else
   20013         _pkg_short_errors_supported=no
   20014 fi
   20015         if test $_pkg_short_errors_supported = yes; then
   20016 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.46" 2>&1`
   20017         else
   20018 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.46" 2>&1`
   20019         fi
   20020 	# Put the nasty error message in config.log where it belongs
   20021 	echo "$GLIB_PKG_ERRORS" >&5
   20022 
   20023 	have_glib=no
   20024 elif test $pkg_failed = untried; then
   20025      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20026 printf "%s\n" "no" >&6; }
   20027 	have_glib=no
   20028 else
   20029 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   20030 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
   20031         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20032 printf "%s\n" "yes" >&6; }
   20033 	have_glib=yes
   20034 fi
   20035   fi
   20036 fi
   20037 
   20038 # Not having GLib when unit testing has been explicitly requested is an error
   20039 if test "x$enable_unit_tests" = x"yes"; then
   20040   if test "x$have_glib" = x"no"; then
   20041     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   20042   fi
   20043 fi
   20044 
   20045 # Having unit testing disabled when GLib has been explicitly requested is an error
   20046 if test "x$enable_unit_tests" = x"no"; then
   20047   if test "x$with_glib" = x"yes"; then
   20048     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   20049   fi
   20050 fi
   20051 
   20052 # Not having GLib when it has been explicitly requested is an error
   20053 if test "x$with_glib" = x"yes"; then
   20054   if test "x$have_glib" = x"no"; then
   20055     as_fn_error $? "--with-glib=yes specified but glib-2.0 not found" "$LINENO" 5
   20056   fi
   20057 fi
   20058 
   20059  if test "$have_glib" = yes; then
   20060   HAVE_GLIB_TRUE=
   20061   HAVE_GLIB_FALSE='#'
   20062 else
   20063   HAVE_GLIB_TRUE='#'
   20064   HAVE_GLIB_FALSE=
   20065 fi
   20066 
   20067 
   20068 
   20069 
   20070 
   20071 
   20072 
   20073 # Check for different types of support on different platforms
   20074 case $host_os in
   20075     solaris*)
   20076         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   20077 printf %s "checking for umem_alloc in -lumem... " >&6; }
   20078 if test ${ac_cv_lib_umem_umem_alloc+y}
   20079 then :
   20080   printf %s "(cached) " >&6
   20081 else $as_nop
   20082   ac_check_lib_save_LIBS=$LIBS
   20083 LIBS="-lumem  $LIBS"
   20084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20085 /* end confdefs.h.  */
   20086 
   20087 /* Override any GCC internal prototype to avoid an error.
   20088    Use char because int might match the return type of a GCC
   20089    builtin and then its argument prototype would still apply.
   20090    The 'extern "C"' is for builds by C++ compilers;
   20091    although this is not generally supported in C code supporting it here
   20092    has little cost and some practical benefit (sr 110532).  */
   20093 #ifdef __cplusplus
   20094 extern "C"
   20095 #endif
   20096 char umem_alloc (void);
   20097 int
   20098 main (void)
   20099 {
   20100 return umem_alloc ();
   20101   ;
   20102   return 0;
   20103 }
   20104 _ACEOF
   20105 if ac_fn_c_try_link "$LINENO"
   20106 then :
   20107   ac_cv_lib_umem_umem_alloc=yes
   20108 else $as_nop
   20109   ac_cv_lib_umem_umem_alloc=no
   20110 fi
   20111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20112     conftest$ac_exeext conftest.$ac_ext
   20113 LIBS=$ac_check_lib_save_LIBS
   20114 fi
   20115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   20116 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   20117 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   20118 then :
   20119   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   20120 fi
   20121 
   20122         ;;
   20123     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   20124         # both directly and inverted, so should not be 0 or 255.
   20125         malloc_debug_env='MALLOC_PERTURB_=15'
   20126         ;;
   20127     darwin*)
   20128         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   20129         ;;
   20130     *bsd*)
   20131         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   20132         ;;
   20133 esac
   20134 
   20135 # User supplied flags override default flags
   20136 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   20137     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   20138 fi
   20139 
   20140 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   20141 
   20142 
   20143 
   20144 ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile man/Makefile src/Makefile sxpm/Makefile cxpm/Makefile test/Makefile xpm.pc"
   20145 
   20146 cat >confcache <<\_ACEOF
   20147 # This file is a shell script that caches the results of configure
   20148 # tests run on this system so they can be shared between configure
   20149 # scripts and configure runs, see configure's option --config-cache.
   20150 # It is not useful on other systems.  If it contains results you don't
   20151 # want to keep, you may remove or edit it.
   20152 #
   20153 # config.status only pays attention to the cache file if you give it
   20154 # the --recheck option to rerun configure.
   20155 #
   20156 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20157 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20158 # following values.
   20159 
   20160 _ACEOF
   20161 
   20162 # The following way of writing the cache mishandles newlines in values,
   20163 # but we know of no workaround that is simple, portable, and efficient.
   20164 # So, we kill variables containing newlines.
   20165 # Ultrix sh set writes to stderr and can't be redirected directly,
   20166 # and sets the high bit in the cache file unless we assign to the vars.
   20167 (
   20168   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20169     eval ac_val=\$$ac_var
   20170     case $ac_val in #(
   20171     *${as_nl}*)
   20172       case $ac_var in #(
   20173       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20174 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20175       esac
   20176       case $ac_var in #(
   20177       _ | IFS | as_nl) ;; #(
   20178       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20179       *) { eval $ac_var=; unset $ac_var;} ;;
   20180       esac ;;
   20181     esac
   20182   done
   20183 
   20184   (set) 2>&1 |
   20185     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20186     *${as_nl}ac_space=\ *)
   20187       # `set' does not quote correctly, so add quotes: double-quote
   20188       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20189       sed -n \
   20190 	"s/'/'\\\\''/g;
   20191 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20192       ;; #(
   20193     *)
   20194       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20195       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20196       ;;
   20197     esac |
   20198     sort
   20199 ) |
   20200   sed '
   20201      /^ac_cv_env_/b end
   20202      t clear
   20203      :clear
   20204      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20205      t end
   20206      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20207      :end' >>confcache
   20208 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20209   if test -w "$cache_file"; then
   20210     if test "x$cache_file" != "x/dev/null"; then
   20211       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20212 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20213       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20214 	cat confcache >"$cache_file"
   20215       else
   20216         case $cache_file in #(
   20217         */* | ?:*)
   20218 	  mv -f confcache "$cache_file"$$ &&
   20219 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20220         *)
   20221 	  mv -f confcache "$cache_file" ;;
   20222 	esac
   20223       fi
   20224     fi
   20225   else
   20226     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20227 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20228   fi
   20229 fi
   20230 rm -f confcache
   20231 
   20232 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20233 # Let make expand exec_prefix.
   20234 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20235 
   20236 DEFS=-DHAVE_CONFIG_H
   20237 
   20238 ac_libobjs=
   20239 ac_ltlibobjs=
   20240 U=
   20241 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20242   # 1. Remove the extension, and $U if already installed.
   20243   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20244   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20245   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20246   #    will be set to the directory where LIBOBJS objects are built.
   20247   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20248   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20249 done
   20250 LIBOBJS=$ac_libobjs
   20251 
   20252 LTLIBOBJS=$ac_ltlibobjs
   20253 
   20254 
   20255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20256 printf %s "checking that generated files are newer than configure... " >&6; }
   20257    if test -n "$am_sleep_pid"; then
   20258      # Hide warnings about reused PIDs.
   20259      wait $am_sleep_pid 2>/dev/null
   20260    fi
   20261    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20262 printf "%s\n" "done" >&6; }
   20263  if test -n "$EXEEXT"; then
   20264   am__EXEEXT_TRUE=
   20265   am__EXEEXT_FALSE='#'
   20266 else
   20267   am__EXEEXT_TRUE='#'
   20268   am__EXEEXT_FALSE=
   20269 fi
   20270 
   20271 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20272   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20274 fi
   20275 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20276   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20278 fi
   20279 if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
   20280   as_fn_error $? "conditional \"BUILD_SXPM\" was never defined.
   20281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20282 fi
   20283 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   20284   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   20285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20286 fi
   20287 if test -z "${COMPRESSED_PIXMAPS_TRUE}" && test -z "${COMPRESSED_PIXMAPS_FALSE}"; then
   20288   as_fn_error $? "conditional \"COMPRESSED_PIXMAPS\" was never defined.
   20289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20290 fi
   20291 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   20292   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   20293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20294 fi
   20295 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
   20296   as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
   20297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20298 fi
   20299 
   20300 : "${CONFIG_STATUS=./config.status}"
   20301 ac_write_fail=0
   20302 ac_clean_files_save=$ac_clean_files
   20303 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20305 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20306 as_write_fail=0
   20307 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20308 #! $SHELL
   20309 # Generated by $as_me.
   20310 # Run this file to recreate the current configuration.
   20311 # Compiler output produced by configure, useful for debugging
   20312 # configure, is in config.log if it exists.
   20313 
   20314 debug=false
   20315 ac_cs_recheck=false
   20316 ac_cs_silent=false
   20317 
   20318 SHELL=\${CONFIG_SHELL-$SHELL}
   20319 export SHELL
   20320 _ASEOF
   20321 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20322 ## -------------------- ##
   20323 ## M4sh Initialization. ##
   20324 ## -------------------- ##
   20325 
   20326 # Be more Bourne compatible
   20327 DUALCASE=1; export DUALCASE # for MKS sh
   20328 as_nop=:
   20329 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20330 then :
   20331   emulate sh
   20332   NULLCMD=:
   20333   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20334   # is contrary to our usage.  Disable this feature.
   20335   alias -g '${1+"$@"}'='"$@"'
   20336   setopt NO_GLOB_SUBST
   20337 else $as_nop
   20338   case `(set -o) 2>/dev/null` in #(
   20339   *posix*) :
   20340     set -o posix ;; #(
   20341   *) :
   20342      ;;
   20343 esac
   20344 fi
   20345 
   20346 
   20347 
   20348 # Reset variables that may have inherited troublesome values from
   20349 # the environment.
   20350 
   20351 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20352 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20353 # side effect of setting IFS to empty, thus disabling word splitting.)
   20354 # Quoting is to prevent editors from complaining about space-tab.
   20355 as_nl='
   20356 '
   20357 export as_nl
   20358 IFS=" ""	$as_nl"
   20359 
   20360 PS1='$ '
   20361 PS2='> '
   20362 PS4='+ '
   20363 
   20364 # Ensure predictable behavior from utilities with locale-dependent output.
   20365 LC_ALL=C
   20366 export LC_ALL
   20367 LANGUAGE=C
   20368 export LANGUAGE
   20369 
   20370 # We cannot yet rely on "unset" to work, but we need these variables
   20371 # to be unset--not just set to an empty or harmless value--now, to
   20372 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20373 # also avoids known problems related to "unset" and subshell syntax
   20374 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20375 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20376 do eval test \${$as_var+y} \
   20377   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20378 done
   20379 
   20380 # Ensure that fds 0, 1, and 2 are open.
   20381 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20382 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20383 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20384 
   20385 # The user is always right.
   20386 if ${PATH_SEPARATOR+false} :; then
   20387   PATH_SEPARATOR=:
   20388   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20389     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20390       PATH_SEPARATOR=';'
   20391   }
   20392 fi
   20393 
   20394 
   20395 # Find who we are.  Look in the path if we contain no directory separator.
   20396 as_myself=
   20397 case $0 in #((
   20398   *[\\/]* ) as_myself=$0 ;;
   20399   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20400 for as_dir in $PATH
   20401 do
   20402   IFS=$as_save_IFS
   20403   case $as_dir in #(((
   20404     '') as_dir=./ ;;
   20405     */) ;;
   20406     *) as_dir=$as_dir/ ;;
   20407   esac
   20408     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20409   done
   20410 IFS=$as_save_IFS
   20411 
   20412      ;;
   20413 esac
   20414 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20415 # in which case we are not to be found in the path.
   20416 if test "x$as_myself" = x; then
   20417   as_myself=$0
   20418 fi
   20419 if test ! -f "$as_myself"; then
   20420   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20421   exit 1
   20422 fi
   20423 
   20424 
   20425 
   20426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20427 # ----------------------------------------
   20428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20430 # script with STATUS, using 1 if that was 0.
   20431 as_fn_error ()
   20432 {
   20433   as_status=$1; test $as_status -eq 0 && as_status=1
   20434   if test "$4"; then
   20435     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20436     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20437   fi
   20438   printf "%s\n" "$as_me: error: $2" >&2
   20439   as_fn_exit $as_status
   20440 } # as_fn_error
   20441 
   20442 
   20443 
   20444 # as_fn_set_status STATUS
   20445 # -----------------------
   20446 # Set $? to STATUS, without forking.
   20447 as_fn_set_status ()
   20448 {
   20449   return $1
   20450 } # as_fn_set_status
   20451 
   20452 # as_fn_exit STATUS
   20453 # -----------------
   20454 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20455 as_fn_exit ()
   20456 {
   20457   set +e
   20458   as_fn_set_status $1
   20459   exit $1
   20460 } # as_fn_exit
   20461 
   20462 # as_fn_unset VAR
   20463 # ---------------
   20464 # Portably unset VAR.
   20465 as_fn_unset ()
   20466 {
   20467   { eval $1=; unset $1;}
   20468 }
   20469 as_unset=as_fn_unset
   20470 
   20471 # as_fn_append VAR VALUE
   20472 # ----------------------
   20473 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20474 # advantage of any shell optimizations that allow amortized linear growth over
   20475 # repeated appends, instead of the typical quadratic growth present in naive
   20476 # implementations.
   20477 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20478 then :
   20479   eval 'as_fn_append ()
   20480   {
   20481     eval $1+=\$2
   20482   }'
   20483 else $as_nop
   20484   as_fn_append ()
   20485   {
   20486     eval $1=\$$1\$2
   20487   }
   20488 fi # as_fn_append
   20489 
   20490 # as_fn_arith ARG...
   20491 # ------------------
   20492 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20493 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20494 # must be portable across $(()) and expr.
   20495 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20496 then :
   20497   eval 'as_fn_arith ()
   20498   {
   20499     as_val=$(( $* ))
   20500   }'
   20501 else $as_nop
   20502   as_fn_arith ()
   20503   {
   20504     as_val=`expr "$@" || test $? -eq 1`
   20505   }
   20506 fi # as_fn_arith
   20507 
   20508 
   20509 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20510    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20511   as_expr=expr
   20512 else
   20513   as_expr=false
   20514 fi
   20515 
   20516 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20517   as_basename=basename
   20518 else
   20519   as_basename=false
   20520 fi
   20521 
   20522 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20523   as_dirname=dirname
   20524 else
   20525   as_dirname=false
   20526 fi
   20527 
   20528 as_me=`$as_basename -- "$0" ||
   20529 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20530 	 X"$0" : 'X\(//\)$' \| \
   20531 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20532 printf "%s\n" X/"$0" |
   20533     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20534 	    s//\1/
   20535 	    q
   20536 	  }
   20537 	  /^X\/\(\/\/\)$/{
   20538 	    s//\1/
   20539 	    q
   20540 	  }
   20541 	  /^X\/\(\/\).*/{
   20542 	    s//\1/
   20543 	    q
   20544 	  }
   20545 	  s/.*/./; q'`
   20546 
   20547 # Avoid depending upon Character Ranges.
   20548 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20549 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20550 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20551 as_cr_digits='0123456789'
   20552 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20553 
   20554 
   20555 # Determine whether it's possible to make 'echo' print without a newline.
   20556 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20557 # for compatibility with existing Makefiles.
   20558 ECHO_C= ECHO_N= ECHO_T=
   20559 case `echo -n x` in #(((((
   20560 -n*)
   20561   case `echo 'xy\c'` in
   20562   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20563   xy)  ECHO_C='\c';;
   20564   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20565        ECHO_T='	';;
   20566   esac;;
   20567 *)
   20568   ECHO_N='-n';;
   20569 esac
   20570 
   20571 # For backward compatibility with old third-party macros, we provide
   20572 # the shell variables $as_echo and $as_echo_n.  New code should use
   20573 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20574 as_echo='printf %s\n'
   20575 as_echo_n='printf %s'
   20576 
   20577 rm -f conf$$ conf$$.exe conf$$.file
   20578 if test -d conf$$.dir; then
   20579   rm -f conf$$.dir/conf$$.file
   20580 else
   20581   rm -f conf$$.dir
   20582   mkdir conf$$.dir 2>/dev/null
   20583 fi
   20584 if (echo >conf$$.file) 2>/dev/null; then
   20585   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20586     as_ln_s='ln -s'
   20587     # ... but there are two gotchas:
   20588     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20589     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20590     # In both cases, we have to default to `cp -pR'.
   20591     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20592       as_ln_s='cp -pR'
   20593   elif ln conf$$.file conf$$ 2>/dev/null; then
   20594     as_ln_s=ln
   20595   else
   20596     as_ln_s='cp -pR'
   20597   fi
   20598 else
   20599   as_ln_s='cp -pR'
   20600 fi
   20601 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20602 rmdir conf$$.dir 2>/dev/null
   20603 
   20604 
   20605 # as_fn_mkdir_p
   20606 # -------------
   20607 # Create "$as_dir" as a directory, including parents if necessary.
   20608 as_fn_mkdir_p ()
   20609 {
   20610 
   20611   case $as_dir in #(
   20612   -*) as_dir=./$as_dir;;
   20613   esac
   20614   test -d "$as_dir" || eval $as_mkdir_p || {
   20615     as_dirs=
   20616     while :; do
   20617       case $as_dir in #(
   20618       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20619       *) as_qdir=$as_dir;;
   20620       esac
   20621       as_dirs="'$as_qdir' $as_dirs"
   20622       as_dir=`$as_dirname -- "$as_dir" ||
   20623 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20624 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20625 	 X"$as_dir" : 'X\(//\)$' \| \
   20626 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20627 printf "%s\n" X"$as_dir" |
   20628     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20629 	    s//\1/
   20630 	    q
   20631 	  }
   20632 	  /^X\(\/\/\)[^/].*/{
   20633 	    s//\1/
   20634 	    q
   20635 	  }
   20636 	  /^X\(\/\/\)$/{
   20637 	    s//\1/
   20638 	    q
   20639 	  }
   20640 	  /^X\(\/\).*/{
   20641 	    s//\1/
   20642 	    q
   20643 	  }
   20644 	  s/.*/./; q'`
   20645       test -d "$as_dir" && break
   20646     done
   20647     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20648   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20649 
   20650 
   20651 } # as_fn_mkdir_p
   20652 if mkdir -p . 2>/dev/null; then
   20653   as_mkdir_p='mkdir -p "$as_dir"'
   20654 else
   20655   test -d ./-p && rmdir ./-p
   20656   as_mkdir_p=false
   20657 fi
   20658 
   20659 
   20660 # as_fn_executable_p FILE
   20661 # -----------------------
   20662 # Test if FILE is an executable regular file.
   20663 as_fn_executable_p ()
   20664 {
   20665   test -f "$1" && test -x "$1"
   20666 } # as_fn_executable_p
   20667 as_test_x='test -x'
   20668 as_executable_p=as_fn_executable_p
   20669 
   20670 # Sed expression to map a string onto a valid CPP name.
   20671 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20672 
   20673 # Sed expression to map a string onto a valid variable name.
   20674 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20675 
   20676 
   20677 exec 6>&1
   20678 ## ----------------------------------- ##
   20679 ## Main body of $CONFIG_STATUS script. ##
   20680 ## ----------------------------------- ##
   20681 _ASEOF
   20682 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20683 
   20684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20685 # Save the log message, to keep $0 and so on meaningful, and to
   20686 # report actual input values of CONFIG_FILES etc. instead of their
   20687 # values after options handling.
   20688 ac_log="
   20689 This file was extended by libXpm $as_me 3.5.16, which was
   20690 generated by GNU Autoconf 2.71.  Invocation command line was
   20691 
   20692   CONFIG_FILES    = $CONFIG_FILES
   20693   CONFIG_HEADERS  = $CONFIG_HEADERS
   20694   CONFIG_LINKS    = $CONFIG_LINKS
   20695   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20696   $ $0 $@
   20697 
   20698 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20699 "
   20700 
   20701 _ACEOF
   20702 
   20703 case $ac_config_files in *"
   20704 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20705 esac
   20706 
   20707 case $ac_config_headers in *"
   20708 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20709 esac
   20710 
   20711 
   20712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20713 # Files that config.status was made for.
   20714 config_files="$ac_config_files"
   20715 config_headers="$ac_config_headers"
   20716 config_commands="$ac_config_commands"
   20717 
   20718 _ACEOF
   20719 
   20720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20721 ac_cs_usage="\
   20722 \`$as_me' instantiates files and other configuration actions
   20723 from templates according to the current configuration.  Unless the files
   20724 and actions are specified as TAGs, all are instantiated by default.
   20725 
   20726 Usage: $0 [OPTION]... [TAG]...
   20727 
   20728   -h, --help       print this help, then exit
   20729   -V, --version    print version number and configuration settings, then exit
   20730       --config     print configuration, then exit
   20731   -q, --quiet, --silent
   20732                    do not print progress messages
   20733   -d, --debug      don't remove temporary files
   20734       --recheck    update $as_me by reconfiguring in the same conditions
   20735       --file=FILE[:TEMPLATE]
   20736                    instantiate the configuration file FILE
   20737       --header=FILE[:TEMPLATE]
   20738                    instantiate the configuration header FILE
   20739 
   20740 Configuration files:
   20741 $config_files
   20742 
   20743 Configuration headers:
   20744 $config_headers
   20745 
   20746 Configuration commands:
   20747 $config_commands
   20748 
   20749 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxpm/-/issues/>."
   20750 
   20751 _ACEOF
   20752 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20753 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20755 ac_cs_config='$ac_cs_config_escaped'
   20756 ac_cs_version="\\
   20757 libXpm config.status 3.5.16
   20758 configured by $0, generated by GNU Autoconf 2.71,
   20759   with options \\"\$ac_cs_config\\"
   20760 
   20761 Copyright (C) 2021 Free Software Foundation, Inc.
   20762 This config.status script is free software; the Free Software Foundation
   20763 gives unlimited permission to copy, distribute and modify it."
   20764 
   20765 ac_pwd='$ac_pwd'
   20766 srcdir='$srcdir'
   20767 INSTALL='$INSTALL'
   20768 MKDIR_P='$MKDIR_P'
   20769 AWK='$AWK'
   20770 test -n "\$AWK" || AWK=awk
   20771 _ACEOF
   20772 
   20773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20774 # The default lists apply if the user does not specify any file.
   20775 ac_need_defaults=:
   20776 while test $# != 0
   20777 do
   20778   case $1 in
   20779   --*=?*)
   20780     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20781     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20782     ac_shift=:
   20783     ;;
   20784   --*=)
   20785     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20786     ac_optarg=
   20787     ac_shift=:
   20788     ;;
   20789   *)
   20790     ac_option=$1
   20791     ac_optarg=$2
   20792     ac_shift=shift
   20793     ;;
   20794   esac
   20795 
   20796   case $ac_option in
   20797   # Handling of the options.
   20798   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20799     ac_cs_recheck=: ;;
   20800   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20801     printf "%s\n" "$ac_cs_version"; exit ;;
   20802   --config | --confi | --conf | --con | --co | --c )
   20803     printf "%s\n" "$ac_cs_config"; exit ;;
   20804   --debug | --debu | --deb | --de | --d | -d )
   20805     debug=: ;;
   20806   --file | --fil | --fi | --f )
   20807     $ac_shift
   20808     case $ac_optarg in
   20809     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20810     '') as_fn_error $? "missing file argument" ;;
   20811     esac
   20812     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20813     ac_need_defaults=false;;
   20814   --header | --heade | --head | --hea )
   20815     $ac_shift
   20816     case $ac_optarg in
   20817     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20818     esac
   20819     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20820     ac_need_defaults=false;;
   20821   --he | --h)
   20822     # Conflict between --help and --header
   20823     as_fn_error $? "ambiguous option: \`$1'
   20824 Try \`$0 --help' for more information.";;
   20825   --help | --hel | -h )
   20826     printf "%s\n" "$ac_cs_usage"; exit ;;
   20827   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20828   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20829     ac_cs_silent=: ;;
   20830 
   20831   # This is an error.
   20832   -*) as_fn_error $? "unrecognized option: \`$1'
   20833 Try \`$0 --help' for more information." ;;
   20834 
   20835   *) as_fn_append ac_config_targets " $1"
   20836      ac_need_defaults=false ;;
   20837 
   20838   esac
   20839   shift
   20840 done
   20841 
   20842 ac_configure_extra_args=
   20843 
   20844 if $ac_cs_silent; then
   20845   exec 6>/dev/null
   20846   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20847 fi
   20848 
   20849 _ACEOF
   20850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20851 if \$ac_cs_recheck; then
   20852   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20853   shift
   20854   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20855   CONFIG_SHELL='$SHELL'
   20856   export CONFIG_SHELL
   20857   exec "\$@"
   20858 fi
   20859 
   20860 _ACEOF
   20861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20862 exec 5>>config.log
   20863 {
   20864   echo
   20865   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20866 ## Running $as_me. ##
   20867 _ASBOX
   20868   printf "%s\n" "$ac_log"
   20869 } >&5
   20870 
   20871 _ACEOF
   20872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20873 #
   20874 # INIT-COMMANDS
   20875 #
   20876 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20877 
   20878 
   20879 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20880 # if CDPATH is set.
   20881 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20882 
   20883 sed_quote_subst='$sed_quote_subst'
   20884 double_quote_subst='$double_quote_subst'
   20885 delay_variable_subst='$delay_variable_subst'
   20886 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20887 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20888 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20889 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20890 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20891 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20892 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20893 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20894 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20895 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20896 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20897 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20898 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20899 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20900 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20901 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20902 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20903 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20904 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20905 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20906 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20907 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20908 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20909 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20910 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20911 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20912 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20913 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20914 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20915 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20916 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20917 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20918 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20919 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20920 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20921 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20922 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20923 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20924 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20925 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20926 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20927 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20928 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20929 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20930 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20931 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20932 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20933 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20934 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20935 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20936 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20937 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20938 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20939 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20940 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20941 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20942 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20943 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20944 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20945 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20946 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"`'
   20947 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20948 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20949 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20950 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20951 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20952 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20953 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20954 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20955 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20956 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20957 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20958 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20959 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20960 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20961 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20962 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20963 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20964 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20965 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20966 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20967 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20968 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20969 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20970 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20971 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20972 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20973 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20974 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20975 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20976 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20977 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20978 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20979 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20980 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20981 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20982 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20983 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20984 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20985 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20986 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20987 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20988 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20989 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20990 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20991 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20992 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20993 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20994 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20995 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20996 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20997 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20998 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20999 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21000 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21001 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21002 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21003 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21004 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21005 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21006 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21007 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21008 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21009 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21010 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21011 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21012 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21013 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21014 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21015 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21016 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21017 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21018 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21019 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21020 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21021 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21022 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21023 
   21024 LTCC='$LTCC'
   21025 LTCFLAGS='$LTCFLAGS'
   21026 compiler='$compiler_DEFAULT'
   21027 
   21028 # A function that is used when there is no print builtin or printf.
   21029 func_fallback_echo ()
   21030 {
   21031   eval 'cat <<_LTECHO_EOF
   21032 \$1
   21033 _LTECHO_EOF'
   21034 }
   21035 
   21036 # Quote evaled strings.
   21037 for var in SHELL \
   21038 ECHO \
   21039 PATH_SEPARATOR \
   21040 SED \
   21041 GREP \
   21042 EGREP \
   21043 FGREP \
   21044 LD \
   21045 NM \
   21046 LN_S \
   21047 lt_SP2NL \
   21048 lt_NL2SP \
   21049 reload_flag \
   21050 FILECMD \
   21051 OBJDUMP \
   21052 deplibs_check_method \
   21053 file_magic_cmd \
   21054 file_magic_glob \
   21055 want_nocaseglob \
   21056 DLLTOOL \
   21057 sharedlib_from_linklib_cmd \
   21058 AR \
   21059 archiver_list_spec \
   21060 STRIP \
   21061 RANLIB \
   21062 CC \
   21063 CFLAGS \
   21064 compiler \
   21065 lt_cv_sys_global_symbol_pipe \
   21066 lt_cv_sys_global_symbol_to_cdecl \
   21067 lt_cv_sys_global_symbol_to_import \
   21068 lt_cv_sys_global_symbol_to_c_name_address \
   21069 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21070 lt_cv_nm_interface \
   21071 nm_file_list_spec \
   21072 lt_cv_truncate_bin \
   21073 lt_prog_compiler_no_builtin_flag \
   21074 lt_prog_compiler_pic \
   21075 lt_prog_compiler_wl \
   21076 lt_prog_compiler_static \
   21077 lt_cv_prog_compiler_c_o \
   21078 need_locks \
   21079 MANIFEST_TOOL \
   21080 DSYMUTIL \
   21081 NMEDIT \
   21082 LIPO \
   21083 OTOOL \
   21084 OTOOL64 \
   21085 shrext_cmds \
   21086 export_dynamic_flag_spec \
   21087 whole_archive_flag_spec \
   21088 compiler_needs_object \
   21089 with_gnu_ld \
   21090 allow_undefined_flag \
   21091 no_undefined_flag \
   21092 hardcode_libdir_flag_spec \
   21093 hardcode_libdir_separator \
   21094 exclude_expsyms \
   21095 include_expsyms \
   21096 file_list_spec \
   21097 variables_saved_for_relink \
   21098 libname_spec \
   21099 library_names_spec \
   21100 soname_spec \
   21101 install_override_mode \
   21102 finish_eval \
   21103 old_striplib \
   21104 striplib; do
   21105     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21106     *[\\\\\\\`\\"\\\$]*)
   21107       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21108       ;;
   21109     *)
   21110       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21111       ;;
   21112     esac
   21113 done
   21114 
   21115 # Double-quote double-evaled strings.
   21116 for var in reload_cmds \
   21117 old_postinstall_cmds \
   21118 old_postuninstall_cmds \
   21119 old_archive_cmds \
   21120 extract_expsyms_cmds \
   21121 old_archive_from_new_cmds \
   21122 old_archive_from_expsyms_cmds \
   21123 archive_cmds \
   21124 archive_expsym_cmds \
   21125 module_cmds \
   21126 module_expsym_cmds \
   21127 export_symbols_cmds \
   21128 prelink_cmds \
   21129 postlink_cmds \
   21130 postinstall_cmds \
   21131 postuninstall_cmds \
   21132 finish_cmds \
   21133 sys_lib_search_path_spec \
   21134 configure_time_dlsearch_path \
   21135 configure_time_lt_sys_library_path; do
   21136     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21137     *[\\\\\\\`\\"\\\$]*)
   21138       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21139       ;;
   21140     *)
   21141       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21142       ;;
   21143     esac
   21144 done
   21145 
   21146 ac_aux_dir='$ac_aux_dir'
   21147 
   21148 # See if we are running on zsh, and set the options that allow our
   21149 # commands through without removal of \ escapes INIT.
   21150 if test -n "\${ZSH_VERSION+set}"; then
   21151    setopt NO_GLOB_SUBST
   21152 fi
   21153 
   21154 
   21155     PACKAGE='$PACKAGE'
   21156     VERSION='$VERSION'
   21157     RM='$RM'
   21158     ofile='$ofile'
   21159 
   21160 
   21161 
   21162 
   21163 _ACEOF
   21164 
   21165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21166 
   21167 # Handling of arguments.
   21168 for ac_config_target in $ac_config_targets
   21169 do
   21170   case $ac_config_target in
   21171     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21172     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21173     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21174     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21175     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   21176     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21177     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21178     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21179     "sxpm/Makefile") CONFIG_FILES="$CONFIG_FILES sxpm/Makefile" ;;
   21180     "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
   21181     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   21182     "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
   21183 
   21184   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21185   esac
   21186 done
   21187 
   21188 
   21189 # If the user did not use the arguments to specify the items to instantiate,
   21190 # then the envvar interface is used.  Set only those that are not.
   21191 # We use the long form for the default assignment because of an extremely
   21192 # bizarre bug on SunOS 4.1.3.
   21193 if $ac_need_defaults; then
   21194   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21195   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21196   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21197 fi
   21198 
   21199 # Have a temporary directory for convenience.  Make it in the build tree
   21200 # simply because there is no reason against having it here, and in addition,
   21201 # creating and moving files from /tmp can sometimes cause problems.
   21202 # Hook for its removal unless debugging.
   21203 # Note that there is a small window in which the directory will not be cleaned:
   21204 # after its creation but before its name has been assigned to `$tmp'.
   21205 $debug ||
   21206 {
   21207   tmp= ac_tmp=
   21208   trap 'exit_status=$?
   21209   : "${ac_tmp:=$tmp}"
   21210   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21211 ' 0
   21212   trap 'as_fn_exit 1' 1 2 13 15
   21213 }
   21214 # Create a (secure) tmp directory for tmp files.
   21215 
   21216 {
   21217   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21218   test -d "$tmp"
   21219 }  ||
   21220 {
   21221   tmp=./conf$$-$RANDOM
   21222   (umask 077 && mkdir "$tmp")
   21223 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21224 ac_tmp=$tmp
   21225 
   21226 # Set up the scripts for CONFIG_FILES section.
   21227 # No need to generate them if there are no CONFIG_FILES.
   21228 # This happens for instance with `./config.status config.h'.
   21229 if test -n "$CONFIG_FILES"; then
   21230 
   21231 
   21232 ac_cr=`echo X | tr X '\015'`
   21233 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21234 # But we know of no other shell where ac_cr would be empty at this
   21235 # point, so we can use a bashism as a fallback.
   21236 if test "x$ac_cr" = x; then
   21237   eval ac_cr=\$\'\\r\'
   21238 fi
   21239 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21240 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21241   ac_cs_awk_cr='\\r'
   21242 else
   21243   ac_cs_awk_cr=$ac_cr
   21244 fi
   21245 
   21246 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21247 _ACEOF
   21248 
   21249 
   21250 {
   21251   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21252   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21253   echo "_ACEOF"
   21254 } >conf$$subs.sh ||
   21255   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21256 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21257 ac_delim='%!_!# '
   21258 for ac_last_try in false false false false false :; do
   21259   . ./conf$$subs.sh ||
   21260     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21261 
   21262   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21263   if test $ac_delim_n = $ac_delim_num; then
   21264     break
   21265   elif $ac_last_try; then
   21266     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21267   else
   21268     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21269   fi
   21270 done
   21271 rm -f conf$$subs.sh
   21272 
   21273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21274 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21275 _ACEOF
   21276 sed -n '
   21277 h
   21278 s/^/S["/; s/!.*/"]=/
   21279 p
   21280 g
   21281 s/^[^!]*!//
   21282 :repl
   21283 t repl
   21284 s/'"$ac_delim"'$//
   21285 t delim
   21286 :nl
   21287 h
   21288 s/\(.\{148\}\)..*/\1/
   21289 t more1
   21290 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21291 p
   21292 n
   21293 b repl
   21294 :more1
   21295 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21296 p
   21297 g
   21298 s/.\{148\}//
   21299 t nl
   21300 :delim
   21301 h
   21302 s/\(.\{148\}\)..*/\1/
   21303 t more2
   21304 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21305 p
   21306 b
   21307 :more2
   21308 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21309 p
   21310 g
   21311 s/.\{148\}//
   21312 t delim
   21313 ' <conf$$subs.awk | sed '
   21314 /^[^""]/{
   21315   N
   21316   s/\n//
   21317 }
   21318 ' >>$CONFIG_STATUS || ac_write_fail=1
   21319 rm -f conf$$subs.awk
   21320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21321 _ACAWK
   21322 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21323   for (key in S) S_is_set[key] = 1
   21324   FS = ""
   21325 
   21326 }
   21327 {
   21328   line = $ 0
   21329   nfields = split(line, field, "@")
   21330   substed = 0
   21331   len = length(field[1])
   21332   for (i = 2; i < nfields; i++) {
   21333     key = field[i]
   21334     keylen = length(key)
   21335     if (S_is_set[key]) {
   21336       value = S[key]
   21337       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21338       len += length(value) + length(field[++i])
   21339       substed = 1
   21340     } else
   21341       len += 1 + keylen
   21342   }
   21343 
   21344   print line
   21345 }
   21346 
   21347 _ACAWK
   21348 _ACEOF
   21349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21350 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21351   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21352 else
   21353   cat
   21354 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21355   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21356 _ACEOF
   21357 
   21358 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21359 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21360 # trailing colons and then remove the whole line if VPATH becomes empty
   21361 # (actually we leave an empty line to preserve line numbers).
   21362 if test "x$srcdir" = x.; then
   21363   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21364 h
   21365 s///
   21366 s/^/:/
   21367 s/[	 ]*$/:/
   21368 s/:\$(srcdir):/:/g
   21369 s/:\${srcdir}:/:/g
   21370 s/:@srcdir@:/:/g
   21371 s/^:*//
   21372 s/:*$//
   21373 x
   21374 s/\(=[	 ]*\).*/\1/
   21375 G
   21376 s/\n//
   21377 s/^[^=]*=[	 ]*$//
   21378 }'
   21379 fi
   21380 
   21381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21382 fi # test -n "$CONFIG_FILES"
   21383 
   21384 # Set up the scripts for CONFIG_HEADERS section.
   21385 # No need to generate them if there are no CONFIG_HEADERS.
   21386 # This happens for instance with `./config.status Makefile'.
   21387 if test -n "$CONFIG_HEADERS"; then
   21388 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21389 BEGIN {
   21390 _ACEOF
   21391 
   21392 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21393 # here-document in config.status, that substitutes the proper values into
   21394 # config.h.in to produce config.h.
   21395 
   21396 # Create a delimiter string that does not exist in confdefs.h, to ease
   21397 # handling of long lines.
   21398 ac_delim='%!_!# '
   21399 for ac_last_try in false false :; do
   21400   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21401   if test -z "$ac_tt"; then
   21402     break
   21403   elif $ac_last_try; then
   21404     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21405   else
   21406     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21407   fi
   21408 done
   21409 
   21410 # For the awk script, D is an array of macro values keyed by name,
   21411 # likewise P contains macro parameters if any.  Preserve backslash
   21412 # newline sequences.
   21413 
   21414 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21415 sed -n '
   21416 s/.\{148\}/&'"$ac_delim"'/g
   21417 t rset
   21418 :rset
   21419 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21420 t def
   21421 d
   21422 :def
   21423 s/\\$//
   21424 t bsnl
   21425 s/["\\]/\\&/g
   21426 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21427 D["\1"]=" \3"/p
   21428 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21429 d
   21430 :bsnl
   21431 s/["\\]/\\&/g
   21432 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21433 D["\1"]=" \3\\\\\\n"\\/p
   21434 t cont
   21435 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21436 t cont
   21437 d
   21438 :cont
   21439 n
   21440 s/.\{148\}/&'"$ac_delim"'/g
   21441 t clear
   21442 :clear
   21443 s/\\$//
   21444 t bsnlc
   21445 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21446 d
   21447 :bsnlc
   21448 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21449 b cont
   21450 ' <confdefs.h | sed '
   21451 s/'"$ac_delim"'/"\\\
   21452 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21453 
   21454 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21455   for (key in D) D_is_set[key] = 1
   21456   FS = ""
   21457 }
   21458 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21459   line = \$ 0
   21460   split(line, arg, " ")
   21461   if (arg[1] == "#") {
   21462     defundef = arg[2]
   21463     mac1 = arg[3]
   21464   } else {
   21465     defundef = substr(arg[1], 2)
   21466     mac1 = arg[2]
   21467   }
   21468   split(mac1, mac2, "(") #)
   21469   macro = mac2[1]
   21470   prefix = substr(line, 1, index(line, defundef) - 1)
   21471   if (D_is_set[macro]) {
   21472     # Preserve the white space surrounding the "#".
   21473     print prefix "define", macro P[macro] D[macro]
   21474     next
   21475   } else {
   21476     # Replace #undef with comments.  This is necessary, for example,
   21477     # in the case of _POSIX_SOURCE, which is predefined and required
   21478     # on some systems where configure will not decide to define it.
   21479     if (defundef == "undef") {
   21480       print "/*", prefix defundef, macro, "*/"
   21481       next
   21482     }
   21483   }
   21484 }
   21485 { print }
   21486 _ACAWK
   21487 _ACEOF
   21488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21489   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21490 fi # test -n "$CONFIG_HEADERS"
   21491 
   21492 
   21493 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21494 shift
   21495 for ac_tag
   21496 do
   21497   case $ac_tag in
   21498   :[FHLC]) ac_mode=$ac_tag; continue;;
   21499   esac
   21500   case $ac_mode$ac_tag in
   21501   :[FHL]*:*);;
   21502   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21503   :[FH]-) ac_tag=-:-;;
   21504   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21505   esac
   21506   ac_save_IFS=$IFS
   21507   IFS=:
   21508   set x $ac_tag
   21509   IFS=$ac_save_IFS
   21510   shift
   21511   ac_file=$1
   21512   shift
   21513 
   21514   case $ac_mode in
   21515   :L) ac_source=$1;;
   21516   :[FH])
   21517     ac_file_inputs=
   21518     for ac_f
   21519     do
   21520       case $ac_f in
   21521       -) ac_f="$ac_tmp/stdin";;
   21522       *) # Look for the file first in the build tree, then in the source tree
   21523 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21524 	 # because $ac_f cannot contain `:'.
   21525 	 test -f "$ac_f" ||
   21526 	   case $ac_f in
   21527 	   [\\/$]*) false;;
   21528 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21529 	   esac ||
   21530 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21531       esac
   21532       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21533       as_fn_append ac_file_inputs " '$ac_f'"
   21534     done
   21535 
   21536     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21537     # use $as_me), people would be surprised to read:
   21538     #    /* config.h.  Generated by config.status.  */
   21539     configure_input='Generated from '`
   21540 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21541 	`' by configure.'
   21542     if test x"$ac_file" != x-; then
   21543       configure_input="$ac_file.  $configure_input"
   21544       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21545 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21546     fi
   21547     # Neutralize special characters interpreted by sed in replacement strings.
   21548     case $configure_input in #(
   21549     *\&* | *\|* | *\\* )
   21550        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21551        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21552     *) ac_sed_conf_input=$configure_input;;
   21553     esac
   21554 
   21555     case $ac_tag in
   21556     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21557       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21558     esac
   21559     ;;
   21560   esac
   21561 
   21562   ac_dir=`$as_dirname -- "$ac_file" ||
   21563 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21564 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21565 	 X"$ac_file" : 'X\(//\)$' \| \
   21566 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21567 printf "%s\n" X"$ac_file" |
   21568     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21569 	    s//\1/
   21570 	    q
   21571 	  }
   21572 	  /^X\(\/\/\)[^/].*/{
   21573 	    s//\1/
   21574 	    q
   21575 	  }
   21576 	  /^X\(\/\/\)$/{
   21577 	    s//\1/
   21578 	    q
   21579 	  }
   21580 	  /^X\(\/\).*/{
   21581 	    s//\1/
   21582 	    q
   21583 	  }
   21584 	  s/.*/./; q'`
   21585   as_dir="$ac_dir"; as_fn_mkdir_p
   21586   ac_builddir=.
   21587 
   21588 case "$ac_dir" in
   21589 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21590 *)
   21591   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21592   # A ".." for each directory in $ac_dir_suffix.
   21593   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21594   case $ac_top_builddir_sub in
   21595   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21596   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21597   esac ;;
   21598 esac
   21599 ac_abs_top_builddir=$ac_pwd
   21600 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21601 # for backward compatibility:
   21602 ac_top_builddir=$ac_top_build_prefix
   21603 
   21604 case $srcdir in
   21605   .)  # We are building in place.
   21606     ac_srcdir=.
   21607     ac_top_srcdir=$ac_top_builddir_sub
   21608     ac_abs_top_srcdir=$ac_pwd ;;
   21609   [\\/]* | ?:[\\/]* )  # Absolute name.
   21610     ac_srcdir=$srcdir$ac_dir_suffix;
   21611     ac_top_srcdir=$srcdir
   21612     ac_abs_top_srcdir=$srcdir ;;
   21613   *) # Relative name.
   21614     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21615     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21616     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21617 esac
   21618 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21619 
   21620 
   21621   case $ac_mode in
   21622   :F)
   21623   #
   21624   # CONFIG_FILE
   21625   #
   21626 
   21627   case $INSTALL in
   21628   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21629   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21630   esac
   21631   ac_MKDIR_P=$MKDIR_P
   21632   case $MKDIR_P in
   21633   [\\/$]* | ?:[\\/]* ) ;;
   21634   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21635   esac
   21636 _ACEOF
   21637 
   21638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21639 # If the template does not know about datarootdir, expand it.
   21640 # FIXME: This hack should be removed a few years after 2.60.
   21641 ac_datarootdir_hack=; ac_datarootdir_seen=
   21642 ac_sed_dataroot='
   21643 /datarootdir/ {
   21644   p
   21645   q
   21646 }
   21647 /@datadir@/p
   21648 /@docdir@/p
   21649 /@infodir@/p
   21650 /@localedir@/p
   21651 /@mandir@/p'
   21652 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21653 *datarootdir*) ac_datarootdir_seen=yes;;
   21654 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21656 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21657 _ACEOF
   21658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21659   ac_datarootdir_hack='
   21660   s&@datadir@&$datadir&g
   21661   s&@docdir@&$docdir&g
   21662   s&@infodir@&$infodir&g
   21663   s&@localedir@&$localedir&g
   21664   s&@mandir@&$mandir&g
   21665   s&\\\${datarootdir}&$datarootdir&g' ;;
   21666 esac
   21667 _ACEOF
   21668 
   21669 # Neutralize VPATH when `$srcdir' = `.'.
   21670 # Shell code in configure.ac might set extrasub.
   21671 # FIXME: do we really want to maintain this feature?
   21672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21673 ac_sed_extra="$ac_vpsub
   21674 $extrasub
   21675 _ACEOF
   21676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21677 :t
   21678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21679 s|@configure_input@|$ac_sed_conf_input|;t t
   21680 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21681 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21682 s&@srcdir@&$ac_srcdir&;t t
   21683 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21684 s&@top_srcdir@&$ac_top_srcdir&;t t
   21685 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21686 s&@builddir@&$ac_builddir&;t t
   21687 s&@abs_builddir@&$ac_abs_builddir&;t t
   21688 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21689 s&@INSTALL@&$ac_INSTALL&;t t
   21690 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21691 $ac_datarootdir_hack
   21692 "
   21693 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21694   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21695 
   21696 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21697   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21698   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21699       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21700   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21701 which seems to be undefined.  Please make sure it is defined" >&5
   21702 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21703 which seems to be undefined.  Please make sure it is defined" >&2;}
   21704 
   21705   rm -f "$ac_tmp/stdin"
   21706   case $ac_file in
   21707   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21708   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21709   esac \
   21710   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21711  ;;
   21712   :H)
   21713   #
   21714   # CONFIG_HEADER
   21715   #
   21716   if test x"$ac_file" != x-; then
   21717     {
   21718       printf "%s\n" "/* $configure_input  */" >&1 \
   21719       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21720     } >"$ac_tmp/config.h" \
   21721       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21722     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21723       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21724 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21725     else
   21726       rm -f "$ac_file"
   21727       mv "$ac_tmp/config.h" "$ac_file" \
   21728 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21729     fi
   21730   else
   21731     printf "%s\n" "/* $configure_input  */" >&1 \
   21732       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21733       || as_fn_error $? "could not create -" "$LINENO" 5
   21734   fi
   21735 # Compute "$ac_file"'s index in $config_headers.
   21736 _am_arg="$ac_file"
   21737 _am_stamp_count=1
   21738 for _am_header in $config_headers :; do
   21739   case $_am_header in
   21740     $_am_arg | $_am_arg:* )
   21741       break ;;
   21742     * )
   21743       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21744   esac
   21745 done
   21746 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21747 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21748 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21749 	 X"$_am_arg" : 'X\(//\)$' \| \
   21750 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21751 printf "%s\n" X"$_am_arg" |
   21752     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21753 	    s//\1/
   21754 	    q
   21755 	  }
   21756 	  /^X\(\/\/\)[^/].*/{
   21757 	    s//\1/
   21758 	    q
   21759 	  }
   21760 	  /^X\(\/\/\)$/{
   21761 	    s//\1/
   21762 	    q
   21763 	  }
   21764 	  /^X\(\/\).*/{
   21765 	    s//\1/
   21766 	    q
   21767 	  }
   21768 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21769  ;;
   21770 
   21771   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21772 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21773  ;;
   21774   esac
   21775 
   21776 
   21777   case $ac_file$ac_mode in
   21778     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21779   # Older Autoconf quotes --file arguments for eval, but not when files
   21780   # are listed without --file.  Let's play safe and only enable the eval
   21781   # if we detect the quoting.
   21782   # TODO: see whether this extra hack can be removed once we start
   21783   # requiring Autoconf 2.70 or later.
   21784   case $CONFIG_FILES in #(
   21785   *\'*) :
   21786     eval set x "$CONFIG_FILES" ;; #(
   21787   *) :
   21788     set x $CONFIG_FILES ;; #(
   21789   *) :
   21790      ;;
   21791 esac
   21792   shift
   21793   # Used to flag and report bootstrapping failures.
   21794   am_rc=0
   21795   for am_mf
   21796   do
   21797     # Strip MF so we end up with the name of the file.
   21798     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21799     # Check whether this is an Automake generated Makefile which includes
   21800     # dependency-tracking related rules and includes.
   21801     # Grep'ing the whole file directly is not great: AIX grep has a line
   21802     # limit of 2048, but all sed's we know have understand at least 4000.
   21803     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21804       || continue
   21805     am_dirpart=`$as_dirname -- "$am_mf" ||
   21806 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21807 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21808 	 X"$am_mf" : 'X\(//\)$' \| \
   21809 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21810 printf "%s\n" X"$am_mf" |
   21811     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21812 	    s//\1/
   21813 	    q
   21814 	  }
   21815 	  /^X\(\/\/\)[^/].*/{
   21816 	    s//\1/
   21817 	    q
   21818 	  }
   21819 	  /^X\(\/\/\)$/{
   21820 	    s//\1/
   21821 	    q
   21822 	  }
   21823 	  /^X\(\/\).*/{
   21824 	    s//\1/
   21825 	    q
   21826 	  }
   21827 	  s/.*/./; q'`
   21828     am_filepart=`$as_basename -- "$am_mf" ||
   21829 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21830 	 X"$am_mf" : 'X\(//\)$' \| \
   21831 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21832 printf "%s\n" X/"$am_mf" |
   21833     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21834 	    s//\1/
   21835 	    q
   21836 	  }
   21837 	  /^X\/\(\/\/\)$/{
   21838 	    s//\1/
   21839 	    q
   21840 	  }
   21841 	  /^X\/\(\/\).*/{
   21842 	    s//\1/
   21843 	    q
   21844 	  }
   21845 	  s/.*/./; q'`
   21846     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21847       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21848         | $MAKE -f - am--depfiles" >&5
   21849    (cd "$am_dirpart" \
   21850       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21851         | $MAKE -f - am--depfiles) >&5 2>&5
   21852    ac_status=$?
   21853    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21854    (exit $ac_status); } || am_rc=$?
   21855   done
   21856   if test $am_rc -ne 0; then
   21857     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21858 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21859 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21860     for automatic dependency tracking.  If GNU make was not used, consider
   21861     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21862     necessary).  You can also try re-running configure with the
   21863     '--disable-dependency-tracking' option to at least be able to build
   21864     the package (albeit without support for automatic dependency tracking).
   21865 See \`config.log' for more details" "$LINENO" 5; }
   21866   fi
   21867   { am_dirpart=; unset am_dirpart;}
   21868   { am_filepart=; unset am_filepart;}
   21869   { am_mf=; unset am_mf;}
   21870   { am_rc=; unset am_rc;}
   21871   rm -f conftest-deps.mk
   21872 }
   21873  ;;
   21874     "libtool":C)
   21875 
   21876     # See if we are running on zsh, and set the options that allow our
   21877     # commands through without removal of \ escapes.
   21878     if test -n "${ZSH_VERSION+set}"; then
   21879       setopt NO_GLOB_SUBST
   21880     fi
   21881 
   21882     cfgfile=${ofile}T
   21883     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21884     $RM "$cfgfile"
   21885 
   21886     cat <<_LT_EOF >> "$cfgfile"
   21887 #! $SHELL
   21888 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21889 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21890 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21891 
   21892 # Provide generalized library-building support services.
   21893 # Written by Gordon Matzigkeit, 1996
   21894 
   21895 # Copyright (C) 2014 Free Software Foundation, Inc.
   21896 # This is free software; see the source for copying conditions.  There is NO
   21897 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21898 
   21899 # GNU Libtool is free software; you can redistribute it and/or modify
   21900 # it under the terms of the GNU General Public License as published by
   21901 # the Free Software Foundation; either version 2 of of the License, or
   21902 # (at your option) any later version.
   21903 #
   21904 # As a special exception to the GNU General Public License, if you
   21905 # distribute this file as part of a program or library that is built
   21906 # using GNU Libtool, you may include this file under the  same
   21907 # distribution terms that you use for the rest of that program.
   21908 #
   21909 # GNU Libtool is distributed in the hope that it will be useful, but
   21910 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21911 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21912 # GNU General Public License for more details.
   21913 #
   21914 # You should have received a copy of the GNU General Public License
   21915 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21916 
   21917 
   21918 # The names of the tagged configurations supported by this script.
   21919 available_tags=''
   21920 
   21921 # Configured defaults for sys_lib_dlsearch_path munging.
   21922 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21923 
   21924 # ### BEGIN LIBTOOL CONFIG
   21925 
   21926 # Which release of libtool.m4 was used?
   21927 macro_version=$macro_version
   21928 macro_revision=$macro_revision
   21929 
   21930 # Whether or not to build shared libraries.
   21931 build_libtool_libs=$enable_shared
   21932 
   21933 # Whether or not to build static libraries.
   21934 build_old_libs=$enable_static
   21935 
   21936 # What type of objects to build.
   21937 pic_mode=$pic_mode
   21938 
   21939 # Whether or not to optimize for fast installation.
   21940 fast_install=$enable_fast_install
   21941 
   21942 # Shared archive member basename,for filename based shared library versioning on AIX.
   21943 shared_archive_member_spec=$shared_archive_member_spec
   21944 
   21945 # Shell to use when invoking shell scripts.
   21946 SHELL=$lt_SHELL
   21947 
   21948 # An echo program that protects backslashes.
   21949 ECHO=$lt_ECHO
   21950 
   21951 # The PATH separator for the build system.
   21952 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21953 
   21954 # The host system.
   21955 host_alias=$host_alias
   21956 host=$host
   21957 host_os=$host_os
   21958 
   21959 # The build system.
   21960 build_alias=$build_alias
   21961 build=$build
   21962 build_os=$build_os
   21963 
   21964 # A sed program that does not truncate output.
   21965 SED=$lt_SED
   21966 
   21967 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21968 Xsed="\$SED -e 1s/^X//"
   21969 
   21970 # A grep program that handles long lines.
   21971 GREP=$lt_GREP
   21972 
   21973 # An ERE matcher.
   21974 EGREP=$lt_EGREP
   21975 
   21976 # A literal string matcher.
   21977 FGREP=$lt_FGREP
   21978 
   21979 # A BSD- or MS-compatible name lister.
   21980 NM=$lt_NM
   21981 
   21982 # Whether we need soft or hard links.
   21983 LN_S=$lt_LN_S
   21984 
   21985 # What is the maximum length of a command?
   21986 max_cmd_len=$max_cmd_len
   21987 
   21988 # Object file suffix (normally "o").
   21989 objext=$ac_objext
   21990 
   21991 # Executable file suffix (normally "").
   21992 exeext=$exeext
   21993 
   21994 # whether the shell understands "unset".
   21995 lt_unset=$lt_unset
   21996 
   21997 # turn spaces into newlines.
   21998 SP2NL=$lt_lt_SP2NL
   21999 
   22000 # turn newlines into spaces.
   22001 NL2SP=$lt_lt_NL2SP
   22002 
   22003 # convert \$build file names to \$host format.
   22004 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22005 
   22006 # convert \$build files to toolchain format.
   22007 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22008 
   22009 # A file(cmd) program that detects file types.
   22010 FILECMD=$lt_FILECMD
   22011 
   22012 # An object symbol dumper.
   22013 OBJDUMP=$lt_OBJDUMP
   22014 
   22015 # Method to check whether dependent libraries are shared objects.
   22016 deplibs_check_method=$lt_deplibs_check_method
   22017 
   22018 # Command to use when deplibs_check_method = "file_magic".
   22019 file_magic_cmd=$lt_file_magic_cmd
   22020 
   22021 # How to find potential files when deplibs_check_method = "file_magic".
   22022 file_magic_glob=$lt_file_magic_glob
   22023 
   22024 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22025 want_nocaseglob=$lt_want_nocaseglob
   22026 
   22027 # DLL creation program.
   22028 DLLTOOL=$lt_DLLTOOL
   22029 
   22030 # Command to associate shared and link libraries.
   22031 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22032 
   22033 # The archiver.
   22034 AR=$lt_AR
   22035 
   22036 # Flags to create an archive (by configure).
   22037 lt_ar_flags=$lt_ar_flags
   22038 
   22039 # Flags to create an archive.
   22040 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22041 
   22042 # How to feed a file listing to the archiver.
   22043 archiver_list_spec=$lt_archiver_list_spec
   22044 
   22045 # A symbol stripping program.
   22046 STRIP=$lt_STRIP
   22047 
   22048 # Commands used to install an old-style archive.
   22049 RANLIB=$lt_RANLIB
   22050 old_postinstall_cmds=$lt_old_postinstall_cmds
   22051 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22052 
   22053 # Whether to use a lock for old archive extraction.
   22054 lock_old_archive_extraction=$lock_old_archive_extraction
   22055 
   22056 # A C compiler.
   22057 LTCC=$lt_CC
   22058 
   22059 # LTCC compiler flags.
   22060 LTCFLAGS=$lt_CFLAGS
   22061 
   22062 # Take the output of nm and produce a listing of raw symbols and C names.
   22063 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22064 
   22065 # Transform the output of nm in a proper C declaration.
   22066 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22067 
   22068 # Transform the output of nm into a list of symbols to manually relocate.
   22069 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22070 
   22071 # Transform the output of nm in a C name address pair.
   22072 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22073 
   22074 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22075 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22076 
   22077 # The name lister interface.
   22078 nm_interface=$lt_lt_cv_nm_interface
   22079 
   22080 # Specify filename containing input files for \$NM.
   22081 nm_file_list_spec=$lt_nm_file_list_spec
   22082 
   22083 # The root where to search for dependent libraries,and where our libraries should be installed.
   22084 lt_sysroot=$lt_sysroot
   22085 
   22086 # Command to truncate a binary pipe.
   22087 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22088 
   22089 # The name of the directory that contains temporary libtool files.
   22090 objdir=$objdir
   22091 
   22092 # Used to examine libraries when file_magic_cmd begins with "file".
   22093 MAGIC_CMD=$MAGIC_CMD
   22094 
   22095 # Must we lock files when doing compilation?
   22096 need_locks=$lt_need_locks
   22097 
   22098 # Manifest tool.
   22099 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22100 
   22101 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22102 DSYMUTIL=$lt_DSYMUTIL
   22103 
   22104 # Tool to change global to local symbols on Mac OS X.
   22105 NMEDIT=$lt_NMEDIT
   22106 
   22107 # Tool to manipulate fat objects and archives on Mac OS X.
   22108 LIPO=$lt_LIPO
   22109 
   22110 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22111 OTOOL=$lt_OTOOL
   22112 
   22113 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22114 OTOOL64=$lt_OTOOL64
   22115 
   22116 # Old archive suffix (normally "a").
   22117 libext=$libext
   22118 
   22119 # Shared library suffix (normally ".so").
   22120 shrext_cmds=$lt_shrext_cmds
   22121 
   22122 # The commands to extract the exported symbol list from a shared archive.
   22123 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22124 
   22125 # Variables whose values should be saved in libtool wrapper scripts and
   22126 # restored at link time.
   22127 variables_saved_for_relink=$lt_variables_saved_for_relink
   22128 
   22129 # Do we need the "lib" prefix for modules?
   22130 need_lib_prefix=$need_lib_prefix
   22131 
   22132 # Do we need a version for libraries?
   22133 need_version=$need_version
   22134 
   22135 # Library versioning type.
   22136 version_type=$version_type
   22137 
   22138 # Shared library runtime path variable.
   22139 runpath_var=$runpath_var
   22140 
   22141 # Shared library path variable.
   22142 shlibpath_var=$shlibpath_var
   22143 
   22144 # Is shlibpath searched before the hard-coded library search path?
   22145 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22146 
   22147 # Format of library name prefix.
   22148 libname_spec=$lt_libname_spec
   22149 
   22150 # List of archive names.  First name is the real one, the rest are links.
   22151 # The last name is the one that the linker finds with -lNAME
   22152 library_names_spec=$lt_library_names_spec
   22153 
   22154 # The coded name of the library, if different from the real name.
   22155 soname_spec=$lt_soname_spec
   22156 
   22157 # Permission mode override for installation of shared libraries.
   22158 install_override_mode=$lt_install_override_mode
   22159 
   22160 # Command to use after installation of a shared archive.
   22161 postinstall_cmds=$lt_postinstall_cmds
   22162 
   22163 # Command to use after uninstallation of a shared archive.
   22164 postuninstall_cmds=$lt_postuninstall_cmds
   22165 
   22166 # Commands used to finish a libtool library installation in a directory.
   22167 finish_cmds=$lt_finish_cmds
   22168 
   22169 # As "finish_cmds", except a single script fragment to be evaled but
   22170 # not shown.
   22171 finish_eval=$lt_finish_eval
   22172 
   22173 # Whether we should hardcode library paths into libraries.
   22174 hardcode_into_libs=$hardcode_into_libs
   22175 
   22176 # Compile-time system search path for libraries.
   22177 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22178 
   22179 # Detected run-time system search path for libraries.
   22180 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22181 
   22182 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22183 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22184 
   22185 # Whether dlopen is supported.
   22186 dlopen_support=$enable_dlopen
   22187 
   22188 # Whether dlopen of programs is supported.
   22189 dlopen_self=$enable_dlopen_self
   22190 
   22191 # Whether dlopen of statically linked programs is supported.
   22192 dlopen_self_static=$enable_dlopen_self_static
   22193 
   22194 # Commands to strip libraries.
   22195 old_striplib=$lt_old_striplib
   22196 striplib=$lt_striplib
   22197 
   22198 
   22199 # The linker used to build libraries.
   22200 LD=$lt_LD
   22201 
   22202 # How to create reloadable object files.
   22203 reload_flag=$lt_reload_flag
   22204 reload_cmds=$lt_reload_cmds
   22205 
   22206 # Commands used to build an old-style archive.
   22207 old_archive_cmds=$lt_old_archive_cmds
   22208 
   22209 # A language specific compiler.
   22210 CC=$lt_compiler
   22211 
   22212 # Is the compiler the GNU compiler?
   22213 with_gcc=$GCC
   22214 
   22215 # Compiler flag to turn off builtin functions.
   22216 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22217 
   22218 # Additional compiler flags for building library objects.
   22219 pic_flag=$lt_lt_prog_compiler_pic
   22220 
   22221 # How to pass a linker flag through the compiler.
   22222 wl=$lt_lt_prog_compiler_wl
   22223 
   22224 # Compiler flag to prevent dynamic linking.
   22225 link_static_flag=$lt_lt_prog_compiler_static
   22226 
   22227 # Does compiler simultaneously support -c and -o options?
   22228 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22229 
   22230 # Whether or not to add -lc for building shared libraries.
   22231 build_libtool_need_lc=$archive_cmds_need_lc
   22232 
   22233 # Whether or not to disallow shared libs when runtime libs are static.
   22234 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22235 
   22236 # Compiler flag to allow reflexive dlopens.
   22237 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22238 
   22239 # Compiler flag to generate shared objects directly from archives.
   22240 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22241 
   22242 # Whether the compiler copes with passing no objects directly.
   22243 compiler_needs_object=$lt_compiler_needs_object
   22244 
   22245 # Create an old-style archive from a shared archive.
   22246 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22247 
   22248 # Create a temporary old-style archive to link instead of a shared archive.
   22249 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22250 
   22251 # Commands used to build a shared archive.
   22252 archive_cmds=$lt_archive_cmds
   22253 archive_expsym_cmds=$lt_archive_expsym_cmds
   22254 
   22255 # Commands used to build a loadable module if different from building
   22256 # a shared archive.
   22257 module_cmds=$lt_module_cmds
   22258 module_expsym_cmds=$lt_module_expsym_cmds
   22259 
   22260 # Whether we are building with GNU ld or not.
   22261 with_gnu_ld=$lt_with_gnu_ld
   22262 
   22263 # Flag that allows shared libraries with undefined symbols to be built.
   22264 allow_undefined_flag=$lt_allow_undefined_flag
   22265 
   22266 # Flag that enforces no undefined symbols.
   22267 no_undefined_flag=$lt_no_undefined_flag
   22268 
   22269 # Flag to hardcode \$libdir into a binary during linking.
   22270 # This must work even if \$libdir does not exist
   22271 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22272 
   22273 # Whether we need a single "-rpath" flag with a separated argument.
   22274 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22275 
   22276 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22277 # DIR into the resulting binary.
   22278 hardcode_direct=$hardcode_direct
   22279 
   22280 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22281 # DIR into the resulting binary and the resulting library dependency is
   22282 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22283 # library is relocated.
   22284 hardcode_direct_absolute=$hardcode_direct_absolute
   22285 
   22286 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22287 # into the resulting binary.
   22288 hardcode_minus_L=$hardcode_minus_L
   22289 
   22290 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22291 # into the resulting binary.
   22292 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22293 
   22294 # Set to "yes" if building a shared library automatically hardcodes DIR
   22295 # into the library and all subsequent libraries and executables linked
   22296 # against it.
   22297 hardcode_automatic=$hardcode_automatic
   22298 
   22299 # Set to yes if linker adds runtime paths of dependent libraries
   22300 # to runtime path list.
   22301 inherit_rpath=$inherit_rpath
   22302 
   22303 # Whether libtool must link a program against all its dependency libraries.
   22304 link_all_deplibs=$link_all_deplibs
   22305 
   22306 # Set to "yes" if exported symbols are required.
   22307 always_export_symbols=$always_export_symbols
   22308 
   22309 # The commands to list exported symbols.
   22310 export_symbols_cmds=$lt_export_symbols_cmds
   22311 
   22312 # Symbols that should not be listed in the preloaded symbols.
   22313 exclude_expsyms=$lt_exclude_expsyms
   22314 
   22315 # Symbols that must always be exported.
   22316 include_expsyms=$lt_include_expsyms
   22317 
   22318 # Commands necessary for linking programs (against libraries) with templates.
   22319 prelink_cmds=$lt_prelink_cmds
   22320 
   22321 # Commands necessary for finishing linking programs.
   22322 postlink_cmds=$lt_postlink_cmds
   22323 
   22324 # Specify filename containing input files.
   22325 file_list_spec=$lt_file_list_spec
   22326 
   22327 # How to hardcode a shared library path into an executable.
   22328 hardcode_action=$hardcode_action
   22329 
   22330 # ### END LIBTOOL CONFIG
   22331 
   22332 _LT_EOF
   22333 
   22334     cat <<'_LT_EOF' >> "$cfgfile"
   22335 
   22336 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22337 
   22338 # func_munge_path_list VARIABLE PATH
   22339 # -----------------------------------
   22340 # VARIABLE is name of variable containing _space_ separated list of
   22341 # directories to be munged by the contents of PATH, which is string
   22342 # having a format:
   22343 # "DIR[:DIR]:"
   22344 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22345 # ":DIR[:DIR]"
   22346 #       string "DIR[ DIR]" will be appended to VARIABLE
   22347 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22348 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22349 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22350 # "DIR[:DIR]"
   22351 #       VARIABLE will be replaced by "DIR[ DIR]"
   22352 func_munge_path_list ()
   22353 {
   22354     case x$2 in
   22355     x)
   22356         ;;
   22357     *:)
   22358         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22359         ;;
   22360     x:*)
   22361         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22362         ;;
   22363     *::*)
   22364         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22365         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22366         ;;
   22367     *)
   22368         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22369         ;;
   22370     esac
   22371 }
   22372 
   22373 
   22374 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22375 func_cc_basename ()
   22376 {
   22377     for cc_temp in $*""; do
   22378       case $cc_temp in
   22379         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22380         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22381         \-*) ;;
   22382         *) break;;
   22383       esac
   22384     done
   22385     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22386 }
   22387 
   22388 
   22389 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22390 
   22391 _LT_EOF
   22392 
   22393   case $host_os in
   22394   aix3*)
   22395     cat <<\_LT_EOF >> "$cfgfile"
   22396 # AIX sometimes has problems with the GCC collect2 program.  For some
   22397 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22398 # vanish in a puff of smoke.
   22399 if test set != "${COLLECT_NAMES+set}"; then
   22400   COLLECT_NAMES=
   22401   export COLLECT_NAMES
   22402 fi
   22403 _LT_EOF
   22404     ;;
   22405   esac
   22406 
   22407 
   22408 
   22409 ltmain=$ac_aux_dir/ltmain.sh
   22410 
   22411 
   22412   # We use sed instead of cat because bash on DJGPP gets confused if
   22413   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22414   # text mode, it properly converts lines to CR/LF.  This bash problem
   22415   # is reportedly fixed, but why not run on old versions too?
   22416   $SED '$q' "$ltmain" >> "$cfgfile" \
   22417      || (rm -f "$cfgfile"; exit 1)
   22418 
   22419    mv -f "$cfgfile" "$ofile" ||
   22420     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22421   chmod +x "$ofile"
   22422 
   22423  ;;
   22424 
   22425   esac
   22426 done # for ac_tag
   22427 
   22428 
   22429 as_fn_exit 0
   22430 _ACEOF
   22431 ac_clean_files=$ac_clean_files_save
   22432 
   22433 test $ac_write_fail = 0 ||
   22434   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22435 
   22436 
   22437 # configure is writing to config.log, and then calls config.status.
   22438 # config.status does its own redirection, appending to config.log.
   22439 # Unfortunately, on DOS this fails, as config.log is still kept open
   22440 # by configure, so config.status won't be able to write to it; its
   22441 # output is simply discarded.  So we exec the FD to /dev/null,
   22442 # effectively closing config.log, so it can be properly (re)opened and
   22443 # appended to by config.status.  When coming back to configure, we
   22444 # need to make the FD available again.
   22445 if test "$no_create" != yes; then
   22446   ac_cs_success=:
   22447   ac_config_status_args=
   22448   test "$silent" = yes &&
   22449     ac_config_status_args="$ac_config_status_args --quiet"
   22450   exec 5>/dev/null
   22451   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22452   exec 5>>config.log
   22453   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22454   # would make configure fail if this is the last instruction.
   22455   $ac_cs_success || as_fn_exit 1
   22456 fi
   22457 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22458   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22459 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22460 fi
   22461 
   22462 
   22463