Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXrandr 1.5.4.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/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/libxrandr/-/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='libXrandr'
    624 PACKAGE_TARNAME='libXrandr'
    625 PACKAGE_VERSION='1.5.4'
    626 PACKAGE_STRING='libXrandr 1.5.4'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/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 RANDR_LIBS
    668 RANDR_CFLAGS
    669 RANDR_VERSION
    670 XTMALLOC_ZERO_CFLAGS
    671 XMALLOC_ZERO_CFLAGS
    672 MALLOC_ZERO_CFLAGS
    673 MAN_SUBSTS
    674 XORG_MAN_PAGE
    675 ADMIN_MAN_DIR
    676 DRIVER_MAN_DIR
    677 MISC_MAN_DIR
    678 FILE_MAN_DIR
    679 LIB_MAN_DIR
    680 APP_MAN_DIR
    681 ADMIN_MAN_SUFFIX
    682 DRIVER_MAN_SUFFIX
    683 MISC_MAN_SUFFIX
    684 FILE_MAN_SUFFIX
    685 LIB_MAN_SUFFIX
    686 APP_MAN_SUFFIX
    687 INSTALL_CMD
    688 PKG_CONFIG_LIBDIR
    689 PKG_CONFIG_PATH
    690 PKG_CONFIG
    691 CHANGELOG_CMD
    692 STRICT_CFLAGS
    693 CWARNFLAGS
    694 BASE_CFLAGS
    695 LT_SYS_LIBRARY_PATH
    696 OTOOL64
    697 OTOOL
    698 LIPO
    699 NMEDIT
    700 DSYMUTIL
    701 MANIFEST_TOOL
    702 RANLIB
    703 ac_ct_AR
    704 AR
    705 DLLTOOL
    706 OBJDUMP
    707 FILECMD
    708 LN_S
    709 NM
    710 ac_ct_DUMPBIN
    711 DUMPBIN
    712 LD
    713 FGREP
    714 EGREP
    715 GREP
    716 SED
    717 am__fastdepCC_FALSE
    718 am__fastdepCC_TRUE
    719 CCDEPMODE
    720 am__nodep
    721 AMDEPBACKSLASH
    722 AMDEP_FALSE
    723 AMDEP_TRUE
    724 am__include
    725 DEPDIR
    726 OBJEXT
    727 EXEEXT
    728 ac_ct_CC
    729 CPPFLAGS
    730 LDFLAGS
    731 CFLAGS
    732 CC
    733 host_os
    734 host_vendor
    735 host_cpu
    736 host
    737 build_os
    738 build_vendor
    739 build_cpu
    740 build
    741 LIBTOOL
    742 AM_BACKSLASH
    743 AM_DEFAULT_VERBOSITY
    744 AM_DEFAULT_V
    745 AM_V
    746 CSCOPE
    747 ETAGS
    748 CTAGS
    749 am__untar
    750 am__tar
    751 AMTAR
    752 am__leading_dot
    753 SET_MAKE
    754 AWK
    755 mkdir_p
    756 MKDIR_P
    757 INSTALL_STRIP_PROGRAM
    758 STRIP
    759 install_sh
    760 MAKEINFO
    761 AUTOHEADER
    762 AUTOMAKE
    763 AUTOCONF
    764 ACLOCAL
    765 VERSION
    766 PACKAGE
    767 CYGPATH_W
    768 am__isrc
    769 INSTALL_DATA
    770 INSTALL_SCRIPT
    771 INSTALL_PROGRAM
    772 target_alias
    773 host_alias
    774 build_alias
    775 LIBS
    776 ECHO_T
    777 ECHO_N
    778 ECHO_C
    779 DEFS
    780 mandir
    781 localedir
    782 libdir
    783 psdir
    784 pdfdir
    785 dvidir
    786 htmldir
    787 infodir
    788 docdir
    789 oldincludedir
    790 includedir
    791 runstatedir
    792 localstatedir
    793 sharedstatedir
    794 sysconfdir
    795 datadir
    796 datarootdir
    797 libexecdir
    798 sbindir
    799 bindir
    800 program_transform_name
    801 prefix
    802 exec_prefix
    803 PACKAGE_URL
    804 PACKAGE_BUGREPORT
    805 PACKAGE_STRING
    806 PACKAGE_VERSION
    807 PACKAGE_TARNAME
    808 PACKAGE_NAME
    809 PATH_SEPARATOR
    810 SHELL
    811 am__quote'
    812 ac_subst_files=''
    813 ac_user_opts='
    814 enable_option_checking
    815 enable_silent_rules
    816 enable_shared
    817 enable_static
    818 with_pic
    819 enable_fast_install
    820 with_aix_soname
    821 enable_dependency_tracking
    822 with_gnu_ld
    823 with_sysroot
    824 enable_libtool_lock
    825 enable_selective_werror
    826 enable_strict_compilation
    827 enable_malloc0returnsnull
    828 '
    829       ac_precious_vars='build_alias
    830 host_alias
    831 target_alias
    832 CC
    833 CFLAGS
    834 LDFLAGS
    835 LIBS
    836 CPPFLAGS
    837 LT_SYS_LIBRARY_PATH
    838 PKG_CONFIG
    839 PKG_CONFIG_PATH
    840 PKG_CONFIG_LIBDIR
    841 RANDR_CFLAGS
    842 RANDR_LIBS'
    843 
    844 
    845 # Initialize some variables set by options.
    846 ac_init_help=
    847 ac_init_version=false
    848 ac_unrecognized_opts=
    849 ac_unrecognized_sep=
    850 # The variables have the same names as the options, with
    851 # dashes changed to underlines.
    852 cache_file=/dev/null
    853 exec_prefix=NONE
    854 no_create=
    855 no_recursion=
    856 prefix=NONE
    857 program_prefix=NONE
    858 program_suffix=NONE
    859 program_transform_name=s,x,x,
    860 silent=
    861 site=
    862 srcdir=
    863 verbose=
    864 x_includes=NONE
    865 x_libraries=NONE
    866 
    867 # Installation directory options.
    868 # These are left unexpanded so users can "make install exec_prefix=/foo"
    869 # and all the variables that are supposed to be based on exec_prefix
    870 # by default will actually change.
    871 # Use braces instead of parens because sh, perl, etc. also accept them.
    872 # (The list follows the same order as the GNU Coding Standards.)
    873 bindir='${exec_prefix}/bin'
    874 sbindir='${exec_prefix}/sbin'
    875 libexecdir='${exec_prefix}/libexec'
    876 datarootdir='${prefix}/share'
    877 datadir='${datarootdir}'
    878 sysconfdir='${prefix}/etc'
    879 sharedstatedir='${prefix}/com'
    880 localstatedir='${prefix}/var'
    881 runstatedir='${localstatedir}/run'
    882 includedir='${prefix}/include'
    883 oldincludedir='/usr/include'
    884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    885 infodir='${datarootdir}/info'
    886 htmldir='${docdir}'
    887 dvidir='${docdir}'
    888 pdfdir='${docdir}'
    889 psdir='${docdir}'
    890 libdir='${exec_prefix}/lib'
    891 localedir='${datarootdir}/locale'
    892 mandir='${datarootdir}/man'
    893 
    894 ac_prev=
    895 ac_dashdash=
    896 for ac_option
    897 do
    898   # If the previous option needs an argument, assign it.
    899   if test -n "$ac_prev"; then
    900     eval $ac_prev=\$ac_option
    901     ac_prev=
    902     continue
    903   fi
    904 
    905   case $ac_option in
    906   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    907   *=)   ac_optarg= ;;
    908   *)    ac_optarg=yes ;;
    909   esac
    910 
    911   case $ac_dashdash$ac_option in
    912   --)
    913     ac_dashdash=yes ;;
    914 
    915   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    916     ac_prev=bindir ;;
    917   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    918     bindir=$ac_optarg ;;
    919 
    920   -build | --build | --buil | --bui | --bu)
    921     ac_prev=build_alias ;;
    922   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    923     build_alias=$ac_optarg ;;
    924 
    925   -cache-file | --cache-file | --cache-fil | --cache-fi \
    926   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    927     ac_prev=cache_file ;;
    928   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    929   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    930     cache_file=$ac_optarg ;;
    931 
    932   --config-cache | -C)
    933     cache_file=config.cache ;;
    934 
    935   -datadir | --datadir | --datadi | --datad)
    936     ac_prev=datadir ;;
    937   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    938     datadir=$ac_optarg ;;
    939 
    940   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    941   | --dataroo | --dataro | --datar)
    942     ac_prev=datarootdir ;;
    943   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    944   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    945     datarootdir=$ac_optarg ;;
    946 
    947   -disable-* | --disable-*)
    948     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    949     # Reject names that are not valid shell variable names.
    950     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    951       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    952     ac_useropt_orig=$ac_useropt
    953     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    954     case $ac_user_opts in
    955       *"
    956 "enable_$ac_useropt"
    957 "*) ;;
    958       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    959 	 ac_unrecognized_sep=', ';;
    960     esac
    961     eval enable_$ac_useropt=no ;;
    962 
    963   -docdir | --docdir | --docdi | --doc | --do)
    964     ac_prev=docdir ;;
    965   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    966     docdir=$ac_optarg ;;
    967 
    968   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    969     ac_prev=dvidir ;;
    970   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    971     dvidir=$ac_optarg ;;
    972 
    973   -enable-* | --enable-*)
    974     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    975     # Reject names that are not valid shell variable names.
    976     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    977       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    978     ac_useropt_orig=$ac_useropt
    979     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    980     case $ac_user_opts in
    981       *"
    982 "enable_$ac_useropt"
    983 "*) ;;
    984       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    985 	 ac_unrecognized_sep=', ';;
    986     esac
    987     eval enable_$ac_useropt=\$ac_optarg ;;
    988 
    989   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    990   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    991   | --exec | --exe | --ex)
    992     ac_prev=exec_prefix ;;
    993   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    994   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    995   | --exec=* | --exe=* | --ex=*)
    996     exec_prefix=$ac_optarg ;;
    997 
    998   -gas | --gas | --ga | --g)
    999     # Obsolete; use --with-gas.
   1000     with_gas=yes ;;
   1001 
   1002   -help | --help | --hel | --he | -h)
   1003     ac_init_help=long ;;
   1004   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1005     ac_init_help=recursive ;;
   1006   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1007     ac_init_help=short ;;
   1008 
   1009   -host | --host | --hos | --ho)
   1010     ac_prev=host_alias ;;
   1011   -host=* | --host=* | --hos=* | --ho=*)
   1012     host_alias=$ac_optarg ;;
   1013 
   1014   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1015     ac_prev=htmldir ;;
   1016   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1017   | --ht=*)
   1018     htmldir=$ac_optarg ;;
   1019 
   1020   -includedir | --includedir | --includedi | --included | --include \
   1021   | --includ | --inclu | --incl | --inc)
   1022     ac_prev=includedir ;;
   1023   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1024   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1025     includedir=$ac_optarg ;;
   1026 
   1027   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1028     ac_prev=infodir ;;
   1029   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1030     infodir=$ac_optarg ;;
   1031 
   1032   -libdir | --libdir | --libdi | --libd)
   1033     ac_prev=libdir ;;
   1034   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1035     libdir=$ac_optarg ;;
   1036 
   1037   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1038   | --libexe | --libex | --libe)
   1039     ac_prev=libexecdir ;;
   1040   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1041   | --libexe=* | --libex=* | --libe=*)
   1042     libexecdir=$ac_optarg ;;
   1043 
   1044   -localedir | --localedir | --localedi | --localed | --locale)
   1045     ac_prev=localedir ;;
   1046   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1047     localedir=$ac_optarg ;;
   1048 
   1049   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1050   | --localstate | --localstat | --localsta | --localst | --locals)
   1051     ac_prev=localstatedir ;;
   1052   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1053   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1054     localstatedir=$ac_optarg ;;
   1055 
   1056   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1057     ac_prev=mandir ;;
   1058   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1059     mandir=$ac_optarg ;;
   1060 
   1061   -nfp | --nfp | --nf)
   1062     # Obsolete; use --without-fp.
   1063     with_fp=no ;;
   1064 
   1065   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1066   | --no-cr | --no-c | -n)
   1067     no_create=yes ;;
   1068 
   1069   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1070   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1071     no_recursion=yes ;;
   1072 
   1073   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1074   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1075   | --oldin | --oldi | --old | --ol | --o)
   1076     ac_prev=oldincludedir ;;
   1077   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1078   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1079   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1080     oldincludedir=$ac_optarg ;;
   1081 
   1082   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1083     ac_prev=prefix ;;
   1084   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1085     prefix=$ac_optarg ;;
   1086 
   1087   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1088   | --program-pre | --program-pr | --program-p)
   1089     ac_prev=program_prefix ;;
   1090   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1091   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1092     program_prefix=$ac_optarg ;;
   1093 
   1094   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1095   | --program-suf | --program-su | --program-s)
   1096     ac_prev=program_suffix ;;
   1097   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1098   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1099     program_suffix=$ac_optarg ;;
   1100 
   1101   -program-transform-name | --program-transform-name \
   1102   | --program-transform-nam | --program-transform-na \
   1103   | --program-transform-n | --program-transform- \
   1104   | --program-transform | --program-transfor \
   1105   | --program-transfo | --program-transf \
   1106   | --program-trans | --program-tran \
   1107   | --progr-tra | --program-tr | --program-t)
   1108     ac_prev=program_transform_name ;;
   1109   -program-transform-name=* | --program-transform-name=* \
   1110   | --program-transform-nam=* | --program-transform-na=* \
   1111   | --program-transform-n=* | --program-transform-=* \
   1112   | --program-transform=* | --program-transfor=* \
   1113   | --program-transfo=* | --program-transf=* \
   1114   | --program-trans=* | --program-tran=* \
   1115   | --progr-tra=* | --program-tr=* | --program-t=*)
   1116     program_transform_name=$ac_optarg ;;
   1117 
   1118   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1119     ac_prev=pdfdir ;;
   1120   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1121     pdfdir=$ac_optarg ;;
   1122 
   1123   -psdir | --psdir | --psdi | --psd | --ps)
   1124     ac_prev=psdir ;;
   1125   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1126     psdir=$ac_optarg ;;
   1127 
   1128   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1129   | -silent | --silent | --silen | --sile | --sil)
   1130     silent=yes ;;
   1131 
   1132   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1133   | --runstate | --runstat | --runsta | --runst | --runs \
   1134   | --run | --ru | --r)
   1135     ac_prev=runstatedir ;;
   1136   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1137   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1138   | --run=* | --ru=* | --r=*)
   1139     runstatedir=$ac_optarg ;;
   1140 
   1141   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1142     ac_prev=sbindir ;;
   1143   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1144   | --sbi=* | --sb=*)
   1145     sbindir=$ac_optarg ;;
   1146 
   1147   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1148   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1149   | --sharedst | --shareds | --shared | --share | --shar \
   1150   | --sha | --sh)
   1151     ac_prev=sharedstatedir ;;
   1152   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1153   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1154   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1155   | --sha=* | --sh=*)
   1156     sharedstatedir=$ac_optarg ;;
   1157 
   1158   -site | --site | --sit)
   1159     ac_prev=site ;;
   1160   -site=* | --site=* | --sit=*)
   1161     site=$ac_optarg ;;
   1162 
   1163   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1164     ac_prev=srcdir ;;
   1165   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1166     srcdir=$ac_optarg ;;
   1167 
   1168   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1169   | --syscon | --sysco | --sysc | --sys | --sy)
   1170     ac_prev=sysconfdir ;;
   1171   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1172   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1173     sysconfdir=$ac_optarg ;;
   1174 
   1175   -target | --target | --targe | --targ | --tar | --ta | --t)
   1176     ac_prev=target_alias ;;
   1177   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1178     target_alias=$ac_optarg ;;
   1179 
   1180   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1181     verbose=yes ;;
   1182 
   1183   -version | --version | --versio | --versi | --vers | -V)
   1184     ac_init_version=: ;;
   1185 
   1186   -with-* | --with-*)
   1187     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1188     # Reject names that are not valid shell variable names.
   1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1190       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1191     ac_useropt_orig=$ac_useropt
   1192     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1193     case $ac_user_opts in
   1194       *"
   1195 "with_$ac_useropt"
   1196 "*) ;;
   1197       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1198 	 ac_unrecognized_sep=', ';;
   1199     esac
   1200     eval with_$ac_useropt=\$ac_optarg ;;
   1201 
   1202   -without-* | --without-*)
   1203     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1204     # Reject names that are not valid shell variable names.
   1205     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1206       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1207     ac_useropt_orig=$ac_useropt
   1208     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1209     case $ac_user_opts in
   1210       *"
   1211 "with_$ac_useropt"
   1212 "*) ;;
   1213       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1214 	 ac_unrecognized_sep=', ';;
   1215     esac
   1216     eval with_$ac_useropt=no ;;
   1217 
   1218   --x)
   1219     # Obsolete; use --with-x.
   1220     with_x=yes ;;
   1221 
   1222   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1223   | --x-incl | --x-inc | --x-in | --x-i)
   1224     ac_prev=x_includes ;;
   1225   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1226   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1227     x_includes=$ac_optarg ;;
   1228 
   1229   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1230   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1231     ac_prev=x_libraries ;;
   1232   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1233   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1234     x_libraries=$ac_optarg ;;
   1235 
   1236   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1237 Try \`$0 --help' for more information"
   1238     ;;
   1239 
   1240   *=*)
   1241     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1242     # Reject names that are not valid shell variable names.
   1243     case $ac_envvar in #(
   1244       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1245       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1246     esac
   1247     eval $ac_envvar=\$ac_optarg
   1248     export $ac_envvar ;;
   1249 
   1250   *)
   1251     # FIXME: should be removed in autoconf 3.0.
   1252     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1253     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1254       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1255     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1256     ;;
   1257 
   1258   esac
   1259 done
   1260 
   1261 if test -n "$ac_prev"; then
   1262   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1263   as_fn_error $? "missing argument to $ac_option"
   1264 fi
   1265 
   1266 if test -n "$ac_unrecognized_opts"; then
   1267   case $enable_option_checking in
   1268     no) ;;
   1269     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1270     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1271   esac
   1272 fi
   1273 
   1274 # Check all directory arguments for consistency.
   1275 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1276 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1277 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1278 		libdir localedir mandir runstatedir
   1279 do
   1280   eval ac_val=\$$ac_var
   1281   # Remove trailing slashes.
   1282   case $ac_val in
   1283     */ )
   1284       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1285       eval $ac_var=\$ac_val;;
   1286   esac
   1287   # Be sure to have absolute directory names.
   1288   case $ac_val in
   1289     [\\/$]* | ?:[\\/]* )  continue;;
   1290     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1291   esac
   1292   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1293 done
   1294 
   1295 # There might be people who depend on the old broken behavior: `$host'
   1296 # used to hold the argument of --host etc.
   1297 # FIXME: To remove some day.
   1298 build=$build_alias
   1299 host=$host_alias
   1300 target=$target_alias
   1301 
   1302 # FIXME: To remove some day.
   1303 if test "x$host_alias" != x; then
   1304   if test "x$build_alias" = x; then
   1305     cross_compiling=maybe
   1306   elif test "x$build_alias" != "x$host_alias"; then
   1307     cross_compiling=yes
   1308   fi
   1309 fi
   1310 
   1311 ac_tool_prefix=
   1312 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1313 
   1314 test "$silent" = yes && exec 6>/dev/null
   1315 
   1316 
   1317 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1318 ac_ls_di=`ls -di .` &&
   1319 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1320   as_fn_error $? "working directory cannot be determined"
   1321 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1322   as_fn_error $? "pwd does not report name of working directory"
   1323 
   1324 
   1325 # Find the source files, if location was not specified.
   1326 if test -z "$srcdir"; then
   1327   ac_srcdir_defaulted=yes
   1328   # Try the directory containing this script, then the parent directory.
   1329   ac_confdir=`$as_dirname -- "$as_myself" ||
   1330 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1331 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1332 	 X"$as_myself" : 'X\(//\)$' \| \
   1333 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1334 printf "%s\n" X"$as_myself" |
   1335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1336 	    s//\1/
   1337 	    q
   1338 	  }
   1339 	  /^X\(\/\/\)[^/].*/{
   1340 	    s//\1/
   1341 	    q
   1342 	  }
   1343 	  /^X\(\/\/\)$/{
   1344 	    s//\1/
   1345 	    q
   1346 	  }
   1347 	  /^X\(\/\).*/{
   1348 	    s//\1/
   1349 	    q
   1350 	  }
   1351 	  s/.*/./; q'`
   1352   srcdir=$ac_confdir
   1353   if test ! -r "$srcdir/$ac_unique_file"; then
   1354     srcdir=..
   1355   fi
   1356 else
   1357   ac_srcdir_defaulted=no
   1358 fi
   1359 if test ! -r "$srcdir/$ac_unique_file"; then
   1360   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1361   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1362 fi
   1363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1364 ac_abs_confdir=`(
   1365 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1366 	pwd)`
   1367 # When building in place, set srcdir=.
   1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1369   srcdir=.
   1370 fi
   1371 # Remove unnecessary trailing slashes from srcdir.
   1372 # Double slashes in file names in object file debugging info
   1373 # mess up M-x gdb in Emacs.
   1374 case $srcdir in
   1375 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1376 esac
   1377 for ac_var in $ac_precious_vars; do
   1378   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1379   eval ac_env_${ac_var}_value=\$${ac_var}
   1380   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1381   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1382 done
   1383 
   1384 #
   1385 # Report the --help message.
   1386 #
   1387 if test "$ac_init_help" = "long"; then
   1388   # Omit some internal or obsolete options to make the list less imposing.
   1389   # This message is too long to be a string in the A/UX 3.1 sh.
   1390   cat <<_ACEOF
   1391 \`configure' configures libXrandr 1.5.4 to adapt to many kinds of systems.
   1392 
   1393 Usage: $0 [OPTION]... [VAR=VALUE]...
   1394 
   1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1396 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1397 
   1398 Defaults for the options are specified in brackets.
   1399 
   1400 Configuration:
   1401   -h, --help              display this help and exit
   1402       --help=short        display options specific to this package
   1403       --help=recursive    display the short help of all the included packages
   1404   -V, --version           display version information and exit
   1405   -q, --quiet, --silent   do not print \`checking ...' messages
   1406       --cache-file=FILE   cache test results in FILE [disabled]
   1407   -C, --config-cache      alias for \`--cache-file=config.cache'
   1408   -n, --no-create         do not create output files
   1409       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1410 
   1411 Installation directories:
   1412   --prefix=PREFIX         install architecture-independent files in PREFIX
   1413                           [$ac_default_prefix]
   1414   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1415                           [PREFIX]
   1416 
   1417 By default, \`make install' will install all the files in
   1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1420 for instance \`--prefix=\$HOME'.
   1421 
   1422 For better control, use the options below.
   1423 
   1424 Fine tuning of the installation directories:
   1425   --bindir=DIR            user executables [EPREFIX/bin]
   1426   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1427   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1428   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1429   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1430   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1431   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1432   --libdir=DIR            object code libraries [EPREFIX/lib]
   1433   --includedir=DIR        C header files [PREFIX/include]
   1434   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1435   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1436   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1437   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1438   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1439   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1440   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXrandr]
   1441   --htmldir=DIR           html documentation [DOCDIR]
   1442   --dvidir=DIR            dvi documentation [DOCDIR]
   1443   --pdfdir=DIR            pdf documentation [DOCDIR]
   1444   --psdir=DIR             ps documentation [DOCDIR]
   1445 _ACEOF
   1446 
   1447   cat <<\_ACEOF
   1448 
   1449 Program names:
   1450   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1451   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1452   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1453 
   1454 System types:
   1455   --build=BUILD     configure for building on BUILD [guessed]
   1456   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1457 _ACEOF
   1458 fi
   1459 
   1460 if test -n "$ac_init_help"; then
   1461   case $ac_init_help in
   1462      short | recursive ) echo "Configuration of libXrandr 1.5.4:";;
   1463    esac
   1464   cat <<\_ACEOF
   1465 
   1466 Optional Features:
   1467   --disable-option-checking  ignore unrecognized --enable/--with options
   1468   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1469   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1470   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1471   --disable-silent-rules  verbose build output (undo: "make V=0")
   1472   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1473   --enable-static[=PKGS]  build static libraries [default=yes]
   1474   --enable-fast-install[=PKGS]
   1475                           optimize for fast installation [default=yes]
   1476   --enable-dependency-tracking
   1477                           do not reject slow dependency extractors
   1478   --disable-dependency-tracking
   1479                           speeds up one-time build
   1480   --disable-libtool-lock  avoid locking (might break parallel builds)
   1481   --disable-selective-werror
   1482                           Turn off selective compiler errors. (default:
   1483                           enabled)
   1484   --enable-strict-compilation
   1485                           Enable all warnings from compiler and make them
   1486                           errors (default: disabled)
   1487   --enable-malloc0returnsnull
   1488                           malloc(0) returns NULL (default: auto)
   1489 
   1490 Optional Packages:
   1491   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1492   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1493   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1494                           both]
   1495   --with-aix-soname=aix|svr4|both
   1496                           shared library versioning (aka "SONAME") variant to
   1497                           provide on AIX, [default=aix].
   1498   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1499   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1500                           compiler's sysroot if not specified).
   1501 
   1502 Some influential environment variables:
   1503   CC          C compiler command
   1504   CFLAGS      C compiler flags
   1505   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1506               nonstandard directory <lib dir>
   1507   LIBS        libraries to pass to the linker, e.g. -l<library>
   1508   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1509               you have headers in a nonstandard directory <include dir>
   1510   LT_SYS_LIBRARY_PATH
   1511               User-defined run-time library search path.
   1512   PKG_CONFIG  path to pkg-config utility
   1513   PKG_CONFIG_PATH
   1514               directories to add to pkg-config's search path
   1515   PKG_CONFIG_LIBDIR
   1516               path overriding pkg-config's built-in search path
   1517   RANDR_CFLAGS
   1518               C compiler flags for RANDR, overriding pkg-config
   1519   RANDR_LIBS  linker flags for RANDR, overriding pkg-config
   1520 
   1521 Use these variables to override the choices made by `configure' or to help
   1522 it to find libraries and programs with nonstandard names/locations.
   1523 
   1524 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues>.
   1525 _ACEOF
   1526 ac_status=$?
   1527 fi
   1528 
   1529 if test "$ac_init_help" = "recursive"; then
   1530   # If there are subdirs, report their specific --help.
   1531   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1532     test -d "$ac_dir" ||
   1533       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1534       continue
   1535     ac_builddir=.
   1536 
   1537 case "$ac_dir" in
   1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1539 *)
   1540   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1541   # A ".." for each directory in $ac_dir_suffix.
   1542   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1543   case $ac_top_builddir_sub in
   1544   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1545   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1546   esac ;;
   1547 esac
   1548 ac_abs_top_builddir=$ac_pwd
   1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1550 # for backward compatibility:
   1551 ac_top_builddir=$ac_top_build_prefix
   1552 
   1553 case $srcdir in
   1554   .)  # We are building in place.
   1555     ac_srcdir=.
   1556     ac_top_srcdir=$ac_top_builddir_sub
   1557     ac_abs_top_srcdir=$ac_pwd ;;
   1558   [\\/]* | ?:[\\/]* )  # Absolute name.
   1559     ac_srcdir=$srcdir$ac_dir_suffix;
   1560     ac_top_srcdir=$srcdir
   1561     ac_abs_top_srcdir=$srcdir ;;
   1562   *) # Relative name.
   1563     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1564     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1565     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1566 esac
   1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1568 
   1569     cd "$ac_dir" || { ac_status=$?; continue; }
   1570     # Check for configure.gnu first; this name is used for a wrapper for
   1571     # Metaconfig's "Configure" on case-insensitive file systems.
   1572     if test -f "$ac_srcdir/configure.gnu"; then
   1573       echo &&
   1574       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1575     elif test -f "$ac_srcdir/configure"; then
   1576       echo &&
   1577       $SHELL "$ac_srcdir/configure" --help=recursive
   1578     else
   1579       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1580     fi || ac_status=$?
   1581     cd "$ac_pwd" || { ac_status=$?; break; }
   1582   done
   1583 fi
   1584 
   1585 test -n "$ac_init_help" && exit $ac_status
   1586 if $ac_init_version; then
   1587   cat <<\_ACEOF
   1588 libXrandr configure 1.5.4
   1589 generated by GNU Autoconf 2.71
   1590 
   1591 Copyright (C) 2021 Free Software Foundation, Inc.
   1592 This configure script is free software; the Free Software Foundation
   1593 gives unlimited permission to copy, distribute and modify it.
   1594 _ACEOF
   1595   exit
   1596 fi
   1597 
   1598 ## ------------------------ ##
   1599 ## Autoconf initialization. ##
   1600 ## ------------------------ ##
   1601 
   1602 # ac_fn_c_try_compile LINENO
   1603 # --------------------------
   1604 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1605 ac_fn_c_try_compile ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   rm -f conftest.$ac_objext conftest.beam
   1609   if { { ac_try="$ac_compile"
   1610 case "(($ac_try" in
   1611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1612   *) ac_try_echo=$ac_try;;
   1613 esac
   1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1615 printf "%s\n" "$ac_try_echo"; } >&5
   1616   (eval "$ac_compile") 2>conftest.err
   1617   ac_status=$?
   1618   if test -s conftest.err; then
   1619     grep -v '^ *+' conftest.err >conftest.er1
   1620     cat conftest.er1 >&5
   1621     mv -f conftest.er1 conftest.err
   1622   fi
   1623   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1624   test $ac_status = 0; } && {
   1625 	 test -z "$ac_c_werror_flag" ||
   1626 	 test ! -s conftest.err
   1627        } && test -s conftest.$ac_objext
   1628 then :
   1629   ac_retval=0
   1630 else $as_nop
   1631   printf "%s\n" "$as_me: failed program was:" >&5
   1632 sed 's/^/| /' conftest.$ac_ext >&5
   1633 
   1634 	ac_retval=1
   1635 fi
   1636   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1637   as_fn_set_status $ac_retval
   1638 
   1639 } # ac_fn_c_try_compile
   1640 
   1641 # ac_fn_c_try_link LINENO
   1642 # -----------------------
   1643 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1644 ac_fn_c_try_link ()
   1645 {
   1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1647   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1648   if { { ac_try="$ac_link"
   1649 case "(($ac_try" in
   1650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1651   *) ac_try_echo=$ac_try;;
   1652 esac
   1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1654 printf "%s\n" "$ac_try_echo"; } >&5
   1655   (eval "$ac_link") 2>conftest.err
   1656   ac_status=$?
   1657   if test -s conftest.err; then
   1658     grep -v '^ *+' conftest.err >conftest.er1
   1659     cat conftest.er1 >&5
   1660     mv -f conftest.er1 conftest.err
   1661   fi
   1662   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1663   test $ac_status = 0; } && {
   1664 	 test -z "$ac_c_werror_flag" ||
   1665 	 test ! -s conftest.err
   1666        } && test -s conftest$ac_exeext && {
   1667 	 test "$cross_compiling" = yes ||
   1668 	 test -x conftest$ac_exeext
   1669        }
   1670 then :
   1671   ac_retval=0
   1672 else $as_nop
   1673   printf "%s\n" "$as_me: failed program was:" >&5
   1674 sed 's/^/| /' conftest.$ac_ext >&5
   1675 
   1676 	ac_retval=1
   1677 fi
   1678   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1679   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1680   # interfere with the next link command; also delete a directory that is
   1681   # left behind by Apple's compiler.  We do this before executing the actions.
   1682   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1683   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1684   as_fn_set_status $ac_retval
   1685 
   1686 } # ac_fn_c_try_link
   1687 
   1688 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1689 # -------------------------------------------------------
   1690 # Tests whether HEADER exists and can be compiled using the include files in
   1691 # INCLUDES, setting the cache variable VAR accordingly.
   1692 ac_fn_c_check_header_compile ()
   1693 {
   1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1696 printf %s "checking for $2... " >&6; }
   1697 if eval test \${$3+y}
   1698 then :
   1699   printf %s "(cached) " >&6
   1700 else $as_nop
   1701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1702 /* end confdefs.h.  */
   1703 $4
   1704 #include <$2>
   1705 _ACEOF
   1706 if ac_fn_c_try_compile "$LINENO"
   1707 then :
   1708   eval "$3=yes"
   1709 else $as_nop
   1710   eval "$3=no"
   1711 fi
   1712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1713 fi
   1714 eval ac_res=\$$3
   1715 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1716 printf "%s\n" "$ac_res" >&6; }
   1717   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1718 
   1719 } # ac_fn_c_check_header_compile
   1720 
   1721 # ac_fn_c_check_func LINENO FUNC VAR
   1722 # ----------------------------------
   1723 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1724 ac_fn_c_check_func ()
   1725 {
   1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1727   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1728 printf %s "checking for $2... " >&6; }
   1729 if eval test \${$3+y}
   1730 then :
   1731   printf %s "(cached) " >&6
   1732 else $as_nop
   1733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1734 /* end confdefs.h.  */
   1735 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1736    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1737 #define $2 innocuous_$2
   1738 
   1739 /* System header to define __stub macros and hopefully few prototypes,
   1740    which can conflict with char $2 (); below.  */
   1741 
   1742 #include <limits.h>
   1743 #undef $2
   1744 
   1745 /* Override any GCC internal prototype to avoid an error.
   1746    Use char because int might match the return type of a GCC
   1747    builtin and then its argument prototype would still apply.  */
   1748 #ifdef __cplusplus
   1749 extern "C"
   1750 #endif
   1751 char $2 ();
   1752 /* The GNU C library defines this for functions which it implements
   1753     to always fail with ENOSYS.  Some functions are actually named
   1754     something starting with __ and the normal name is an alias.  */
   1755 #if defined __stub_$2 || defined __stub___$2
   1756 choke me
   1757 #endif
   1758 
   1759 int
   1760 main (void)
   1761 {
   1762 return $2 ();
   1763   ;
   1764   return 0;
   1765 }
   1766 _ACEOF
   1767 if ac_fn_c_try_link "$LINENO"
   1768 then :
   1769   eval "$3=yes"
   1770 else $as_nop
   1771   eval "$3=no"
   1772 fi
   1773 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1774     conftest$ac_exeext conftest.$ac_ext
   1775 fi
   1776 eval ac_res=\$$3
   1777 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1778 printf "%s\n" "$ac_res" >&6; }
   1779   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1780 
   1781 } # ac_fn_c_check_func
   1782 
   1783 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1784 # ------------------------------------------------------------------
   1785 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1786 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1787 ac_fn_check_decl ()
   1788 {
   1789   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1790   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1792 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1793 if eval test \${$3+y}
   1794 then :
   1795   printf %s "(cached) " >&6
   1796 else $as_nop
   1797   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1798   eval ac_save_FLAGS=\$$6
   1799   as_fn_append $6 " $5"
   1800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1801 /* end confdefs.h.  */
   1802 $4
   1803 int
   1804 main (void)
   1805 {
   1806 #ifndef $as_decl_name
   1807 #ifdef __cplusplus
   1808   (void) $as_decl_use;
   1809 #else
   1810   (void) $as_decl_name;
   1811 #endif
   1812 #endif
   1813 
   1814   ;
   1815   return 0;
   1816 }
   1817 _ACEOF
   1818 if ac_fn_c_try_compile "$LINENO"
   1819 then :
   1820   eval "$3=yes"
   1821 else $as_nop
   1822   eval "$3=no"
   1823 fi
   1824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1825   eval $6=\$ac_save_FLAGS
   1826 
   1827 fi
   1828 eval ac_res=\$$3
   1829 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1830 printf "%s\n" "$ac_res" >&6; }
   1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1832 
   1833 } # ac_fn_check_decl
   1834 
   1835 # ac_fn_c_try_run LINENO
   1836 # ----------------------
   1837 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1838 # executables *can* be run.
   1839 ac_fn_c_try_run ()
   1840 {
   1841   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1842   if { { ac_try="$ac_link"
   1843 case "(($ac_try" in
   1844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1845   *) ac_try_echo=$ac_try;;
   1846 esac
   1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1848 printf "%s\n" "$ac_try_echo"; } >&5
   1849   (eval "$ac_link") 2>&5
   1850   ac_status=$?
   1851   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1852   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1853   { { case "(($ac_try" in
   1854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1855   *) ac_try_echo=$ac_try;;
   1856 esac
   1857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1858 printf "%s\n" "$ac_try_echo"; } >&5
   1859   (eval "$ac_try") 2>&5
   1860   ac_status=$?
   1861   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1862   test $ac_status = 0; }; }
   1863 then :
   1864   ac_retval=0
   1865 else $as_nop
   1866   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   1867        printf "%s\n" "$as_me: failed program was:" >&5
   1868 sed 's/^/| /' conftest.$ac_ext >&5
   1869 
   1870        ac_retval=$ac_status
   1871 fi
   1872   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1874   as_fn_set_status $ac_retval
   1875 
   1876 } # ac_fn_c_try_run
   1877 ac_configure_args_raw=
   1878 for ac_arg
   1879 do
   1880   case $ac_arg in
   1881   *\'*)
   1882     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1883   esac
   1884   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1885 done
   1886 
   1887 case $ac_configure_args_raw in
   1888   *$as_nl*)
   1889     ac_safe_unquote= ;;
   1890   *)
   1891     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1892     ac_unsafe_a="$ac_unsafe_z#~"
   1893     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1894     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1895 esac
   1896 
   1897 cat >config.log <<_ACEOF
   1898 This file contains any messages produced by compilers while
   1899 running configure, to aid debugging if configure makes a mistake.
   1900 
   1901 It was created by libXrandr $as_me 1.5.4, which was
   1902 generated by GNU Autoconf 2.71.  Invocation command line was
   1903 
   1904   $ $0$ac_configure_args_raw
   1905 
   1906 _ACEOF
   1907 exec 5>>config.log
   1908 {
   1909 cat <<_ASUNAME
   1910 ## --------- ##
   1911 ## Platform. ##
   1912 ## --------- ##
   1913 
   1914 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1915 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1916 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1917 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1918 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1919 
   1920 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1921 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1922 
   1923 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1924 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1925 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1926 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1927 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1928 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1929 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1930 
   1931 _ASUNAME
   1932 
   1933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1934 for as_dir in $PATH
   1935 do
   1936   IFS=$as_save_IFS
   1937   case $as_dir in #(((
   1938     '') as_dir=./ ;;
   1939     */) ;;
   1940     *) as_dir=$as_dir/ ;;
   1941   esac
   1942     printf "%s\n" "PATH: $as_dir"
   1943   done
   1944 IFS=$as_save_IFS
   1945 
   1946 } >&5
   1947 
   1948 cat >&5 <<_ACEOF
   1949 
   1950 
   1951 ## ----------- ##
   1952 ## Core tests. ##
   1953 ## ----------- ##
   1954 
   1955 _ACEOF
   1956 
   1957 
   1958 # Keep a trace of the command line.
   1959 # Strip out --no-create and --no-recursion so they do not pile up.
   1960 # Strip out --silent because we don't want to record it for future runs.
   1961 # Also quote any args containing shell meta-characters.
   1962 # Make two passes to allow for proper duplicate-argument suppression.
   1963 ac_configure_args=
   1964 ac_configure_args0=
   1965 ac_configure_args1=
   1966 ac_must_keep_next=false
   1967 for ac_pass in 1 2
   1968 do
   1969   for ac_arg
   1970   do
   1971     case $ac_arg in
   1972     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1973     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1974     | -silent | --silent | --silen | --sile | --sil)
   1975       continue ;;
   1976     *\'*)
   1977       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1978     esac
   1979     case $ac_pass in
   1980     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1981     2)
   1982       as_fn_append ac_configure_args1 " '$ac_arg'"
   1983       if test $ac_must_keep_next = true; then
   1984 	ac_must_keep_next=false # Got value, back to normal.
   1985       else
   1986 	case $ac_arg in
   1987 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1988 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1989 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1990 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1991 	    case "$ac_configure_args0 " in
   1992 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1993 	    esac
   1994 	    ;;
   1995 	  -* ) ac_must_keep_next=true ;;
   1996 	esac
   1997       fi
   1998       as_fn_append ac_configure_args " '$ac_arg'"
   1999       ;;
   2000     esac
   2001   done
   2002 done
   2003 { ac_configure_args0=; unset ac_configure_args0;}
   2004 { ac_configure_args1=; unset ac_configure_args1;}
   2005 
   2006 # When interrupted or exit'd, cleanup temporary files, and complete
   2007 # config.log.  We remove comments because anyway the quotes in there
   2008 # would cause problems or look ugly.
   2009 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2010 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2011 trap 'exit_status=$?
   2012   # Sanitize IFS.
   2013   IFS=" ""	$as_nl"
   2014   # Save into config.log some information that might help in debugging.
   2015   {
   2016     echo
   2017 
   2018     printf "%s\n" "## ---------------- ##
   2019 ## Cache variables. ##
   2020 ## ---------------- ##"
   2021     echo
   2022     # The following way of writing the cache mishandles newlines in values,
   2023 (
   2024   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2025     eval ac_val=\$$ac_var
   2026     case $ac_val in #(
   2027     *${as_nl}*)
   2028       case $ac_var in #(
   2029       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2030 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2031       esac
   2032       case $ac_var in #(
   2033       _ | IFS | as_nl) ;; #(
   2034       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2035       *) { eval $ac_var=; unset $ac_var;} ;;
   2036       esac ;;
   2037     esac
   2038   done
   2039   (set) 2>&1 |
   2040     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2041     *${as_nl}ac_space=\ *)
   2042       sed -n \
   2043 	"s/'\''/'\''\\\\'\'''\''/g;
   2044 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2045       ;; #(
   2046     *)
   2047       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2048       ;;
   2049     esac |
   2050     sort
   2051 )
   2052     echo
   2053 
   2054     printf "%s\n" "## ----------------- ##
   2055 ## Output variables. ##
   2056 ## ----------------- ##"
   2057     echo
   2058     for ac_var in $ac_subst_vars
   2059     do
   2060       eval ac_val=\$$ac_var
   2061       case $ac_val in
   2062       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2063       esac
   2064       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2065     done | sort
   2066     echo
   2067 
   2068     if test -n "$ac_subst_files"; then
   2069       printf "%s\n" "## ------------------- ##
   2070 ## File substitutions. ##
   2071 ## ------------------- ##"
   2072       echo
   2073       for ac_var in $ac_subst_files
   2074       do
   2075 	eval ac_val=\$$ac_var
   2076 	case $ac_val in
   2077 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2078 	esac
   2079 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2080       done | sort
   2081       echo
   2082     fi
   2083 
   2084     if test -s confdefs.h; then
   2085       printf "%s\n" "## ----------- ##
   2086 ## confdefs.h. ##
   2087 ## ----------- ##"
   2088       echo
   2089       cat confdefs.h
   2090       echo
   2091     fi
   2092     test "$ac_signal" != 0 &&
   2093       printf "%s\n" "$as_me: caught signal $ac_signal"
   2094     printf "%s\n" "$as_me: exit $exit_status"
   2095   } >&5
   2096   rm -f core *.core core.conftest.* &&
   2097     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2098     exit $exit_status
   2099 ' 0
   2100 for ac_signal in 1 2 13 15; do
   2101   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2102 done
   2103 ac_signal=0
   2104 
   2105 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2106 rm -f -r conftest* confdefs.h
   2107 
   2108 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2109 
   2110 # Predefined preprocessor variables.
   2111 
   2112 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2113 
   2114 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2115 
   2116 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2117 
   2118 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2119 
   2120 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2121 
   2122 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2123 
   2124 
   2125 # Let the site file select an alternate cache file if it wants to.
   2126 # Prefer an explicitly selected file to automatically selected ones.
   2127 if test -n "$CONFIG_SITE"; then
   2128   ac_site_files="$CONFIG_SITE"
   2129 elif test "x$prefix" != xNONE; then
   2130   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2131 else
   2132   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2133 fi
   2134 
   2135 for ac_site_file in $ac_site_files
   2136 do
   2137   case $ac_site_file in #(
   2138   */*) :
   2139      ;; #(
   2140   *) :
   2141     ac_site_file=./$ac_site_file ;;
   2142 esac
   2143   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2144     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2145 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2146     sed 's/^/| /' "$ac_site_file" >&5
   2147     . "$ac_site_file" \
   2148       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2149 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2150 as_fn_error $? "failed to load site script $ac_site_file
   2151 See \`config.log' for more details" "$LINENO" 5; }
   2152   fi
   2153 done
   2154 
   2155 if test -r "$cache_file"; then
   2156   # Some versions of bash will fail to source /dev/null (special files
   2157   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2158   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2159     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2160 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2161     case $cache_file in
   2162       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2163       *)                      . "./$cache_file";;
   2164     esac
   2165   fi
   2166 else
   2167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2168 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2169   >$cache_file
   2170 fi
   2171 
   2172 # Test code for whether the C compiler supports C89 (global declarations)
   2173 ac_c_conftest_c89_globals='
   2174 /* Does the compiler advertise C89 conformance?
   2175    Do not test the value of __STDC__, because some compilers set it to 0
   2176    while being otherwise adequately conformant. */
   2177 #if !defined __STDC__
   2178 # error "Compiler does not advertise C89 conformance"
   2179 #endif
   2180 
   2181 #include <stddef.h>
   2182 #include <stdarg.h>
   2183 struct stat;
   2184 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2185 struct buf { int x; };
   2186 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2187 static char *e (p, i)
   2188      char **p;
   2189      int i;
   2190 {
   2191   return p[i];
   2192 }
   2193 static char *f (char * (*g) (char **, int), char **p, ...)
   2194 {
   2195   char *s;
   2196   va_list v;
   2197   va_start (v,p);
   2198   s = g (p, va_arg (v,int));
   2199   va_end (v);
   2200   return s;
   2201 }
   2202 
   2203 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2204    function prototypes and stuff, but not \xHH hex character constants.
   2205    These do not provoke an error unfortunately, instead are silently treated
   2206    as an "x".  The following induces an error, until -std is added to get
   2207    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2208    array size at least.  It is necessary to write \x00 == 0 to get something
   2209    that is true only with -std.  */
   2210 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2211 
   2212 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2213    inside strings and character constants.  */
   2214 #define FOO(x) '\''x'\''
   2215 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2216 
   2217 int test (int i, double x);
   2218 struct s1 {int (*f) (int a);};
   2219 struct s2 {int (*f) (double a);};
   2220 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2221                int, int);'
   2222 
   2223 # Test code for whether the C compiler supports C89 (body of main).
   2224 ac_c_conftest_c89_main='
   2225 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2226 '
   2227 
   2228 # Test code for whether the C compiler supports C99 (global declarations)
   2229 ac_c_conftest_c99_globals='
   2230 // Does the compiler advertise C99 conformance?
   2231 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2232 # error "Compiler does not advertise C99 conformance"
   2233 #endif
   2234 
   2235 #include <stdbool.h>
   2236 extern int puts (const char *);
   2237 extern int printf (const char *, ...);
   2238 extern int dprintf (int, const char *, ...);
   2239 extern void *malloc (size_t);
   2240 
   2241 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2242 // dprintf is used instead of fprintf to avoid needing to declare
   2243 // FILE and stderr.
   2244 #define debug(...) dprintf (2, __VA_ARGS__)
   2245 #define showlist(...) puts (#__VA_ARGS__)
   2246 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2247 static void
   2248 test_varargs_macros (void)
   2249 {
   2250   int x = 1234;
   2251   int y = 5678;
   2252   debug ("Flag");
   2253   debug ("X = %d\n", x);
   2254   showlist (The first, second, and third items.);
   2255   report (x>y, "x is %d but y is %d", x, y);
   2256 }
   2257 
   2258 // Check long long types.
   2259 #define BIG64 18446744073709551615ull
   2260 #define BIG32 4294967295ul
   2261 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2262 #if !BIG_OK
   2263   #error "your preprocessor is broken"
   2264 #endif
   2265 #if BIG_OK
   2266 #else
   2267   #error "your preprocessor is broken"
   2268 #endif
   2269 static long long int bignum = -9223372036854775807LL;
   2270 static unsigned long long int ubignum = BIG64;
   2271 
   2272 struct incomplete_array
   2273 {
   2274   int datasize;
   2275   double data[];
   2276 };
   2277 
   2278 struct named_init {
   2279   int number;
   2280   const wchar_t *name;
   2281   double average;
   2282 };
   2283 
   2284 typedef const char *ccp;
   2285 
   2286 static inline int
   2287 test_restrict (ccp restrict text)
   2288 {
   2289   // See if C++-style comments work.
   2290   // Iterate through items via the restricted pointer.
   2291   // Also check for declarations in for loops.
   2292   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2293     continue;
   2294   return 0;
   2295 }
   2296 
   2297 // Check varargs and va_copy.
   2298 static bool
   2299 test_varargs (const char *format, ...)
   2300 {
   2301   va_list args;
   2302   va_start (args, format);
   2303   va_list args_copy;
   2304   va_copy (args_copy, args);
   2305 
   2306   const char *str = "";
   2307   int number = 0;
   2308   float fnumber = 0;
   2309 
   2310   while (*format)
   2311     {
   2312       switch (*format++)
   2313 	{
   2314 	case '\''s'\'': // string
   2315 	  str = va_arg (args_copy, const char *);
   2316 	  break;
   2317 	case '\''d'\'': // int
   2318 	  number = va_arg (args_copy, int);
   2319 	  break;
   2320 	case '\''f'\'': // float
   2321 	  fnumber = va_arg (args_copy, double);
   2322 	  break;
   2323 	default:
   2324 	  break;
   2325 	}
   2326     }
   2327   va_end (args_copy);
   2328   va_end (args);
   2329 
   2330   return *str && number && fnumber;
   2331 }
   2332 '
   2333 
   2334 # Test code for whether the C compiler supports C99 (body of main).
   2335 ac_c_conftest_c99_main='
   2336   // Check bool.
   2337   _Bool success = false;
   2338   success |= (argc != 0);
   2339 
   2340   // Check restrict.
   2341   if (test_restrict ("String literal") == 0)
   2342     success = true;
   2343   char *restrict newvar = "Another string";
   2344 
   2345   // Check varargs.
   2346   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2347   test_varargs_macros ();
   2348 
   2349   // Check flexible array members.
   2350   struct incomplete_array *ia =
   2351     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2352   ia->datasize = 10;
   2353   for (int i = 0; i < ia->datasize; ++i)
   2354     ia->data[i] = i * 1.234;
   2355 
   2356   // Check named initializers.
   2357   struct named_init ni = {
   2358     .number = 34,
   2359     .name = L"Test wide string",
   2360     .average = 543.34343,
   2361   };
   2362 
   2363   ni.number = 58;
   2364 
   2365   int dynamic_array[ni.number];
   2366   dynamic_array[0] = argv[0][0];
   2367   dynamic_array[ni.number - 1] = 543;
   2368 
   2369   // work around unused variable warnings
   2370   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2371 	 || dynamic_array[ni.number - 1] != 543);
   2372 '
   2373 
   2374 # Test code for whether the C compiler supports C11 (global declarations)
   2375 ac_c_conftest_c11_globals='
   2376 // Does the compiler advertise C11 conformance?
   2377 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2378 # error "Compiler does not advertise C11 conformance"
   2379 #endif
   2380 
   2381 // Check _Alignas.
   2382 char _Alignas (double) aligned_as_double;
   2383 char _Alignas (0) no_special_alignment;
   2384 extern char aligned_as_int;
   2385 char _Alignas (0) _Alignas (int) aligned_as_int;
   2386 
   2387 // Check _Alignof.
   2388 enum
   2389 {
   2390   int_alignment = _Alignof (int),
   2391   int_array_alignment = _Alignof (int[100]),
   2392   char_alignment = _Alignof (char)
   2393 };
   2394 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2395 
   2396 // Check _Noreturn.
   2397 int _Noreturn does_not_return (void) { for (;;) continue; }
   2398 
   2399 // Check _Static_assert.
   2400 struct test_static_assert
   2401 {
   2402   int x;
   2403   _Static_assert (sizeof (int) <= sizeof (long int),
   2404                   "_Static_assert does not work in struct");
   2405   long int y;
   2406 };
   2407 
   2408 // Check UTF-8 literals.
   2409 #define u8 syntax error!
   2410 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2411 
   2412 // Check duplicate typedefs.
   2413 typedef long *long_ptr;
   2414 typedef long int *long_ptr;
   2415 typedef long_ptr long_ptr;
   2416 
   2417 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2418 struct anonymous
   2419 {
   2420   union {
   2421     struct { int i; int j; };
   2422     struct { int k; long int l; } w;
   2423   };
   2424   int m;
   2425 } v1;
   2426 '
   2427 
   2428 # Test code for whether the C compiler supports C11 (body of main).
   2429 ac_c_conftest_c11_main='
   2430   _Static_assert ((offsetof (struct anonymous, i)
   2431 		   == offsetof (struct anonymous, w.k)),
   2432 		  "Anonymous union alignment botch");
   2433   v1.i = 2;
   2434   v1.w.k = 5;
   2435   ok |= v1.i != 5;
   2436 '
   2437 
   2438 # Test code for whether the C compiler supports C11 (complete).
   2439 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2440 ${ac_c_conftest_c99_globals}
   2441 ${ac_c_conftest_c11_globals}
   2442 
   2443 int
   2444 main (int argc, char **argv)
   2445 {
   2446   int ok = 0;
   2447   ${ac_c_conftest_c89_main}
   2448   ${ac_c_conftest_c99_main}
   2449   ${ac_c_conftest_c11_main}
   2450   return ok;
   2451 }
   2452 "
   2453 
   2454 # Test code for whether the C compiler supports C99 (complete).
   2455 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2456 ${ac_c_conftest_c99_globals}
   2457 
   2458 int
   2459 main (int argc, char **argv)
   2460 {
   2461   int ok = 0;
   2462   ${ac_c_conftest_c89_main}
   2463   ${ac_c_conftest_c99_main}
   2464   return ok;
   2465 }
   2466 "
   2467 
   2468 # Test code for whether the C compiler supports C89 (complete).
   2469 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2470 
   2471 int
   2472 main (int argc, char **argv)
   2473 {
   2474   int ok = 0;
   2475   ${ac_c_conftest_c89_main}
   2476   return ok;
   2477 }
   2478 "
   2479 
   2480 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2481 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2482 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2483 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2484 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2485 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2486 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2487 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2488 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2489 
   2490 # Auxiliary files required by this configure script.
   2491 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2492 
   2493 # Locations in which to look for auxiliary files.
   2494 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2495 
   2496 # Search for a directory containing all of the required auxiliary files,
   2497 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2498 # If we don't find one directory that contains all the files we need,
   2499 # we report the set of missing files from the *first* directory in
   2500 # $ac_aux_dir_candidates and give up.
   2501 ac_missing_aux_files=""
   2502 ac_first_candidate=:
   2503 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2505 as_found=false
   2506 for as_dir in $ac_aux_dir_candidates
   2507 do
   2508   IFS=$as_save_IFS
   2509   case $as_dir in #(((
   2510     '') as_dir=./ ;;
   2511     */) ;;
   2512     *) as_dir=$as_dir/ ;;
   2513   esac
   2514   as_found=:
   2515 
   2516   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2517   ac_aux_dir_found=yes
   2518   ac_install_sh=
   2519   for ac_aux in $ac_aux_files
   2520   do
   2521     # As a special case, if "install-sh" is required, that requirement
   2522     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2523     # and $ac_install_sh is set appropriately for whichever one is found.
   2524     if test x"$ac_aux" = x"install-sh"
   2525     then
   2526       if test -f "${as_dir}install-sh"; then
   2527         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2528         ac_install_sh="${as_dir}install-sh -c"
   2529       elif test -f "${as_dir}install.sh"; then
   2530         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2531         ac_install_sh="${as_dir}install.sh -c"
   2532       elif test -f "${as_dir}shtool"; then
   2533         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2534         ac_install_sh="${as_dir}shtool install -c"
   2535       else
   2536         ac_aux_dir_found=no
   2537         if $ac_first_candidate; then
   2538           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2539         else
   2540           break
   2541         fi
   2542       fi
   2543     else
   2544       if test -f "${as_dir}${ac_aux}"; then
   2545         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2546       else
   2547         ac_aux_dir_found=no
   2548         if $ac_first_candidate; then
   2549           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2550         else
   2551           break
   2552         fi
   2553       fi
   2554     fi
   2555   done
   2556   if test "$ac_aux_dir_found" = yes; then
   2557     ac_aux_dir="$as_dir"
   2558     break
   2559   fi
   2560   ac_first_candidate=false
   2561 
   2562   as_found=false
   2563 done
   2564 IFS=$as_save_IFS
   2565 if $as_found
   2566 then :
   2567 
   2568 else $as_nop
   2569   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2570 fi
   2571 
   2572 
   2573 # These three variables are undocumented and unsupported,
   2574 # and are intended to be withdrawn in a future Autoconf release.
   2575 # They can cause serious problems if a builder's source tree is in a directory
   2576 # whose full name contains unusual characters.
   2577 if test -f "${ac_aux_dir}config.guess"; then
   2578   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2579 fi
   2580 if test -f "${ac_aux_dir}config.sub"; then
   2581   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2582 fi
   2583 if test -f "$ac_aux_dir/configure"; then
   2584   ac_configure="$SHELL ${ac_aux_dir}configure"
   2585 fi
   2586 
   2587 # Check that the precious variables saved in the cache have kept the same
   2588 # value.
   2589 ac_cache_corrupted=false
   2590 for ac_var in $ac_precious_vars; do
   2591   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2592   eval ac_new_set=\$ac_env_${ac_var}_set
   2593   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2594   eval ac_new_val=\$ac_env_${ac_var}_value
   2595   case $ac_old_set,$ac_new_set in
   2596     set,)
   2597       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2598 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2599       ac_cache_corrupted=: ;;
   2600     ,set)
   2601       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2602 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2603       ac_cache_corrupted=: ;;
   2604     ,);;
   2605     *)
   2606       if test "x$ac_old_val" != "x$ac_new_val"; then
   2607 	# differences in whitespace do not lead to failure.
   2608 	ac_old_val_w=`echo x $ac_old_val`
   2609 	ac_new_val_w=`echo x $ac_new_val`
   2610 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2611 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2612 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2613 	  ac_cache_corrupted=:
   2614 	else
   2615 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2616 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2617 	  eval $ac_var=\$ac_old_val
   2618 	fi
   2619 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2620 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2622 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2623       fi;;
   2624   esac
   2625   # Pass precious variables to config.status.
   2626   if test "$ac_new_set" = set; then
   2627     case $ac_new_val in
   2628     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2629     *) ac_arg=$ac_var=$ac_new_val ;;
   2630     esac
   2631     case " $ac_configure_args " in
   2632       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2633       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2634     esac
   2635   fi
   2636 done
   2637 if $ac_cache_corrupted; then
   2638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2639 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2641 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2642   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2643 	    and start over" "$LINENO" 5
   2644 fi
   2645 ## -------------------- ##
   2646 ## Main body of script. ##
   2647 ## -------------------- ##
   2648 
   2649 ac_ext=c
   2650 ac_cpp='$CPP $CPPFLAGS'
   2651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2654 
   2655 
   2656 
   2657 ac_config_headers="$ac_config_headers config.h"
   2658 
   2659 
   2660 
   2661 # Initialize Automake
   2662 am__api_version='1.16'
   2663 
   2664 
   2665 
   2666   # Find a good install program.  We prefer a C program (faster),
   2667 # so one script is as good as another.  But avoid the broken or
   2668 # incompatible versions:
   2669 # SysV /etc/install, /usr/sbin/install
   2670 # SunOS /usr/etc/install
   2671 # IRIX /sbin/install
   2672 # AIX /bin/install
   2673 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2674 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2675 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2676 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2677 # OS/2's system install, which has a completely different semantic
   2678 # ./install, which can be erroneously created by make from ./install.sh.
   2679 # Reject install programs that cannot install multiple files.
   2680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2681 printf %s "checking for a BSD-compatible install... " >&6; }
   2682 if test -z "$INSTALL"; then
   2683 if test ${ac_cv_path_install+y}
   2684 then :
   2685   printf %s "(cached) " >&6
   2686 else $as_nop
   2687   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2688 for as_dir in $PATH
   2689 do
   2690   IFS=$as_save_IFS
   2691   case $as_dir in #(((
   2692     '') as_dir=./ ;;
   2693     */) ;;
   2694     *) as_dir=$as_dir/ ;;
   2695   esac
   2696     # Account for fact that we put trailing slashes in our PATH walk.
   2697 case $as_dir in #((
   2698   ./ | /[cC]/* | \
   2699   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2700   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2701   /usr/ucb/* ) ;;
   2702   *)
   2703     # OSF1 and SCO ODT 3.0 have their own names for install.
   2704     # Don't use installbsd from OSF since it installs stuff as root
   2705     # by default.
   2706     for ac_prog in ginstall scoinst install; do
   2707       for ac_exec_ext in '' $ac_executable_extensions; do
   2708 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2709 	  if test $ac_prog = install &&
   2710 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2711 	    # AIX install.  It has an incompatible calling convention.
   2712 	    :
   2713 	  elif test $ac_prog = install &&
   2714 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2715 	    # program-specific install script used by HP pwplus--don't use.
   2716 	    :
   2717 	  else
   2718 	    rm -rf conftest.one conftest.two conftest.dir
   2719 	    echo one > conftest.one
   2720 	    echo two > conftest.two
   2721 	    mkdir conftest.dir
   2722 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2723 	      test -s conftest.one && test -s conftest.two &&
   2724 	      test -s conftest.dir/conftest.one &&
   2725 	      test -s conftest.dir/conftest.two
   2726 	    then
   2727 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2728 	      break 3
   2729 	    fi
   2730 	  fi
   2731 	fi
   2732       done
   2733     done
   2734     ;;
   2735 esac
   2736 
   2737   done
   2738 IFS=$as_save_IFS
   2739 
   2740 rm -rf conftest.one conftest.two conftest.dir
   2741 
   2742 fi
   2743   if test ${ac_cv_path_install+y}; then
   2744     INSTALL=$ac_cv_path_install
   2745   else
   2746     # As a last resort, use the slow shell script.  Don't cache a
   2747     # value for INSTALL within a source directory, because that will
   2748     # break other packages using the cache if that directory is
   2749     # removed, or if the value is a relative name.
   2750     INSTALL=$ac_install_sh
   2751   fi
   2752 fi
   2753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2754 printf "%s\n" "$INSTALL" >&6; }
   2755 
   2756 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2757 # It thinks the first close brace ends the variable substitution.
   2758 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2759 
   2760 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2761 
   2762 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2763 
   2764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2765 printf %s "checking whether build environment is sane... " >&6; }
   2766 # Reject unsafe characters in $srcdir or the absolute working directory
   2767 # name.  Accept space and tab only in the latter.
   2768 am_lf='
   2769 '
   2770 case `pwd` in
   2771   *[\\\"\#\$\&\'\`$am_lf]*)
   2772     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2773 esac
   2774 case $srcdir in
   2775   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2776     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2777 esac
   2778 
   2779 # Do 'set' in a subshell so we don't clobber the current shell's
   2780 # arguments.  Must try -L first in case configure is actually a
   2781 # symlink; some systems play weird games with the mod time of symlinks
   2782 # (eg FreeBSD returns the mod time of the symlink's containing
   2783 # directory).
   2784 if (
   2785    am_has_slept=no
   2786    for am_try in 1 2; do
   2787      echo "timestamp, slept: $am_has_slept" > conftest.file
   2788      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2789      if test "$*" = "X"; then
   2790 	# -L didn't work.
   2791 	set X `ls -t "$srcdir/configure" conftest.file`
   2792      fi
   2793      if test "$*" != "X $srcdir/configure conftest.file" \
   2794 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2795 
   2796 	# If neither matched, then we have a broken ls.  This can happen
   2797 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2798 	# broken ls alias from the environment.  This has actually
   2799 	# happened.  Such a system could not be considered "sane".
   2800 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2801   alias in your environment" "$LINENO" 5
   2802      fi
   2803      if test "$2" = conftest.file || test $am_try -eq 2; then
   2804        break
   2805      fi
   2806      # Just in case.
   2807      sleep 1
   2808      am_has_slept=yes
   2809    done
   2810    test "$2" = conftest.file
   2811    )
   2812 then
   2813    # Ok.
   2814    :
   2815 else
   2816    as_fn_error $? "newly created file is older than distributed files!
   2817 Check your system clock" "$LINENO" 5
   2818 fi
   2819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2820 printf "%s\n" "yes" >&6; }
   2821 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2822 # generated files are strictly newer.
   2823 am_sleep_pid=
   2824 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2825   ( sleep 1 ) &
   2826   am_sleep_pid=$!
   2827 fi
   2828 
   2829 rm -f conftest.file
   2830 
   2831 test "$program_prefix" != NONE &&
   2832   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2833 # Use a double $ so make ignores it.
   2834 test "$program_suffix" != NONE &&
   2835   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2836 # Double any \ or $.
   2837 # By default was `s,x,x', remove it if useless.
   2838 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2839 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2840 
   2841 
   2842 # Expand $ac_aux_dir to an absolute path.
   2843 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2844 
   2845 
   2846   if test x"${MISSING+set}" != xset; then
   2847   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2848 fi
   2849 # Use eval to expand $SHELL
   2850 if eval "$MISSING --is-lightweight"; then
   2851   am_missing_run="$MISSING "
   2852 else
   2853   am_missing_run=
   2854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2855 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2856 fi
   2857 
   2858 if test x"${install_sh+set}" != xset; then
   2859   case $am_aux_dir in
   2860   *\ * | *\	*)
   2861     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2862   *)
   2863     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2864   esac
   2865 fi
   2866 
   2867 # Installed binaries are usually stripped using 'strip' when the user
   2868 # run "make install-strip".  However 'strip' might not be the right
   2869 # tool to use in cross-compilation environments, therefore Automake
   2870 # will honor the 'STRIP' environment variable to overrule this program.
   2871 if test "$cross_compiling" != no; then
   2872   if test -n "$ac_tool_prefix"; then
   2873   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2874 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2876 printf %s "checking for $ac_word... " >&6; }
   2877 if test ${ac_cv_prog_STRIP+y}
   2878 then :
   2879   printf %s "(cached) " >&6
   2880 else $as_nop
   2881   if test -n "$STRIP"; then
   2882   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2883 else
   2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2885 for as_dir in $PATH
   2886 do
   2887   IFS=$as_save_IFS
   2888   case $as_dir in #(((
   2889     '') as_dir=./ ;;
   2890     */) ;;
   2891     *) as_dir=$as_dir/ ;;
   2892   esac
   2893     for ac_exec_ext in '' $ac_executable_extensions; do
   2894   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2895     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2896     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2897     break 2
   2898   fi
   2899 done
   2900   done
   2901 IFS=$as_save_IFS
   2902 
   2903 fi
   2904 fi
   2905 STRIP=$ac_cv_prog_STRIP
   2906 if test -n "$STRIP"; then
   2907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2908 printf "%s\n" "$STRIP" >&6; }
   2909 else
   2910   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2911 printf "%s\n" "no" >&6; }
   2912 fi
   2913 
   2914 
   2915 fi
   2916 if test -z "$ac_cv_prog_STRIP"; then
   2917   ac_ct_STRIP=$STRIP
   2918   # Extract the first word of "strip", so it can be a program name with args.
   2919 set dummy strip; ac_word=$2
   2920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2921 printf %s "checking for $ac_word... " >&6; }
   2922 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2923 then :
   2924   printf %s "(cached) " >&6
   2925 else $as_nop
   2926   if test -n "$ac_ct_STRIP"; then
   2927   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2928 else
   2929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2930 for as_dir in $PATH
   2931 do
   2932   IFS=$as_save_IFS
   2933   case $as_dir in #(((
   2934     '') as_dir=./ ;;
   2935     */) ;;
   2936     *) as_dir=$as_dir/ ;;
   2937   esac
   2938     for ac_exec_ext in '' $ac_executable_extensions; do
   2939   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2940     ac_cv_prog_ac_ct_STRIP="strip"
   2941     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2942     break 2
   2943   fi
   2944 done
   2945   done
   2946 IFS=$as_save_IFS
   2947 
   2948 fi
   2949 fi
   2950 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2951 if test -n "$ac_ct_STRIP"; then
   2952   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2953 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2954 else
   2955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2956 printf "%s\n" "no" >&6; }
   2957 fi
   2958 
   2959   if test "x$ac_ct_STRIP" = x; then
   2960     STRIP=":"
   2961   else
   2962     case $cross_compiling:$ac_tool_warned in
   2963 yes:)
   2964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2965 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2966 ac_tool_warned=yes ;;
   2967 esac
   2968     STRIP=$ac_ct_STRIP
   2969   fi
   2970 else
   2971   STRIP="$ac_cv_prog_STRIP"
   2972 fi
   2973 
   2974 fi
   2975 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2976 
   2977 
   2978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2979 printf %s "checking for a race-free mkdir -p... " >&6; }
   2980 if test -z "$MKDIR_P"; then
   2981   if test ${ac_cv_path_mkdir+y}
   2982 then :
   2983   printf %s "(cached) " >&6
   2984 else $as_nop
   2985   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2986 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2987 do
   2988   IFS=$as_save_IFS
   2989   case $as_dir in #(((
   2990     '') as_dir=./ ;;
   2991     */) ;;
   2992     *) as_dir=$as_dir/ ;;
   2993   esac
   2994     for ac_prog in mkdir gmkdir; do
   2995 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2996 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2997 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2998 	     'mkdir ('*'coreutils) '* | \
   2999 	     'BusyBox '* | \
   3000 	     'mkdir (fileutils) '4.1*)
   3001 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3002 	       break 3;;
   3003 	   esac
   3004 	 done
   3005        done
   3006   done
   3007 IFS=$as_save_IFS
   3008 
   3009 fi
   3010 
   3011   test -d ./--version && rmdir ./--version
   3012   if test ${ac_cv_path_mkdir+y}; then
   3013     MKDIR_P="$ac_cv_path_mkdir -p"
   3014   else
   3015     # As a last resort, use the slow shell script.  Don't cache a
   3016     # value for MKDIR_P within a source directory, because that will
   3017     # break other packages using the cache if that directory is
   3018     # removed, or if the value is a relative name.
   3019     MKDIR_P="$ac_install_sh -d"
   3020   fi
   3021 fi
   3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3023 printf "%s\n" "$MKDIR_P" >&6; }
   3024 
   3025 for ac_prog in gawk mawk nawk awk
   3026 do
   3027   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3028 set dummy $ac_prog; ac_word=$2
   3029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3030 printf %s "checking for $ac_word... " >&6; }
   3031 if test ${ac_cv_prog_AWK+y}
   3032 then :
   3033   printf %s "(cached) " >&6
   3034 else $as_nop
   3035   if test -n "$AWK"; then
   3036   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3037 else
   3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3039 for as_dir in $PATH
   3040 do
   3041   IFS=$as_save_IFS
   3042   case $as_dir in #(((
   3043     '') as_dir=./ ;;
   3044     */) ;;
   3045     *) as_dir=$as_dir/ ;;
   3046   esac
   3047     for ac_exec_ext in '' $ac_executable_extensions; do
   3048   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3049     ac_cv_prog_AWK="$ac_prog"
   3050     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3051     break 2
   3052   fi
   3053 done
   3054   done
   3055 IFS=$as_save_IFS
   3056 
   3057 fi
   3058 fi
   3059 AWK=$ac_cv_prog_AWK
   3060 if test -n "$AWK"; then
   3061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3062 printf "%s\n" "$AWK" >&6; }
   3063 else
   3064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3065 printf "%s\n" "no" >&6; }
   3066 fi
   3067 
   3068 
   3069   test -n "$AWK" && break
   3070 done
   3071 
   3072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3073 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3074 set x ${MAKE-make}
   3075 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3076 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3077 then :
   3078   printf %s "(cached) " >&6
   3079 else $as_nop
   3080   cat >conftest.make <<\_ACEOF
   3081 SHELL = /bin/sh
   3082 all:
   3083 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3084 _ACEOF
   3085 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3086 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3087   *@@@%%%=?*=@@@%%%*)
   3088     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3089   *)
   3090     eval ac_cv_prog_make_${ac_make}_set=no;;
   3091 esac
   3092 rm -f conftest.make
   3093 fi
   3094 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3096 printf "%s\n" "yes" >&6; }
   3097   SET_MAKE=
   3098 else
   3099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3100 printf "%s\n" "no" >&6; }
   3101   SET_MAKE="MAKE=${MAKE-make}"
   3102 fi
   3103 
   3104 rm -rf .tst 2>/dev/null
   3105 mkdir .tst 2>/dev/null
   3106 if test -d .tst; then
   3107   am__leading_dot=.
   3108 else
   3109   am__leading_dot=_
   3110 fi
   3111 rmdir .tst 2>/dev/null
   3112 
   3113 # Check whether --enable-silent-rules was given.
   3114 if test ${enable_silent_rules+y}
   3115 then :
   3116   enableval=$enable_silent_rules;
   3117 fi
   3118 
   3119 case $enable_silent_rules in # (((
   3120   yes) AM_DEFAULT_VERBOSITY=0;;
   3121    no) AM_DEFAULT_VERBOSITY=1;;
   3122     *) AM_DEFAULT_VERBOSITY=1;;
   3123 esac
   3124 am_make=${MAKE-make}
   3125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3126 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3127 if test ${am_cv_make_support_nested_variables+y}
   3128 then :
   3129   printf %s "(cached) " >&6
   3130 else $as_nop
   3131   if printf "%s\n" 'TRUE=$(BAR$(V))
   3132 BAR0=false
   3133 BAR1=true
   3134 V=1
   3135 am__doit:
   3136 	@$(TRUE)
   3137 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3138   am_cv_make_support_nested_variables=yes
   3139 else
   3140   am_cv_make_support_nested_variables=no
   3141 fi
   3142 fi
   3143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3144 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3145 if test $am_cv_make_support_nested_variables = yes; then
   3146     AM_V='$(V)'
   3147   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3148 else
   3149   AM_V=$AM_DEFAULT_VERBOSITY
   3150   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3151 fi
   3152 AM_BACKSLASH='\'
   3153 
   3154 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3155   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3156   # is not polluted with repeated "-I."
   3157   am__isrc=' -I$(srcdir)'
   3158   # test to see if srcdir already configured
   3159   if test -f $srcdir/config.status; then
   3160     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3161   fi
   3162 fi
   3163 
   3164 # test whether we have cygpath
   3165 if test -z "$CYGPATH_W"; then
   3166   if (cygpath --version) >/dev/null 2>/dev/null; then
   3167     CYGPATH_W='cygpath -w'
   3168   else
   3169     CYGPATH_W=echo
   3170   fi
   3171 fi
   3172 
   3173 
   3174 # Define the identity of the package.
   3175  PACKAGE='libXrandr'
   3176  VERSION='1.5.4'
   3177 
   3178 
   3179 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3180 
   3181 
   3182 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3183 
   3184 # Some tools Automake needs.
   3185 
   3186 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3187 
   3188 
   3189 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3190 
   3191 
   3192 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3193 
   3194 
   3195 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3196 
   3197 
   3198 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3199 
   3200 # For better backward compatibility.  To be removed once Automake 1.9.x
   3201 # dies out for good.  For more background, see:
   3202 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3203 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3204 mkdir_p='$(MKDIR_P)'
   3205 
   3206 # We need awk for the "check" target (and possibly the TAP driver).  The
   3207 # system "awk" is bad on some platforms.
   3208 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3209 # in the wild :-(  We should find a proper way to deprecate it ...
   3210 AMTAR='$${TAR-tar}'
   3211 
   3212 
   3213 # We'll loop over all known methods to create a tar archive until one works.
   3214 _am_tools='gnutar  pax cpio none'
   3215 
   3216 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3217 
   3218 
   3219 
   3220 
   3221 
   3222 # Variables for tags utilities; see am/tags.am
   3223 if test -z "$CTAGS"; then
   3224   CTAGS=ctags
   3225 fi
   3226 
   3227 if test -z "$ETAGS"; then
   3228   ETAGS=etags
   3229 fi
   3230 
   3231 if test -z "$CSCOPE"; then
   3232   CSCOPE=cscope
   3233 fi
   3234 
   3235 
   3236 
   3237 # POSIX will say in a future version that running "rm -f" with no argument
   3238 # is OK; and we want to be able to make that assumption in our Makefile
   3239 # recipes.  So use an aggressive probe to check that the usage we want is
   3240 # actually supported "in the wild" to an acceptable degree.
   3241 # See automake bug#10828.
   3242 # To make any issue more visible, cause the running configure to be aborted
   3243 # by default if the 'rm' program in use doesn't match our expectations; the
   3244 # user can still override this though.
   3245 if rm -f && rm -fr && rm -rf; then : OK; else
   3246   cat >&2 <<'END'
   3247 Oops!
   3248 
   3249 Your 'rm' program seems unable to run without file operands specified
   3250 on the command line, even when the '-f' option is present.  This is contrary
   3251 to the behaviour of most rm programs out there, and not conforming with
   3252 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3253 
   3254 Please tell bug-automake@gnu.org about your system, including the value
   3255 of your $PATH and any error possibly output before this message.  This
   3256 can help us improve future automake versions.
   3257 
   3258 END
   3259   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3260     echo 'Configuration will proceed anyway, since you have set the' >&2
   3261     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3262     echo >&2
   3263   else
   3264     cat >&2 <<'END'
   3265 Aborting the configuration process, to ensure you take notice of the issue.
   3266 
   3267 You can download and install GNU coreutils to get an 'rm' implementation
   3268 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3269 
   3270 If you want to complete the configuration process using your problematic
   3271 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3272 to "yes", and re-run configure.
   3273 
   3274 END
   3275     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3276   fi
   3277 fi
   3278 
   3279 
   3280 # Initialize libtool
   3281 case `pwd` in
   3282   *\ * | *\	*)
   3283     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3284 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3285 esac
   3286 
   3287 
   3288 
   3289 macro_version='2.4.7'
   3290 macro_revision='2.4.7'
   3291 
   3292 
   3293 
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 
   3305 ltmain=$ac_aux_dir/ltmain.sh
   3306 
   3307 
   3308 
   3309   # Make sure we can run config.sub.
   3310 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3311   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3312 
   3313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3314 printf %s "checking build system type... " >&6; }
   3315 if test ${ac_cv_build+y}
   3316 then :
   3317   printf %s "(cached) " >&6
   3318 else $as_nop
   3319   ac_build_alias=$build_alias
   3320 test "x$ac_build_alias" = x &&
   3321   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3322 test "x$ac_build_alias" = x &&
   3323   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3324 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3325   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3326 
   3327 fi
   3328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3329 printf "%s\n" "$ac_cv_build" >&6; }
   3330 case $ac_cv_build in
   3331 *-*-*) ;;
   3332 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3333 esac
   3334 build=$ac_cv_build
   3335 ac_save_IFS=$IFS; IFS='-'
   3336 set x $ac_cv_build
   3337 shift
   3338 build_cpu=$1
   3339 build_vendor=$2
   3340 shift; shift
   3341 # Remember, the first character of IFS is used to create $*,
   3342 # except with old shells:
   3343 build_os=$*
   3344 IFS=$ac_save_IFS
   3345 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3346 
   3347 
   3348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3349 printf %s "checking host system type... " >&6; }
   3350 if test ${ac_cv_host+y}
   3351 then :
   3352   printf %s "(cached) " >&6
   3353 else $as_nop
   3354   if test "x$host_alias" = x; then
   3355   ac_cv_host=$ac_cv_build
   3356 else
   3357   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3358     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3359 fi
   3360 
   3361 fi
   3362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3363 printf "%s\n" "$ac_cv_host" >&6; }
   3364 case $ac_cv_host in
   3365 *-*-*) ;;
   3366 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3367 esac
   3368 host=$ac_cv_host
   3369 ac_save_IFS=$IFS; IFS='-'
   3370 set x $ac_cv_host
   3371 shift
   3372 host_cpu=$1
   3373 host_vendor=$2
   3374 shift; shift
   3375 # Remember, the first character of IFS is used to create $*,
   3376 # except with old shells:
   3377 host_os=$*
   3378 IFS=$ac_save_IFS
   3379 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3380 
   3381 
   3382 # Backslashify metacharacters that are still active within
   3383 # double-quoted strings.
   3384 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3385 
   3386 # Same as above, but do not quote variable references.
   3387 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3388 
   3389 # Sed substitution to delay expansion of an escaped shell variable in a
   3390 # double_quote_subst'ed string.
   3391 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3392 
   3393 # Sed substitution to delay expansion of an escaped single quote.
   3394 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3395 
   3396 # Sed substitution to avoid accidental globbing in evaled expressions
   3397 no_glob_subst='s/\*/\\\*/g'
   3398 
   3399 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3400 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3401 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3402 
   3403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3404 printf %s "checking how to print strings... " >&6; }
   3405 # Test print first, because it will be a builtin if present.
   3406 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3407    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3408   ECHO='print -r --'
   3409 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3410   ECHO='printf %s\n'
   3411 else
   3412   # Use this function as a fallback that always works.
   3413   func_fallback_echo ()
   3414   {
   3415     eval 'cat <<_LTECHO_EOF
   3416 $1
   3417 _LTECHO_EOF'
   3418   }
   3419   ECHO='func_fallback_echo'
   3420 fi
   3421 
   3422 # func_echo_all arg...
   3423 # Invoke $ECHO with all args, space-separated.
   3424 func_echo_all ()
   3425 {
   3426     $ECHO ""
   3427 }
   3428 
   3429 case $ECHO in
   3430   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3431 printf "%s\n" "printf" >&6; } ;;
   3432   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3433 printf "%s\n" "print -r" >&6; } ;;
   3434   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3435 printf "%s\n" "cat" >&6; } ;;
   3436 esac
   3437 
   3438 
   3439 
   3440 
   3441 
   3442 
   3443 
   3444 
   3445 
   3446 
   3447 
   3448 
   3449 
   3450 
   3451 
   3452 
   3453 
   3454 
   3455 
   3456 
   3457 
   3458 
   3459 
   3460 DEPDIR="${am__leading_dot}deps"
   3461 
   3462 ac_config_commands="$ac_config_commands depfiles"
   3463 
   3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3465 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3466 cat > confinc.mk << 'END'
   3467 am__doit:
   3468 	@echo this is the am__doit target >confinc.out
   3469 .PHONY: am__doit
   3470 END
   3471 am__include="#"
   3472 am__quote=
   3473 # BSD make does it like this.
   3474 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3475 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3476 echo 'include confinc.mk # ignored' > confmf.GNU
   3477 _am_result=no
   3478 for s in GNU BSD; do
   3479   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3480    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3481    ac_status=$?
   3482    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3483    (exit $ac_status); }
   3484   case $?:`cat confinc.out 2>/dev/null` in #(
   3485   '0:this is the am__doit target') :
   3486     case $s in #(
   3487   BSD) :
   3488     am__include='.include' am__quote='"' ;; #(
   3489   *) :
   3490     am__include='include' am__quote='' ;;
   3491 esac ;; #(
   3492   *) :
   3493      ;;
   3494 esac
   3495   if test "$am__include" != "#"; then
   3496     _am_result="yes ($s style)"
   3497     break
   3498   fi
   3499 done
   3500 rm -f confinc.* confmf.*
   3501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3502 printf "%s\n" "${_am_result}" >&6; }
   3503 
   3504 # Check whether --enable-dependency-tracking was given.
   3505 if test ${enable_dependency_tracking+y}
   3506 then :
   3507   enableval=$enable_dependency_tracking;
   3508 fi
   3509 
   3510 if test "x$enable_dependency_tracking" != xno; then
   3511   am_depcomp="$ac_aux_dir/depcomp"
   3512   AMDEPBACKSLASH='\'
   3513   am__nodep='_no'
   3514 fi
   3515  if test "x$enable_dependency_tracking" != xno; then
   3516   AMDEP_TRUE=
   3517   AMDEP_FALSE='#'
   3518 else
   3519   AMDEP_TRUE='#'
   3520   AMDEP_FALSE=
   3521 fi
   3522 
   3523 
   3524 ac_ext=c
   3525 ac_cpp='$CPP $CPPFLAGS'
   3526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3529 if test -n "$ac_tool_prefix"; then
   3530   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3531 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3533 printf %s "checking for $ac_word... " >&6; }
   3534 if test ${ac_cv_prog_CC+y}
   3535 then :
   3536   printf %s "(cached) " >&6
   3537 else $as_nop
   3538   if test -n "$CC"; then
   3539   ac_cv_prog_CC="$CC" # Let the user override the test.
   3540 else
   3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3542 for as_dir in $PATH
   3543 do
   3544   IFS=$as_save_IFS
   3545   case $as_dir in #(((
   3546     '') as_dir=./ ;;
   3547     */) ;;
   3548     *) as_dir=$as_dir/ ;;
   3549   esac
   3550     for ac_exec_ext in '' $ac_executable_extensions; do
   3551   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3552     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3553     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3554     break 2
   3555   fi
   3556 done
   3557   done
   3558 IFS=$as_save_IFS
   3559 
   3560 fi
   3561 fi
   3562 CC=$ac_cv_prog_CC
   3563 if test -n "$CC"; then
   3564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3565 printf "%s\n" "$CC" >&6; }
   3566 else
   3567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3568 printf "%s\n" "no" >&6; }
   3569 fi
   3570 
   3571 
   3572 fi
   3573 if test -z "$ac_cv_prog_CC"; then
   3574   ac_ct_CC=$CC
   3575   # Extract the first word of "gcc", so it can be a program name with args.
   3576 set dummy gcc; ac_word=$2
   3577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3578 printf %s "checking for $ac_word... " >&6; }
   3579 if test ${ac_cv_prog_ac_ct_CC+y}
   3580 then :
   3581   printf %s "(cached) " >&6
   3582 else $as_nop
   3583   if test -n "$ac_ct_CC"; then
   3584   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3585 else
   3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3587 for as_dir in $PATH
   3588 do
   3589   IFS=$as_save_IFS
   3590   case $as_dir in #(((
   3591     '') as_dir=./ ;;
   3592     */) ;;
   3593     *) as_dir=$as_dir/ ;;
   3594   esac
   3595     for ac_exec_ext in '' $ac_executable_extensions; do
   3596   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3597     ac_cv_prog_ac_ct_CC="gcc"
   3598     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3599     break 2
   3600   fi
   3601 done
   3602   done
   3603 IFS=$as_save_IFS
   3604 
   3605 fi
   3606 fi
   3607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3608 if test -n "$ac_ct_CC"; then
   3609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3610 printf "%s\n" "$ac_ct_CC" >&6; }
   3611 else
   3612   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3613 printf "%s\n" "no" >&6; }
   3614 fi
   3615 
   3616   if test "x$ac_ct_CC" = x; then
   3617     CC=""
   3618   else
   3619     case $cross_compiling:$ac_tool_warned in
   3620 yes:)
   3621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3622 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3623 ac_tool_warned=yes ;;
   3624 esac
   3625     CC=$ac_ct_CC
   3626   fi
   3627 else
   3628   CC="$ac_cv_prog_CC"
   3629 fi
   3630 
   3631 if test -z "$CC"; then
   3632           if test -n "$ac_tool_prefix"; then
   3633     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3634 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3636 printf %s "checking for $ac_word... " >&6; }
   3637 if test ${ac_cv_prog_CC+y}
   3638 then :
   3639   printf %s "(cached) " >&6
   3640 else $as_nop
   3641   if test -n "$CC"; then
   3642   ac_cv_prog_CC="$CC" # Let the user override the test.
   3643 else
   3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3645 for as_dir in $PATH
   3646 do
   3647   IFS=$as_save_IFS
   3648   case $as_dir in #(((
   3649     '') as_dir=./ ;;
   3650     */) ;;
   3651     *) as_dir=$as_dir/ ;;
   3652   esac
   3653     for ac_exec_ext in '' $ac_executable_extensions; do
   3654   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3655     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3656     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3657     break 2
   3658   fi
   3659 done
   3660   done
   3661 IFS=$as_save_IFS
   3662 
   3663 fi
   3664 fi
   3665 CC=$ac_cv_prog_CC
   3666 if test -n "$CC"; then
   3667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3668 printf "%s\n" "$CC" >&6; }
   3669 else
   3670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3671 printf "%s\n" "no" >&6; }
   3672 fi
   3673 
   3674 
   3675   fi
   3676 fi
   3677 if test -z "$CC"; then
   3678   # Extract the first word of "cc", so it can be a program name with args.
   3679 set dummy cc; ac_word=$2
   3680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3681 printf %s "checking for $ac_word... " >&6; }
   3682 if test ${ac_cv_prog_CC+y}
   3683 then :
   3684   printf %s "(cached) " >&6
   3685 else $as_nop
   3686   if test -n "$CC"; then
   3687   ac_cv_prog_CC="$CC" # Let the user override the test.
   3688 else
   3689   ac_prog_rejected=no
   3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3691 for as_dir in $PATH
   3692 do
   3693   IFS=$as_save_IFS
   3694   case $as_dir in #(((
   3695     '') as_dir=./ ;;
   3696     */) ;;
   3697     *) as_dir=$as_dir/ ;;
   3698   esac
   3699     for ac_exec_ext in '' $ac_executable_extensions; do
   3700   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3701     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3702        ac_prog_rejected=yes
   3703        continue
   3704      fi
   3705     ac_cv_prog_CC="cc"
   3706     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3707     break 2
   3708   fi
   3709 done
   3710   done
   3711 IFS=$as_save_IFS
   3712 
   3713 if test $ac_prog_rejected = yes; then
   3714   # We found a bogon in the path, so make sure we never use it.
   3715   set dummy $ac_cv_prog_CC
   3716   shift
   3717   if test $# != 0; then
   3718     # We chose a different compiler from the bogus one.
   3719     # However, it has the same basename, so the bogon will be chosen
   3720     # first if we set CC to just the basename; use the full file name.
   3721     shift
   3722     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3723   fi
   3724 fi
   3725 fi
   3726 fi
   3727 CC=$ac_cv_prog_CC
   3728 if test -n "$CC"; then
   3729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3730 printf "%s\n" "$CC" >&6; }
   3731 else
   3732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3733 printf "%s\n" "no" >&6; }
   3734 fi
   3735 
   3736 
   3737 fi
   3738 if test -z "$CC"; then
   3739   if test -n "$ac_tool_prefix"; then
   3740   for ac_prog in cl.exe
   3741   do
   3742     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3745 printf %s "checking for $ac_word... " >&6; }
   3746 if test ${ac_cv_prog_CC+y}
   3747 then :
   3748   printf %s "(cached) " >&6
   3749 else $as_nop
   3750   if test -n "$CC"; then
   3751   ac_cv_prog_CC="$CC" # Let the user override the test.
   3752 else
   3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3754 for as_dir in $PATH
   3755 do
   3756   IFS=$as_save_IFS
   3757   case $as_dir in #(((
   3758     '') as_dir=./ ;;
   3759     */) ;;
   3760     *) as_dir=$as_dir/ ;;
   3761   esac
   3762     for ac_exec_ext in '' $ac_executable_extensions; do
   3763   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3764     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3765     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3766     break 2
   3767   fi
   3768 done
   3769   done
   3770 IFS=$as_save_IFS
   3771 
   3772 fi
   3773 fi
   3774 CC=$ac_cv_prog_CC
   3775 if test -n "$CC"; then
   3776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3777 printf "%s\n" "$CC" >&6; }
   3778 else
   3779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3780 printf "%s\n" "no" >&6; }
   3781 fi
   3782 
   3783 
   3784     test -n "$CC" && break
   3785   done
   3786 fi
   3787 if test -z "$CC"; then
   3788   ac_ct_CC=$CC
   3789   for ac_prog in cl.exe
   3790 do
   3791   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3792 set dummy $ac_prog; ac_word=$2
   3793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3794 printf %s "checking for $ac_word... " >&6; }
   3795 if test ${ac_cv_prog_ac_ct_CC+y}
   3796 then :
   3797   printf %s "(cached) " >&6
   3798 else $as_nop
   3799   if test -n "$ac_ct_CC"; then
   3800   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3801 else
   3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3803 for as_dir in $PATH
   3804 do
   3805   IFS=$as_save_IFS
   3806   case $as_dir in #(((
   3807     '') as_dir=./ ;;
   3808     */) ;;
   3809     *) as_dir=$as_dir/ ;;
   3810   esac
   3811     for ac_exec_ext in '' $ac_executable_extensions; do
   3812   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3813     ac_cv_prog_ac_ct_CC="$ac_prog"
   3814     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3815     break 2
   3816   fi
   3817 done
   3818   done
   3819 IFS=$as_save_IFS
   3820 
   3821 fi
   3822 fi
   3823 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3824 if test -n "$ac_ct_CC"; then
   3825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3826 printf "%s\n" "$ac_ct_CC" >&6; }
   3827 else
   3828   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3829 printf "%s\n" "no" >&6; }
   3830 fi
   3831 
   3832 
   3833   test -n "$ac_ct_CC" && break
   3834 done
   3835 
   3836   if test "x$ac_ct_CC" = x; then
   3837     CC=""
   3838   else
   3839     case $cross_compiling:$ac_tool_warned in
   3840 yes:)
   3841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3842 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3843 ac_tool_warned=yes ;;
   3844 esac
   3845     CC=$ac_ct_CC
   3846   fi
   3847 fi
   3848 
   3849 fi
   3850 if test -z "$CC"; then
   3851   if test -n "$ac_tool_prefix"; then
   3852   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3853 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3855 printf %s "checking for $ac_word... " >&6; }
   3856 if test ${ac_cv_prog_CC+y}
   3857 then :
   3858   printf %s "(cached) " >&6
   3859 else $as_nop
   3860   if test -n "$CC"; then
   3861   ac_cv_prog_CC="$CC" # Let the user override the test.
   3862 else
   3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3864 for as_dir in $PATH
   3865 do
   3866   IFS=$as_save_IFS
   3867   case $as_dir in #(((
   3868     '') as_dir=./ ;;
   3869     */) ;;
   3870     *) as_dir=$as_dir/ ;;
   3871   esac
   3872     for ac_exec_ext in '' $ac_executable_extensions; do
   3873   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3874     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3875     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3876     break 2
   3877   fi
   3878 done
   3879   done
   3880 IFS=$as_save_IFS
   3881 
   3882 fi
   3883 fi
   3884 CC=$ac_cv_prog_CC
   3885 if test -n "$CC"; then
   3886   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3887 printf "%s\n" "$CC" >&6; }
   3888 else
   3889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3890 printf "%s\n" "no" >&6; }
   3891 fi
   3892 
   3893 
   3894 fi
   3895 if test -z "$ac_cv_prog_CC"; then
   3896   ac_ct_CC=$CC
   3897   # Extract the first word of "clang", so it can be a program name with args.
   3898 set dummy clang; ac_word=$2
   3899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3900 printf %s "checking for $ac_word... " >&6; }
   3901 if test ${ac_cv_prog_ac_ct_CC+y}
   3902 then :
   3903   printf %s "(cached) " >&6
   3904 else $as_nop
   3905   if test -n "$ac_ct_CC"; then
   3906   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3907 else
   3908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3909 for as_dir in $PATH
   3910 do
   3911   IFS=$as_save_IFS
   3912   case $as_dir in #(((
   3913     '') as_dir=./ ;;
   3914     */) ;;
   3915     *) as_dir=$as_dir/ ;;
   3916   esac
   3917     for ac_exec_ext in '' $ac_executable_extensions; do
   3918   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3919     ac_cv_prog_ac_ct_CC="clang"
   3920     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3921     break 2
   3922   fi
   3923 done
   3924   done
   3925 IFS=$as_save_IFS
   3926 
   3927 fi
   3928 fi
   3929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3930 if test -n "$ac_ct_CC"; then
   3931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3932 printf "%s\n" "$ac_ct_CC" >&6; }
   3933 else
   3934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3935 printf "%s\n" "no" >&6; }
   3936 fi
   3937 
   3938   if test "x$ac_ct_CC" = x; then
   3939     CC=""
   3940   else
   3941     case $cross_compiling:$ac_tool_warned in
   3942 yes:)
   3943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3944 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3945 ac_tool_warned=yes ;;
   3946 esac
   3947     CC=$ac_ct_CC
   3948   fi
   3949 else
   3950   CC="$ac_cv_prog_CC"
   3951 fi
   3952 
   3953 fi
   3954 
   3955 
   3956 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3957 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3958 as_fn_error $? "no acceptable C compiler found in \$PATH
   3959 See \`config.log' for more details" "$LINENO" 5; }
   3960 
   3961 # Provide some information about the compiler.
   3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3963 set X $ac_compile
   3964 ac_compiler=$2
   3965 for ac_option in --version -v -V -qversion -version; do
   3966   { { ac_try="$ac_compiler $ac_option >&5"
   3967 case "(($ac_try" in
   3968   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3969   *) ac_try_echo=$ac_try;;
   3970 esac
   3971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3972 printf "%s\n" "$ac_try_echo"; } >&5
   3973   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3974   ac_status=$?
   3975   if test -s conftest.err; then
   3976     sed '10a\
   3977 ... rest of stderr output deleted ...
   3978          10q' conftest.err >conftest.er1
   3979     cat conftest.er1 >&5
   3980   fi
   3981   rm -f conftest.er1 conftest.err
   3982   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3983   test $ac_status = 0; }
   3984 done
   3985 
   3986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3987 /* end confdefs.h.  */
   3988 
   3989 int
   3990 main (void)
   3991 {
   3992 
   3993   ;
   3994   return 0;
   3995 }
   3996 _ACEOF
   3997 ac_clean_files_save=$ac_clean_files
   3998 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3999 # Try to create an executable without -o first, disregard a.out.
   4000 # It will help us diagnose broken compilers, and finding out an intuition
   4001 # of exeext.
   4002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4003 printf %s "checking whether the C compiler works... " >&6; }
   4004 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4005 
   4006 # The possible output files:
   4007 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4008 
   4009 ac_rmfiles=
   4010 for ac_file in $ac_files
   4011 do
   4012   case $ac_file in
   4013     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4014     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4015   esac
   4016 done
   4017 rm -f $ac_rmfiles
   4018 
   4019 if { { ac_try="$ac_link_default"
   4020 case "(($ac_try" in
   4021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4022   *) ac_try_echo=$ac_try;;
   4023 esac
   4024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4025 printf "%s\n" "$ac_try_echo"; } >&5
   4026   (eval "$ac_link_default") 2>&5
   4027   ac_status=$?
   4028   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4029   test $ac_status = 0; }
   4030 then :
   4031   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4032 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4033 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4034 # so that the user can short-circuit this test for compilers unknown to
   4035 # Autoconf.
   4036 for ac_file in $ac_files ''
   4037 do
   4038   test -f "$ac_file" || continue
   4039   case $ac_file in
   4040     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4041 	;;
   4042     [ab].out )
   4043 	# We found the default executable, but exeext='' is most
   4044 	# certainly right.
   4045 	break;;
   4046     *.* )
   4047 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4048 	then :; else
   4049 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4050 	fi
   4051 	# We set ac_cv_exeext here because the later test for it is not
   4052 	# safe: cross compilers may not add the suffix if given an `-o'
   4053 	# argument, so we may need to know it at that point already.
   4054 	# Even if this section looks crufty: it has the advantage of
   4055 	# actually working.
   4056 	break;;
   4057     * )
   4058 	break;;
   4059   esac
   4060 done
   4061 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4062 
   4063 else $as_nop
   4064   ac_file=''
   4065 fi
   4066 if test -z "$ac_file"
   4067 then :
   4068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4069 printf "%s\n" "no" >&6; }
   4070 printf "%s\n" "$as_me: failed program was:" >&5
   4071 sed 's/^/| /' conftest.$ac_ext >&5
   4072 
   4073 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4074 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4075 as_fn_error 77 "C compiler cannot create executables
   4076 See \`config.log' for more details" "$LINENO" 5; }
   4077 else $as_nop
   4078   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4079 printf "%s\n" "yes" >&6; }
   4080 fi
   4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4082 printf %s "checking for C compiler default output file name... " >&6; }
   4083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4084 printf "%s\n" "$ac_file" >&6; }
   4085 ac_exeext=$ac_cv_exeext
   4086 
   4087 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4088 ac_clean_files=$ac_clean_files_save
   4089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4090 printf %s "checking for suffix of executables... " >&6; }
   4091 if { { ac_try="$ac_link"
   4092 case "(($ac_try" in
   4093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4094   *) ac_try_echo=$ac_try;;
   4095 esac
   4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4097 printf "%s\n" "$ac_try_echo"; } >&5
   4098   (eval "$ac_link") 2>&5
   4099   ac_status=$?
   4100   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4101   test $ac_status = 0; }
   4102 then :
   4103   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4104 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4105 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4106 # `rm'.
   4107 for ac_file in conftest.exe conftest conftest.*; do
   4108   test -f "$ac_file" || continue
   4109   case $ac_file in
   4110     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4111     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4112 	  break;;
   4113     * ) break;;
   4114   esac
   4115 done
   4116 else $as_nop
   4117   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4118 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4119 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4120 See \`config.log' for more details" "$LINENO" 5; }
   4121 fi
   4122 rm -f conftest conftest$ac_cv_exeext
   4123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4124 printf "%s\n" "$ac_cv_exeext" >&6; }
   4125 
   4126 rm -f conftest.$ac_ext
   4127 EXEEXT=$ac_cv_exeext
   4128 ac_exeext=$EXEEXT
   4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4130 /* end confdefs.h.  */
   4131 #include <stdio.h>
   4132 int
   4133 main (void)
   4134 {
   4135 FILE *f = fopen ("conftest.out", "w");
   4136  return ferror (f) || fclose (f) != 0;
   4137 
   4138   ;
   4139   return 0;
   4140 }
   4141 _ACEOF
   4142 ac_clean_files="$ac_clean_files conftest.out"
   4143 # Check that the compiler produces executables we can run.  If not, either
   4144 # the compiler is broken, or we cross compile.
   4145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4146 printf %s "checking whether we are cross compiling... " >&6; }
   4147 if test "$cross_compiling" != yes; then
   4148   { { ac_try="$ac_link"
   4149 case "(($ac_try" in
   4150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4151   *) ac_try_echo=$ac_try;;
   4152 esac
   4153 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4154 printf "%s\n" "$ac_try_echo"; } >&5
   4155   (eval "$ac_link") 2>&5
   4156   ac_status=$?
   4157   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4158   test $ac_status = 0; }
   4159   if { ac_try='./conftest$ac_cv_exeext'
   4160   { { case "(($ac_try" in
   4161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4162   *) ac_try_echo=$ac_try;;
   4163 esac
   4164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4165 printf "%s\n" "$ac_try_echo"; } >&5
   4166   (eval "$ac_try") 2>&5
   4167   ac_status=$?
   4168   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4169   test $ac_status = 0; }; }; then
   4170     cross_compiling=no
   4171   else
   4172     if test "$cross_compiling" = maybe; then
   4173 	cross_compiling=yes
   4174     else
   4175 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4176 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4177 as_fn_error 77 "cannot run C compiled programs.
   4178 If you meant to cross compile, use \`--host'.
   4179 See \`config.log' for more details" "$LINENO" 5; }
   4180     fi
   4181   fi
   4182 fi
   4183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4184 printf "%s\n" "$cross_compiling" >&6; }
   4185 
   4186 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4187 ac_clean_files=$ac_clean_files_save
   4188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4189 printf %s "checking for suffix of object files... " >&6; }
   4190 if test ${ac_cv_objext+y}
   4191 then :
   4192   printf %s "(cached) " >&6
   4193 else $as_nop
   4194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4195 /* end confdefs.h.  */
   4196 
   4197 int
   4198 main (void)
   4199 {
   4200 
   4201   ;
   4202   return 0;
   4203 }
   4204 _ACEOF
   4205 rm -f conftest.o conftest.obj
   4206 if { { ac_try="$ac_compile"
   4207 case "(($ac_try" in
   4208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4209   *) ac_try_echo=$ac_try;;
   4210 esac
   4211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4212 printf "%s\n" "$ac_try_echo"; } >&5
   4213   (eval "$ac_compile") 2>&5
   4214   ac_status=$?
   4215   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4216   test $ac_status = 0; }
   4217 then :
   4218   for ac_file in conftest.o conftest.obj conftest.*; do
   4219   test -f "$ac_file" || continue;
   4220   case $ac_file in
   4221     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4222     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4223        break;;
   4224   esac
   4225 done
   4226 else $as_nop
   4227   printf "%s\n" "$as_me: failed program was:" >&5
   4228 sed 's/^/| /' conftest.$ac_ext >&5
   4229 
   4230 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4231 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4232 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4233 See \`config.log' for more details" "$LINENO" 5; }
   4234 fi
   4235 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4236 fi
   4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4238 printf "%s\n" "$ac_cv_objext" >&6; }
   4239 OBJEXT=$ac_cv_objext
   4240 ac_objext=$OBJEXT
   4241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4242 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4243 if test ${ac_cv_c_compiler_gnu+y}
   4244 then :
   4245   printf %s "(cached) " >&6
   4246 else $as_nop
   4247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4248 /* end confdefs.h.  */
   4249 
   4250 int
   4251 main (void)
   4252 {
   4253 #ifndef __GNUC__
   4254        choke me
   4255 #endif
   4256 
   4257   ;
   4258   return 0;
   4259 }
   4260 _ACEOF
   4261 if ac_fn_c_try_compile "$LINENO"
   4262 then :
   4263   ac_compiler_gnu=yes
   4264 else $as_nop
   4265   ac_compiler_gnu=no
   4266 fi
   4267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4268 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4269 
   4270 fi
   4271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4272 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4274 
   4275 if test $ac_compiler_gnu = yes; then
   4276   GCC=yes
   4277 else
   4278   GCC=
   4279 fi
   4280 ac_test_CFLAGS=${CFLAGS+y}
   4281 ac_save_CFLAGS=$CFLAGS
   4282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4283 printf %s "checking whether $CC accepts -g... " >&6; }
   4284 if test ${ac_cv_prog_cc_g+y}
   4285 then :
   4286   printf %s "(cached) " >&6
   4287 else $as_nop
   4288   ac_save_c_werror_flag=$ac_c_werror_flag
   4289    ac_c_werror_flag=yes
   4290    ac_cv_prog_cc_g=no
   4291    CFLAGS="-g"
   4292    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4293 /* end confdefs.h.  */
   4294 
   4295 int
   4296 main (void)
   4297 {
   4298 
   4299   ;
   4300   return 0;
   4301 }
   4302 _ACEOF
   4303 if ac_fn_c_try_compile "$LINENO"
   4304 then :
   4305   ac_cv_prog_cc_g=yes
   4306 else $as_nop
   4307   CFLAGS=""
   4308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4309 /* end confdefs.h.  */
   4310 
   4311 int
   4312 main (void)
   4313 {
   4314 
   4315   ;
   4316   return 0;
   4317 }
   4318 _ACEOF
   4319 if ac_fn_c_try_compile "$LINENO"
   4320 then :
   4321 
   4322 else $as_nop
   4323   ac_c_werror_flag=$ac_save_c_werror_flag
   4324 	 CFLAGS="-g"
   4325 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4326 /* end confdefs.h.  */
   4327 
   4328 int
   4329 main (void)
   4330 {
   4331 
   4332   ;
   4333   return 0;
   4334 }
   4335 _ACEOF
   4336 if ac_fn_c_try_compile "$LINENO"
   4337 then :
   4338   ac_cv_prog_cc_g=yes
   4339 fi
   4340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4341 fi
   4342 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4343 fi
   4344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4345    ac_c_werror_flag=$ac_save_c_werror_flag
   4346 fi
   4347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4348 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4349 if test $ac_test_CFLAGS; then
   4350   CFLAGS=$ac_save_CFLAGS
   4351 elif test $ac_cv_prog_cc_g = yes; then
   4352   if test "$GCC" = yes; then
   4353     CFLAGS="-g -O2"
   4354   else
   4355     CFLAGS="-g"
   4356   fi
   4357 else
   4358   if test "$GCC" = yes; then
   4359     CFLAGS="-O2"
   4360   else
   4361     CFLAGS=
   4362   fi
   4363 fi
   4364 ac_prog_cc_stdc=no
   4365 if test x$ac_prog_cc_stdc = xno
   4366 then :
   4367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4368 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4369 if test ${ac_cv_prog_cc_c11+y}
   4370 then :
   4371   printf %s "(cached) " >&6
   4372 else $as_nop
   4373   ac_cv_prog_cc_c11=no
   4374 ac_save_CC=$CC
   4375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4376 /* end confdefs.h.  */
   4377 $ac_c_conftest_c11_program
   4378 _ACEOF
   4379 for ac_arg in '' -std=gnu11
   4380 do
   4381   CC="$ac_save_CC $ac_arg"
   4382   if ac_fn_c_try_compile "$LINENO"
   4383 then :
   4384   ac_cv_prog_cc_c11=$ac_arg
   4385 fi
   4386 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4387   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4388 done
   4389 rm -f conftest.$ac_ext
   4390 CC=$ac_save_CC
   4391 fi
   4392 
   4393 if test "x$ac_cv_prog_cc_c11" = xno
   4394 then :
   4395   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4396 printf "%s\n" "unsupported" >&6; }
   4397 else $as_nop
   4398   if test "x$ac_cv_prog_cc_c11" = x
   4399 then :
   4400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4401 printf "%s\n" "none needed" >&6; }
   4402 else $as_nop
   4403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4404 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4405      CC="$CC $ac_cv_prog_cc_c11"
   4406 fi
   4407   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4408   ac_prog_cc_stdc=c11
   4409 fi
   4410 fi
   4411 if test x$ac_prog_cc_stdc = xno
   4412 then :
   4413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4414 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4415 if test ${ac_cv_prog_cc_c99+y}
   4416 then :
   4417   printf %s "(cached) " >&6
   4418 else $as_nop
   4419   ac_cv_prog_cc_c99=no
   4420 ac_save_CC=$CC
   4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4422 /* end confdefs.h.  */
   4423 $ac_c_conftest_c99_program
   4424 _ACEOF
   4425 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4426 do
   4427   CC="$ac_save_CC $ac_arg"
   4428   if ac_fn_c_try_compile "$LINENO"
   4429 then :
   4430   ac_cv_prog_cc_c99=$ac_arg
   4431 fi
   4432 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4433   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4434 done
   4435 rm -f conftest.$ac_ext
   4436 CC=$ac_save_CC
   4437 fi
   4438 
   4439 if test "x$ac_cv_prog_cc_c99" = xno
   4440 then :
   4441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4442 printf "%s\n" "unsupported" >&6; }
   4443 else $as_nop
   4444   if test "x$ac_cv_prog_cc_c99" = x
   4445 then :
   4446   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4447 printf "%s\n" "none needed" >&6; }
   4448 else $as_nop
   4449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4450 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4451      CC="$CC $ac_cv_prog_cc_c99"
   4452 fi
   4453   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4454   ac_prog_cc_stdc=c99
   4455 fi
   4456 fi
   4457 if test x$ac_prog_cc_stdc = xno
   4458 then :
   4459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4460 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4461 if test ${ac_cv_prog_cc_c89+y}
   4462 then :
   4463   printf %s "(cached) " >&6
   4464 else $as_nop
   4465   ac_cv_prog_cc_c89=no
   4466 ac_save_CC=$CC
   4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4468 /* end confdefs.h.  */
   4469 $ac_c_conftest_c89_program
   4470 _ACEOF
   4471 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4472 do
   4473   CC="$ac_save_CC $ac_arg"
   4474   if ac_fn_c_try_compile "$LINENO"
   4475 then :
   4476   ac_cv_prog_cc_c89=$ac_arg
   4477 fi
   4478 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4479   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4480 done
   4481 rm -f conftest.$ac_ext
   4482 CC=$ac_save_CC
   4483 fi
   4484 
   4485 if test "x$ac_cv_prog_cc_c89" = xno
   4486 then :
   4487   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4488 printf "%s\n" "unsupported" >&6; }
   4489 else $as_nop
   4490   if test "x$ac_cv_prog_cc_c89" = x
   4491 then :
   4492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4493 printf "%s\n" "none needed" >&6; }
   4494 else $as_nop
   4495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4496 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4497      CC="$CC $ac_cv_prog_cc_c89"
   4498 fi
   4499   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4500   ac_prog_cc_stdc=c89
   4501 fi
   4502 fi
   4503 
   4504 ac_ext=c
   4505 ac_cpp='$CPP $CPPFLAGS'
   4506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4509 
   4510 
   4511   ac_ext=c
   4512 ac_cpp='$CPP $CPPFLAGS'
   4513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4517 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4518 if test ${am_cv_prog_cc_c_o+y}
   4519 then :
   4520   printf %s "(cached) " >&6
   4521 else $as_nop
   4522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4523 /* end confdefs.h.  */
   4524 
   4525 int
   4526 main (void)
   4527 {
   4528 
   4529   ;
   4530   return 0;
   4531 }
   4532 _ACEOF
   4533   # Make sure it works both with $CC and with simple cc.
   4534   # Following AC_PROG_CC_C_O, we do the test twice because some
   4535   # compilers refuse to overwrite an existing .o file with -o,
   4536   # though they will create one.
   4537   am_cv_prog_cc_c_o=yes
   4538   for am_i in 1 2; do
   4539     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4540    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4541    ac_status=$?
   4542    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4543    (exit $ac_status); } \
   4544          && test -f conftest2.$ac_objext; then
   4545       : OK
   4546     else
   4547       am_cv_prog_cc_c_o=no
   4548       break
   4549     fi
   4550   done
   4551   rm -f core conftest*
   4552   unset am_i
   4553 fi
   4554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4555 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4556 if test "$am_cv_prog_cc_c_o" != yes; then
   4557    # Losing compiler, so override with the script.
   4558    # FIXME: It is wrong to rewrite CC.
   4559    # But if we don't then we get into trouble of one sort or another.
   4560    # A longer-term fix would be to have automake use am__CC in this case,
   4561    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4562    CC="$am_aux_dir/compile $CC"
   4563 fi
   4564 ac_ext=c
   4565 ac_cpp='$CPP $CPPFLAGS'
   4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4569 
   4570 
   4571 depcc="$CC"   am_compiler_list=
   4572 
   4573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4574 printf %s "checking dependency style of $depcc... " >&6; }
   4575 if test ${am_cv_CC_dependencies_compiler_type+y}
   4576 then :
   4577   printf %s "(cached) " >&6
   4578 else $as_nop
   4579   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4580   # We make a subdir and do the tests there.  Otherwise we can end up
   4581   # making bogus files that we don't know about and never remove.  For
   4582   # instance it was reported that on HP-UX the gcc test will end up
   4583   # making a dummy file named 'D' -- because '-MD' means "put the output
   4584   # in D".
   4585   rm -rf conftest.dir
   4586   mkdir conftest.dir
   4587   # Copy depcomp to subdir because otherwise we won't find it if we're
   4588   # using a relative directory.
   4589   cp "$am_depcomp" conftest.dir
   4590   cd conftest.dir
   4591   # We will build objects and dependencies in a subdirectory because
   4592   # it helps to detect inapplicable dependency modes.  For instance
   4593   # both Tru64's cc and ICC support -MD to output dependencies as a
   4594   # side effect of compilation, but ICC will put the dependencies in
   4595   # the current directory while Tru64 will put them in the object
   4596   # directory.
   4597   mkdir sub
   4598 
   4599   am_cv_CC_dependencies_compiler_type=none
   4600   if test "$am_compiler_list" = ""; then
   4601      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4602   fi
   4603   am__universal=false
   4604   case " $depcc " in #(
   4605      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4606      esac
   4607 
   4608   for depmode in $am_compiler_list; do
   4609     # Setup a source with many dependencies, because some compilers
   4610     # like to wrap large dependency lists on column 80 (with \), and
   4611     # we should not choose a depcomp mode which is confused by this.
   4612     #
   4613     # We need to recreate these files for each test, as the compiler may
   4614     # overwrite some of them when testing with obscure command lines.
   4615     # This happens at least with the AIX C compiler.
   4616     : > sub/conftest.c
   4617     for i in 1 2 3 4 5 6; do
   4618       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4619       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4620       # Solaris 10 /bin/sh.
   4621       echo '/* dummy */' > sub/conftst$i.h
   4622     done
   4623     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4624 
   4625     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4626     # mode.  It turns out that the SunPro C++ compiler does not properly
   4627     # handle '-M -o', and we need to detect this.  Also, some Intel
   4628     # versions had trouble with output in subdirs.
   4629     am__obj=sub/conftest.${OBJEXT-o}
   4630     am__minus_obj="-o $am__obj"
   4631     case $depmode in
   4632     gcc)
   4633       # This depmode causes a compiler race in universal mode.
   4634       test "$am__universal" = false || continue
   4635       ;;
   4636     nosideeffect)
   4637       # After this tag, mechanisms are not by side-effect, so they'll
   4638       # only be used when explicitly requested.
   4639       if test "x$enable_dependency_tracking" = xyes; then
   4640 	continue
   4641       else
   4642 	break
   4643       fi
   4644       ;;
   4645     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4646       # This compiler won't grok '-c -o', but also, the minuso test has
   4647       # not run yet.  These depmodes are late enough in the game, and
   4648       # so weak that their functioning should not be impacted.
   4649       am__obj=conftest.${OBJEXT-o}
   4650       am__minus_obj=
   4651       ;;
   4652     none) break ;;
   4653     esac
   4654     if depmode=$depmode \
   4655        source=sub/conftest.c object=$am__obj \
   4656        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4657        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4658          >/dev/null 2>conftest.err &&
   4659        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4660        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4661        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4662        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4663       # icc doesn't choke on unknown options, it will just issue warnings
   4664       # or remarks (even with -Werror).  So we grep stderr for any message
   4665       # that says an option was ignored or not supported.
   4666       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4667       #   icc: Command line warning: ignoring option '-M'; no argument required
   4668       # The diagnosis changed in icc 8.0:
   4669       #   icc: Command line remark: option '-MP' not supported
   4670       if (grep 'ignoring option' conftest.err ||
   4671           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4672         am_cv_CC_dependencies_compiler_type=$depmode
   4673         break
   4674       fi
   4675     fi
   4676   done
   4677 
   4678   cd ..
   4679   rm -rf conftest.dir
   4680 else
   4681   am_cv_CC_dependencies_compiler_type=none
   4682 fi
   4683 
   4684 fi
   4685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4686 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4687 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4688 
   4689  if
   4690   test "x$enable_dependency_tracking" != xno \
   4691   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4692   am__fastdepCC_TRUE=
   4693   am__fastdepCC_FALSE='#'
   4694 else
   4695   am__fastdepCC_TRUE='#'
   4696   am__fastdepCC_FALSE=
   4697 fi
   4698 
   4699 
   4700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4701 printf %s "checking for a sed that does not truncate output... " >&6; }
   4702 if test ${ac_cv_path_SED+y}
   4703 then :
   4704   printf %s "(cached) " >&6
   4705 else $as_nop
   4706             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4707      for ac_i in 1 2 3 4 5 6 7; do
   4708        ac_script="$ac_script$as_nl$ac_script"
   4709      done
   4710      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4711      { ac_script=; unset ac_script;}
   4712      if test -z "$SED"; then
   4713   ac_path_SED_found=false
   4714   # Loop through the user's path and test for each of PROGNAME-LIST
   4715   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4716 for as_dir in $PATH
   4717 do
   4718   IFS=$as_save_IFS
   4719   case $as_dir in #(((
   4720     '') as_dir=./ ;;
   4721     */) ;;
   4722     *) as_dir=$as_dir/ ;;
   4723   esac
   4724     for ac_prog in sed gsed
   4725    do
   4726     for ac_exec_ext in '' $ac_executable_extensions; do
   4727       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4728       as_fn_executable_p "$ac_path_SED" || continue
   4729 # Check for GNU ac_path_SED and select it if it is found.
   4730   # Check for GNU $ac_path_SED
   4731 case `"$ac_path_SED" --version 2>&1` in
   4732 *GNU*)
   4733   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4734 *)
   4735   ac_count=0
   4736   printf %s 0123456789 >"conftest.in"
   4737   while :
   4738   do
   4739     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4740     mv "conftest.tmp" "conftest.in"
   4741     cp "conftest.in" "conftest.nl"
   4742     printf "%s\n" '' >> "conftest.nl"
   4743     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4744     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4745     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4746     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4747       # Best one so far, save it but keep looking for a better one
   4748       ac_cv_path_SED="$ac_path_SED"
   4749       ac_path_SED_max=$ac_count
   4750     fi
   4751     # 10*(2^10) chars as input seems more than enough
   4752     test $ac_count -gt 10 && break
   4753   done
   4754   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4755 esac
   4756 
   4757       $ac_path_SED_found && break 3
   4758     done
   4759   done
   4760   done
   4761 IFS=$as_save_IFS
   4762   if test -z "$ac_cv_path_SED"; then
   4763     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4764   fi
   4765 else
   4766   ac_cv_path_SED=$SED
   4767 fi
   4768 
   4769 fi
   4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4771 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4772  SED="$ac_cv_path_SED"
   4773   rm -f conftest.sed
   4774 
   4775 test -z "$SED" && SED=sed
   4776 Xsed="$SED -e 1s/^X//"
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4789 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4790 if test ${ac_cv_path_GREP+y}
   4791 then :
   4792   printf %s "(cached) " >&6
   4793 else $as_nop
   4794   if test -z "$GREP"; then
   4795   ac_path_GREP_found=false
   4796   # Loop through the user's path and test for each of PROGNAME-LIST
   4797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4798 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4799 do
   4800   IFS=$as_save_IFS
   4801   case $as_dir in #(((
   4802     '') as_dir=./ ;;
   4803     */) ;;
   4804     *) as_dir=$as_dir/ ;;
   4805   esac
   4806     for ac_prog in grep ggrep
   4807    do
   4808     for ac_exec_ext in '' $ac_executable_extensions; do
   4809       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4810       as_fn_executable_p "$ac_path_GREP" || continue
   4811 # Check for GNU ac_path_GREP and select it if it is found.
   4812   # Check for GNU $ac_path_GREP
   4813 case `"$ac_path_GREP" --version 2>&1` in
   4814 *GNU*)
   4815   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4816 *)
   4817   ac_count=0
   4818   printf %s 0123456789 >"conftest.in"
   4819   while :
   4820   do
   4821     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4822     mv "conftest.tmp" "conftest.in"
   4823     cp "conftest.in" "conftest.nl"
   4824     printf "%s\n" 'GREP' >> "conftest.nl"
   4825     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4826     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4827     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4828     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4829       # Best one so far, save it but keep looking for a better one
   4830       ac_cv_path_GREP="$ac_path_GREP"
   4831       ac_path_GREP_max=$ac_count
   4832     fi
   4833     # 10*(2^10) chars as input seems more than enough
   4834     test $ac_count -gt 10 && break
   4835   done
   4836   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4837 esac
   4838 
   4839       $ac_path_GREP_found && break 3
   4840     done
   4841   done
   4842   done
   4843 IFS=$as_save_IFS
   4844   if test -z "$ac_cv_path_GREP"; then
   4845     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4846   fi
   4847 else
   4848   ac_cv_path_GREP=$GREP
   4849 fi
   4850 
   4851 fi
   4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4853 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4854  GREP="$ac_cv_path_GREP"
   4855 
   4856 
   4857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4858 printf %s "checking for egrep... " >&6; }
   4859 if test ${ac_cv_path_EGREP+y}
   4860 then :
   4861   printf %s "(cached) " >&6
   4862 else $as_nop
   4863   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4864    then ac_cv_path_EGREP="$GREP -E"
   4865    else
   4866      if test -z "$EGREP"; then
   4867   ac_path_EGREP_found=false
   4868   # Loop through the user's path and test for each of PROGNAME-LIST
   4869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4870 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4871 do
   4872   IFS=$as_save_IFS
   4873   case $as_dir in #(((
   4874     '') as_dir=./ ;;
   4875     */) ;;
   4876     *) as_dir=$as_dir/ ;;
   4877   esac
   4878     for ac_prog in egrep
   4879    do
   4880     for ac_exec_ext in '' $ac_executable_extensions; do
   4881       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4882       as_fn_executable_p "$ac_path_EGREP" || continue
   4883 # Check for GNU ac_path_EGREP and select it if it is found.
   4884   # Check for GNU $ac_path_EGREP
   4885 case `"$ac_path_EGREP" --version 2>&1` in
   4886 *GNU*)
   4887   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4888 *)
   4889   ac_count=0
   4890   printf %s 0123456789 >"conftest.in"
   4891   while :
   4892   do
   4893     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4894     mv "conftest.tmp" "conftest.in"
   4895     cp "conftest.in" "conftest.nl"
   4896     printf "%s\n" 'EGREP' >> "conftest.nl"
   4897     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4898     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4899     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4900     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4901       # Best one so far, save it but keep looking for a better one
   4902       ac_cv_path_EGREP="$ac_path_EGREP"
   4903       ac_path_EGREP_max=$ac_count
   4904     fi
   4905     # 10*(2^10) chars as input seems more than enough
   4906     test $ac_count -gt 10 && break
   4907   done
   4908   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4909 esac
   4910 
   4911       $ac_path_EGREP_found && break 3
   4912     done
   4913   done
   4914   done
   4915 IFS=$as_save_IFS
   4916   if test -z "$ac_cv_path_EGREP"; then
   4917     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4918   fi
   4919 else
   4920   ac_cv_path_EGREP=$EGREP
   4921 fi
   4922 
   4923    fi
   4924 fi
   4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4926 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4927  EGREP="$ac_cv_path_EGREP"
   4928 
   4929 
   4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4931 printf %s "checking for fgrep... " >&6; }
   4932 if test ${ac_cv_path_FGREP+y}
   4933 then :
   4934   printf %s "(cached) " >&6
   4935 else $as_nop
   4936   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4937    then ac_cv_path_FGREP="$GREP -F"
   4938    else
   4939      if test -z "$FGREP"; then
   4940   ac_path_FGREP_found=false
   4941   # Loop through the user's path and test for each of PROGNAME-LIST
   4942   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4943 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4944 do
   4945   IFS=$as_save_IFS
   4946   case $as_dir in #(((
   4947     '') as_dir=./ ;;
   4948     */) ;;
   4949     *) as_dir=$as_dir/ ;;
   4950   esac
   4951     for ac_prog in fgrep
   4952    do
   4953     for ac_exec_ext in '' $ac_executable_extensions; do
   4954       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4955       as_fn_executable_p "$ac_path_FGREP" || continue
   4956 # Check for GNU ac_path_FGREP and select it if it is found.
   4957   # Check for GNU $ac_path_FGREP
   4958 case `"$ac_path_FGREP" --version 2>&1` in
   4959 *GNU*)
   4960   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4961 *)
   4962   ac_count=0
   4963   printf %s 0123456789 >"conftest.in"
   4964   while :
   4965   do
   4966     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4967     mv "conftest.tmp" "conftest.in"
   4968     cp "conftest.in" "conftest.nl"
   4969     printf "%s\n" 'FGREP' >> "conftest.nl"
   4970     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4971     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4972     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4973     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4974       # Best one so far, save it but keep looking for a better one
   4975       ac_cv_path_FGREP="$ac_path_FGREP"
   4976       ac_path_FGREP_max=$ac_count
   4977     fi
   4978     # 10*(2^10) chars as input seems more than enough
   4979     test $ac_count -gt 10 && break
   4980   done
   4981   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4982 esac
   4983 
   4984       $ac_path_FGREP_found && break 3
   4985     done
   4986   done
   4987   done
   4988 IFS=$as_save_IFS
   4989   if test -z "$ac_cv_path_FGREP"; then
   4990     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4991   fi
   4992 else
   4993   ac_cv_path_FGREP=$FGREP
   4994 fi
   4995 
   4996    fi
   4997 fi
   4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4999 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5000  FGREP="$ac_cv_path_FGREP"
   5001 
   5002 
   5003 test -z "$GREP" && GREP=grep
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 
   5010 
   5011 
   5012 
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 # Check whether --with-gnu-ld was given.
   5024 if test ${with_gnu_ld+y}
   5025 then :
   5026   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5027 else $as_nop
   5028   with_gnu_ld=no
   5029 fi
   5030 
   5031 ac_prog=ld
   5032 if test yes = "$GCC"; then
   5033   # Check if gcc -print-prog-name=ld gives a path.
   5034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5035 printf %s "checking for ld used by $CC... " >&6; }
   5036   case $host in
   5037   *-*-mingw*)
   5038     # gcc leaves a trailing carriage return, which upsets mingw
   5039     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5040   *)
   5041     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5042   esac
   5043   case $ac_prog in
   5044     # Accept absolute paths.
   5045     [\\/]* | ?:[\\/]*)
   5046       re_direlt='/[^/][^/]*/\.\./'
   5047       # Canonicalize the pathname of ld
   5048       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5049       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5050 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5051       done
   5052       test -z "$LD" && LD=$ac_prog
   5053       ;;
   5054   "")
   5055     # If it fails, then pretend we aren't using GCC.
   5056     ac_prog=ld
   5057     ;;
   5058   *)
   5059     # If it is relative, then search for the first ld in PATH.
   5060     with_gnu_ld=unknown
   5061     ;;
   5062   esac
   5063 elif test yes = "$with_gnu_ld"; then
   5064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5065 printf %s "checking for GNU ld... " >&6; }
   5066 else
   5067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5068 printf %s "checking for non-GNU ld... " >&6; }
   5069 fi
   5070 if test ${lt_cv_path_LD+y}
   5071 then :
   5072   printf %s "(cached) " >&6
   5073 else $as_nop
   5074   if test -z "$LD"; then
   5075   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5076   for ac_dir in $PATH; do
   5077     IFS=$lt_save_ifs
   5078     test -z "$ac_dir" && ac_dir=.
   5079     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5080       lt_cv_path_LD=$ac_dir/$ac_prog
   5081       # Check to see if the program is GNU ld.  I'd rather use --version,
   5082       # but apparently some variants of GNU ld only accept -v.
   5083       # Break only if it was the GNU/non-GNU ld that we prefer.
   5084       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5085       *GNU* | *'with BFD'*)
   5086 	test no != "$with_gnu_ld" && break
   5087 	;;
   5088       *)
   5089 	test yes != "$with_gnu_ld" && break
   5090 	;;
   5091       esac
   5092     fi
   5093   done
   5094   IFS=$lt_save_ifs
   5095 else
   5096   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5097 fi
   5098 fi
   5099 
   5100 LD=$lt_cv_path_LD
   5101 if test -n "$LD"; then
   5102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5103 printf "%s\n" "$LD" >&6; }
   5104 else
   5105   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5106 printf "%s\n" "no" >&6; }
   5107 fi
   5108 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5110 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5111 if test ${lt_cv_prog_gnu_ld+y}
   5112 then :
   5113   printf %s "(cached) " >&6
   5114 else $as_nop
   5115   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5116 case `$LD -v 2>&1 </dev/null` in
   5117 *GNU* | *'with BFD'*)
   5118   lt_cv_prog_gnu_ld=yes
   5119   ;;
   5120 *)
   5121   lt_cv_prog_gnu_ld=no
   5122   ;;
   5123 esac
   5124 fi
   5125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5126 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5127 with_gnu_ld=$lt_cv_prog_gnu_ld
   5128 
   5129 
   5130 
   5131 
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5138 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5139 if test ${lt_cv_path_NM+y}
   5140 then :
   5141   printf %s "(cached) " >&6
   5142 else $as_nop
   5143   if test -n "$NM"; then
   5144   # Let the user override the test.
   5145   lt_cv_path_NM=$NM
   5146 else
   5147   lt_nm_to_check=${ac_tool_prefix}nm
   5148   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5149     lt_nm_to_check="$lt_nm_to_check nm"
   5150   fi
   5151   for lt_tmp_nm in $lt_nm_to_check; do
   5152     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5153     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5154       IFS=$lt_save_ifs
   5155       test -z "$ac_dir" && ac_dir=.
   5156       tmp_nm=$ac_dir/$lt_tmp_nm
   5157       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5158 	# Check to see if the nm accepts a BSD-compat flag.
   5159 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5160 	#   nm: unknown option "B" ignored
   5161 	# Tru64's nm complains that /dev/null is an invalid object file
   5162 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5163 	case $build_os in
   5164 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5165 	*) lt_bad_file=/dev/null ;;
   5166 	esac
   5167 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5168 	*$lt_bad_file* | *'Invalid file or object type'*)
   5169 	  lt_cv_path_NM="$tmp_nm -B"
   5170 	  break 2
   5171 	  ;;
   5172 	*)
   5173 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5174 	  */dev/null*)
   5175 	    lt_cv_path_NM="$tmp_nm -p"
   5176 	    break 2
   5177 	    ;;
   5178 	  *)
   5179 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5180 	    continue # so that we can try to find one that supports BSD flags
   5181 	    ;;
   5182 	  esac
   5183 	  ;;
   5184 	esac
   5185       fi
   5186     done
   5187     IFS=$lt_save_ifs
   5188   done
   5189   : ${lt_cv_path_NM=no}
   5190 fi
   5191 fi
   5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5193 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5194 if test no != "$lt_cv_path_NM"; then
   5195   NM=$lt_cv_path_NM
   5196 else
   5197   # Didn't find any BSD compatible name lister, look for dumpbin.
   5198   if test -n "$DUMPBIN"; then :
   5199     # Let the user override the test.
   5200   else
   5201     if test -n "$ac_tool_prefix"; then
   5202   for ac_prog in dumpbin "link -dump"
   5203   do
   5204     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5205 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5207 printf %s "checking for $ac_word... " >&6; }
   5208 if test ${ac_cv_prog_DUMPBIN+y}
   5209 then :
   5210   printf %s "(cached) " >&6
   5211 else $as_nop
   5212   if test -n "$DUMPBIN"; then
   5213   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5214 else
   5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5216 for as_dir in $PATH
   5217 do
   5218   IFS=$as_save_IFS
   5219   case $as_dir in #(((
   5220     '') as_dir=./ ;;
   5221     */) ;;
   5222     *) as_dir=$as_dir/ ;;
   5223   esac
   5224     for ac_exec_ext in '' $ac_executable_extensions; do
   5225   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5226     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5227     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5228     break 2
   5229   fi
   5230 done
   5231   done
   5232 IFS=$as_save_IFS
   5233 
   5234 fi
   5235 fi
   5236 DUMPBIN=$ac_cv_prog_DUMPBIN
   5237 if test -n "$DUMPBIN"; then
   5238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5239 printf "%s\n" "$DUMPBIN" >&6; }
   5240 else
   5241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5242 printf "%s\n" "no" >&6; }
   5243 fi
   5244 
   5245 
   5246     test -n "$DUMPBIN" && break
   5247   done
   5248 fi
   5249 if test -z "$DUMPBIN"; then
   5250   ac_ct_DUMPBIN=$DUMPBIN
   5251   for ac_prog in dumpbin "link -dump"
   5252 do
   5253   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5254 set dummy $ac_prog; ac_word=$2
   5255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5256 printf %s "checking for $ac_word... " >&6; }
   5257 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5258 then :
   5259   printf %s "(cached) " >&6
   5260 else $as_nop
   5261   if test -n "$ac_ct_DUMPBIN"; then
   5262   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5263 else
   5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5265 for as_dir in $PATH
   5266 do
   5267   IFS=$as_save_IFS
   5268   case $as_dir in #(((
   5269     '') as_dir=./ ;;
   5270     */) ;;
   5271     *) as_dir=$as_dir/ ;;
   5272   esac
   5273     for ac_exec_ext in '' $ac_executable_extensions; do
   5274   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5275     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5276     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5277     break 2
   5278   fi
   5279 done
   5280   done
   5281 IFS=$as_save_IFS
   5282 
   5283 fi
   5284 fi
   5285 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5286 if test -n "$ac_ct_DUMPBIN"; then
   5287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5288 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5289 else
   5290   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5291 printf "%s\n" "no" >&6; }
   5292 fi
   5293 
   5294 
   5295   test -n "$ac_ct_DUMPBIN" && break
   5296 done
   5297 
   5298   if test "x$ac_ct_DUMPBIN" = x; then
   5299     DUMPBIN=":"
   5300   else
   5301     case $cross_compiling:$ac_tool_warned in
   5302 yes:)
   5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5304 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5305 ac_tool_warned=yes ;;
   5306 esac
   5307     DUMPBIN=$ac_ct_DUMPBIN
   5308   fi
   5309 fi
   5310 
   5311     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5312     *COFF*)
   5313       DUMPBIN="$DUMPBIN -symbols -headers"
   5314       ;;
   5315     *)
   5316       DUMPBIN=:
   5317       ;;
   5318     esac
   5319   fi
   5320 
   5321   if test : != "$DUMPBIN"; then
   5322     NM=$DUMPBIN
   5323   fi
   5324 fi
   5325 test -z "$NM" && NM=nm
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5333 printf %s "checking the name lister ($NM) interface... " >&6; }
   5334 if test ${lt_cv_nm_interface+y}
   5335 then :
   5336   printf %s "(cached) " >&6
   5337 else $as_nop
   5338   lt_cv_nm_interface="BSD nm"
   5339   echo "int some_variable = 0;" > conftest.$ac_ext
   5340   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5341   (eval "$ac_compile" 2>conftest.err)
   5342   cat conftest.err >&5
   5343   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5344   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5345   cat conftest.err >&5
   5346   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5347   cat conftest.out >&5
   5348   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5349     lt_cv_nm_interface="MS dumpbin"
   5350   fi
   5351   rm -f conftest*
   5352 fi
   5353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5354 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5355 
   5356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5357 printf %s "checking whether ln -s works... " >&6; }
   5358 LN_S=$as_ln_s
   5359 if test "$LN_S" = "ln -s"; then
   5360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5361 printf "%s\n" "yes" >&6; }
   5362 else
   5363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5364 printf "%s\n" "no, using $LN_S" >&6; }
   5365 fi
   5366 
   5367 # find the maximum length of command line arguments
   5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5369 printf %s "checking the maximum length of command line arguments... " >&6; }
   5370 if test ${lt_cv_sys_max_cmd_len+y}
   5371 then :
   5372   printf %s "(cached) " >&6
   5373 else $as_nop
   5374     i=0
   5375   teststring=ABCD
   5376 
   5377   case $build_os in
   5378   msdosdjgpp*)
   5379     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5380     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5381     # during glob expansion).  Even if it were fixed, the result of this
   5382     # check would be larger than it should be.
   5383     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5384     ;;
   5385 
   5386   gnu*)
   5387     # Under GNU Hurd, this test is not required because there is
   5388     # no limit to the length of command line arguments.
   5389     # Libtool will interpret -1 as no limit whatsoever
   5390     lt_cv_sys_max_cmd_len=-1;
   5391     ;;
   5392 
   5393   cygwin* | mingw* | cegcc*)
   5394     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5395     # about 5 minutes as the teststring grows exponentially.
   5396     # Worse, since 9x/ME are not pre-emptively multitasking,
   5397     # you end up with a "frozen" computer, even though with patience
   5398     # the test eventually succeeds (with a max line length of 256k).
   5399     # Instead, let's just punt: use the minimum linelength reported by
   5400     # all of the supported platforms: 8192 (on NT/2K/XP).
   5401     lt_cv_sys_max_cmd_len=8192;
   5402     ;;
   5403 
   5404   mint*)
   5405     # On MiNT this can take a long time and run out of memory.
   5406     lt_cv_sys_max_cmd_len=8192;
   5407     ;;
   5408 
   5409   amigaos*)
   5410     # On AmigaOS with pdksh, this test takes hours, literally.
   5411     # So we just punt and use a minimum line length of 8192.
   5412     lt_cv_sys_max_cmd_len=8192;
   5413     ;;
   5414 
   5415   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5416     # This has been around since 386BSD, at least.  Likely further.
   5417     if test -x /sbin/sysctl; then
   5418       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5419     elif test -x /usr/sbin/sysctl; then
   5420       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5421     else
   5422       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5423     fi
   5424     # And add a safety zone
   5425     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5426     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5427     ;;
   5428 
   5429   interix*)
   5430     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5431     lt_cv_sys_max_cmd_len=196608
   5432     ;;
   5433 
   5434   os2*)
   5435     # The test takes a long time on OS/2.
   5436     lt_cv_sys_max_cmd_len=8192
   5437     ;;
   5438 
   5439   osf*)
   5440     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5441     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5442     # nice to cause kernel panics so lets avoid the loop below.
   5443     # First set a reasonable default.
   5444     lt_cv_sys_max_cmd_len=16384
   5445     #
   5446     if test -x /sbin/sysconfig; then
   5447       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5448         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5449       esac
   5450     fi
   5451     ;;
   5452   sco3.2v5*)
   5453     lt_cv_sys_max_cmd_len=102400
   5454     ;;
   5455   sysv5* | sco5v6* | sysv4.2uw2*)
   5456     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5457     if test -n "$kargmax"; then
   5458       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5459     else
   5460       lt_cv_sys_max_cmd_len=32768
   5461     fi
   5462     ;;
   5463   *)
   5464     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5465     if test -n "$lt_cv_sys_max_cmd_len" && \
   5466        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5467       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5468       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5469     else
   5470       # Make teststring a little bigger before we do anything with it.
   5471       # a 1K string should be a reasonable start.
   5472       for i in 1 2 3 4 5 6 7 8; do
   5473         teststring=$teststring$teststring
   5474       done
   5475       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5476       # If test is not a shell built-in, we'll probably end up computing a
   5477       # maximum length that is only half of the actual maximum length, but
   5478       # we can't tell.
   5479       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5480 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5481 	      test 17 != "$i" # 1/2 MB should be enough
   5482       do
   5483         i=`expr $i + 1`
   5484         teststring=$teststring$teststring
   5485       done
   5486       # Only check the string length outside the loop.
   5487       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5488       teststring=
   5489       # Add a significant safety factor because C++ compilers can tack on
   5490       # massive amounts of additional arguments before passing them to the
   5491       # linker.  It appears as though 1/2 is a usable value.
   5492       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5493     fi
   5494     ;;
   5495   esac
   5496 
   5497 fi
   5498 
   5499 if test -n "$lt_cv_sys_max_cmd_len"; then
   5500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5501 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5502 else
   5503   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5504 printf "%s\n" "none" >&6; }
   5505 fi
   5506 max_cmd_len=$lt_cv_sys_max_cmd_len
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 : ${CP="cp -f"}
   5514 : ${MV="mv -f"}
   5515 : ${RM="rm -f"}
   5516 
   5517 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5518   lt_unset=unset
   5519 else
   5520   lt_unset=false
   5521 fi
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 # test EBCDIC or ASCII
   5528 case `echo X|tr X '\101'` in
   5529  A) # ASCII based system
   5530     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5531   lt_SP2NL='tr \040 \012'
   5532   lt_NL2SP='tr \015\012 \040\040'
   5533   ;;
   5534  *) # EBCDIC based system
   5535   lt_SP2NL='tr \100 \n'
   5536   lt_NL2SP='tr \r\n \100\100'
   5537   ;;
   5538 esac
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5549 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5550 if test ${lt_cv_to_host_file_cmd+y}
   5551 then :
   5552   printf %s "(cached) " >&6
   5553 else $as_nop
   5554   case $host in
   5555   *-*-mingw* )
   5556     case $build in
   5557       *-*-mingw* ) # actually msys
   5558         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5559         ;;
   5560       *-*-cygwin* )
   5561         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5562         ;;
   5563       * ) # otherwise, assume *nix
   5564         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5565         ;;
   5566     esac
   5567     ;;
   5568   *-*-cygwin* )
   5569     case $build in
   5570       *-*-mingw* ) # actually msys
   5571         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5572         ;;
   5573       *-*-cygwin* )
   5574         lt_cv_to_host_file_cmd=func_convert_file_noop
   5575         ;;
   5576       * ) # otherwise, assume *nix
   5577         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5578         ;;
   5579     esac
   5580     ;;
   5581   * ) # unhandled hosts (and "normal" native builds)
   5582     lt_cv_to_host_file_cmd=func_convert_file_noop
   5583     ;;
   5584 esac
   5585 
   5586 fi
   5587 
   5588 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5590 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5597 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5598 if test ${lt_cv_to_tool_file_cmd+y}
   5599 then :
   5600   printf %s "(cached) " >&6
   5601 else $as_nop
   5602   #assume ordinary cross tools, or native build.
   5603 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5604 case $host in
   5605   *-*-mingw* )
   5606     case $build in
   5607       *-*-mingw* ) # actually msys
   5608         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5609         ;;
   5610     esac
   5611     ;;
   5612 esac
   5613 
   5614 fi
   5615 
   5616 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5618 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5625 printf %s "checking for $LD option to reload object files... " >&6; }
   5626 if test ${lt_cv_ld_reload_flag+y}
   5627 then :
   5628   printf %s "(cached) " >&6
   5629 else $as_nop
   5630   lt_cv_ld_reload_flag='-r'
   5631 fi
   5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5633 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5634 reload_flag=$lt_cv_ld_reload_flag
   5635 case $reload_flag in
   5636 "" | " "*) ;;
   5637 *) reload_flag=" $reload_flag" ;;
   5638 esac
   5639 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5640 case $host_os in
   5641   cygwin* | mingw* | pw32* | cegcc*)
   5642     if test yes != "$GCC"; then
   5643       reload_cmds=false
   5644     fi
   5645     ;;
   5646   darwin*)
   5647     if test yes = "$GCC"; then
   5648       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5649     else
   5650       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5651     fi
   5652     ;;
   5653 esac
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 if test -n "$ac_tool_prefix"; then
   5664   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5665 set dummy ${ac_tool_prefix}file; ac_word=$2
   5666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5667 printf %s "checking for $ac_word... " >&6; }
   5668 if test ${ac_cv_prog_FILECMD+y}
   5669 then :
   5670   printf %s "(cached) " >&6
   5671 else $as_nop
   5672   if test -n "$FILECMD"; then
   5673   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5674 else
   5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5676 for as_dir in $PATH
   5677 do
   5678   IFS=$as_save_IFS
   5679   case $as_dir in #(((
   5680     '') as_dir=./ ;;
   5681     */) ;;
   5682     *) as_dir=$as_dir/ ;;
   5683   esac
   5684     for ac_exec_ext in '' $ac_executable_extensions; do
   5685   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5686     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5687     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5688     break 2
   5689   fi
   5690 done
   5691   done
   5692 IFS=$as_save_IFS
   5693 
   5694 fi
   5695 fi
   5696 FILECMD=$ac_cv_prog_FILECMD
   5697 if test -n "$FILECMD"; then
   5698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5699 printf "%s\n" "$FILECMD" >&6; }
   5700 else
   5701   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5702 printf "%s\n" "no" >&6; }
   5703 fi
   5704 
   5705 
   5706 fi
   5707 if test -z "$ac_cv_prog_FILECMD"; then
   5708   ac_ct_FILECMD=$FILECMD
   5709   # Extract the first word of "file", so it can be a program name with args.
   5710 set dummy file; ac_word=$2
   5711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5712 printf %s "checking for $ac_word... " >&6; }
   5713 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5714 then :
   5715   printf %s "(cached) " >&6
   5716 else $as_nop
   5717   if test -n "$ac_ct_FILECMD"; then
   5718   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5719 else
   5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5721 for as_dir in $PATH
   5722 do
   5723   IFS=$as_save_IFS
   5724   case $as_dir in #(((
   5725     '') as_dir=./ ;;
   5726     */) ;;
   5727     *) as_dir=$as_dir/ ;;
   5728   esac
   5729     for ac_exec_ext in '' $ac_executable_extensions; do
   5730   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5731     ac_cv_prog_ac_ct_FILECMD="file"
   5732     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5733     break 2
   5734   fi
   5735 done
   5736   done
   5737 IFS=$as_save_IFS
   5738 
   5739 fi
   5740 fi
   5741 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5742 if test -n "$ac_ct_FILECMD"; then
   5743   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5744 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5745 else
   5746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5747 printf "%s\n" "no" >&6; }
   5748 fi
   5749 
   5750   if test "x$ac_ct_FILECMD" = x; then
   5751     FILECMD=":"
   5752   else
   5753     case $cross_compiling:$ac_tool_warned in
   5754 yes:)
   5755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5756 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5757 ac_tool_warned=yes ;;
   5758 esac
   5759     FILECMD=$ac_ct_FILECMD
   5760   fi
   5761 else
   5762   FILECMD="$ac_cv_prog_FILECMD"
   5763 fi
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 if test -n "$ac_tool_prefix"; then
   5772   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5773 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5775 printf %s "checking for $ac_word... " >&6; }
   5776 if test ${ac_cv_prog_OBJDUMP+y}
   5777 then :
   5778   printf %s "(cached) " >&6
   5779 else $as_nop
   5780   if test -n "$OBJDUMP"; then
   5781   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5782 else
   5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5784 for as_dir in $PATH
   5785 do
   5786   IFS=$as_save_IFS
   5787   case $as_dir in #(((
   5788     '') as_dir=./ ;;
   5789     */) ;;
   5790     *) as_dir=$as_dir/ ;;
   5791   esac
   5792     for ac_exec_ext in '' $ac_executable_extensions; do
   5793   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5794     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5795     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5796     break 2
   5797   fi
   5798 done
   5799   done
   5800 IFS=$as_save_IFS
   5801 
   5802 fi
   5803 fi
   5804 OBJDUMP=$ac_cv_prog_OBJDUMP
   5805 if test -n "$OBJDUMP"; then
   5806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5807 printf "%s\n" "$OBJDUMP" >&6; }
   5808 else
   5809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5810 printf "%s\n" "no" >&6; }
   5811 fi
   5812 
   5813 
   5814 fi
   5815 if test -z "$ac_cv_prog_OBJDUMP"; then
   5816   ac_ct_OBJDUMP=$OBJDUMP
   5817   # Extract the first word of "objdump", so it can be a program name with args.
   5818 set dummy objdump; ac_word=$2
   5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5820 printf %s "checking for $ac_word... " >&6; }
   5821 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5822 then :
   5823   printf %s "(cached) " >&6
   5824 else $as_nop
   5825   if test -n "$ac_ct_OBJDUMP"; then
   5826   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5827 else
   5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5829 for as_dir in $PATH
   5830 do
   5831   IFS=$as_save_IFS
   5832   case $as_dir in #(((
   5833     '') as_dir=./ ;;
   5834     */) ;;
   5835     *) as_dir=$as_dir/ ;;
   5836   esac
   5837     for ac_exec_ext in '' $ac_executable_extensions; do
   5838   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5839     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5840     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5841     break 2
   5842   fi
   5843 done
   5844   done
   5845 IFS=$as_save_IFS
   5846 
   5847 fi
   5848 fi
   5849 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5850 if test -n "$ac_ct_OBJDUMP"; then
   5851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5852 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5853 else
   5854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5855 printf "%s\n" "no" >&6; }
   5856 fi
   5857 
   5858   if test "x$ac_ct_OBJDUMP" = x; then
   5859     OBJDUMP="false"
   5860   else
   5861     case $cross_compiling:$ac_tool_warned in
   5862 yes:)
   5863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5864 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5865 ac_tool_warned=yes ;;
   5866 esac
   5867     OBJDUMP=$ac_ct_OBJDUMP
   5868   fi
   5869 else
   5870   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5871 fi
   5872 
   5873 test -z "$OBJDUMP" && OBJDUMP=objdump
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5884 printf %s "checking how to recognize dependent libraries... " >&6; }
   5885 if test ${lt_cv_deplibs_check_method+y}
   5886 then :
   5887   printf %s "(cached) " >&6
   5888 else $as_nop
   5889   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5890 lt_cv_file_magic_test_file=
   5891 lt_cv_deplibs_check_method='unknown'
   5892 # Need to set the preceding variable on all platforms that support
   5893 # interlibrary dependencies.
   5894 # 'none' -- dependencies not supported.
   5895 # 'unknown' -- same as none, but documents that we really don't know.
   5896 # 'pass_all' -- all dependencies passed with no checks.
   5897 # 'test_compile' -- check by making test program.
   5898 # 'file_magic [[regex]]' -- check by looking for files in library path
   5899 # that responds to the $file_magic_cmd with a given extended regex.
   5900 # If you have 'file' or equivalent on your system and you're not sure
   5901 # whether 'pass_all' will *always* work, you probably want this one.
   5902 
   5903 case $host_os in
   5904 aix[4-9]*)
   5905   lt_cv_deplibs_check_method=pass_all
   5906   ;;
   5907 
   5908 beos*)
   5909   lt_cv_deplibs_check_method=pass_all
   5910   ;;
   5911 
   5912 bsdi[45]*)
   5913   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5914   lt_cv_file_magic_cmd='$FILECMD -L'
   5915   lt_cv_file_magic_test_file=/shlib/libc.so
   5916   ;;
   5917 
   5918 cygwin*)
   5919   # func_win32_libid is a shell function defined in ltmain.sh
   5920   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5921   lt_cv_file_magic_cmd='func_win32_libid'
   5922   ;;
   5923 
   5924 mingw* | pw32*)
   5925   # Base MSYS/MinGW do not provide the 'file' command needed by
   5926   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5927   # unless we find 'file', for example because we are cross-compiling.
   5928   if ( file / ) >/dev/null 2>&1; then
   5929     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5930     lt_cv_file_magic_cmd='func_win32_libid'
   5931   else
   5932     # Keep this pattern in sync with the one in func_win32_libid.
   5933     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5934     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5935   fi
   5936   ;;
   5937 
   5938 cegcc*)
   5939   # use the weaker test based on 'objdump'. See mingw*.
   5940   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5941   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5942   ;;
   5943 
   5944 darwin* | rhapsody*)
   5945   lt_cv_deplibs_check_method=pass_all
   5946   ;;
   5947 
   5948 freebsd* | dragonfly* | midnightbsd*)
   5949   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5950     case $host_cpu in
   5951     i*86 )
   5952       # Not sure whether the presence of OpenBSD here was a mistake.
   5953       # Let's accept both of them until this is cleared up.
   5954       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5955       lt_cv_file_magic_cmd=$FILECMD
   5956       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5957       ;;
   5958     esac
   5959   else
   5960     lt_cv_deplibs_check_method=pass_all
   5961   fi
   5962   ;;
   5963 
   5964 haiku*)
   5965   lt_cv_deplibs_check_method=pass_all
   5966   ;;
   5967 
   5968 hpux10.20* | hpux11*)
   5969   lt_cv_file_magic_cmd=$FILECMD
   5970   case $host_cpu in
   5971   ia64*)
   5972     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5973     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5974     ;;
   5975   hppa*64*)
   5976     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]'
   5977     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5978     ;;
   5979   *)
   5980     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5981     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5982     ;;
   5983   esac
   5984   ;;
   5985 
   5986 interix[3-9]*)
   5987   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5988   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5989   ;;
   5990 
   5991 irix5* | irix6* | nonstopux*)
   5992   case $LD in
   5993   *-32|*"-32 ") libmagic=32-bit;;
   5994   *-n32|*"-n32 ") libmagic=N32;;
   5995   *-64|*"-64 ") libmagic=64-bit;;
   5996   *) libmagic=never-match;;
   5997   esac
   5998   lt_cv_deplibs_check_method=pass_all
   5999   ;;
   6000 
   6001 # This must be glibc/ELF.
   6002 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6003   lt_cv_deplibs_check_method=pass_all
   6004   ;;
   6005 
   6006 netbsd*)
   6007   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6008     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6009   else
   6010     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6011   fi
   6012   ;;
   6013 
   6014 newos6*)
   6015   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6016   lt_cv_file_magic_cmd=$FILECMD
   6017   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6018   ;;
   6019 
   6020 *nto* | *qnx*)
   6021   lt_cv_deplibs_check_method=pass_all
   6022   ;;
   6023 
   6024 openbsd* | bitrig*)
   6025   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6026     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6027   else
   6028     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6029   fi
   6030   ;;
   6031 
   6032 osf3* | osf4* | osf5*)
   6033   lt_cv_deplibs_check_method=pass_all
   6034   ;;
   6035 
   6036 rdos*)
   6037   lt_cv_deplibs_check_method=pass_all
   6038   ;;
   6039 
   6040 solaris*)
   6041   lt_cv_deplibs_check_method=pass_all
   6042   ;;
   6043 
   6044 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6045   lt_cv_deplibs_check_method=pass_all
   6046   ;;
   6047 
   6048 sysv4 | sysv4.3*)
   6049   case $host_vendor in
   6050   motorola)
   6051     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]'
   6052     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6053     ;;
   6054   ncr)
   6055     lt_cv_deplibs_check_method=pass_all
   6056     ;;
   6057   sequent)
   6058     lt_cv_file_magic_cmd='/bin/file'
   6059     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6060     ;;
   6061   sni)
   6062     lt_cv_file_magic_cmd='/bin/file'
   6063     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6064     lt_cv_file_magic_test_file=/lib/libc.so
   6065     ;;
   6066   siemens)
   6067     lt_cv_deplibs_check_method=pass_all
   6068     ;;
   6069   pc)
   6070     lt_cv_deplibs_check_method=pass_all
   6071     ;;
   6072   esac
   6073   ;;
   6074 
   6075 tpf*)
   6076   lt_cv_deplibs_check_method=pass_all
   6077   ;;
   6078 os2*)
   6079   lt_cv_deplibs_check_method=pass_all
   6080   ;;
   6081 esac
   6082 
   6083 fi
   6084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6085 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6086 
   6087 file_magic_glob=
   6088 want_nocaseglob=no
   6089 if test "$build" = "$host"; then
   6090   case $host_os in
   6091   mingw* | pw32*)
   6092     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6093       want_nocaseglob=yes
   6094     else
   6095       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6096     fi
   6097     ;;
   6098   esac
   6099 fi
   6100 
   6101 file_magic_cmd=$lt_cv_file_magic_cmd
   6102 deplibs_check_method=$lt_cv_deplibs_check_method
   6103 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 if test -n "$ac_tool_prefix"; then
   6127   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6128 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6130 printf %s "checking for $ac_word... " >&6; }
   6131 if test ${ac_cv_prog_DLLTOOL+y}
   6132 then :
   6133   printf %s "(cached) " >&6
   6134 else $as_nop
   6135   if test -n "$DLLTOOL"; then
   6136   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6137 else
   6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6139 for as_dir in $PATH
   6140 do
   6141   IFS=$as_save_IFS
   6142   case $as_dir in #(((
   6143     '') as_dir=./ ;;
   6144     */) ;;
   6145     *) as_dir=$as_dir/ ;;
   6146   esac
   6147     for ac_exec_ext in '' $ac_executable_extensions; do
   6148   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6149     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6150     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6151     break 2
   6152   fi
   6153 done
   6154   done
   6155 IFS=$as_save_IFS
   6156 
   6157 fi
   6158 fi
   6159 DLLTOOL=$ac_cv_prog_DLLTOOL
   6160 if test -n "$DLLTOOL"; then
   6161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6162 printf "%s\n" "$DLLTOOL" >&6; }
   6163 else
   6164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6165 printf "%s\n" "no" >&6; }
   6166 fi
   6167 
   6168 
   6169 fi
   6170 if test -z "$ac_cv_prog_DLLTOOL"; then
   6171   ac_ct_DLLTOOL=$DLLTOOL
   6172   # Extract the first word of "dlltool", so it can be a program name with args.
   6173 set dummy dlltool; ac_word=$2
   6174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6175 printf %s "checking for $ac_word... " >&6; }
   6176 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6177 then :
   6178   printf %s "(cached) " >&6
   6179 else $as_nop
   6180   if test -n "$ac_ct_DLLTOOL"; then
   6181   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6182 else
   6183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6184 for as_dir in $PATH
   6185 do
   6186   IFS=$as_save_IFS
   6187   case $as_dir in #(((
   6188     '') as_dir=./ ;;
   6189     */) ;;
   6190     *) as_dir=$as_dir/ ;;
   6191   esac
   6192     for ac_exec_ext in '' $ac_executable_extensions; do
   6193   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6194     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6195     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6196     break 2
   6197   fi
   6198 done
   6199   done
   6200 IFS=$as_save_IFS
   6201 
   6202 fi
   6203 fi
   6204 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6205 if test -n "$ac_ct_DLLTOOL"; then
   6206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6207 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6208 else
   6209   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6210 printf "%s\n" "no" >&6; }
   6211 fi
   6212 
   6213   if test "x$ac_ct_DLLTOOL" = x; then
   6214     DLLTOOL="false"
   6215   else
   6216     case $cross_compiling:$ac_tool_warned in
   6217 yes:)
   6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6219 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6220 ac_tool_warned=yes ;;
   6221 esac
   6222     DLLTOOL=$ac_ct_DLLTOOL
   6223   fi
   6224 else
   6225   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6226 fi
   6227 
   6228 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6240 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6241 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6242 then :
   6243   printf %s "(cached) " >&6
   6244 else $as_nop
   6245   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6246 
   6247 case $host_os in
   6248 cygwin* | mingw* | pw32* | cegcc*)
   6249   # two different shell functions defined in ltmain.sh;
   6250   # decide which one to use based on capabilities of $DLLTOOL
   6251   case `$DLLTOOL --help 2>&1` in
   6252   *--identify-strict*)
   6253     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6254     ;;
   6255   *)
   6256     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6257     ;;
   6258   esac
   6259   ;;
   6260 *)
   6261   # fallback: assume linklib IS sharedlib
   6262   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6263   ;;
   6264 esac
   6265 
   6266 fi
   6267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6268 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6269 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6270 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 if test -n "$ac_tool_prefix"; then
   6280   for ac_prog in ar
   6281   do
   6282     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6285 printf %s "checking for $ac_word... " >&6; }
   6286 if test ${ac_cv_prog_AR+y}
   6287 then :
   6288   printf %s "(cached) " >&6
   6289 else $as_nop
   6290   if test -n "$AR"; then
   6291   ac_cv_prog_AR="$AR" # Let the user override the test.
   6292 else
   6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6294 for as_dir in $PATH
   6295 do
   6296   IFS=$as_save_IFS
   6297   case $as_dir in #(((
   6298     '') as_dir=./ ;;
   6299     */) ;;
   6300     *) as_dir=$as_dir/ ;;
   6301   esac
   6302     for ac_exec_ext in '' $ac_executable_extensions; do
   6303   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6304     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6305     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6306     break 2
   6307   fi
   6308 done
   6309   done
   6310 IFS=$as_save_IFS
   6311 
   6312 fi
   6313 fi
   6314 AR=$ac_cv_prog_AR
   6315 if test -n "$AR"; then
   6316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6317 printf "%s\n" "$AR" >&6; }
   6318 else
   6319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6320 printf "%s\n" "no" >&6; }
   6321 fi
   6322 
   6323 
   6324     test -n "$AR" && break
   6325   done
   6326 fi
   6327 if test -z "$AR"; then
   6328   ac_ct_AR=$AR
   6329   for ac_prog in ar
   6330 do
   6331   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6332 set dummy $ac_prog; ac_word=$2
   6333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6334 printf %s "checking for $ac_word... " >&6; }
   6335 if test ${ac_cv_prog_ac_ct_AR+y}
   6336 then :
   6337   printf %s "(cached) " >&6
   6338 else $as_nop
   6339   if test -n "$ac_ct_AR"; then
   6340   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6341 else
   6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6343 for as_dir in $PATH
   6344 do
   6345   IFS=$as_save_IFS
   6346   case $as_dir in #(((
   6347     '') as_dir=./ ;;
   6348     */) ;;
   6349     *) as_dir=$as_dir/ ;;
   6350   esac
   6351     for ac_exec_ext in '' $ac_executable_extensions; do
   6352   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6353     ac_cv_prog_ac_ct_AR="$ac_prog"
   6354     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6355     break 2
   6356   fi
   6357 done
   6358   done
   6359 IFS=$as_save_IFS
   6360 
   6361 fi
   6362 fi
   6363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6364 if test -n "$ac_ct_AR"; then
   6365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6366 printf "%s\n" "$ac_ct_AR" >&6; }
   6367 else
   6368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6369 printf "%s\n" "no" >&6; }
   6370 fi
   6371 
   6372 
   6373   test -n "$ac_ct_AR" && break
   6374 done
   6375 
   6376   if test "x$ac_ct_AR" = x; then
   6377     AR="false"
   6378   else
   6379     case $cross_compiling:$ac_tool_warned in
   6380 yes:)
   6381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6382 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6383 ac_tool_warned=yes ;;
   6384 esac
   6385     AR=$ac_ct_AR
   6386   fi
   6387 fi
   6388 
   6389 : ${AR=ar}
   6390 
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6397 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6398 # higher priority because thats what people were doing historically (setting
   6399 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6400 # variable obsoleted/removed.
   6401 
   6402 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6403 lt_ar_flags=$AR_FLAGS
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6411 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6419 printf %s "checking for archiver @FILE support... " >&6; }
   6420 if test ${lt_cv_ar_at_file+y}
   6421 then :
   6422   printf %s "(cached) " >&6
   6423 else $as_nop
   6424   lt_cv_ar_at_file=no
   6425    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6426 /* end confdefs.h.  */
   6427 
   6428 int
   6429 main (void)
   6430 {
   6431 
   6432   ;
   6433   return 0;
   6434 }
   6435 _ACEOF
   6436 if ac_fn_c_try_compile "$LINENO"
   6437 then :
   6438   echo conftest.$ac_objext > conftest.lst
   6439       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6440       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6441   (eval $lt_ar_try) 2>&5
   6442   ac_status=$?
   6443   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6444   test $ac_status = 0; }
   6445       if test 0 -eq "$ac_status"; then
   6446 	# Ensure the archiver fails upon bogus file names.
   6447 	rm -f conftest.$ac_objext libconftest.a
   6448 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6449   (eval $lt_ar_try) 2>&5
   6450   ac_status=$?
   6451   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6452   test $ac_status = 0; }
   6453 	if test 0 -ne "$ac_status"; then
   6454           lt_cv_ar_at_file=@
   6455         fi
   6456       fi
   6457       rm -f conftest.* libconftest.a
   6458 
   6459 fi
   6460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6461 
   6462 fi
   6463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6464 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6465 
   6466 if test no = "$lt_cv_ar_at_file"; then
   6467   archiver_list_spec=
   6468 else
   6469   archiver_list_spec=$lt_cv_ar_at_file
   6470 fi
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 if test -n "$ac_tool_prefix"; then
   6479   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6480 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6482 printf %s "checking for $ac_word... " >&6; }
   6483 if test ${ac_cv_prog_STRIP+y}
   6484 then :
   6485   printf %s "(cached) " >&6
   6486 else $as_nop
   6487   if test -n "$STRIP"; then
   6488   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6489 else
   6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6491 for as_dir in $PATH
   6492 do
   6493   IFS=$as_save_IFS
   6494   case $as_dir in #(((
   6495     '') as_dir=./ ;;
   6496     */) ;;
   6497     *) as_dir=$as_dir/ ;;
   6498   esac
   6499     for ac_exec_ext in '' $ac_executable_extensions; do
   6500   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6501     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6502     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6503     break 2
   6504   fi
   6505 done
   6506   done
   6507 IFS=$as_save_IFS
   6508 
   6509 fi
   6510 fi
   6511 STRIP=$ac_cv_prog_STRIP
   6512 if test -n "$STRIP"; then
   6513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6514 printf "%s\n" "$STRIP" >&6; }
   6515 else
   6516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6517 printf "%s\n" "no" >&6; }
   6518 fi
   6519 
   6520 
   6521 fi
   6522 if test -z "$ac_cv_prog_STRIP"; then
   6523   ac_ct_STRIP=$STRIP
   6524   # Extract the first word of "strip", so it can be a program name with args.
   6525 set dummy strip; ac_word=$2
   6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6527 printf %s "checking for $ac_word... " >&6; }
   6528 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6529 then :
   6530   printf %s "(cached) " >&6
   6531 else $as_nop
   6532   if test -n "$ac_ct_STRIP"; then
   6533   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6534 else
   6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6536 for as_dir in $PATH
   6537 do
   6538   IFS=$as_save_IFS
   6539   case $as_dir in #(((
   6540     '') as_dir=./ ;;
   6541     */) ;;
   6542     *) as_dir=$as_dir/ ;;
   6543   esac
   6544     for ac_exec_ext in '' $ac_executable_extensions; do
   6545   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6546     ac_cv_prog_ac_ct_STRIP="strip"
   6547     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6548     break 2
   6549   fi
   6550 done
   6551   done
   6552 IFS=$as_save_IFS
   6553 
   6554 fi
   6555 fi
   6556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6557 if test -n "$ac_ct_STRIP"; then
   6558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6559 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6560 else
   6561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6562 printf "%s\n" "no" >&6; }
   6563 fi
   6564 
   6565   if test "x$ac_ct_STRIP" = x; then
   6566     STRIP=":"
   6567   else
   6568     case $cross_compiling:$ac_tool_warned in
   6569 yes:)
   6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6571 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6572 ac_tool_warned=yes ;;
   6573 esac
   6574     STRIP=$ac_ct_STRIP
   6575   fi
   6576 else
   6577   STRIP="$ac_cv_prog_STRIP"
   6578 fi
   6579 
   6580 test -z "$STRIP" && STRIP=:
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 if test -n "$ac_tool_prefix"; then
   6588   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6589 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6591 printf %s "checking for $ac_word... " >&6; }
   6592 if test ${ac_cv_prog_RANLIB+y}
   6593 then :
   6594   printf %s "(cached) " >&6
   6595 else $as_nop
   6596   if test -n "$RANLIB"; then
   6597   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6598 else
   6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6600 for as_dir in $PATH
   6601 do
   6602   IFS=$as_save_IFS
   6603   case $as_dir in #(((
   6604     '') as_dir=./ ;;
   6605     */) ;;
   6606     *) as_dir=$as_dir/ ;;
   6607   esac
   6608     for ac_exec_ext in '' $ac_executable_extensions; do
   6609   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6610     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6611     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6612     break 2
   6613   fi
   6614 done
   6615   done
   6616 IFS=$as_save_IFS
   6617 
   6618 fi
   6619 fi
   6620 RANLIB=$ac_cv_prog_RANLIB
   6621 if test -n "$RANLIB"; then
   6622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6623 printf "%s\n" "$RANLIB" >&6; }
   6624 else
   6625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6626 printf "%s\n" "no" >&6; }
   6627 fi
   6628 
   6629 
   6630 fi
   6631 if test -z "$ac_cv_prog_RANLIB"; then
   6632   ac_ct_RANLIB=$RANLIB
   6633   # Extract the first word of "ranlib", so it can be a program name with args.
   6634 set dummy ranlib; ac_word=$2
   6635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6636 printf %s "checking for $ac_word... " >&6; }
   6637 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6638 then :
   6639   printf %s "(cached) " >&6
   6640 else $as_nop
   6641   if test -n "$ac_ct_RANLIB"; then
   6642   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6643 else
   6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6645 for as_dir in $PATH
   6646 do
   6647   IFS=$as_save_IFS
   6648   case $as_dir in #(((
   6649     '') as_dir=./ ;;
   6650     */) ;;
   6651     *) as_dir=$as_dir/ ;;
   6652   esac
   6653     for ac_exec_ext in '' $ac_executable_extensions; do
   6654   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6655     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6656     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6657     break 2
   6658   fi
   6659 done
   6660   done
   6661 IFS=$as_save_IFS
   6662 
   6663 fi
   6664 fi
   6665 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6666 if test -n "$ac_ct_RANLIB"; then
   6667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6668 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6669 else
   6670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6671 printf "%s\n" "no" >&6; }
   6672 fi
   6673 
   6674   if test "x$ac_ct_RANLIB" = x; then
   6675     RANLIB=":"
   6676   else
   6677     case $cross_compiling:$ac_tool_warned in
   6678 yes:)
   6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6680 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6681 ac_tool_warned=yes ;;
   6682 esac
   6683     RANLIB=$ac_ct_RANLIB
   6684   fi
   6685 else
   6686   RANLIB="$ac_cv_prog_RANLIB"
   6687 fi
   6688 
   6689 test -z "$RANLIB" && RANLIB=:
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 # Determine commands to create old-style static archives.
   6697 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6698 old_postinstall_cmds='chmod 644 $oldlib'
   6699 old_postuninstall_cmds=
   6700 
   6701 if test -n "$RANLIB"; then
   6702   case $host_os in
   6703   bitrig* | openbsd*)
   6704     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6705     ;;
   6706   *)
   6707     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6708     ;;
   6709   esac
   6710   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6711 fi
   6712 
   6713 case $host_os in
   6714   darwin*)
   6715     lock_old_archive_extraction=yes ;;
   6716   *)
   6717     lock_old_archive_extraction=no ;;
   6718 esac
   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 
   6755 
   6756 
   6757 
   6758 # If no C compiler was specified, use CC.
   6759 LTCC=${LTCC-"$CC"}
   6760 
   6761 # If no C compiler flags were specified, use CFLAGS.
   6762 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6763 
   6764 # Allow CC to be a program name with arguments.
   6765 compiler=$CC
   6766 
   6767 
   6768 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6770 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6771 if test ${lt_cv_sys_global_symbol_pipe+y}
   6772 then :
   6773   printf %s "(cached) " >&6
   6774 else $as_nop
   6775 
   6776 # These are sane defaults that work on at least a few old systems.
   6777 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6778 
   6779 # Character class describing NM global symbol codes.
   6780 symcode='[BCDEGRST]'
   6781 
   6782 # Regexp to match symbols that can be accessed directly from C.
   6783 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6784 
   6785 # Define system-specific variables.
   6786 case $host_os in
   6787 aix*)
   6788   symcode='[BCDT]'
   6789   ;;
   6790 cygwin* | mingw* | pw32* | cegcc*)
   6791   symcode='[ABCDGISTW]'
   6792   ;;
   6793 hpux*)
   6794   if test ia64 = "$host_cpu"; then
   6795     symcode='[ABCDEGRST]'
   6796   fi
   6797   ;;
   6798 irix* | nonstopux*)
   6799   symcode='[BCDEGRST]'
   6800   ;;
   6801 osf*)
   6802   symcode='[BCDEGQRST]'
   6803   ;;
   6804 solaris*)
   6805   symcode='[BDRT]'
   6806   ;;
   6807 sco3.2v5*)
   6808   symcode='[DT]'
   6809   ;;
   6810 sysv4.2uw2*)
   6811   symcode='[DT]'
   6812   ;;
   6813 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6814   symcode='[ABDT]'
   6815   ;;
   6816 sysv4)
   6817   symcode='[DFNSTU]'
   6818   ;;
   6819 esac
   6820 
   6821 # If we're using GNU nm, then use its standard symbol codes.
   6822 case `$NM -V 2>&1` in
   6823 *GNU* | *'with BFD'*)
   6824   symcode='[ABCDGIRSTW]' ;;
   6825 esac
   6826 
   6827 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6828   # Gets list of data symbols to import.
   6829   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6830   # Adjust the below global symbol transforms to fixup imported variables.
   6831   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6832   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6833   lt_c_name_lib_hook="\
   6834   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6835   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6836 else
   6837   # Disable hooks by default.
   6838   lt_cv_sys_global_symbol_to_import=
   6839   lt_cdecl_hook=
   6840   lt_c_name_hook=
   6841   lt_c_name_lib_hook=
   6842 fi
   6843 
   6844 # Transform an extracted symbol line into a proper C declaration.
   6845 # Some systems (esp. on ia64) link data and code symbols differently,
   6846 # so use this general approach.
   6847 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6848 $lt_cdecl_hook\
   6849 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6850 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6851 
   6852 # Transform an extracted symbol line into symbol name and symbol address
   6853 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6854 $lt_c_name_hook\
   6855 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6856 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6857 
   6858 # Transform an extracted symbol line into symbol name with lib prefix and
   6859 # symbol address.
   6860 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6861 $lt_c_name_lib_hook\
   6862 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6863 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6864 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6865 
   6866 # Handle CRLF in mingw tool chain
   6867 opt_cr=
   6868 case $build_os in
   6869 mingw*)
   6870   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6871   ;;
   6872 esac
   6873 
   6874 # Try without a prefix underscore, then with it.
   6875 for ac_symprfx in "" "_"; do
   6876 
   6877   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6878   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6879 
   6880   # Write the raw and C identifiers.
   6881   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6882     # Fake it for dumpbin and say T for any non-static function,
   6883     # D for any global variable and I for any imported variable.
   6884     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6885     # which start with @ or ?.
   6886     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6887 "     {last_section=section; section=\$ 3};"\
   6888 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6889 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6890 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6891 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6892 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6893 "     \$ 0!~/External *\|/{next};"\
   6894 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6895 "     {if(hide[section]) next};"\
   6896 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6897 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6898 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6899 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6900 "     ' prfx=^$ac_symprfx"
   6901   else
   6902     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6903   fi
   6904   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6905 
   6906   # Check to see that the pipe works correctly.
   6907   pipe_works=no
   6908 
   6909   rm -f conftest*
   6910   cat > conftest.$ac_ext <<_LT_EOF
   6911 #ifdef __cplusplus
   6912 extern "C" {
   6913 #endif
   6914 char nm_test_var;
   6915 void nm_test_func(void);
   6916 void nm_test_func(void){}
   6917 #ifdef __cplusplus
   6918 }
   6919 #endif
   6920 int main(){nm_test_var='a';nm_test_func();return(0);}
   6921 _LT_EOF
   6922 
   6923   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6924   (eval $ac_compile) 2>&5
   6925   ac_status=$?
   6926   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6927   test $ac_status = 0; }; then
   6928     # Now try to grab the symbols.
   6929     nlist=conftest.nm
   6930     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6931   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6932   ac_status=$?
   6933   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6934   test $ac_status = 0; } && test -s "$nlist"; then
   6935       # Try sorting and uniquifying the output.
   6936       if sort "$nlist" | uniq > "$nlist"T; then
   6937 	mv -f "$nlist"T "$nlist"
   6938       else
   6939 	rm -f "$nlist"T
   6940       fi
   6941 
   6942       # Make sure that we snagged all the symbols we need.
   6943       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6944 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6945 	  cat <<_LT_EOF > conftest.$ac_ext
   6946 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6947 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6948 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6949    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6950 # define LT_DLSYM_CONST
   6951 #elif defined __osf__
   6952 /* This system does not cope well with relocations in const data.  */
   6953 # define LT_DLSYM_CONST
   6954 #else
   6955 # define LT_DLSYM_CONST const
   6956 #endif
   6957 
   6958 #ifdef __cplusplus
   6959 extern "C" {
   6960 #endif
   6961 
   6962 _LT_EOF
   6963 	  # Now generate the symbol file.
   6964 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6965 
   6966 	  cat <<_LT_EOF >> conftest.$ac_ext
   6967 
   6968 /* The mapping between symbol names and symbols.  */
   6969 LT_DLSYM_CONST struct {
   6970   const char *name;
   6971   void       *address;
   6972 }
   6973 lt__PROGRAM__LTX_preloaded_symbols[] =
   6974 {
   6975   { "@PROGRAM@", (void *) 0 },
   6976 _LT_EOF
   6977 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6978 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6979   {0, (void *) 0}
   6980 };
   6981 
   6982 /* This works around a problem in FreeBSD linker */
   6983 #ifdef FREEBSD_WORKAROUND
   6984 static const void *lt_preloaded_setup() {
   6985   return lt__PROGRAM__LTX_preloaded_symbols;
   6986 }
   6987 #endif
   6988 
   6989 #ifdef __cplusplus
   6990 }
   6991 #endif
   6992 _LT_EOF
   6993 	  # Now try linking the two files.
   6994 	  mv conftest.$ac_objext conftstm.$ac_objext
   6995 	  lt_globsym_save_LIBS=$LIBS
   6996 	  lt_globsym_save_CFLAGS=$CFLAGS
   6997 	  LIBS=conftstm.$ac_objext
   6998 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6999 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7000   (eval $ac_link) 2>&5
   7001   ac_status=$?
   7002   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7003   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7004 	    pipe_works=yes
   7005 	  fi
   7006 	  LIBS=$lt_globsym_save_LIBS
   7007 	  CFLAGS=$lt_globsym_save_CFLAGS
   7008 	else
   7009 	  echo "cannot find nm_test_func in $nlist" >&5
   7010 	fi
   7011       else
   7012 	echo "cannot find nm_test_var in $nlist" >&5
   7013       fi
   7014     else
   7015       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7016     fi
   7017   else
   7018     echo "$progname: failed program was:" >&5
   7019     cat conftest.$ac_ext >&5
   7020   fi
   7021   rm -rf conftest* conftst*
   7022 
   7023   # Do not use the global_symbol_pipe unless it works.
   7024   if test yes = "$pipe_works"; then
   7025     break
   7026   else
   7027     lt_cv_sys_global_symbol_pipe=
   7028   fi
   7029 done
   7030 
   7031 fi
   7032 
   7033 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7034   lt_cv_sys_global_symbol_to_cdecl=
   7035 fi
   7036 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7038 printf "%s\n" "failed" >&6; }
   7039 else
   7040   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7041 printf "%s\n" "ok" >&6; }
   7042 fi
   7043 
   7044 # Response file support.
   7045 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7046   nm_file_list_spec='@'
   7047 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7048   nm_file_list_spec='@'
   7049 fi
   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 
   7084 
   7085 
   7086 
   7087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7088 printf %s "checking for sysroot... " >&6; }
   7089 
   7090 # Check whether --with-sysroot was given.
   7091 if test ${with_sysroot+y}
   7092 then :
   7093   withval=$with_sysroot;
   7094 else $as_nop
   7095   with_sysroot=no
   7096 fi
   7097 
   7098 
   7099 lt_sysroot=
   7100 case $with_sysroot in #(
   7101  yes)
   7102    if test yes = "$GCC"; then
   7103      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7104    fi
   7105    ;; #(
   7106  /*)
   7107    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7108    ;; #(
   7109  no|'')
   7110    ;; #(
   7111  *)
   7112    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7113 printf "%s\n" "$with_sysroot" >&6; }
   7114    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7115    ;;
   7116 esac
   7117 
   7118  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7119 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7126 printf %s "checking for a working dd... " >&6; }
   7127 if test ${ac_cv_path_lt_DD+y}
   7128 then :
   7129   printf %s "(cached) " >&6
   7130 else $as_nop
   7131   printf 0123456789abcdef0123456789abcdef >conftest.i
   7132 cat conftest.i conftest.i >conftest2.i
   7133 : ${lt_DD:=$DD}
   7134 if test -z "$lt_DD"; then
   7135   ac_path_lt_DD_found=false
   7136   # Loop through the user's path and test for each of PROGNAME-LIST
   7137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7138 for as_dir in $PATH
   7139 do
   7140   IFS=$as_save_IFS
   7141   case $as_dir in #(((
   7142     '') as_dir=./ ;;
   7143     */) ;;
   7144     *) as_dir=$as_dir/ ;;
   7145   esac
   7146     for ac_prog in dd
   7147    do
   7148     for ac_exec_ext in '' $ac_executable_extensions; do
   7149       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7150       as_fn_executable_p "$ac_path_lt_DD" || continue
   7151 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7152   cmp -s conftest.i conftest.out \
   7153   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7154 fi
   7155       $ac_path_lt_DD_found && break 3
   7156     done
   7157   done
   7158   done
   7159 IFS=$as_save_IFS
   7160   if test -z "$ac_cv_path_lt_DD"; then
   7161     :
   7162   fi
   7163 else
   7164   ac_cv_path_lt_DD=$lt_DD
   7165 fi
   7166 
   7167 rm -f conftest.i conftest2.i conftest.out
   7168 fi
   7169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7170 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7171 
   7172 
   7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7174 printf %s "checking how to truncate binary pipes... " >&6; }
   7175 if test ${lt_cv_truncate_bin+y}
   7176 then :
   7177   printf %s "(cached) " >&6
   7178 else $as_nop
   7179   printf 0123456789abcdef0123456789abcdef >conftest.i
   7180 cat conftest.i conftest.i >conftest2.i
   7181 lt_cv_truncate_bin=
   7182 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7183   cmp -s conftest.i conftest.out \
   7184   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7185 fi
   7186 rm -f conftest.i conftest2.i conftest.out
   7187 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7188 fi
   7189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7190 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7199 func_cc_basename ()
   7200 {
   7201     for cc_temp in $*""; do
   7202       case $cc_temp in
   7203         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7204         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7205         \-*) ;;
   7206         *) break;;
   7207       esac
   7208     done
   7209     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7210 }
   7211 
   7212 # Check whether --enable-libtool-lock was given.
   7213 if test ${enable_libtool_lock+y}
   7214 then :
   7215   enableval=$enable_libtool_lock;
   7216 fi
   7217 
   7218 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7219 
   7220 # Some flags need to be propagated to the compiler or linker for good
   7221 # libtool support.
   7222 case $host in
   7223 ia64-*-hpux*)
   7224   # Find out what ABI is being produced by ac_compile, and set mode
   7225   # options accordingly.
   7226   echo 'int i;' > conftest.$ac_ext
   7227   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7228   (eval $ac_compile) 2>&5
   7229   ac_status=$?
   7230   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7231   test $ac_status = 0; }; then
   7232     case `$FILECMD conftest.$ac_objext` in
   7233       *ELF-32*)
   7234 	HPUX_IA64_MODE=32
   7235 	;;
   7236       *ELF-64*)
   7237 	HPUX_IA64_MODE=64
   7238 	;;
   7239     esac
   7240   fi
   7241   rm -rf conftest*
   7242   ;;
   7243 *-*-irix6*)
   7244   # Find out what ABI is being produced by ac_compile, and set linker
   7245   # options accordingly.
   7246   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7247   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7248   (eval $ac_compile) 2>&5
   7249   ac_status=$?
   7250   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7251   test $ac_status = 0; }; then
   7252     if test yes = "$lt_cv_prog_gnu_ld"; then
   7253       case `$FILECMD conftest.$ac_objext` in
   7254 	*32-bit*)
   7255 	  LD="${LD-ld} -melf32bsmip"
   7256 	  ;;
   7257 	*N32*)
   7258 	  LD="${LD-ld} -melf32bmipn32"
   7259 	  ;;
   7260 	*64-bit*)
   7261 	  LD="${LD-ld} -melf64bmip"
   7262 	;;
   7263       esac
   7264     else
   7265       case `$FILECMD conftest.$ac_objext` in
   7266 	*32-bit*)
   7267 	  LD="${LD-ld} -32"
   7268 	  ;;
   7269 	*N32*)
   7270 	  LD="${LD-ld} -n32"
   7271 	  ;;
   7272 	*64-bit*)
   7273 	  LD="${LD-ld} -64"
   7274 	  ;;
   7275       esac
   7276     fi
   7277   fi
   7278   rm -rf conftest*
   7279   ;;
   7280 
   7281 mips64*-*linux*)
   7282   # Find out what ABI is being produced by ac_compile, and set linker
   7283   # options accordingly.
   7284   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7285   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7286   (eval $ac_compile) 2>&5
   7287   ac_status=$?
   7288   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7289   test $ac_status = 0; }; then
   7290     emul=elf
   7291     case `$FILECMD conftest.$ac_objext` in
   7292       *32-bit*)
   7293 	emul="${emul}32"
   7294 	;;
   7295       *64-bit*)
   7296 	emul="${emul}64"
   7297 	;;
   7298     esac
   7299     case `$FILECMD conftest.$ac_objext` in
   7300       *MSB*)
   7301 	emul="${emul}btsmip"
   7302 	;;
   7303       *LSB*)
   7304 	emul="${emul}ltsmip"
   7305 	;;
   7306     esac
   7307     case `$FILECMD conftest.$ac_objext` in
   7308       *N32*)
   7309 	emul="${emul}n32"
   7310 	;;
   7311     esac
   7312     LD="${LD-ld} -m $emul"
   7313   fi
   7314   rm -rf conftest*
   7315   ;;
   7316 
   7317 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7318 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7319   # Find out what ABI is being produced by ac_compile, and set linker
   7320   # options accordingly.  Note that the listed cases only cover the
   7321   # situations where additional linker options are needed (such as when
   7322   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7323   # vice versa); the common cases where no linker options are needed do
   7324   # not appear in the list.
   7325   echo 'int i;' > conftest.$ac_ext
   7326   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7327   (eval $ac_compile) 2>&5
   7328   ac_status=$?
   7329   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7330   test $ac_status = 0; }; then
   7331     case `$FILECMD conftest.o` in
   7332       *32-bit*)
   7333 	case $host in
   7334 	  x86_64-*kfreebsd*-gnu)
   7335 	    LD="${LD-ld} -m elf_i386_fbsd"
   7336 	    ;;
   7337 	  x86_64-*linux*)
   7338 	    case `$FILECMD conftest.o` in
   7339 	      *x86-64*)
   7340 		LD="${LD-ld} -m elf32_x86_64"
   7341 		;;
   7342 	      *)
   7343 		LD="${LD-ld} -m elf_i386"
   7344 		;;
   7345 	    esac
   7346 	    ;;
   7347 	  powerpc64le-*linux*)
   7348 	    LD="${LD-ld} -m elf32lppclinux"
   7349 	    ;;
   7350 	  powerpc64-*linux*)
   7351 	    LD="${LD-ld} -m elf32ppclinux"
   7352 	    ;;
   7353 	  s390x-*linux*)
   7354 	    LD="${LD-ld} -m elf_s390"
   7355 	    ;;
   7356 	  sparc64-*linux*)
   7357 	    LD="${LD-ld} -m elf32_sparc"
   7358 	    ;;
   7359 	esac
   7360 	;;
   7361       *64-bit*)
   7362 	case $host in
   7363 	  x86_64-*kfreebsd*-gnu)
   7364 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7365 	    ;;
   7366 	  x86_64-*linux*)
   7367 	    LD="${LD-ld} -m elf_x86_64"
   7368 	    ;;
   7369 	  powerpcle-*linux*)
   7370 	    LD="${LD-ld} -m elf64lppc"
   7371 	    ;;
   7372 	  powerpc-*linux*)
   7373 	    LD="${LD-ld} -m elf64ppc"
   7374 	    ;;
   7375 	  s390*-*linux*|s390*-*tpf*)
   7376 	    LD="${LD-ld} -m elf64_s390"
   7377 	    ;;
   7378 	  sparc*-*linux*)
   7379 	    LD="${LD-ld} -m elf64_sparc"
   7380 	    ;;
   7381 	esac
   7382 	;;
   7383     esac
   7384   fi
   7385   rm -rf conftest*
   7386   ;;
   7387 
   7388 *-*-sco3.2v5*)
   7389   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7390   SAVE_CFLAGS=$CFLAGS
   7391   CFLAGS="$CFLAGS -belf"
   7392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7393 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7394 if test ${lt_cv_cc_needs_belf+y}
   7395 then :
   7396   printf %s "(cached) " >&6
   7397 else $as_nop
   7398   ac_ext=c
   7399 ac_cpp='$CPP $CPPFLAGS'
   7400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7403 
   7404      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7405 /* end confdefs.h.  */
   7406 
   7407 int
   7408 main (void)
   7409 {
   7410 
   7411   ;
   7412   return 0;
   7413 }
   7414 _ACEOF
   7415 if ac_fn_c_try_link "$LINENO"
   7416 then :
   7417   lt_cv_cc_needs_belf=yes
   7418 else $as_nop
   7419   lt_cv_cc_needs_belf=no
   7420 fi
   7421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7422     conftest$ac_exeext conftest.$ac_ext
   7423      ac_ext=c
   7424 ac_cpp='$CPP $CPPFLAGS'
   7425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7428 
   7429 fi
   7430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7431 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7432   if test yes != "$lt_cv_cc_needs_belf"; then
   7433     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7434     CFLAGS=$SAVE_CFLAGS
   7435   fi
   7436   ;;
   7437 *-*solaris*)
   7438   # Find out what ABI is being produced by ac_compile, and set linker
   7439   # options accordingly.
   7440   echo 'int i;' > conftest.$ac_ext
   7441   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7442   (eval $ac_compile) 2>&5
   7443   ac_status=$?
   7444   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7445   test $ac_status = 0; }; then
   7446     case `$FILECMD conftest.o` in
   7447     *64-bit*)
   7448       case $lt_cv_prog_gnu_ld in
   7449       yes*)
   7450         case $host in
   7451         i?86-*-solaris*|x86_64-*-solaris*)
   7452           LD="${LD-ld} -m elf_x86_64"
   7453           ;;
   7454         sparc*-*-solaris*)
   7455           LD="${LD-ld} -m elf64_sparc"
   7456           ;;
   7457         esac
   7458         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7459         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7460           LD=${LD-ld}_sol2
   7461         fi
   7462         ;;
   7463       *)
   7464 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7465 	  LD="${LD-ld} -64"
   7466 	fi
   7467 	;;
   7468       esac
   7469       ;;
   7470     esac
   7471   fi
   7472   rm -rf conftest*
   7473   ;;
   7474 esac
   7475 
   7476 need_locks=$enable_libtool_lock
   7477 
   7478 if test -n "$ac_tool_prefix"; then
   7479   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7480 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7482 printf %s "checking for $ac_word... " >&6; }
   7483 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7484 then :
   7485   printf %s "(cached) " >&6
   7486 else $as_nop
   7487   if test -n "$MANIFEST_TOOL"; then
   7488   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7489 else
   7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7491 for as_dir in $PATH
   7492 do
   7493   IFS=$as_save_IFS
   7494   case $as_dir in #(((
   7495     '') as_dir=./ ;;
   7496     */) ;;
   7497     *) as_dir=$as_dir/ ;;
   7498   esac
   7499     for ac_exec_ext in '' $ac_executable_extensions; do
   7500   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7501     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7502     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7503     break 2
   7504   fi
   7505 done
   7506   done
   7507 IFS=$as_save_IFS
   7508 
   7509 fi
   7510 fi
   7511 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7512 if test -n "$MANIFEST_TOOL"; then
   7513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7514 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7515 else
   7516   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7517 printf "%s\n" "no" >&6; }
   7518 fi
   7519 
   7520 
   7521 fi
   7522 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7523   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7524   # Extract the first word of "mt", so it can be a program name with args.
   7525 set dummy mt; ac_word=$2
   7526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7527 printf %s "checking for $ac_word... " >&6; }
   7528 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7529 then :
   7530   printf %s "(cached) " >&6
   7531 else $as_nop
   7532   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7533   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7534 else
   7535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7536 for as_dir in $PATH
   7537 do
   7538   IFS=$as_save_IFS
   7539   case $as_dir in #(((
   7540     '') as_dir=./ ;;
   7541     */) ;;
   7542     *) as_dir=$as_dir/ ;;
   7543   esac
   7544     for ac_exec_ext in '' $ac_executable_extensions; do
   7545   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7546     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7547     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7548     break 2
   7549   fi
   7550 done
   7551   done
   7552 IFS=$as_save_IFS
   7553 
   7554 fi
   7555 fi
   7556 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7557 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7559 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7560 else
   7561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7562 printf "%s\n" "no" >&6; }
   7563 fi
   7564 
   7565   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7566     MANIFEST_TOOL=":"
   7567   else
   7568     case $cross_compiling:$ac_tool_warned in
   7569 yes:)
   7570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7571 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7572 ac_tool_warned=yes ;;
   7573 esac
   7574     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7575   fi
   7576 else
   7577   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7578 fi
   7579 
   7580 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7582 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7583 if test ${lt_cv_path_mainfest_tool+y}
   7584 then :
   7585   printf %s "(cached) " >&6
   7586 else $as_nop
   7587   lt_cv_path_mainfest_tool=no
   7588   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7589   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7590   cat conftest.err >&5
   7591   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7592     lt_cv_path_mainfest_tool=yes
   7593   fi
   7594   rm -f conftest*
   7595 fi
   7596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7597 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7598 if test yes != "$lt_cv_path_mainfest_tool"; then
   7599   MANIFEST_TOOL=:
   7600 fi
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607   case $host_os in
   7608     rhapsody* | darwin*)
   7609     if test -n "$ac_tool_prefix"; then
   7610   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7611 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7613 printf %s "checking for $ac_word... " >&6; }
   7614 if test ${ac_cv_prog_DSYMUTIL+y}
   7615 then :
   7616   printf %s "(cached) " >&6
   7617 else $as_nop
   7618   if test -n "$DSYMUTIL"; then
   7619   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7620 else
   7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7622 for as_dir in $PATH
   7623 do
   7624   IFS=$as_save_IFS
   7625   case $as_dir in #(((
   7626     '') as_dir=./ ;;
   7627     */) ;;
   7628     *) as_dir=$as_dir/ ;;
   7629   esac
   7630     for ac_exec_ext in '' $ac_executable_extensions; do
   7631   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7632     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7633     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7634     break 2
   7635   fi
   7636 done
   7637   done
   7638 IFS=$as_save_IFS
   7639 
   7640 fi
   7641 fi
   7642 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7643 if test -n "$DSYMUTIL"; then
   7644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7645 printf "%s\n" "$DSYMUTIL" >&6; }
   7646 else
   7647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7648 printf "%s\n" "no" >&6; }
   7649 fi
   7650 
   7651 
   7652 fi
   7653 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7654   ac_ct_DSYMUTIL=$DSYMUTIL
   7655   # Extract the first word of "dsymutil", so it can be a program name with args.
   7656 set dummy dsymutil; ac_word=$2
   7657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7658 printf %s "checking for $ac_word... " >&6; }
   7659 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7660 then :
   7661   printf %s "(cached) " >&6
   7662 else $as_nop
   7663   if test -n "$ac_ct_DSYMUTIL"; then
   7664   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7665 else
   7666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7667 for as_dir in $PATH
   7668 do
   7669   IFS=$as_save_IFS
   7670   case $as_dir in #(((
   7671     '') as_dir=./ ;;
   7672     */) ;;
   7673     *) as_dir=$as_dir/ ;;
   7674   esac
   7675     for ac_exec_ext in '' $ac_executable_extensions; do
   7676   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7677     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7678     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7679     break 2
   7680   fi
   7681 done
   7682   done
   7683 IFS=$as_save_IFS
   7684 
   7685 fi
   7686 fi
   7687 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7688 if test -n "$ac_ct_DSYMUTIL"; then
   7689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7690 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7691 else
   7692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7693 printf "%s\n" "no" >&6; }
   7694 fi
   7695 
   7696   if test "x$ac_ct_DSYMUTIL" = x; then
   7697     DSYMUTIL=":"
   7698   else
   7699     case $cross_compiling:$ac_tool_warned in
   7700 yes:)
   7701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7703 ac_tool_warned=yes ;;
   7704 esac
   7705     DSYMUTIL=$ac_ct_DSYMUTIL
   7706   fi
   7707 else
   7708   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7709 fi
   7710 
   7711     if test -n "$ac_tool_prefix"; then
   7712   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7713 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7715 printf %s "checking for $ac_word... " >&6; }
   7716 if test ${ac_cv_prog_NMEDIT+y}
   7717 then :
   7718   printf %s "(cached) " >&6
   7719 else $as_nop
   7720   if test -n "$NMEDIT"; then
   7721   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7722 else
   7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7724 for as_dir in $PATH
   7725 do
   7726   IFS=$as_save_IFS
   7727   case $as_dir in #(((
   7728     '') as_dir=./ ;;
   7729     */) ;;
   7730     *) as_dir=$as_dir/ ;;
   7731   esac
   7732     for ac_exec_ext in '' $ac_executable_extensions; do
   7733   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7734     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7735     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7736     break 2
   7737   fi
   7738 done
   7739   done
   7740 IFS=$as_save_IFS
   7741 
   7742 fi
   7743 fi
   7744 NMEDIT=$ac_cv_prog_NMEDIT
   7745 if test -n "$NMEDIT"; then
   7746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7747 printf "%s\n" "$NMEDIT" >&6; }
   7748 else
   7749   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7750 printf "%s\n" "no" >&6; }
   7751 fi
   7752 
   7753 
   7754 fi
   7755 if test -z "$ac_cv_prog_NMEDIT"; then
   7756   ac_ct_NMEDIT=$NMEDIT
   7757   # Extract the first word of "nmedit", so it can be a program name with args.
   7758 set dummy nmedit; ac_word=$2
   7759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7760 printf %s "checking for $ac_word... " >&6; }
   7761 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7762 then :
   7763   printf %s "(cached) " >&6
   7764 else $as_nop
   7765   if test -n "$ac_ct_NMEDIT"; then
   7766   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7767 else
   7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7769 for as_dir in $PATH
   7770 do
   7771   IFS=$as_save_IFS
   7772   case $as_dir in #(((
   7773     '') as_dir=./ ;;
   7774     */) ;;
   7775     *) as_dir=$as_dir/ ;;
   7776   esac
   7777     for ac_exec_ext in '' $ac_executable_extensions; do
   7778   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7779     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7780     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7781     break 2
   7782   fi
   7783 done
   7784   done
   7785 IFS=$as_save_IFS
   7786 
   7787 fi
   7788 fi
   7789 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7790 if test -n "$ac_ct_NMEDIT"; then
   7791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7792 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7793 else
   7794   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7795 printf "%s\n" "no" >&6; }
   7796 fi
   7797 
   7798   if test "x$ac_ct_NMEDIT" = x; then
   7799     NMEDIT=":"
   7800   else
   7801     case $cross_compiling:$ac_tool_warned in
   7802 yes:)
   7803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7804 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7805 ac_tool_warned=yes ;;
   7806 esac
   7807     NMEDIT=$ac_ct_NMEDIT
   7808   fi
   7809 else
   7810   NMEDIT="$ac_cv_prog_NMEDIT"
   7811 fi
   7812 
   7813     if test -n "$ac_tool_prefix"; then
   7814   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7815 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7817 printf %s "checking for $ac_word... " >&6; }
   7818 if test ${ac_cv_prog_LIPO+y}
   7819 then :
   7820   printf %s "(cached) " >&6
   7821 else $as_nop
   7822   if test -n "$LIPO"; then
   7823   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7824 else
   7825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7826 for as_dir in $PATH
   7827 do
   7828   IFS=$as_save_IFS
   7829   case $as_dir in #(((
   7830     '') as_dir=./ ;;
   7831     */) ;;
   7832     *) as_dir=$as_dir/ ;;
   7833   esac
   7834     for ac_exec_ext in '' $ac_executable_extensions; do
   7835   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7836     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7837     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7838     break 2
   7839   fi
   7840 done
   7841   done
   7842 IFS=$as_save_IFS
   7843 
   7844 fi
   7845 fi
   7846 LIPO=$ac_cv_prog_LIPO
   7847 if test -n "$LIPO"; then
   7848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7849 printf "%s\n" "$LIPO" >&6; }
   7850 else
   7851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7852 printf "%s\n" "no" >&6; }
   7853 fi
   7854 
   7855 
   7856 fi
   7857 if test -z "$ac_cv_prog_LIPO"; then
   7858   ac_ct_LIPO=$LIPO
   7859   # Extract the first word of "lipo", so it can be a program name with args.
   7860 set dummy lipo; ac_word=$2
   7861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7862 printf %s "checking for $ac_word... " >&6; }
   7863 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7864 then :
   7865   printf %s "(cached) " >&6
   7866 else $as_nop
   7867   if test -n "$ac_ct_LIPO"; then
   7868   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7869 else
   7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7871 for as_dir in $PATH
   7872 do
   7873   IFS=$as_save_IFS
   7874   case $as_dir in #(((
   7875     '') as_dir=./ ;;
   7876     */) ;;
   7877     *) as_dir=$as_dir/ ;;
   7878   esac
   7879     for ac_exec_ext in '' $ac_executable_extensions; do
   7880   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7881     ac_cv_prog_ac_ct_LIPO="lipo"
   7882     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7883     break 2
   7884   fi
   7885 done
   7886   done
   7887 IFS=$as_save_IFS
   7888 
   7889 fi
   7890 fi
   7891 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7892 if test -n "$ac_ct_LIPO"; then
   7893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7894 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7895 else
   7896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7897 printf "%s\n" "no" >&6; }
   7898 fi
   7899 
   7900   if test "x$ac_ct_LIPO" = x; then
   7901     LIPO=":"
   7902   else
   7903     case $cross_compiling:$ac_tool_warned in
   7904 yes:)
   7905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7906 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7907 ac_tool_warned=yes ;;
   7908 esac
   7909     LIPO=$ac_ct_LIPO
   7910   fi
   7911 else
   7912   LIPO="$ac_cv_prog_LIPO"
   7913 fi
   7914 
   7915     if test -n "$ac_tool_prefix"; then
   7916   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7917 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7919 printf %s "checking for $ac_word... " >&6; }
   7920 if test ${ac_cv_prog_OTOOL+y}
   7921 then :
   7922   printf %s "(cached) " >&6
   7923 else $as_nop
   7924   if test -n "$OTOOL"; then
   7925   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7926 else
   7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7928 for as_dir in $PATH
   7929 do
   7930   IFS=$as_save_IFS
   7931   case $as_dir in #(((
   7932     '') as_dir=./ ;;
   7933     */) ;;
   7934     *) as_dir=$as_dir/ ;;
   7935   esac
   7936     for ac_exec_ext in '' $ac_executable_extensions; do
   7937   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7938     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7939     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7940     break 2
   7941   fi
   7942 done
   7943   done
   7944 IFS=$as_save_IFS
   7945 
   7946 fi
   7947 fi
   7948 OTOOL=$ac_cv_prog_OTOOL
   7949 if test -n "$OTOOL"; then
   7950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7951 printf "%s\n" "$OTOOL" >&6; }
   7952 else
   7953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7954 printf "%s\n" "no" >&6; }
   7955 fi
   7956 
   7957 
   7958 fi
   7959 if test -z "$ac_cv_prog_OTOOL"; then
   7960   ac_ct_OTOOL=$OTOOL
   7961   # Extract the first word of "otool", so it can be a program name with args.
   7962 set dummy otool; ac_word=$2
   7963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7964 printf %s "checking for $ac_word... " >&6; }
   7965 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7966 then :
   7967   printf %s "(cached) " >&6
   7968 else $as_nop
   7969   if test -n "$ac_ct_OTOOL"; then
   7970   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7971 else
   7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7973 for as_dir in $PATH
   7974 do
   7975   IFS=$as_save_IFS
   7976   case $as_dir in #(((
   7977     '') as_dir=./ ;;
   7978     */) ;;
   7979     *) as_dir=$as_dir/ ;;
   7980   esac
   7981     for ac_exec_ext in '' $ac_executable_extensions; do
   7982   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7983     ac_cv_prog_ac_ct_OTOOL="otool"
   7984     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7985     break 2
   7986   fi
   7987 done
   7988   done
   7989 IFS=$as_save_IFS
   7990 
   7991 fi
   7992 fi
   7993 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7994 if test -n "$ac_ct_OTOOL"; then
   7995   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7996 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   7997 else
   7998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7999 printf "%s\n" "no" >&6; }
   8000 fi
   8001 
   8002   if test "x$ac_ct_OTOOL" = x; then
   8003     OTOOL=":"
   8004   else
   8005     case $cross_compiling:$ac_tool_warned in
   8006 yes:)
   8007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8008 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8009 ac_tool_warned=yes ;;
   8010 esac
   8011     OTOOL=$ac_ct_OTOOL
   8012   fi
   8013 else
   8014   OTOOL="$ac_cv_prog_OTOOL"
   8015 fi
   8016 
   8017     if test -n "$ac_tool_prefix"; then
   8018   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8019 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8021 printf %s "checking for $ac_word... " >&6; }
   8022 if test ${ac_cv_prog_OTOOL64+y}
   8023 then :
   8024   printf %s "(cached) " >&6
   8025 else $as_nop
   8026   if test -n "$OTOOL64"; then
   8027   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8028 else
   8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8030 for as_dir in $PATH
   8031 do
   8032   IFS=$as_save_IFS
   8033   case $as_dir in #(((
   8034     '') as_dir=./ ;;
   8035     */) ;;
   8036     *) as_dir=$as_dir/ ;;
   8037   esac
   8038     for ac_exec_ext in '' $ac_executable_extensions; do
   8039   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8040     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8041     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8042     break 2
   8043   fi
   8044 done
   8045   done
   8046 IFS=$as_save_IFS
   8047 
   8048 fi
   8049 fi
   8050 OTOOL64=$ac_cv_prog_OTOOL64
   8051 if test -n "$OTOOL64"; then
   8052   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8053 printf "%s\n" "$OTOOL64" >&6; }
   8054 else
   8055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8056 printf "%s\n" "no" >&6; }
   8057 fi
   8058 
   8059 
   8060 fi
   8061 if test -z "$ac_cv_prog_OTOOL64"; then
   8062   ac_ct_OTOOL64=$OTOOL64
   8063   # Extract the first word of "otool64", so it can be a program name with args.
   8064 set dummy otool64; ac_word=$2
   8065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8066 printf %s "checking for $ac_word... " >&6; }
   8067 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8068 then :
   8069   printf %s "(cached) " >&6
   8070 else $as_nop
   8071   if test -n "$ac_ct_OTOOL64"; then
   8072   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8073 else
   8074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8075 for as_dir in $PATH
   8076 do
   8077   IFS=$as_save_IFS
   8078   case $as_dir in #(((
   8079     '') as_dir=./ ;;
   8080     */) ;;
   8081     *) as_dir=$as_dir/ ;;
   8082   esac
   8083     for ac_exec_ext in '' $ac_executable_extensions; do
   8084   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8085     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8086     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8087     break 2
   8088   fi
   8089 done
   8090   done
   8091 IFS=$as_save_IFS
   8092 
   8093 fi
   8094 fi
   8095 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8096 if test -n "$ac_ct_OTOOL64"; then
   8097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8098 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8099 else
   8100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8101 printf "%s\n" "no" >&6; }
   8102 fi
   8103 
   8104   if test "x$ac_ct_OTOOL64" = x; then
   8105     OTOOL64=":"
   8106   else
   8107     case $cross_compiling:$ac_tool_warned in
   8108 yes:)
   8109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8110 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8111 ac_tool_warned=yes ;;
   8112 esac
   8113     OTOOL64=$ac_ct_OTOOL64
   8114   fi
   8115 else
   8116   OTOOL64="$ac_cv_prog_OTOOL64"
   8117 fi
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8146 printf %s "checking for -single_module linker flag... " >&6; }
   8147 if test ${lt_cv_apple_cc_single_mod+y}
   8148 then :
   8149   printf %s "(cached) " >&6
   8150 else $as_nop
   8151   lt_cv_apple_cc_single_mod=no
   8152       if test -z "$LT_MULTI_MODULE"; then
   8153 	# By default we will add the -single_module flag. You can override
   8154 	# by either setting the environment variable LT_MULTI_MODULE
   8155 	# non-empty at configure time, or by adding -multi_module to the
   8156 	# link flags.
   8157 	rm -rf libconftest.dylib*
   8158 	echo "int foo(void){return 1;}" > conftest.c
   8159 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8160 -dynamiclib -Wl,-single_module conftest.c" >&5
   8161 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8162 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8163         _lt_result=$?
   8164 	# If there is a non-empty error log, and "single_module"
   8165 	# appears in it, assume the flag caused a linker warning
   8166         if test -s conftest.err && $GREP single_module conftest.err; then
   8167 	  cat conftest.err >&5
   8168 	# Otherwise, if the output was created with a 0 exit code from
   8169 	# the compiler, it worked.
   8170 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8171 	  lt_cv_apple_cc_single_mod=yes
   8172 	else
   8173 	  cat conftest.err >&5
   8174 	fi
   8175 	rm -rf libconftest.dylib*
   8176 	rm -f conftest.*
   8177       fi
   8178 fi
   8179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8180 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8181 
   8182     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8183 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8184 if test ${lt_cv_ld_exported_symbols_list+y}
   8185 then :
   8186   printf %s "(cached) " >&6
   8187 else $as_nop
   8188   lt_cv_ld_exported_symbols_list=no
   8189       save_LDFLAGS=$LDFLAGS
   8190       echo "_main" > conftest.sym
   8191       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8192       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8193 /* end confdefs.h.  */
   8194 
   8195 int
   8196 main (void)
   8197 {
   8198 
   8199   ;
   8200   return 0;
   8201 }
   8202 _ACEOF
   8203 if ac_fn_c_try_link "$LINENO"
   8204 then :
   8205   lt_cv_ld_exported_symbols_list=yes
   8206 else $as_nop
   8207   lt_cv_ld_exported_symbols_list=no
   8208 fi
   8209 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8210     conftest$ac_exeext conftest.$ac_ext
   8211 	LDFLAGS=$save_LDFLAGS
   8212 
   8213 fi
   8214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8215 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8216 
   8217     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8218 printf %s "checking for -force_load linker flag... " >&6; }
   8219 if test ${lt_cv_ld_force_load+y}
   8220 then :
   8221   printf %s "(cached) " >&6
   8222 else $as_nop
   8223   lt_cv_ld_force_load=no
   8224       cat > conftest.c << _LT_EOF
   8225 int forced_loaded() { return 2;}
   8226 _LT_EOF
   8227       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8228       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8229       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8230       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8231       echo "$RANLIB libconftest.a" >&5
   8232       $RANLIB libconftest.a 2>&5
   8233       cat > conftest.c << _LT_EOF
   8234 int main() { return 0;}
   8235 _LT_EOF
   8236       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8237       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8238       _lt_result=$?
   8239       if test -s conftest.err && $GREP force_load conftest.err; then
   8240 	cat conftest.err >&5
   8241       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8242 	lt_cv_ld_force_load=yes
   8243       else
   8244 	cat conftest.err >&5
   8245       fi
   8246         rm -f conftest.err libconftest.a conftest conftest.c
   8247         rm -rf conftest.dSYM
   8248 
   8249 fi
   8250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8251 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8252     case $host_os in
   8253     rhapsody* | darwin1.[012])
   8254       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8255     darwin1.*)
   8256       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8257     darwin*)
   8258       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8259         10.[012],*|,*powerpc*-darwin[5-8]*)
   8260           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8261         *)
   8262           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8263       esac
   8264     ;;
   8265   esac
   8266     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8267       _lt_dar_single_mod='$single_module'
   8268     fi
   8269     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8270       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8271     else
   8272       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8273     fi
   8274     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8275       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8276     else
   8277       _lt_dsymutil=
   8278     fi
   8279     ;;
   8280   esac
   8281 
   8282 # func_munge_path_list VARIABLE PATH
   8283 # -----------------------------------
   8284 # VARIABLE is name of variable containing _space_ separated list of
   8285 # directories to be munged by the contents of PATH, which is string
   8286 # having a format:
   8287 # "DIR[:DIR]:"
   8288 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8289 # ":DIR[:DIR]"
   8290 #       string "DIR[ DIR]" will be appended to VARIABLE
   8291 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8292 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8293 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8294 # "DIR[:DIR]"
   8295 #       VARIABLE will be replaced by "DIR[ DIR]"
   8296 func_munge_path_list ()
   8297 {
   8298     case x$2 in
   8299     x)
   8300         ;;
   8301     *:)
   8302         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8303         ;;
   8304     x:*)
   8305         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8306         ;;
   8307     *::*)
   8308         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8309         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8310         ;;
   8311     *)
   8312         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8313         ;;
   8314     esac
   8315 }
   8316 
   8317 ac_header= ac_cache=
   8318 for ac_item in $ac_header_c_list
   8319 do
   8320   if test $ac_cache; then
   8321     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8322     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8323       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8324     fi
   8325     ac_header= ac_cache=
   8326   elif test $ac_header; then
   8327     ac_cache=$ac_item
   8328   else
   8329     ac_header=$ac_item
   8330   fi
   8331 done
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8341 then :
   8342 
   8343 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8344 
   8345 fi
   8346 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8347 "
   8348 if test "x$ac_cv_header_dlfcn_h" = xyes
   8349 then :
   8350   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8351 
   8352 fi
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 # Set options
   8359 
   8360 
   8361 
   8362         enable_dlopen=no
   8363 
   8364 
   8365   enable_win32_dll=no
   8366 
   8367 
   8368             # Check whether --enable-shared was given.
   8369 if test ${enable_shared+y}
   8370 then :
   8371   enableval=$enable_shared; p=${PACKAGE-default}
   8372     case $enableval in
   8373     yes) enable_shared=yes ;;
   8374     no) enable_shared=no ;;
   8375     *)
   8376       enable_shared=no
   8377       # Look at the argument we got.  We use all the common list separators.
   8378       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8379       for pkg in $enableval; do
   8380 	IFS=$lt_save_ifs
   8381 	if test "X$pkg" = "X$p"; then
   8382 	  enable_shared=yes
   8383 	fi
   8384       done
   8385       IFS=$lt_save_ifs
   8386       ;;
   8387     esac
   8388 else $as_nop
   8389   enable_shared=yes
   8390 fi
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400   # Check whether --enable-static was given.
   8401 if test ${enable_static+y}
   8402 then :
   8403   enableval=$enable_static; p=${PACKAGE-default}
   8404     case $enableval in
   8405     yes) enable_static=yes ;;
   8406     no) enable_static=no ;;
   8407     *)
   8408      enable_static=no
   8409       # Look at the argument we got.  We use all the common list separators.
   8410       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8411       for pkg in $enableval; do
   8412 	IFS=$lt_save_ifs
   8413 	if test "X$pkg" = "X$p"; then
   8414 	  enable_static=yes
   8415 	fi
   8416       done
   8417       IFS=$lt_save_ifs
   8418       ;;
   8419     esac
   8420 else $as_nop
   8421   enable_static=yes
   8422 fi
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 # Check whether --with-pic was given.
   8434 if test ${with_pic+y}
   8435 then :
   8436   withval=$with_pic; lt_p=${PACKAGE-default}
   8437     case $withval in
   8438     yes|no) pic_mode=$withval ;;
   8439     *)
   8440       pic_mode=default
   8441       # Look at the argument we got.  We use all the common list separators.
   8442       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8443       for lt_pkg in $withval; do
   8444 	IFS=$lt_save_ifs
   8445 	if test "X$lt_pkg" = "X$lt_p"; then
   8446 	  pic_mode=yes
   8447 	fi
   8448       done
   8449       IFS=$lt_save_ifs
   8450       ;;
   8451     esac
   8452 else $as_nop
   8453   pic_mode=default
   8454 fi
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463   # Check whether --enable-fast-install was given.
   8464 if test ${enable_fast_install+y}
   8465 then :
   8466   enableval=$enable_fast_install; p=${PACKAGE-default}
   8467     case $enableval in
   8468     yes) enable_fast_install=yes ;;
   8469     no) enable_fast_install=no ;;
   8470     *)
   8471       enable_fast_install=no
   8472       # Look at the argument we got.  We use all the common list separators.
   8473       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8474       for pkg in $enableval; do
   8475 	IFS=$lt_save_ifs
   8476 	if test "X$pkg" = "X$p"; then
   8477 	  enable_fast_install=yes
   8478 	fi
   8479       done
   8480       IFS=$lt_save_ifs
   8481       ;;
   8482     esac
   8483 else $as_nop
   8484   enable_fast_install=yes
   8485 fi
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494   shared_archive_member_spec=
   8495 case $host,$enable_shared in
   8496 power*-*-aix[5-9]*,yes)
   8497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8498 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8499 
   8500 # Check whether --with-aix-soname was given.
   8501 if test ${with_aix_soname+y}
   8502 then :
   8503   withval=$with_aix_soname; case $withval in
   8504     aix|svr4|both)
   8505       ;;
   8506     *)
   8507       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8508       ;;
   8509     esac
   8510     lt_cv_with_aix_soname=$with_aix_soname
   8511 else $as_nop
   8512   if test ${lt_cv_with_aix_soname+y}
   8513 then :
   8514   printf %s "(cached) " >&6
   8515 else $as_nop
   8516   lt_cv_with_aix_soname=aix
   8517 fi
   8518 
   8519     with_aix_soname=$lt_cv_with_aix_soname
   8520 fi
   8521 
   8522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8523 printf "%s\n" "$with_aix_soname" >&6; }
   8524   if test aix != "$with_aix_soname"; then
   8525     # For the AIX way of multilib, we name the shared archive member
   8526     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8527     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8528     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8529     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8530     if test 64 = "${OBJECT_MODE-32}"; then
   8531       shared_archive_member_spec=shr_64
   8532     else
   8533       shared_archive_member_spec=shr
   8534     fi
   8535   fi
   8536   ;;
   8537 *)
   8538   with_aix_soname=aix
   8539   ;;
   8540 esac
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 # This can be used to rebuild libtool when needed
   8552 LIBTOOL_DEPS=$ltmain
   8553 
   8554 # Always use our own libtool.
   8555 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   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 
   8583 
   8584 
   8585 
   8586 test -z "$LN_S" && LN_S="ln -s"
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 if test -n "${ZSH_VERSION+set}"; then
   8602    setopt NO_GLOB_SUBST
   8603 fi
   8604 
   8605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8606 printf %s "checking for objdir... " >&6; }
   8607 if test ${lt_cv_objdir+y}
   8608 then :
   8609   printf %s "(cached) " >&6
   8610 else $as_nop
   8611   rm -f .libs 2>/dev/null
   8612 mkdir .libs 2>/dev/null
   8613 if test -d .libs; then
   8614   lt_cv_objdir=.libs
   8615 else
   8616   # MS-DOS does not allow filenames that begin with a dot.
   8617   lt_cv_objdir=_libs
   8618 fi
   8619 rmdir .libs 2>/dev/null
   8620 fi
   8621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8622 printf "%s\n" "$lt_cv_objdir" >&6; }
   8623 objdir=$lt_cv_objdir
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8630 
   8631 
   8632 
   8633 
   8634 case $host_os in
   8635 aix3*)
   8636   # AIX sometimes has problems with the GCC collect2 program.  For some
   8637   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8638   # vanish in a puff of smoke.
   8639   if test set != "${COLLECT_NAMES+set}"; then
   8640     COLLECT_NAMES=
   8641     export COLLECT_NAMES
   8642   fi
   8643   ;;
   8644 esac
   8645 
   8646 # Global variables:
   8647 ofile=libtool
   8648 can_build_shared=yes
   8649 
   8650 # All known linkers require a '.a' archive for static linking (except MSVC and
   8651 # ICC, which need '.lib').
   8652 libext=a
   8653 
   8654 with_gnu_ld=$lt_cv_prog_gnu_ld
   8655 
   8656 old_CC=$CC
   8657 old_CFLAGS=$CFLAGS
   8658 
   8659 # Set sane defaults for various variables
   8660 test -z "$CC" && CC=cc
   8661 test -z "$LTCC" && LTCC=$CC
   8662 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8663 test -z "$LD" && LD=ld
   8664 test -z "$ac_objext" && ac_objext=o
   8665 
   8666 func_cc_basename $compiler
   8667 cc_basename=$func_cc_basename_result
   8668 
   8669 
   8670 # Only perform the check for file, if the check method requires it
   8671 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8672 case $deplibs_check_method in
   8673 file_magic*)
   8674   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8675     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8676 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8677 if test ${lt_cv_path_MAGIC_CMD+y}
   8678 then :
   8679   printf %s "(cached) " >&6
   8680 else $as_nop
   8681   case $MAGIC_CMD in
   8682 [\\/*] |  ?:[\\/]*)
   8683   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8684   ;;
   8685 *)
   8686   lt_save_MAGIC_CMD=$MAGIC_CMD
   8687   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8688   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8689   for ac_dir in $ac_dummy; do
   8690     IFS=$lt_save_ifs
   8691     test -z "$ac_dir" && ac_dir=.
   8692     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8693       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8694       if test -n "$file_magic_test_file"; then
   8695 	case $deplibs_check_method in
   8696 	"file_magic "*)
   8697 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8698 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8699 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8700 	    $EGREP "$file_magic_regex" > /dev/null; then
   8701 	    :
   8702 	  else
   8703 	    cat <<_LT_EOF 1>&2
   8704 
   8705 *** Warning: the command libtool uses to detect shared libraries,
   8706 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8707 *** The result is that libtool may fail to recognize shared libraries
   8708 *** as such.  This will affect the creation of libtool libraries that
   8709 *** depend on shared libraries, but programs linked with such libtool
   8710 *** libraries will work regardless of this problem.  Nevertheless, you
   8711 *** may want to report the problem to your system manager and/or to
   8712 *** bug-libtool@gnu.org
   8713 
   8714 _LT_EOF
   8715 	  fi ;;
   8716 	esac
   8717       fi
   8718       break
   8719     fi
   8720   done
   8721   IFS=$lt_save_ifs
   8722   MAGIC_CMD=$lt_save_MAGIC_CMD
   8723   ;;
   8724 esac
   8725 fi
   8726 
   8727 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8728 if test -n "$MAGIC_CMD"; then
   8729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8730 printf "%s\n" "$MAGIC_CMD" >&6; }
   8731 else
   8732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8733 printf "%s\n" "no" >&6; }
   8734 fi
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8741   if test -n "$ac_tool_prefix"; then
   8742     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8743 printf %s "checking for file... " >&6; }
   8744 if test ${lt_cv_path_MAGIC_CMD+y}
   8745 then :
   8746   printf %s "(cached) " >&6
   8747 else $as_nop
   8748   case $MAGIC_CMD in
   8749 [\\/*] |  ?:[\\/]*)
   8750   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8751   ;;
   8752 *)
   8753   lt_save_MAGIC_CMD=$MAGIC_CMD
   8754   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8755   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8756   for ac_dir in $ac_dummy; do
   8757     IFS=$lt_save_ifs
   8758     test -z "$ac_dir" && ac_dir=.
   8759     if test -f "$ac_dir/file"; then
   8760       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8761       if test -n "$file_magic_test_file"; then
   8762 	case $deplibs_check_method in
   8763 	"file_magic "*)
   8764 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8765 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8766 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8767 	    $EGREP "$file_magic_regex" > /dev/null; then
   8768 	    :
   8769 	  else
   8770 	    cat <<_LT_EOF 1>&2
   8771 
   8772 *** Warning: the command libtool uses to detect shared libraries,
   8773 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8774 *** The result is that libtool may fail to recognize shared libraries
   8775 *** as such.  This will affect the creation of libtool libraries that
   8776 *** depend on shared libraries, but programs linked with such libtool
   8777 *** libraries will work regardless of this problem.  Nevertheless, you
   8778 *** may want to report the problem to your system manager and/or to
   8779 *** bug-libtool@gnu.org
   8780 
   8781 _LT_EOF
   8782 	  fi ;;
   8783 	esac
   8784       fi
   8785       break
   8786     fi
   8787   done
   8788   IFS=$lt_save_ifs
   8789   MAGIC_CMD=$lt_save_MAGIC_CMD
   8790   ;;
   8791 esac
   8792 fi
   8793 
   8794 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8795 if test -n "$MAGIC_CMD"; then
   8796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8797 printf "%s\n" "$MAGIC_CMD" >&6; }
   8798 else
   8799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8800 printf "%s\n" "no" >&6; }
   8801 fi
   8802 
   8803 
   8804   else
   8805     MAGIC_CMD=:
   8806   fi
   8807 fi
   8808 
   8809   fi
   8810   ;;
   8811 esac
   8812 
   8813 # Use C for the default configuration in the libtool script
   8814 
   8815 lt_save_CC=$CC
   8816 ac_ext=c
   8817 ac_cpp='$CPP $CPPFLAGS'
   8818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8821 
   8822 
   8823 # Source file extension for C test sources.
   8824 ac_ext=c
   8825 
   8826 # Object file extension for compiled C test sources.
   8827 objext=o
   8828 objext=$objext
   8829 
   8830 # Code to be used in simple compile tests
   8831 lt_simple_compile_test_code="int some_variable = 0;"
   8832 
   8833 # Code to be used in simple link tests
   8834 lt_simple_link_test_code='int main(){return(0);}'
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 # If no C compiler was specified, use CC.
   8843 LTCC=${LTCC-"$CC"}
   8844 
   8845 # If no C compiler flags were specified, use CFLAGS.
   8846 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8847 
   8848 # Allow CC to be a program name with arguments.
   8849 compiler=$CC
   8850 
   8851 # Save the default compiler, since it gets overwritten when the other
   8852 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8853 compiler_DEFAULT=$CC
   8854 
   8855 # save warnings/boilerplate of simple test code
   8856 ac_outfile=conftest.$ac_objext
   8857 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8858 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8859 _lt_compiler_boilerplate=`cat conftest.err`
   8860 $RM conftest*
   8861 
   8862 ac_outfile=conftest.$ac_objext
   8863 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8864 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8865 _lt_linker_boilerplate=`cat conftest.err`
   8866 $RM -r conftest*
   8867 
   8868 
   8869 ## CAVEAT EMPTOR:
   8870 ## There is no encapsulation within the following macros, do not change
   8871 ## the running order or otherwise move them around unless you know exactly
   8872 ## what you are doing...
   8873 if test -n "$compiler"; then
   8874 
   8875 lt_prog_compiler_no_builtin_flag=
   8876 
   8877 if test yes = "$GCC"; then
   8878   case $cc_basename in
   8879   nvcc*)
   8880     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8881   *)
   8882     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8883   esac
   8884 
   8885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8886 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8887 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8888 then :
   8889   printf %s "(cached) " >&6
   8890 else $as_nop
   8891   lt_cv_prog_compiler_rtti_exceptions=no
   8892    ac_outfile=conftest.$ac_objext
   8893    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8894    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8895    # Insert the option either (1) after the last *FLAGS variable, or
   8896    # (2) before a word containing "conftest.", or (3) at the end.
   8897    # Note that $ac_compile itself does not contain backslashes and begins
   8898    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8899    # The option is referenced via a variable to avoid confusing sed.
   8900    lt_compile=`echo "$ac_compile" | $SED \
   8901    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8902    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8903    -e 's:$: $lt_compiler_flag:'`
   8904    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8905    (eval "$lt_compile" 2>conftest.err)
   8906    ac_status=$?
   8907    cat conftest.err >&5
   8908    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8909    if (exit $ac_status) && test -s "$ac_outfile"; then
   8910      # The compiler can only warn and ignore the option if not recognized
   8911      # So say no if there are warnings other than the usual output.
   8912      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8913      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8914      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8915        lt_cv_prog_compiler_rtti_exceptions=yes
   8916      fi
   8917    fi
   8918    $RM conftest*
   8919 
   8920 fi
   8921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8922 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8923 
   8924 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8925     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8926 else
   8927     :
   8928 fi
   8929 
   8930 fi
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937   lt_prog_compiler_wl=
   8938 lt_prog_compiler_pic=
   8939 lt_prog_compiler_static=
   8940 
   8941 
   8942   if test yes = "$GCC"; then
   8943     lt_prog_compiler_wl='-Wl,'
   8944     lt_prog_compiler_static='-static'
   8945 
   8946     case $host_os in
   8947       aix*)
   8948       # All AIX code is PIC.
   8949       if test ia64 = "$host_cpu"; then
   8950 	# AIX 5 now supports IA64 processor
   8951 	lt_prog_compiler_static='-Bstatic'
   8952       fi
   8953       lt_prog_compiler_pic='-fPIC'
   8954       ;;
   8955 
   8956     amigaos*)
   8957       case $host_cpu in
   8958       powerpc)
   8959             # see comment about AmigaOS4 .so support
   8960             lt_prog_compiler_pic='-fPIC'
   8961         ;;
   8962       m68k)
   8963             # FIXME: we need at least 68020 code to build shared libraries, but
   8964             # adding the '-m68020' flag to GCC prevents building anything better,
   8965             # like '-m68040'.
   8966             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8967         ;;
   8968       esac
   8969       ;;
   8970 
   8971     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8972       # PIC is the default for these OSes.
   8973       ;;
   8974 
   8975     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8976       # This hack is so that the source file can tell whether it is being
   8977       # built for inclusion in a dll (and should export symbols for example).
   8978       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8979       # (--disable-auto-import) libraries
   8980       lt_prog_compiler_pic='-DDLL_EXPORT'
   8981       case $host_os in
   8982       os2*)
   8983 	lt_prog_compiler_static='$wl-static'
   8984 	;;
   8985       esac
   8986       ;;
   8987 
   8988     darwin* | rhapsody*)
   8989       # PIC is the default on this platform
   8990       # Common symbols not allowed in MH_DYLIB files
   8991       lt_prog_compiler_pic='-fno-common'
   8992       ;;
   8993 
   8994     haiku*)
   8995       # PIC is the default for Haiku.
   8996       # The "-static" flag exists, but is broken.
   8997       lt_prog_compiler_static=
   8998       ;;
   8999 
   9000     hpux*)
   9001       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9002       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9003       # sets the default TLS model and affects inlining.
   9004       case $host_cpu in
   9005       hppa*64*)
   9006 	# +Z the default
   9007 	;;
   9008       *)
   9009 	lt_prog_compiler_pic='-fPIC'
   9010 	;;
   9011       esac
   9012       ;;
   9013 
   9014     interix[3-9]*)
   9015       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9016       # Instead, we relocate shared libraries at runtime.
   9017       ;;
   9018 
   9019     msdosdjgpp*)
   9020       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9021       # on systems that don't support them.
   9022       lt_prog_compiler_can_build_shared=no
   9023       enable_shared=no
   9024       ;;
   9025 
   9026     *nto* | *qnx*)
   9027       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9028       # it will coredump.
   9029       lt_prog_compiler_pic='-fPIC -shared'
   9030       ;;
   9031 
   9032     sysv4*MP*)
   9033       if test -d /usr/nec; then
   9034 	lt_prog_compiler_pic=-Kconform_pic
   9035       fi
   9036       ;;
   9037 
   9038     *)
   9039       lt_prog_compiler_pic='-fPIC'
   9040       ;;
   9041     esac
   9042 
   9043     case $cc_basename in
   9044     nvcc*) # Cuda Compiler Driver 2.2
   9045       lt_prog_compiler_wl='-Xlinker '
   9046       if test -n "$lt_prog_compiler_pic"; then
   9047         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9048       fi
   9049       ;;
   9050     esac
   9051   else
   9052     # PORTME Check for flag to pass linker flags through the system compiler.
   9053     case $host_os in
   9054     aix*)
   9055       lt_prog_compiler_wl='-Wl,'
   9056       if test ia64 = "$host_cpu"; then
   9057 	# AIX 5 now supports IA64 processor
   9058 	lt_prog_compiler_static='-Bstatic'
   9059       else
   9060 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9061       fi
   9062       ;;
   9063 
   9064     darwin* | rhapsody*)
   9065       # PIC is the default on this platform
   9066       # Common symbols not allowed in MH_DYLIB files
   9067       lt_prog_compiler_pic='-fno-common'
   9068       case $cc_basename in
   9069       nagfor*)
   9070         # NAG Fortran compiler
   9071         lt_prog_compiler_wl='-Wl,-Wl,,'
   9072         lt_prog_compiler_pic='-PIC'
   9073         lt_prog_compiler_static='-Bstatic'
   9074         ;;
   9075       esac
   9076       ;;
   9077 
   9078     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9079       # This hack is so that the source file can tell whether it is being
   9080       # built for inclusion in a dll (and should export symbols for example).
   9081       lt_prog_compiler_pic='-DDLL_EXPORT'
   9082       case $host_os in
   9083       os2*)
   9084 	lt_prog_compiler_static='$wl-static'
   9085 	;;
   9086       esac
   9087       ;;
   9088 
   9089     hpux9* | hpux10* | hpux11*)
   9090       lt_prog_compiler_wl='-Wl,'
   9091       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9092       # not for PA HP-UX.
   9093       case $host_cpu in
   9094       hppa*64*|ia64*)
   9095 	# +Z the default
   9096 	;;
   9097       *)
   9098 	lt_prog_compiler_pic='+Z'
   9099 	;;
   9100       esac
   9101       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9102       lt_prog_compiler_static='$wl-a ${wl}archive'
   9103       ;;
   9104 
   9105     irix5* | irix6* | nonstopux*)
   9106       lt_prog_compiler_wl='-Wl,'
   9107       # PIC (with -KPIC) is the default.
   9108       lt_prog_compiler_static='-non_shared'
   9109       ;;
   9110 
   9111     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9112       case $cc_basename in
   9113       # old Intel for x86_64, which still supported -KPIC.
   9114       ecc*)
   9115 	lt_prog_compiler_wl='-Wl,'
   9116 	lt_prog_compiler_pic='-KPIC'
   9117 	lt_prog_compiler_static='-static'
   9118         ;;
   9119       # icc used to be incompatible with GCC.
   9120       # ICC 10 doesn't accept -KPIC any more.
   9121       icc* | ifort*)
   9122 	lt_prog_compiler_wl='-Wl,'
   9123 	lt_prog_compiler_pic='-fPIC'
   9124 	lt_prog_compiler_static='-static'
   9125         ;;
   9126       # Lahey Fortran 8.1.
   9127       lf95*)
   9128 	lt_prog_compiler_wl='-Wl,'
   9129 	lt_prog_compiler_pic='--shared'
   9130 	lt_prog_compiler_static='--static'
   9131 	;;
   9132       nagfor*)
   9133 	# NAG Fortran compiler
   9134 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9135 	lt_prog_compiler_pic='-PIC'
   9136 	lt_prog_compiler_static='-Bstatic'
   9137 	;;
   9138       tcc*)
   9139 	# Fabrice Bellard et al's Tiny C Compiler
   9140 	lt_prog_compiler_wl='-Wl,'
   9141 	lt_prog_compiler_pic='-fPIC'
   9142 	lt_prog_compiler_static='-static'
   9143 	;;
   9144       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9145         # Portland Group compilers (*not* the Pentium gcc compiler,
   9146 	# which looks to be a dead project)
   9147 	lt_prog_compiler_wl='-Wl,'
   9148 	lt_prog_compiler_pic='-fpic'
   9149 	lt_prog_compiler_static='-Bstatic'
   9150         ;;
   9151       ccc*)
   9152         lt_prog_compiler_wl='-Wl,'
   9153         # All Alpha code is PIC.
   9154         lt_prog_compiler_static='-non_shared'
   9155         ;;
   9156       xl* | bgxl* | bgf* | mpixl*)
   9157 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9158 	lt_prog_compiler_wl='-Wl,'
   9159 	lt_prog_compiler_pic='-qpic'
   9160 	lt_prog_compiler_static='-qstaticlink'
   9161 	;;
   9162       *)
   9163 	case `$CC -V 2>&1 | $SED 5q` in
   9164 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9165 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9166 	  lt_prog_compiler_pic='-KPIC'
   9167 	  lt_prog_compiler_static='-Bstatic'
   9168 	  lt_prog_compiler_wl=''
   9169 	  ;;
   9170 	*Sun\ F* | *Sun*Fortran*)
   9171 	  lt_prog_compiler_pic='-KPIC'
   9172 	  lt_prog_compiler_static='-Bstatic'
   9173 	  lt_prog_compiler_wl='-Qoption ld '
   9174 	  ;;
   9175 	*Sun\ C*)
   9176 	  # Sun C 5.9
   9177 	  lt_prog_compiler_pic='-KPIC'
   9178 	  lt_prog_compiler_static='-Bstatic'
   9179 	  lt_prog_compiler_wl='-Wl,'
   9180 	  ;;
   9181         *Intel*\ [CF]*Compiler*)
   9182 	  lt_prog_compiler_wl='-Wl,'
   9183 	  lt_prog_compiler_pic='-fPIC'
   9184 	  lt_prog_compiler_static='-static'
   9185 	  ;;
   9186 	*Portland\ Group*)
   9187 	  lt_prog_compiler_wl='-Wl,'
   9188 	  lt_prog_compiler_pic='-fpic'
   9189 	  lt_prog_compiler_static='-Bstatic'
   9190 	  ;;
   9191 	esac
   9192 	;;
   9193       esac
   9194       ;;
   9195 
   9196     newsos6)
   9197       lt_prog_compiler_pic='-KPIC'
   9198       lt_prog_compiler_static='-Bstatic'
   9199       ;;
   9200 
   9201     *nto* | *qnx*)
   9202       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9203       # it will coredump.
   9204       lt_prog_compiler_pic='-fPIC -shared'
   9205       ;;
   9206 
   9207     osf3* | osf4* | osf5*)
   9208       lt_prog_compiler_wl='-Wl,'
   9209       # All OSF/1 code is PIC.
   9210       lt_prog_compiler_static='-non_shared'
   9211       ;;
   9212 
   9213     rdos*)
   9214       lt_prog_compiler_static='-non_shared'
   9215       ;;
   9216 
   9217     solaris*)
   9218       lt_prog_compiler_pic='-KPIC'
   9219       lt_prog_compiler_static='-Bstatic'
   9220       case $cc_basename in
   9221       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9222 	lt_prog_compiler_wl='-Qoption ld ';;
   9223       *)
   9224 	lt_prog_compiler_wl='-Wl,';;
   9225       esac
   9226       ;;
   9227 
   9228     sunos4*)
   9229       lt_prog_compiler_wl='-Qoption ld '
   9230       lt_prog_compiler_pic='-PIC'
   9231       lt_prog_compiler_static='-Bstatic'
   9232       ;;
   9233 
   9234     sysv4 | sysv4.2uw2* | sysv4.3*)
   9235       lt_prog_compiler_wl='-Wl,'
   9236       lt_prog_compiler_pic='-KPIC'
   9237       lt_prog_compiler_static='-Bstatic'
   9238       ;;
   9239 
   9240     sysv4*MP*)
   9241       if test -d /usr/nec; then
   9242 	lt_prog_compiler_pic='-Kconform_pic'
   9243 	lt_prog_compiler_static='-Bstatic'
   9244       fi
   9245       ;;
   9246 
   9247     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9248       lt_prog_compiler_wl='-Wl,'
   9249       lt_prog_compiler_pic='-KPIC'
   9250       lt_prog_compiler_static='-Bstatic'
   9251       ;;
   9252 
   9253     unicos*)
   9254       lt_prog_compiler_wl='-Wl,'
   9255       lt_prog_compiler_can_build_shared=no
   9256       ;;
   9257 
   9258     uts4*)
   9259       lt_prog_compiler_pic='-pic'
   9260       lt_prog_compiler_static='-Bstatic'
   9261       ;;
   9262 
   9263     *)
   9264       lt_prog_compiler_can_build_shared=no
   9265       ;;
   9266     esac
   9267   fi
   9268 
   9269 case $host_os in
   9270   # For platforms that do not support PIC, -DPIC is meaningless:
   9271   *djgpp*)
   9272     lt_prog_compiler_pic=
   9273     ;;
   9274   *)
   9275     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9276     ;;
   9277 esac
   9278 
   9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9280 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9281 if test ${lt_cv_prog_compiler_pic+y}
   9282 then :
   9283   printf %s "(cached) " >&6
   9284 else $as_nop
   9285   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9286 fi
   9287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9288 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9289 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9290 
   9291 #
   9292 # Check to make sure the PIC flag actually works.
   9293 #
   9294 if test -n "$lt_prog_compiler_pic"; then
   9295   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9296 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9297 if test ${lt_cv_prog_compiler_pic_works+y}
   9298 then :
   9299   printf %s "(cached) " >&6
   9300 else $as_nop
   9301   lt_cv_prog_compiler_pic_works=no
   9302    ac_outfile=conftest.$ac_objext
   9303    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9304    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9305    # Insert the option either (1) after the last *FLAGS variable, or
   9306    # (2) before a word containing "conftest.", or (3) at the end.
   9307    # Note that $ac_compile itself does not contain backslashes and begins
   9308    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9309    # The option is referenced via a variable to avoid confusing sed.
   9310    lt_compile=`echo "$ac_compile" | $SED \
   9311    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9312    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9313    -e 's:$: $lt_compiler_flag:'`
   9314    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9315    (eval "$lt_compile" 2>conftest.err)
   9316    ac_status=$?
   9317    cat conftest.err >&5
   9318    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9319    if (exit $ac_status) && test -s "$ac_outfile"; then
   9320      # The compiler can only warn and ignore the option if not recognized
   9321      # So say no if there are warnings other than the usual output.
   9322      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9323      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9324      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9325        lt_cv_prog_compiler_pic_works=yes
   9326      fi
   9327    fi
   9328    $RM conftest*
   9329 
   9330 fi
   9331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9332 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9333 
   9334 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9335     case $lt_prog_compiler_pic in
   9336      "" | " "*) ;;
   9337      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9338      esac
   9339 else
   9340     lt_prog_compiler_pic=
   9341      lt_prog_compiler_can_build_shared=no
   9342 fi
   9343 
   9344 fi
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 
   9355 
   9356 #
   9357 # Check to make sure the static flag actually works.
   9358 #
   9359 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9361 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9362 if test ${lt_cv_prog_compiler_static_works+y}
   9363 then :
   9364   printf %s "(cached) " >&6
   9365 else $as_nop
   9366   lt_cv_prog_compiler_static_works=no
   9367    save_LDFLAGS=$LDFLAGS
   9368    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9369    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9370    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9371      # The linker can only warn and ignore the option if not recognized
   9372      # So say no if there are warnings
   9373      if test -s conftest.err; then
   9374        # Append any errors to the config.log.
   9375        cat conftest.err 1>&5
   9376        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9377        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9378        if diff conftest.exp conftest.er2 >/dev/null; then
   9379          lt_cv_prog_compiler_static_works=yes
   9380        fi
   9381      else
   9382        lt_cv_prog_compiler_static_works=yes
   9383      fi
   9384    fi
   9385    $RM -r conftest*
   9386    LDFLAGS=$save_LDFLAGS
   9387 
   9388 fi
   9389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9390 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9391 
   9392 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9393     :
   9394 else
   9395     lt_prog_compiler_static=
   9396 fi
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9405 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9406 if test ${lt_cv_prog_compiler_c_o+y}
   9407 then :
   9408   printf %s "(cached) " >&6
   9409 else $as_nop
   9410   lt_cv_prog_compiler_c_o=no
   9411    $RM -r conftest 2>/dev/null
   9412    mkdir conftest
   9413    cd conftest
   9414    mkdir out
   9415    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9416 
   9417    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9418    # Insert the option either (1) after the last *FLAGS variable, or
   9419    # (2) before a word containing "conftest.", or (3) at the end.
   9420    # Note that $ac_compile itself does not contain backslashes and begins
   9421    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9422    lt_compile=`echo "$ac_compile" | $SED \
   9423    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9424    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9425    -e 's:$: $lt_compiler_flag:'`
   9426    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9427    (eval "$lt_compile" 2>out/conftest.err)
   9428    ac_status=$?
   9429    cat out/conftest.err >&5
   9430    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9431    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9432    then
   9433      # The compiler can only warn and ignore the option if not recognized
   9434      # So say no if there are warnings
   9435      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9436      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9437      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9438        lt_cv_prog_compiler_c_o=yes
   9439      fi
   9440    fi
   9441    chmod u+w . 2>&5
   9442    $RM conftest*
   9443    # SGI C++ compiler will create directory out/ii_files/ for
   9444    # template instantiation
   9445    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9446    $RM out/* && rmdir out
   9447    cd ..
   9448    $RM -r conftest
   9449    $RM conftest*
   9450 
   9451 fi
   9452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9453 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9454 
   9455 
   9456 
   9457 
   9458 
   9459 
   9460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9461 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9462 if test ${lt_cv_prog_compiler_c_o+y}
   9463 then :
   9464   printf %s "(cached) " >&6
   9465 else $as_nop
   9466   lt_cv_prog_compiler_c_o=no
   9467    $RM -r conftest 2>/dev/null
   9468    mkdir conftest
   9469    cd conftest
   9470    mkdir out
   9471    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9472 
   9473    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9474    # Insert the option either (1) after the last *FLAGS variable, or
   9475    # (2) before a word containing "conftest.", or (3) at the end.
   9476    # Note that $ac_compile itself does not contain backslashes and begins
   9477    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9478    lt_compile=`echo "$ac_compile" | $SED \
   9479    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9480    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9481    -e 's:$: $lt_compiler_flag:'`
   9482    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9483    (eval "$lt_compile" 2>out/conftest.err)
   9484    ac_status=$?
   9485    cat out/conftest.err >&5
   9486    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9487    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9488    then
   9489      # The compiler can only warn and ignore the option if not recognized
   9490      # So say no if there are warnings
   9491      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9492      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9493      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9494        lt_cv_prog_compiler_c_o=yes
   9495      fi
   9496    fi
   9497    chmod u+w . 2>&5
   9498    $RM conftest*
   9499    # SGI C++ compiler will create directory out/ii_files/ for
   9500    # template instantiation
   9501    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9502    $RM out/* && rmdir out
   9503    cd ..
   9504    $RM -r conftest
   9505    $RM conftest*
   9506 
   9507 fi
   9508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9509 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9510 
   9511 
   9512 
   9513 
   9514 hard_links=nottested
   9515 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9516   # do not overwrite the value of need_locks provided by the user
   9517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9518 printf %s "checking if we can lock with hard links... " >&6; }
   9519   hard_links=yes
   9520   $RM conftest*
   9521   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9522   touch conftest.a
   9523   ln conftest.a conftest.b 2>&5 || hard_links=no
   9524   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9526 printf "%s\n" "$hard_links" >&6; }
   9527   if test no = "$hard_links"; then
   9528     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9529 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9530     need_locks=warn
   9531   fi
   9532 else
   9533   need_locks=no
   9534 fi
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9542 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9543 
   9544   runpath_var=
   9545   allow_undefined_flag=
   9546   always_export_symbols=no
   9547   archive_cmds=
   9548   archive_expsym_cmds=
   9549   compiler_needs_object=no
   9550   enable_shared_with_static_runtimes=no
   9551   export_dynamic_flag_spec=
   9552   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9553   hardcode_automatic=no
   9554   hardcode_direct=no
   9555   hardcode_direct_absolute=no
   9556   hardcode_libdir_flag_spec=
   9557   hardcode_libdir_separator=
   9558   hardcode_minus_L=no
   9559   hardcode_shlibpath_var=unsupported
   9560   inherit_rpath=no
   9561   link_all_deplibs=unknown
   9562   module_cmds=
   9563   module_expsym_cmds=
   9564   old_archive_from_new_cmds=
   9565   old_archive_from_expsyms_cmds=
   9566   thread_safe_flag_spec=
   9567   whole_archive_flag_spec=
   9568   # include_expsyms should be a list of space-separated symbols to be *always*
   9569   # included in the symbol list
   9570   include_expsyms=
   9571   # exclude_expsyms can be an extended regexp of symbols to exclude
   9572   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9573   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9574   # as well as any symbol that contains 'd'.
   9575   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9576   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9577   # platforms (ab)use it in PIC code, but their linkers get confused if
   9578   # the symbol is explicitly referenced.  Since portable code cannot
   9579   # rely on this symbol name, it's probably fine to never include it in
   9580   # preloaded symbol tables.
   9581   # Exclude shared library initialization/finalization symbols.
   9582   extract_expsyms_cmds=
   9583 
   9584   case $host_os in
   9585   cygwin* | mingw* | pw32* | cegcc*)
   9586     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9587     # When not using gcc, we currently assume that we are using
   9588     # Microsoft Visual C++ or Intel C++ Compiler.
   9589     if test yes != "$GCC"; then
   9590       with_gnu_ld=no
   9591     fi
   9592     ;;
   9593   interix*)
   9594     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9595     with_gnu_ld=yes
   9596     ;;
   9597   openbsd* | bitrig*)
   9598     with_gnu_ld=no
   9599     ;;
   9600   esac
   9601 
   9602   ld_shlibs=yes
   9603 
   9604   # On some targets, GNU ld is compatible enough with the native linker
   9605   # that we're better off using the native interface for both.
   9606   lt_use_gnu_ld_interface=no
   9607   if test yes = "$with_gnu_ld"; then
   9608     case $host_os in
   9609       aix*)
   9610 	# The AIX port of GNU ld has always aspired to compatibility
   9611 	# with the native linker.  However, as the warning in the GNU ld
   9612 	# block says, versions before 2.19.5* couldn't really create working
   9613 	# shared libraries, regardless of the interface used.
   9614 	case `$LD -v 2>&1` in
   9615 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9616 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9617 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9618 	  *)
   9619 	    lt_use_gnu_ld_interface=yes
   9620 	    ;;
   9621 	esac
   9622 	;;
   9623       *)
   9624 	lt_use_gnu_ld_interface=yes
   9625 	;;
   9626     esac
   9627   fi
   9628 
   9629   if test yes = "$lt_use_gnu_ld_interface"; then
   9630     # If archive_cmds runs LD, not CC, wlarc should be empty
   9631     wlarc='$wl'
   9632 
   9633     # Set some defaults for GNU ld with shared library support. These
   9634     # are reset later if shared libraries are not supported. Putting them
   9635     # here allows them to be overridden if necessary.
   9636     runpath_var=LD_RUN_PATH
   9637     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9638     export_dynamic_flag_spec='$wl--export-dynamic'
   9639     # ancient GNU ld didn't support --whole-archive et. al.
   9640     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9641       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9642     else
   9643       whole_archive_flag_spec=
   9644     fi
   9645     supports_anon_versioning=no
   9646     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9647       *GNU\ gold*) supports_anon_versioning=yes ;;
   9648       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9649       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9650       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9651       *\ 2.11.*) ;; # other 2.11 versions
   9652       *) supports_anon_versioning=yes ;;
   9653     esac
   9654 
   9655     # See if GNU ld supports shared libraries.
   9656     case $host_os in
   9657     aix[3-9]*)
   9658       # On AIX/PPC, the GNU linker is very broken
   9659       if test ia64 != "$host_cpu"; then
   9660 	ld_shlibs=no
   9661 	cat <<_LT_EOF 1>&2
   9662 
   9663 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9664 *** to be unable to reliably create shared libraries on AIX.
   9665 *** Therefore, libtool is disabling shared libraries support.  If you
   9666 *** really care for shared libraries, you may want to install binutils
   9667 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9668 *** You will then need to restart the configuration process.
   9669 
   9670 _LT_EOF
   9671       fi
   9672       ;;
   9673 
   9674     amigaos*)
   9675       case $host_cpu in
   9676       powerpc)
   9677             # see comment about AmigaOS4 .so support
   9678             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9679             archive_expsym_cmds=''
   9680         ;;
   9681       m68k)
   9682             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)'
   9683             hardcode_libdir_flag_spec='-L$libdir'
   9684             hardcode_minus_L=yes
   9685         ;;
   9686       esac
   9687       ;;
   9688 
   9689     beos*)
   9690       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9691 	allow_undefined_flag=unsupported
   9692 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9693 	# support --undefined.  This deserves some investigation.  FIXME
   9694 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9695       else
   9696 	ld_shlibs=no
   9697       fi
   9698       ;;
   9699 
   9700     cygwin* | mingw* | pw32* | cegcc*)
   9701       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9702       # as there is no search path for DLLs.
   9703       hardcode_libdir_flag_spec='-L$libdir'
   9704       export_dynamic_flag_spec='$wl--export-all-symbols'
   9705       allow_undefined_flag=unsupported
   9706       always_export_symbols=no
   9707       enable_shared_with_static_runtimes=yes
   9708       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'
   9709       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9710 
   9711       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9712         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9713 	# If the export-symbols file already is a .def file, use it as
   9714 	# is; otherwise, prepend EXPORTS...
   9715 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9716           cp $export_symbols $output_objdir/$soname.def;
   9717         else
   9718           echo EXPORTS > $output_objdir/$soname.def;
   9719           cat $export_symbols >> $output_objdir/$soname.def;
   9720         fi~
   9721         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9722       else
   9723 	ld_shlibs=no
   9724       fi
   9725       ;;
   9726 
   9727     haiku*)
   9728       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9729       link_all_deplibs=yes
   9730       ;;
   9731 
   9732     os2*)
   9733       hardcode_libdir_flag_spec='-L$libdir'
   9734       hardcode_minus_L=yes
   9735       allow_undefined_flag=unsupported
   9736       shrext_cmds=.dll
   9737       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9738 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9739 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9740 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9741 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9742 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9743 	emximp -o $lib $output_objdir/$libname.def'
   9744       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9745 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9746 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9747 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9748 	prefix_cmds="$SED"~
   9749 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9750 	  prefix_cmds="$prefix_cmds -e 1d";
   9751 	fi~
   9752 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9753 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9754 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9755 	emximp -o $lib $output_objdir/$libname.def'
   9756       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9757       enable_shared_with_static_runtimes=yes
   9758       file_list_spec='@'
   9759       ;;
   9760 
   9761     interix[3-9]*)
   9762       hardcode_direct=no
   9763       hardcode_shlibpath_var=no
   9764       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9765       export_dynamic_flag_spec='$wl-E'
   9766       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9767       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9768       # default) and relocated if they conflict, which is a slow very memory
   9769       # consuming and fragmenting process.  To avoid this, we pick a random,
   9770       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9771       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9772       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9773       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'
   9774       ;;
   9775 
   9776     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9777       tmp_diet=no
   9778       if test linux-dietlibc = "$host_os"; then
   9779 	case $cc_basename in
   9780 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9781 	esac
   9782       fi
   9783       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9784 	 && test no = "$tmp_diet"
   9785       then
   9786 	tmp_addflag=' $pic_flag'
   9787 	tmp_sharedflag='-shared'
   9788 	case $cc_basename,$host_cpu in
   9789         pgcc*)				# Portland Group C compiler
   9790 	  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'
   9791 	  tmp_addflag=' $pic_flag'
   9792 	  ;;
   9793 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9794 					# Portland Group f77 and f90 compilers
   9795 	  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'
   9796 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9797 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9798 	  tmp_addflag=' -i_dynamic' ;;
   9799 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9800 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9801 	ifc* | ifort*)			# Intel Fortran compiler
   9802 	  tmp_addflag=' -nofor_main' ;;
   9803 	lf95*)				# Lahey Fortran 8.1
   9804 	  whole_archive_flag_spec=
   9805 	  tmp_sharedflag='--shared' ;;
   9806         nagfor*)                        # NAGFOR 5.3
   9807           tmp_sharedflag='-Wl,-shared' ;;
   9808 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9809 	  tmp_sharedflag='-qmkshrobj'
   9810 	  tmp_addflag= ;;
   9811 	nvcc*)	# Cuda Compiler Driver 2.2
   9812 	  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'
   9813 	  compiler_needs_object=yes
   9814 	  ;;
   9815 	esac
   9816 	case `$CC -V 2>&1 | $SED 5q` in
   9817 	*Sun\ C*)			# Sun C 5.9
   9818 	  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'
   9819 	  compiler_needs_object=yes
   9820 	  tmp_sharedflag='-G' ;;
   9821 	*Sun\ F*)			# Sun Fortran 8.3
   9822 	  tmp_sharedflag='-G' ;;
   9823 	esac
   9824 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9825 
   9826         if test yes = "$supports_anon_versioning"; then
   9827           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9828             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9829             echo "local: *; };" >> $output_objdir/$libname.ver~
   9830             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9831         fi
   9832 
   9833 	case $cc_basename in
   9834 	tcc*)
   9835 	  export_dynamic_flag_spec='-rdynamic'
   9836 	  ;;
   9837 	xlf* | bgf* | bgxlf* | mpixlf*)
   9838 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9839 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9840 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9841 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9842 	  if test yes = "$supports_anon_versioning"; then
   9843 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9844               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9845               echo "local: *; };" >> $output_objdir/$libname.ver~
   9846               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9847 	  fi
   9848 	  ;;
   9849 	esac
   9850       else
   9851         ld_shlibs=no
   9852       fi
   9853       ;;
   9854 
   9855     netbsd*)
   9856       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9857 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9858 	wlarc=
   9859       else
   9860 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9861 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9862       fi
   9863       ;;
   9864 
   9865     solaris*)
   9866       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9867 	ld_shlibs=no
   9868 	cat <<_LT_EOF 1>&2
   9869 
   9870 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9871 *** create shared libraries on Solaris systems.  Therefore, libtool
   9872 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9873 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9874 *** your PATH or compiler configuration so that the native linker is
   9875 *** used, and then restart.
   9876 
   9877 _LT_EOF
   9878       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9879 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9880 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9881       else
   9882 	ld_shlibs=no
   9883       fi
   9884       ;;
   9885 
   9886     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9887       case `$LD -v 2>&1` in
   9888         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9889 	ld_shlibs=no
   9890 	cat <<_LT_EOF 1>&2
   9891 
   9892 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9893 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9894 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9895 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9896 *** your PATH or compiler configuration so that the native linker is
   9897 *** used, and then restart.
   9898 
   9899 _LT_EOF
   9900 	;;
   9901 	*)
   9902 	  # For security reasons, it is highly recommended that you always
   9903 	  # use absolute paths for naming shared libraries, and exclude the
   9904 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9905 	  # requires that you compile everything twice, which is a pain.
   9906 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9907 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9908 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9909 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9910 	  else
   9911 	    ld_shlibs=no
   9912 	  fi
   9913 	;;
   9914       esac
   9915       ;;
   9916 
   9917     sunos4*)
   9918       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9919       wlarc=
   9920       hardcode_direct=yes
   9921       hardcode_shlibpath_var=no
   9922       ;;
   9923 
   9924     *)
   9925       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9926 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9927 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9928       else
   9929 	ld_shlibs=no
   9930       fi
   9931       ;;
   9932     esac
   9933 
   9934     if test no = "$ld_shlibs"; then
   9935       runpath_var=
   9936       hardcode_libdir_flag_spec=
   9937       export_dynamic_flag_spec=
   9938       whole_archive_flag_spec=
   9939     fi
   9940   else
   9941     # PORTME fill in a description of your system's linker (not GNU ld)
   9942     case $host_os in
   9943     aix3*)
   9944       allow_undefined_flag=unsupported
   9945       always_export_symbols=yes
   9946       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'
   9947       # Note: this linker hardcodes the directories in LIBPATH if there
   9948       # are no directories specified by -L.
   9949       hardcode_minus_L=yes
   9950       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9951 	# Neither direct hardcoding nor static linking is supported with a
   9952 	# broken collect2.
   9953 	hardcode_direct=unsupported
   9954       fi
   9955       ;;
   9956 
   9957     aix[4-9]*)
   9958       if test ia64 = "$host_cpu"; then
   9959 	# On IA64, the linker does run time linking by default, so we don't
   9960 	# have to do anything special.
   9961 	aix_use_runtimelinking=no
   9962 	exp_sym_flag='-Bexport'
   9963 	no_entry_flag=
   9964       else
   9965 	# If we're using GNU nm, then we don't want the "-C" option.
   9966 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9967 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9968 	# weak defined symbols like other global defined symbols, whereas
   9969 	# GNU nm marks them as "W".
   9970 	# While the 'weak' keyword is ignored in the Export File, we need
   9971 	# it in the Import File for the 'aix-soname' feature, so we have
   9972 	# to replace the "-B" option with "-P" for AIX nm.
   9973 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9974 	  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'
   9975 	else
   9976 	  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'
   9977 	fi
   9978 	aix_use_runtimelinking=no
   9979 
   9980 	# Test if we are trying to use run time linking or normal
   9981 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9982 	# have runtime linking enabled, and use it for executables.
   9983 	# For shared libraries, we enable/disable runtime linking
   9984 	# depending on the kind of the shared library created -
   9985 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9986 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9987 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9988 	#            lib.a           static archive
   9989 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9990 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9991 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9992 	#            lib.a(lib.so.V) shared, rtl:no
   9993 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9994 	#            lib.a           static archive
   9995 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9996 	  for ld_flag in $LDFLAGS; do
   9997 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9998 	    aix_use_runtimelinking=yes
   9999 	    break
   10000 	  fi
   10001 	  done
   10002 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10003 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10004 	    # so we don't have lib.a shared libs to link our executables.
   10005 	    # We have to force runtime linking in this case.
   10006 	    aix_use_runtimelinking=yes
   10007 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10008 	  fi
   10009 	  ;;
   10010 	esac
   10011 
   10012 	exp_sym_flag='-bexport'
   10013 	no_entry_flag='-bnoentry'
   10014       fi
   10015 
   10016       # When large executables or shared objects are built, AIX ld can
   10017       # have problems creating the table of contents.  If linking a library
   10018       # or program results in "error TOC overflow" add -mminimal-toc to
   10019       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10020       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10021 
   10022       archive_cmds=''
   10023       hardcode_direct=yes
   10024       hardcode_direct_absolute=yes
   10025       hardcode_libdir_separator=':'
   10026       link_all_deplibs=yes
   10027       file_list_spec='$wl-f,'
   10028       case $with_aix_soname,$aix_use_runtimelinking in
   10029       aix,*) ;; # traditional, no import file
   10030       svr4,* | *,yes) # use import file
   10031 	# The Import File defines what to hardcode.
   10032 	hardcode_direct=no
   10033 	hardcode_direct_absolute=no
   10034 	;;
   10035       esac
   10036 
   10037       if test yes = "$GCC"; then
   10038 	case $host_os in aix4.[012]|aix4.[012].*)
   10039 	# We only want to do this on AIX 4.2 and lower, the check
   10040 	# below for broken collect2 doesn't work under 4.3+
   10041 	  collect2name=`$CC -print-prog-name=collect2`
   10042 	  if test -f "$collect2name" &&
   10043 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10044 	  then
   10045 	  # We have reworked collect2
   10046 	  :
   10047 	  else
   10048 	  # We have old collect2
   10049 	  hardcode_direct=unsupported
   10050 	  # It fails to find uninstalled libraries when the uninstalled
   10051 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10052 	  # to unsupported forces relinking
   10053 	  hardcode_minus_L=yes
   10054 	  hardcode_libdir_flag_spec='-L$libdir'
   10055 	  hardcode_libdir_separator=
   10056 	  fi
   10057 	  ;;
   10058 	esac
   10059 	shared_flag='-shared'
   10060 	if test yes = "$aix_use_runtimelinking"; then
   10061 	  shared_flag="$shared_flag "'$wl-G'
   10062 	fi
   10063 	# Need to ensure runtime linking is disabled for the traditional
   10064 	# shared library, or the linker may eventually find shared libraries
   10065 	# /with/ Import File - we do not want to mix them.
   10066 	shared_flag_aix='-shared'
   10067 	shared_flag_svr4='-shared $wl-G'
   10068       else
   10069 	# not using gcc
   10070 	if test ia64 = "$host_cpu"; then
   10071 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10072 	# chokes on -Wl,-G. The following line is correct:
   10073 	  shared_flag='-G'
   10074 	else
   10075 	  if test yes = "$aix_use_runtimelinking"; then
   10076 	    shared_flag='$wl-G'
   10077 	  else
   10078 	    shared_flag='$wl-bM:SRE'
   10079 	  fi
   10080 	  shared_flag_aix='$wl-bM:SRE'
   10081 	  shared_flag_svr4='$wl-G'
   10082 	fi
   10083       fi
   10084 
   10085       export_dynamic_flag_spec='$wl-bexpall'
   10086       # It seems that -bexpall does not export symbols beginning with
   10087       # underscore (_), so it is better to generate a list of symbols to export.
   10088       always_export_symbols=yes
   10089       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10090 	# Warning - without using the other runtime loading flags (-brtl),
   10091 	# -berok will link without error, but may produce a broken library.
   10092 	allow_undefined_flag='-berok'
   10093         # Determine the default libpath from the value encoded in an
   10094         # empty executable.
   10095         if test set = "${lt_cv_aix_libpath+set}"; then
   10096   aix_libpath=$lt_cv_aix_libpath
   10097 else
   10098   if test ${lt_cv_aix_libpath_+y}
   10099 then :
   10100   printf %s "(cached) " >&6
   10101 else $as_nop
   10102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10103 /* end confdefs.h.  */
   10104 
   10105 int
   10106 main (void)
   10107 {
   10108 
   10109   ;
   10110   return 0;
   10111 }
   10112 _ACEOF
   10113 if ac_fn_c_try_link "$LINENO"
   10114 then :
   10115 
   10116   lt_aix_libpath_sed='
   10117       /Import File Strings/,/^$/ {
   10118 	  /^0/ {
   10119 	      s/^0  *\([^ ]*\) *$/\1/
   10120 	      p
   10121 	  }
   10122       }'
   10123   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10124   # Check for a 64-bit object if we didn't find anything.
   10125   if test -z "$lt_cv_aix_libpath_"; then
   10126     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10127   fi
   10128 fi
   10129 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10130     conftest$ac_exeext conftest.$ac_ext
   10131   if test -z "$lt_cv_aix_libpath_"; then
   10132     lt_cv_aix_libpath_=/usr/lib:/lib
   10133   fi
   10134 
   10135 fi
   10136 
   10137   aix_libpath=$lt_cv_aix_libpath_
   10138 fi
   10139 
   10140         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10141         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
   10142       else
   10143 	if test ia64 = "$host_cpu"; then
   10144 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10145 	  allow_undefined_flag="-z nodefs"
   10146 	  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"
   10147 	else
   10148 	 # Determine the default libpath from the value encoded in an
   10149 	 # empty executable.
   10150 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10151   aix_libpath=$lt_cv_aix_libpath
   10152 else
   10153   if test ${lt_cv_aix_libpath_+y}
   10154 then :
   10155   printf %s "(cached) " >&6
   10156 else $as_nop
   10157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10158 /* end confdefs.h.  */
   10159 
   10160 int
   10161 main (void)
   10162 {
   10163 
   10164   ;
   10165   return 0;
   10166 }
   10167 _ACEOF
   10168 if ac_fn_c_try_link "$LINENO"
   10169 then :
   10170 
   10171   lt_aix_libpath_sed='
   10172       /Import File Strings/,/^$/ {
   10173 	  /^0/ {
   10174 	      s/^0  *\([^ ]*\) *$/\1/
   10175 	      p
   10176 	  }
   10177       }'
   10178   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10179   # Check for a 64-bit object if we didn't find anything.
   10180   if test -z "$lt_cv_aix_libpath_"; then
   10181     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10182   fi
   10183 fi
   10184 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10185     conftest$ac_exeext conftest.$ac_ext
   10186   if test -z "$lt_cv_aix_libpath_"; then
   10187     lt_cv_aix_libpath_=/usr/lib:/lib
   10188   fi
   10189 
   10190 fi
   10191 
   10192   aix_libpath=$lt_cv_aix_libpath_
   10193 fi
   10194 
   10195 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10196 	  # Warning - without using the other run time loading flags,
   10197 	  # -berok will link without error, but may produce a broken library.
   10198 	  no_undefined_flag=' $wl-bernotok'
   10199 	  allow_undefined_flag=' $wl-berok'
   10200 	  if test yes = "$with_gnu_ld"; then
   10201 	    # We only use this code for GNU lds that support --whole-archive.
   10202 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10203 	  else
   10204 	    # Exported symbols can be pulled into shared objects from archives
   10205 	    whole_archive_flag_spec='$convenience'
   10206 	  fi
   10207 	  archive_cmds_need_lc=yes
   10208 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10209 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10210 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10211 	  if test svr4 != "$with_aix_soname"; then
   10212 	    # This is similar to how AIX traditionally builds its shared libraries.
   10213 	    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'
   10214 	  fi
   10215 	  if test aix != "$with_aix_soname"; then
   10216 	    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'
   10217 	  else
   10218 	    # used by -dlpreopen to get the symbols
   10219 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10220 	  fi
   10221 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10222 	fi
   10223       fi
   10224       ;;
   10225 
   10226     amigaos*)
   10227       case $host_cpu in
   10228       powerpc)
   10229             # see comment about AmigaOS4 .so support
   10230             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10231             archive_expsym_cmds=''
   10232         ;;
   10233       m68k)
   10234             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)'
   10235             hardcode_libdir_flag_spec='-L$libdir'
   10236             hardcode_minus_L=yes
   10237         ;;
   10238       esac
   10239       ;;
   10240 
   10241     bsdi[45]*)
   10242       export_dynamic_flag_spec=-rdynamic
   10243       ;;
   10244 
   10245     cygwin* | mingw* | pw32* | cegcc*)
   10246       # When not using gcc, we currently assume that we are using
   10247       # Microsoft Visual C++ or Intel C++ Compiler.
   10248       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10249       # no search path for DLLs.
   10250       case $cc_basename in
   10251       cl* | icl*)
   10252 	# Native MSVC or ICC
   10253 	hardcode_libdir_flag_spec=' '
   10254 	allow_undefined_flag=unsupported
   10255 	always_export_symbols=yes
   10256 	file_list_spec='@'
   10257 	# Tell ltmain to make .lib files, not .a files.
   10258 	libext=lib
   10259 	# Tell ltmain to make .dll files, not .so files.
   10260 	shrext_cmds=.dll
   10261 	# FIXME: Setting linknames here is a bad hack.
   10262 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10263 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10264             cp "$export_symbols" "$output_objdir/$soname.def";
   10265             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10266           else
   10267             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10268           fi~
   10269           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10270           linknames='
   10271 	# The linker will not automatically build a static lib if we build a DLL.
   10272 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10273 	enable_shared_with_static_runtimes=yes
   10274 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10275 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10276 	# Don't use ranlib
   10277 	old_postinstall_cmds='chmod 644 $oldlib'
   10278 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10279           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10280           case $lt_outputfile in
   10281             *.exe|*.EXE) ;;
   10282             *)
   10283               lt_outputfile=$lt_outputfile.exe
   10284               lt_tool_outputfile=$lt_tool_outputfile.exe
   10285               ;;
   10286           esac~
   10287           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10288             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10289             $RM "$lt_outputfile.manifest";
   10290           fi'
   10291 	;;
   10292       *)
   10293 	# Assume MSVC and ICC wrapper
   10294 	hardcode_libdir_flag_spec=' '
   10295 	allow_undefined_flag=unsupported
   10296 	# Tell ltmain to make .lib files, not .a files.
   10297 	libext=lib
   10298 	# Tell ltmain to make .dll files, not .so files.
   10299 	shrext_cmds=.dll
   10300 	# FIXME: Setting linknames here is a bad hack.
   10301 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10302 	# The linker will automatically build a .lib file if we build a DLL.
   10303 	old_archive_from_new_cmds='true'
   10304 	# FIXME: Should let the user specify the lib program.
   10305 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10306 	enable_shared_with_static_runtimes=yes
   10307 	;;
   10308       esac
   10309       ;;
   10310 
   10311     darwin* | rhapsody*)
   10312 
   10313 
   10314   archive_cmds_need_lc=no
   10315   hardcode_direct=no
   10316   hardcode_automatic=yes
   10317   hardcode_shlibpath_var=unsupported
   10318   if test yes = "$lt_cv_ld_force_load"; then
   10319     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\"`'
   10320 
   10321   else
   10322     whole_archive_flag_spec=''
   10323   fi
   10324   link_all_deplibs=yes
   10325   allow_undefined_flag=$_lt_dar_allow_undefined
   10326   case $cc_basename in
   10327      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10328      *) _lt_dar_can_shared=$GCC ;;
   10329   esac
   10330   if test yes = "$_lt_dar_can_shared"; then
   10331     output_verbose_link_cmd=func_echo_all
   10332     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10333     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10334     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"
   10335     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"
   10336 
   10337   else
   10338   ld_shlibs=no
   10339   fi
   10340 
   10341       ;;
   10342 
   10343     dgux*)
   10344       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10345       hardcode_libdir_flag_spec='-L$libdir'
   10346       hardcode_shlibpath_var=no
   10347       ;;
   10348 
   10349     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10350     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10351     # does not break anything, and helps significantly (at the cost of a little
   10352     # extra space).
   10353     freebsd2.2*)
   10354       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10355       hardcode_libdir_flag_spec='-R$libdir'
   10356       hardcode_direct=yes
   10357       hardcode_shlibpath_var=no
   10358       ;;
   10359 
   10360     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10361     freebsd2.*)
   10362       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10363       hardcode_direct=yes
   10364       hardcode_minus_L=yes
   10365       hardcode_shlibpath_var=no
   10366       ;;
   10367 
   10368     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10369     freebsd* | dragonfly* | midnightbsd*)
   10370       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10371       hardcode_libdir_flag_spec='-R$libdir'
   10372       hardcode_direct=yes
   10373       hardcode_shlibpath_var=no
   10374       ;;
   10375 
   10376     hpux9*)
   10377       if test yes = "$GCC"; then
   10378 	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'
   10379       else
   10380 	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'
   10381       fi
   10382       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10383       hardcode_libdir_separator=:
   10384       hardcode_direct=yes
   10385 
   10386       # hardcode_minus_L: Not really in the search PATH,
   10387       # but as the default location of the library.
   10388       hardcode_minus_L=yes
   10389       export_dynamic_flag_spec='$wl-E'
   10390       ;;
   10391 
   10392     hpux10*)
   10393       if test yes,no = "$GCC,$with_gnu_ld"; then
   10394 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10395       else
   10396 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10397       fi
   10398       if test no = "$with_gnu_ld"; then
   10399 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10400 	hardcode_libdir_separator=:
   10401 	hardcode_direct=yes
   10402 	hardcode_direct_absolute=yes
   10403 	export_dynamic_flag_spec='$wl-E'
   10404 	# hardcode_minus_L: Not really in the search PATH,
   10405 	# but as the default location of the library.
   10406 	hardcode_minus_L=yes
   10407       fi
   10408       ;;
   10409 
   10410     hpux11*)
   10411       if test yes,no = "$GCC,$with_gnu_ld"; then
   10412 	case $host_cpu in
   10413 	hppa*64*)
   10414 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10415 	  ;;
   10416 	ia64*)
   10417 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10418 	  ;;
   10419 	*)
   10420 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10421 	  ;;
   10422 	esac
   10423       else
   10424 	case $host_cpu in
   10425 	hppa*64*)
   10426 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10427 	  ;;
   10428 	ia64*)
   10429 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10430 	  ;;
   10431 	*)
   10432 
   10433 	  # Older versions of the 11.00 compiler do not understand -b yet
   10434 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10435 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10436 printf %s "checking if $CC understands -b... " >&6; }
   10437 if test ${lt_cv_prog_compiler__b+y}
   10438 then :
   10439   printf %s "(cached) " >&6
   10440 else $as_nop
   10441   lt_cv_prog_compiler__b=no
   10442    save_LDFLAGS=$LDFLAGS
   10443    LDFLAGS="$LDFLAGS -b"
   10444    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10445    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10446      # The linker can only warn and ignore the option if not recognized
   10447      # So say no if there are warnings
   10448      if test -s conftest.err; then
   10449        # Append any errors to the config.log.
   10450        cat conftest.err 1>&5
   10451        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10452        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10453        if diff conftest.exp conftest.er2 >/dev/null; then
   10454          lt_cv_prog_compiler__b=yes
   10455        fi
   10456      else
   10457        lt_cv_prog_compiler__b=yes
   10458      fi
   10459    fi
   10460    $RM -r conftest*
   10461    LDFLAGS=$save_LDFLAGS
   10462 
   10463 fi
   10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10465 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10466 
   10467 if test yes = "$lt_cv_prog_compiler__b"; then
   10468     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10469 else
   10470     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10471 fi
   10472 
   10473 	  ;;
   10474 	esac
   10475       fi
   10476       if test no = "$with_gnu_ld"; then
   10477 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10478 	hardcode_libdir_separator=:
   10479 
   10480 	case $host_cpu in
   10481 	hppa*64*|ia64*)
   10482 	  hardcode_direct=no
   10483 	  hardcode_shlibpath_var=no
   10484 	  ;;
   10485 	*)
   10486 	  hardcode_direct=yes
   10487 	  hardcode_direct_absolute=yes
   10488 	  export_dynamic_flag_spec='$wl-E'
   10489 
   10490 	  # hardcode_minus_L: Not really in the search PATH,
   10491 	  # but as the default location of the library.
   10492 	  hardcode_minus_L=yes
   10493 	  ;;
   10494 	esac
   10495       fi
   10496       ;;
   10497 
   10498     irix5* | irix6* | nonstopux*)
   10499       if test yes = "$GCC"; then
   10500 	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'
   10501 	# Try to use the -exported_symbol ld option, if it does not
   10502 	# work, assume that -exports_file does not work either and
   10503 	# implicitly export all symbols.
   10504 	# This should be the same for all languages, so no per-tag cache variable.
   10505 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10506 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10507 if test ${lt_cv_irix_exported_symbol+y}
   10508 then :
   10509   printf %s "(cached) " >&6
   10510 else $as_nop
   10511   save_LDFLAGS=$LDFLAGS
   10512 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10513 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10514 /* end confdefs.h.  */
   10515 int foo (void) { return 0; }
   10516 _ACEOF
   10517 if ac_fn_c_try_link "$LINENO"
   10518 then :
   10519   lt_cv_irix_exported_symbol=yes
   10520 else $as_nop
   10521   lt_cv_irix_exported_symbol=no
   10522 fi
   10523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10524     conftest$ac_exeext conftest.$ac_ext
   10525            LDFLAGS=$save_LDFLAGS
   10526 fi
   10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10528 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10529 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10530           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'
   10531 	fi
   10532       else
   10533 	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'
   10534 	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'
   10535       fi
   10536       archive_cmds_need_lc='no'
   10537       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10538       hardcode_libdir_separator=:
   10539       inherit_rpath=yes
   10540       link_all_deplibs=yes
   10541       ;;
   10542 
   10543     linux*)
   10544       case $cc_basename in
   10545       tcc*)
   10546 	# Fabrice Bellard et al's Tiny C Compiler
   10547 	ld_shlibs=yes
   10548 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10549 	;;
   10550       esac
   10551       ;;
   10552 
   10553     netbsd*)
   10554       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10555 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10556       else
   10557 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10558       fi
   10559       hardcode_libdir_flag_spec='-R$libdir'
   10560       hardcode_direct=yes
   10561       hardcode_shlibpath_var=no
   10562       ;;
   10563 
   10564     newsos6)
   10565       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10566       hardcode_direct=yes
   10567       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10568       hardcode_libdir_separator=:
   10569       hardcode_shlibpath_var=no
   10570       ;;
   10571 
   10572     *nto* | *qnx*)
   10573       ;;
   10574 
   10575     openbsd* | bitrig*)
   10576       if test -f /usr/libexec/ld.so; then
   10577 	hardcode_direct=yes
   10578 	hardcode_shlibpath_var=no
   10579 	hardcode_direct_absolute=yes
   10580 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10581 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10582 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10583 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10584 	  export_dynamic_flag_spec='$wl-E'
   10585 	else
   10586 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10587 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10588 	fi
   10589       else
   10590 	ld_shlibs=no
   10591       fi
   10592       ;;
   10593 
   10594     os2*)
   10595       hardcode_libdir_flag_spec='-L$libdir'
   10596       hardcode_minus_L=yes
   10597       allow_undefined_flag=unsupported
   10598       shrext_cmds=.dll
   10599       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10600 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10601 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10602 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10603 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10604 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10605 	emximp -o $lib $output_objdir/$libname.def'
   10606       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10607 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10608 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10609 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10610 	prefix_cmds="$SED"~
   10611 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10612 	  prefix_cmds="$prefix_cmds -e 1d";
   10613 	fi~
   10614 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10615 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10616 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10617 	emximp -o $lib $output_objdir/$libname.def'
   10618       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10619       enable_shared_with_static_runtimes=yes
   10620       file_list_spec='@'
   10621       ;;
   10622 
   10623     osf3*)
   10624       if test yes = "$GCC"; then
   10625 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10626 	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'
   10627       else
   10628 	allow_undefined_flag=' -expect_unresolved \*'
   10629 	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'
   10630       fi
   10631       archive_cmds_need_lc='no'
   10632       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10633       hardcode_libdir_separator=:
   10634       ;;
   10635 
   10636     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10637       if test yes = "$GCC"; then
   10638 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10639 	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'
   10640 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10641       else
   10642 	allow_undefined_flag=' -expect_unresolved \*'
   10643 	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'
   10644 	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~
   10645           $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'
   10646 
   10647 	# Both c and cxx compiler support -rpath directly
   10648 	hardcode_libdir_flag_spec='-rpath $libdir'
   10649       fi
   10650       archive_cmds_need_lc='no'
   10651       hardcode_libdir_separator=:
   10652       ;;
   10653 
   10654     solaris*)
   10655       no_undefined_flag=' -z defs'
   10656       if test yes = "$GCC"; then
   10657 	wlarc='$wl'
   10658 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10659 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10660           $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'
   10661       else
   10662 	case `$CC -V 2>&1` in
   10663 	*"Compilers 5.0"*)
   10664 	  wlarc=''
   10665 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10666 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10667             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10668 	  ;;
   10669 	*)
   10670 	  wlarc='$wl'
   10671 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10672 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10673             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10674 	  ;;
   10675 	esac
   10676       fi
   10677       hardcode_libdir_flag_spec='-R$libdir'
   10678       hardcode_shlibpath_var=no
   10679       case $host_os in
   10680       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10681       *)
   10682 	# The compiler driver will combine and reorder linker options,
   10683 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10684 	# but is careful enough not to reorder.
   10685 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10686 	if test yes = "$GCC"; then
   10687 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10688 	else
   10689 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10690 	fi
   10691 	;;
   10692       esac
   10693       link_all_deplibs=yes
   10694       ;;
   10695 
   10696     sunos4*)
   10697       if test sequent = "$host_vendor"; then
   10698 	# Use $CC to link under sequent, because it throws in some extra .o
   10699 	# files that make .init and .fini sections work.
   10700 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10701       else
   10702 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10703       fi
   10704       hardcode_libdir_flag_spec='-L$libdir'
   10705       hardcode_direct=yes
   10706       hardcode_minus_L=yes
   10707       hardcode_shlibpath_var=no
   10708       ;;
   10709 
   10710     sysv4)
   10711       case $host_vendor in
   10712 	sni)
   10713 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10714 	  hardcode_direct=yes # is this really true???
   10715 	;;
   10716 	siemens)
   10717 	  ## LD is ld it makes a PLAMLIB
   10718 	  ## CC just makes a GrossModule.
   10719 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10720 	  reload_cmds='$CC -r -o $output$reload_objs'
   10721 	  hardcode_direct=no
   10722         ;;
   10723 	motorola)
   10724 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10725 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10726 	;;
   10727       esac
   10728       runpath_var='LD_RUN_PATH'
   10729       hardcode_shlibpath_var=no
   10730       ;;
   10731 
   10732     sysv4.3*)
   10733       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10734       hardcode_shlibpath_var=no
   10735       export_dynamic_flag_spec='-Bexport'
   10736       ;;
   10737 
   10738     sysv4*MP*)
   10739       if test -d /usr/nec; then
   10740 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10741 	hardcode_shlibpath_var=no
   10742 	runpath_var=LD_RUN_PATH
   10743 	hardcode_runpath_var=yes
   10744 	ld_shlibs=yes
   10745       fi
   10746       ;;
   10747 
   10748     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10749       no_undefined_flag='$wl-z,text'
   10750       archive_cmds_need_lc=no
   10751       hardcode_shlibpath_var=no
   10752       runpath_var='LD_RUN_PATH'
   10753 
   10754       if test yes = "$GCC"; then
   10755 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10756 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10757       else
   10758 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10759 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10760       fi
   10761       ;;
   10762 
   10763     sysv5* | sco3.2v5* | sco5v6*)
   10764       # Note: We CANNOT use -z defs as we might desire, because we do not
   10765       # link with -lc, and that would cause any symbols used from libc to
   10766       # always be unresolved, which means just about no library would
   10767       # ever link correctly.  If we're not using GNU ld we use -z text
   10768       # though, which does catch some bad symbols but isn't as heavy-handed
   10769       # as -z defs.
   10770       no_undefined_flag='$wl-z,text'
   10771       allow_undefined_flag='$wl-z,nodefs'
   10772       archive_cmds_need_lc=no
   10773       hardcode_shlibpath_var=no
   10774       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10775       hardcode_libdir_separator=':'
   10776       link_all_deplibs=yes
   10777       export_dynamic_flag_spec='$wl-Bexport'
   10778       runpath_var='LD_RUN_PATH'
   10779 
   10780       if test yes = "$GCC"; then
   10781 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10782 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10783       else
   10784 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10785 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10786       fi
   10787       ;;
   10788 
   10789     uts4*)
   10790       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10791       hardcode_libdir_flag_spec='-L$libdir'
   10792       hardcode_shlibpath_var=no
   10793       ;;
   10794 
   10795     *)
   10796       ld_shlibs=no
   10797       ;;
   10798     esac
   10799 
   10800     if test sni = "$host_vendor"; then
   10801       case $host in
   10802       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10803 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10804 	;;
   10805       esac
   10806     fi
   10807   fi
   10808 
   10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10810 printf "%s\n" "$ld_shlibs" >&6; }
   10811 test no = "$ld_shlibs" && can_build_shared=no
   10812 
   10813 with_gnu_ld=$with_gnu_ld
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 #
   10830 # Do we need to explicitly link libc?
   10831 #
   10832 case "x$archive_cmds_need_lc" in
   10833 x|xyes)
   10834   # Assume -lc should be added
   10835   archive_cmds_need_lc=yes
   10836 
   10837   if test yes,yes = "$GCC,$enable_shared"; then
   10838     case $archive_cmds in
   10839     *'~'*)
   10840       # FIXME: we may have to deal with multi-command sequences.
   10841       ;;
   10842     '$CC '*)
   10843       # Test whether the compiler implicitly links with -lc since on some
   10844       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10845       # to ld, don't add -lc before -lgcc.
   10846       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10847 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10848 if test ${lt_cv_archive_cmds_need_lc+y}
   10849 then :
   10850   printf %s "(cached) " >&6
   10851 else $as_nop
   10852   $RM conftest*
   10853 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10854 
   10855 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10856   (eval $ac_compile) 2>&5
   10857   ac_status=$?
   10858   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10859   test $ac_status = 0; } 2>conftest.err; then
   10860 	  soname=conftest
   10861 	  lib=conftest
   10862 	  libobjs=conftest.$ac_objext
   10863 	  deplibs=
   10864 	  wl=$lt_prog_compiler_wl
   10865 	  pic_flag=$lt_prog_compiler_pic
   10866 	  compiler_flags=-v
   10867 	  linker_flags=-v
   10868 	  verstring=
   10869 	  output_objdir=.
   10870 	  libname=conftest
   10871 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10872 	  allow_undefined_flag=
   10873 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10874   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10875   ac_status=$?
   10876   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10877   test $ac_status = 0; }
   10878 	  then
   10879 	    lt_cv_archive_cmds_need_lc=no
   10880 	  else
   10881 	    lt_cv_archive_cmds_need_lc=yes
   10882 	  fi
   10883 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10884 	else
   10885 	  cat conftest.err 1>&5
   10886 	fi
   10887 	$RM conftest*
   10888 
   10889 fi
   10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10891 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10892       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10893       ;;
   10894     esac
   10895   fi
   10896   ;;
   10897 esac
   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 
   11047 
   11048 
   11049 
   11050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11051 printf %s "checking dynamic linker characteristics... " >&6; }
   11052 
   11053 if test yes = "$GCC"; then
   11054   case $host_os in
   11055     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11056     *) lt_awk_arg='/^libraries:/' ;;
   11057   esac
   11058   case $host_os in
   11059     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11060     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11061   esac
   11062   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11063   case $lt_search_path_spec in
   11064   *\;*)
   11065     # if the path contains ";" then we assume it to be the separator
   11066     # otherwise default to the standard path separator (i.e. ":") - it is
   11067     # assumed that no part of a normal pathname contains ";" but that should
   11068     # okay in the real world where ";" in dirpaths is itself problematic.
   11069     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11070     ;;
   11071   *)
   11072     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11073     ;;
   11074   esac
   11075   # Ok, now we have the path, separated by spaces, we can step through it
   11076   # and add multilib dir if necessary...
   11077   lt_tmp_lt_search_path_spec=
   11078   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11079   # ...but if some path component already ends with the multilib dir we assume
   11080   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11081   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11082   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11083     lt_multi_os_dir=
   11084     ;;
   11085   esac
   11086   for lt_sys_path in $lt_search_path_spec; do
   11087     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11088       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11089     elif test -n "$lt_multi_os_dir"; then
   11090       test -d "$lt_sys_path" && \
   11091 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11092     fi
   11093   done
   11094   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11095 BEGIN {RS = " "; FS = "/|\n";} {
   11096   lt_foo = "";
   11097   lt_count = 0;
   11098   for (lt_i = NF; lt_i > 0; lt_i--) {
   11099     if ($lt_i != "" && $lt_i != ".") {
   11100       if ($lt_i == "..") {
   11101         lt_count++;
   11102       } else {
   11103         if (lt_count == 0) {
   11104           lt_foo = "/" $lt_i lt_foo;
   11105         } else {
   11106           lt_count--;
   11107         }
   11108       }
   11109     }
   11110   }
   11111   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11112   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11113 }'`
   11114   # AWK program above erroneously prepends '/' to C:/dos/paths
   11115   # for these hosts.
   11116   case $host_os in
   11117     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11118       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11119   esac
   11120   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11121 else
   11122   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11123 fi
   11124 library_names_spec=
   11125 libname_spec='lib$name'
   11126 soname_spec=
   11127 shrext_cmds=.so
   11128 postinstall_cmds=
   11129 postuninstall_cmds=
   11130 finish_cmds=
   11131 finish_eval=
   11132 shlibpath_var=
   11133 shlibpath_overrides_runpath=unknown
   11134 version_type=none
   11135 dynamic_linker="$host_os ld.so"
   11136 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11137 need_lib_prefix=unknown
   11138 hardcode_into_libs=no
   11139 
   11140 # when you set need_version to no, make sure it does not cause -set_version
   11141 # flags to be left without arguments
   11142 need_version=unknown
   11143 
   11144 
   11145 
   11146 case $host_os in
   11147 aix3*)
   11148   version_type=linux # correct to gnu/linux during the next big refactor
   11149   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11150   shlibpath_var=LIBPATH
   11151 
   11152   # AIX 3 has no versioning support, so we append a major version to the name.
   11153   soname_spec='$libname$release$shared_ext$major'
   11154   ;;
   11155 
   11156 aix[4-9]*)
   11157   version_type=linux # correct to gnu/linux during the next big refactor
   11158   need_lib_prefix=no
   11159   need_version=no
   11160   hardcode_into_libs=yes
   11161   if test ia64 = "$host_cpu"; then
   11162     # AIX 5 supports IA64
   11163     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11164     shlibpath_var=LD_LIBRARY_PATH
   11165   else
   11166     # With GCC up to 2.95.x, collect2 would create an import file
   11167     # for dependence libraries.  The import file would start with
   11168     # the line '#! .'.  This would cause the generated library to
   11169     # depend on '.', always an invalid library.  This was fixed in
   11170     # development snapshots of GCC prior to 3.0.
   11171     case $host_os in
   11172       aix4 | aix4.[01] | aix4.[01].*)
   11173       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11174 	   echo ' yes '
   11175 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11176 	:
   11177       else
   11178 	can_build_shared=no
   11179       fi
   11180       ;;
   11181     esac
   11182     # Using Import Files as archive members, it is possible to support
   11183     # filename-based versioning of shared library archives on AIX. While
   11184     # this would work for both with and without runtime linking, it will
   11185     # prevent static linking of such archives. So we do filename-based
   11186     # shared library versioning with .so extension only, which is used
   11187     # when both runtime linking and shared linking is enabled.
   11188     # Unfortunately, runtime linking may impact performance, so we do
   11189     # not want this to be the default eventually. Also, we use the
   11190     # versioned .so libs for executables only if there is the -brtl
   11191     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11192     # To allow for filename-based versioning support, we need to create
   11193     # libNAME.so.V as an archive file, containing:
   11194     # *) an Import File, referring to the versioned filename of the
   11195     #    archive as well as the shared archive member, telling the
   11196     #    bitwidth (32 or 64) of that shared object, and providing the
   11197     #    list of exported symbols of that shared object, eventually
   11198     #    decorated with the 'weak' keyword
   11199     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11200     #    it being seen by the linker.
   11201     # At run time we better use the real file rather than another symlink,
   11202     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11203 
   11204     case $with_aix_soname,$aix_use_runtimelinking in
   11205     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11206     # soname into executable. Probably we can add versioning support to
   11207     # collect2, so additional links can be useful in future.
   11208     aix,yes) # traditional libtool
   11209       dynamic_linker='AIX unversionable lib.so'
   11210       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11211       # instead of lib<name>.a to let people know that these are not
   11212       # typical AIX shared libraries.
   11213       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11214       ;;
   11215     aix,no) # traditional AIX only
   11216       dynamic_linker='AIX lib.a(lib.so.V)'
   11217       # We preserve .a as extension for shared libraries through AIX4.2
   11218       # and later when we are not doing run time linking.
   11219       library_names_spec='$libname$release.a $libname.a'
   11220       soname_spec='$libname$release$shared_ext$major'
   11221       ;;
   11222     svr4,*) # full svr4 only
   11223       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11224       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11225       # We do not specify a path in Import Files, so LIBPATH fires.
   11226       shlibpath_overrides_runpath=yes
   11227       ;;
   11228     *,yes) # both, prefer svr4
   11229       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11230       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11231       # unpreferred sharedlib libNAME.a needs extra handling
   11232       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"'
   11233       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"'
   11234       # We do not specify a path in Import Files, so LIBPATH fires.
   11235       shlibpath_overrides_runpath=yes
   11236       ;;
   11237     *,no) # both, prefer aix
   11238       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11239       library_names_spec='$libname$release.a $libname.a'
   11240       soname_spec='$libname$release$shared_ext$major'
   11241       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11242       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)'
   11243       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"'
   11244       ;;
   11245     esac
   11246     shlibpath_var=LIBPATH
   11247   fi
   11248   ;;
   11249 
   11250 amigaos*)
   11251   case $host_cpu in
   11252   powerpc)
   11253     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11254     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11255     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11256     ;;
   11257   m68k)
   11258     library_names_spec='$libname.ixlibrary $libname.a'
   11259     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11260     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'
   11261     ;;
   11262   esac
   11263   ;;
   11264 
   11265 beos*)
   11266   library_names_spec='$libname$shared_ext'
   11267   dynamic_linker="$host_os ld.so"
   11268   shlibpath_var=LIBRARY_PATH
   11269   ;;
   11270 
   11271 bsdi[45]*)
   11272   version_type=linux # correct to gnu/linux during the next big refactor
   11273   need_version=no
   11274   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11275   soname_spec='$libname$release$shared_ext$major'
   11276   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11277   shlibpath_var=LD_LIBRARY_PATH
   11278   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11279   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11280   # the default ld.so.conf also contains /usr/contrib/lib and
   11281   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11282   # libtool to hard-code these into programs
   11283   ;;
   11284 
   11285 cygwin* | mingw* | pw32* | cegcc*)
   11286   version_type=windows
   11287   shrext_cmds=.dll
   11288   need_version=no
   11289   need_lib_prefix=no
   11290 
   11291   case $GCC,$cc_basename in
   11292   yes,*)
   11293     # gcc
   11294     library_names_spec='$libname.dll.a'
   11295     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11296     postinstall_cmds='base_file=`basename \$file`~
   11297       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11298       dldir=$destdir/`dirname \$dlpath`~
   11299       test -d \$dldir || mkdir -p \$dldir~
   11300       $install_prog $dir/$dlname \$dldir/$dlname~
   11301       chmod a+x \$dldir/$dlname~
   11302       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11303         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11304       fi'
   11305     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11306       dlpath=$dir/\$dldll~
   11307        $RM \$dlpath'
   11308     shlibpath_overrides_runpath=yes
   11309 
   11310     case $host_os in
   11311     cygwin*)
   11312       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11313       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11314 
   11315       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11316       ;;
   11317     mingw* | cegcc*)
   11318       # MinGW DLLs use traditional 'lib' prefix
   11319       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11320       ;;
   11321     pw32*)
   11322       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11323       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11324       ;;
   11325     esac
   11326     dynamic_linker='Win32 ld.exe'
   11327     ;;
   11328 
   11329   *,cl* | *,icl*)
   11330     # Native MSVC or ICC
   11331     libname_spec='$name'
   11332     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11333     library_names_spec='$libname.dll.lib'
   11334 
   11335     case $build_os in
   11336     mingw*)
   11337       sys_lib_search_path_spec=
   11338       lt_save_ifs=$IFS
   11339       IFS=';'
   11340       for lt_path in $LIB
   11341       do
   11342         IFS=$lt_save_ifs
   11343         # Let DOS variable expansion print the short 8.3 style file name.
   11344         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11345         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11346       done
   11347       IFS=$lt_save_ifs
   11348       # Convert to MSYS style.
   11349       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11350       ;;
   11351     cygwin*)
   11352       # Convert to unix form, then to dos form, then back to unix form
   11353       # but this time dos style (no spaces!) so that the unix form looks
   11354       # like /cygdrive/c/PROGRA~1:/cygdr...
   11355       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11356       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11357       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11358       ;;
   11359     *)
   11360       sys_lib_search_path_spec=$LIB
   11361       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11362         # It is most probably a Windows format PATH.
   11363         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11364       else
   11365         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11366       fi
   11367       # FIXME: find the short name or the path components, as spaces are
   11368       # common. (e.g. "Program Files" -> "PROGRA~1")
   11369       ;;
   11370     esac
   11371 
   11372     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11373     postinstall_cmds='base_file=`basename \$file`~
   11374       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11375       dldir=$destdir/`dirname \$dlpath`~
   11376       test -d \$dldir || mkdir -p \$dldir~
   11377       $install_prog $dir/$dlname \$dldir/$dlname'
   11378     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11379       dlpath=$dir/\$dldll~
   11380        $RM \$dlpath'
   11381     shlibpath_overrides_runpath=yes
   11382     dynamic_linker='Win32 link.exe'
   11383     ;;
   11384 
   11385   *)
   11386     # Assume MSVC and ICC wrapper
   11387     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11388     dynamic_linker='Win32 ld.exe'
   11389     ;;
   11390   esac
   11391   # FIXME: first we should search . and the directory the executable is in
   11392   shlibpath_var=PATH
   11393   ;;
   11394 
   11395 darwin* | rhapsody*)
   11396   dynamic_linker="$host_os dyld"
   11397   version_type=darwin
   11398   need_lib_prefix=no
   11399   need_version=no
   11400   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11401   soname_spec='$libname$release$major$shared_ext'
   11402   shlibpath_overrides_runpath=yes
   11403   shlibpath_var=DYLD_LIBRARY_PATH
   11404   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11405 
   11406   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11407   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11408   ;;
   11409 
   11410 dgux*)
   11411   version_type=linux # correct to gnu/linux during the next big refactor
   11412   need_lib_prefix=no
   11413   need_version=no
   11414   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11415   soname_spec='$libname$release$shared_ext$major'
   11416   shlibpath_var=LD_LIBRARY_PATH
   11417   ;;
   11418 
   11419 freebsd* | dragonfly* | midnightbsd*)
   11420   # DragonFly does not have aout.  When/if they implement a new
   11421   # versioning mechanism, adjust this.
   11422   if test -x /usr/bin/objformat; then
   11423     objformat=`/usr/bin/objformat`
   11424   else
   11425     case $host_os in
   11426     freebsd[23].*) objformat=aout ;;
   11427     *) objformat=elf ;;
   11428     esac
   11429   fi
   11430   version_type=freebsd-$objformat
   11431   case $version_type in
   11432     freebsd-elf*)
   11433       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11434       soname_spec='$libname$release$shared_ext$major'
   11435       need_version=no
   11436       need_lib_prefix=no
   11437       ;;
   11438     freebsd-*)
   11439       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11440       need_version=yes
   11441       ;;
   11442   esac
   11443   shlibpath_var=LD_LIBRARY_PATH
   11444   case $host_os in
   11445   freebsd2.*)
   11446     shlibpath_overrides_runpath=yes
   11447     ;;
   11448   freebsd3.[01]* | freebsdelf3.[01]*)
   11449     shlibpath_overrides_runpath=yes
   11450     hardcode_into_libs=yes
   11451     ;;
   11452   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11453   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11454     shlibpath_overrides_runpath=no
   11455     hardcode_into_libs=yes
   11456     ;;
   11457   *) # from 4.6 on, and DragonFly
   11458     shlibpath_overrides_runpath=yes
   11459     hardcode_into_libs=yes
   11460     ;;
   11461   esac
   11462   ;;
   11463 
   11464 haiku*)
   11465   version_type=linux # correct to gnu/linux during the next big refactor
   11466   need_lib_prefix=no
   11467   need_version=no
   11468   dynamic_linker="$host_os runtime_loader"
   11469   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11470   soname_spec='$libname$release$shared_ext$major'
   11471   shlibpath_var=LIBRARY_PATH
   11472   shlibpath_overrides_runpath=no
   11473   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11474   hardcode_into_libs=yes
   11475   ;;
   11476 
   11477 hpux9* | hpux10* | hpux11*)
   11478   # Give a soname corresponding to the major version so that dld.sl refuses to
   11479   # link against other versions.
   11480   version_type=sunos
   11481   need_lib_prefix=no
   11482   need_version=no
   11483   case $host_cpu in
   11484   ia64*)
   11485     shrext_cmds='.so'
   11486     hardcode_into_libs=yes
   11487     dynamic_linker="$host_os dld.so"
   11488     shlibpath_var=LD_LIBRARY_PATH
   11489     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11490     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11491     soname_spec='$libname$release$shared_ext$major'
   11492     if test 32 = "$HPUX_IA64_MODE"; then
   11493       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11494       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11495     else
   11496       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11497       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11498     fi
   11499     ;;
   11500   hppa*64*)
   11501     shrext_cmds='.sl'
   11502     hardcode_into_libs=yes
   11503     dynamic_linker="$host_os dld.sl"
   11504     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11505     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11506     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11507     soname_spec='$libname$release$shared_ext$major'
   11508     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11509     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11510     ;;
   11511   *)
   11512     shrext_cmds='.sl'
   11513     dynamic_linker="$host_os dld.sl"
   11514     shlibpath_var=SHLIB_PATH
   11515     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11516     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11517     soname_spec='$libname$release$shared_ext$major'
   11518     ;;
   11519   esac
   11520   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11521   postinstall_cmds='chmod 555 $lib'
   11522   # or fails outright, so override atomically:
   11523   install_override_mode=555
   11524   ;;
   11525 
   11526 interix[3-9]*)
   11527   version_type=linux # correct to gnu/linux during the next big refactor
   11528   need_lib_prefix=no
   11529   need_version=no
   11530   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11531   soname_spec='$libname$release$shared_ext$major'
   11532   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11533   shlibpath_var=LD_LIBRARY_PATH
   11534   shlibpath_overrides_runpath=no
   11535   hardcode_into_libs=yes
   11536   ;;
   11537 
   11538 irix5* | irix6* | nonstopux*)
   11539   case $host_os in
   11540     nonstopux*) version_type=nonstopux ;;
   11541     *)
   11542 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11543 		version_type=linux # correct to gnu/linux during the next big refactor
   11544 	else
   11545 		version_type=irix
   11546 	fi ;;
   11547   esac
   11548   need_lib_prefix=no
   11549   need_version=no
   11550   soname_spec='$libname$release$shared_ext$major'
   11551   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11552   case $host_os in
   11553   irix5* | nonstopux*)
   11554     libsuff= shlibsuff=
   11555     ;;
   11556   *)
   11557     case $LD in # libtool.m4 will add one of these switches to LD
   11558     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11559       libsuff= shlibsuff= libmagic=32-bit;;
   11560     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11561       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11562     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11563       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11564     *) libsuff= shlibsuff= libmagic=never-match;;
   11565     esac
   11566     ;;
   11567   esac
   11568   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11569   shlibpath_overrides_runpath=no
   11570   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11571   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11572   hardcode_into_libs=yes
   11573   ;;
   11574 
   11575 # No shared lib support for Linux oldld, aout, or coff.
   11576 linux*oldld* | linux*aout* | linux*coff*)
   11577   dynamic_linker=no
   11578   ;;
   11579 
   11580 linux*android*)
   11581   version_type=none # Android doesn't support versioned libraries.
   11582   need_lib_prefix=no
   11583   need_version=no
   11584   library_names_spec='$libname$release$shared_ext'
   11585   soname_spec='$libname$release$shared_ext'
   11586   finish_cmds=
   11587   shlibpath_var=LD_LIBRARY_PATH
   11588   shlibpath_overrides_runpath=yes
   11589 
   11590   # This implies no fast_install, which is unacceptable.
   11591   # Some rework will be needed to allow for fast_install
   11592   # before this can be enabled.
   11593   hardcode_into_libs=yes
   11594 
   11595   dynamic_linker='Android linker'
   11596   # Don't embed -rpath directories since the linker doesn't support them.
   11597   hardcode_libdir_flag_spec='-L$libdir'
   11598   ;;
   11599 
   11600 # This must be glibc/ELF.
   11601 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11602   version_type=linux # correct to gnu/linux during the next big refactor
   11603   need_lib_prefix=no
   11604   need_version=no
   11605   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11606   soname_spec='$libname$release$shared_ext$major'
   11607   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11608   shlibpath_var=LD_LIBRARY_PATH
   11609   shlibpath_overrides_runpath=no
   11610 
   11611   # Some binutils ld are patched to set DT_RUNPATH
   11612   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11613 then :
   11614   printf %s "(cached) " >&6
   11615 else $as_nop
   11616   lt_cv_shlibpath_overrides_runpath=no
   11617     save_LDFLAGS=$LDFLAGS
   11618     save_libdir=$libdir
   11619     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11620 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11621     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11622 /* end confdefs.h.  */
   11623 
   11624 int
   11625 main (void)
   11626 {
   11627 
   11628   ;
   11629   return 0;
   11630 }
   11631 _ACEOF
   11632 if ac_fn_c_try_link "$LINENO"
   11633 then :
   11634   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11635 then :
   11636   lt_cv_shlibpath_overrides_runpath=yes
   11637 fi
   11638 fi
   11639 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11640     conftest$ac_exeext conftest.$ac_ext
   11641     LDFLAGS=$save_LDFLAGS
   11642     libdir=$save_libdir
   11643 
   11644 fi
   11645 
   11646   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11647 
   11648   # This implies no fast_install, which is unacceptable.
   11649   # Some rework will be needed to allow for fast_install
   11650   # before this can be enabled.
   11651   hardcode_into_libs=yes
   11652 
   11653   # Ideally, we could use ldconfig to report *all* directores which are
   11654   # searched for libraries, however this is still not possible.  Aside from not
   11655   # being certain /sbin/ldconfig is available, command
   11656   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11657   # even though it is searched at run-time.  Try to do the best guess by
   11658   # appending ld.so.conf contents (and includes) to the search path.
   11659   if test -f /etc/ld.so.conf; then
   11660     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' ' '`
   11661     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11662   fi
   11663 
   11664   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11665   # powerpc, because MkLinux only supported shared libraries with the
   11666   # GNU dynamic linker.  Since this was broken with cross compilers,
   11667   # most powerpc-linux boxes support dynamic linking these days and
   11668   # people can always --disable-shared, the test was removed, and we
   11669   # assume the GNU/Linux dynamic linker is in use.
   11670   dynamic_linker='GNU/Linux ld.so'
   11671   ;;
   11672 
   11673 netbsd*)
   11674   version_type=sunos
   11675   need_lib_prefix=no
   11676   need_version=no
   11677   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11678     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11679     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11680     dynamic_linker='NetBSD (a.out) ld.so'
   11681   else
   11682     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11683     soname_spec='$libname$release$shared_ext$major'
   11684     dynamic_linker='NetBSD ld.elf_so'
   11685   fi
   11686   shlibpath_var=LD_LIBRARY_PATH
   11687   shlibpath_overrides_runpath=yes
   11688   hardcode_into_libs=yes
   11689   ;;
   11690 
   11691 newsos6)
   11692   version_type=linux # correct to gnu/linux during the next big refactor
   11693   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11694   shlibpath_var=LD_LIBRARY_PATH
   11695   shlibpath_overrides_runpath=yes
   11696   ;;
   11697 
   11698 *nto* | *qnx*)
   11699   version_type=qnx
   11700   need_lib_prefix=no
   11701   need_version=no
   11702   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11703   soname_spec='$libname$release$shared_ext$major'
   11704   shlibpath_var=LD_LIBRARY_PATH
   11705   shlibpath_overrides_runpath=no
   11706   hardcode_into_libs=yes
   11707   dynamic_linker='ldqnx.so'
   11708   ;;
   11709 
   11710 openbsd* | bitrig*)
   11711   version_type=sunos
   11712   sys_lib_dlsearch_path_spec=/usr/lib
   11713   need_lib_prefix=no
   11714   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11715     need_version=no
   11716   else
   11717     need_version=yes
   11718   fi
   11719   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11720   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11721   shlibpath_var=LD_LIBRARY_PATH
   11722   shlibpath_overrides_runpath=yes
   11723   ;;
   11724 
   11725 os2*)
   11726   libname_spec='$name'
   11727   version_type=windows
   11728   shrext_cmds=.dll
   11729   need_version=no
   11730   need_lib_prefix=no
   11731   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11732   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11733     v=$($ECHO $release$versuffix | tr -d .-);
   11734     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11735     $ECHO $n$v`$shared_ext'
   11736   library_names_spec='${libname}_dll.$libext'
   11737   dynamic_linker='OS/2 ld.exe'
   11738   shlibpath_var=BEGINLIBPATH
   11739   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11740   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11741   postinstall_cmds='base_file=`basename \$file`~
   11742     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11743     dldir=$destdir/`dirname \$dlpath`~
   11744     test -d \$dldir || mkdir -p \$dldir~
   11745     $install_prog $dir/$dlname \$dldir/$dlname~
   11746     chmod a+x \$dldir/$dlname~
   11747     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11748       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11749     fi'
   11750   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11751     dlpath=$dir/\$dldll~
   11752     $RM \$dlpath'
   11753   ;;
   11754 
   11755 osf3* | osf4* | osf5*)
   11756   version_type=osf
   11757   need_lib_prefix=no
   11758   need_version=no
   11759   soname_spec='$libname$release$shared_ext$major'
   11760   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11761   shlibpath_var=LD_LIBRARY_PATH
   11762   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11763   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11764   ;;
   11765 
   11766 rdos*)
   11767   dynamic_linker=no
   11768   ;;
   11769 
   11770 solaris*)
   11771   version_type=linux # correct to gnu/linux during the next big refactor
   11772   need_lib_prefix=no
   11773   need_version=no
   11774   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11775   soname_spec='$libname$release$shared_ext$major'
   11776   shlibpath_var=LD_LIBRARY_PATH
   11777   shlibpath_overrides_runpath=yes
   11778   hardcode_into_libs=yes
   11779   # ldd complains unless libraries are executable
   11780   postinstall_cmds='chmod +x $lib'
   11781   ;;
   11782 
   11783 sunos4*)
   11784   version_type=sunos
   11785   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11786   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11787   shlibpath_var=LD_LIBRARY_PATH
   11788   shlibpath_overrides_runpath=yes
   11789   if test yes = "$with_gnu_ld"; then
   11790     need_lib_prefix=no
   11791   fi
   11792   need_version=yes
   11793   ;;
   11794 
   11795 sysv4 | sysv4.3*)
   11796   version_type=linux # correct to gnu/linux during the next big refactor
   11797   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11798   soname_spec='$libname$release$shared_ext$major'
   11799   shlibpath_var=LD_LIBRARY_PATH
   11800   case $host_vendor in
   11801     sni)
   11802       shlibpath_overrides_runpath=no
   11803       need_lib_prefix=no
   11804       runpath_var=LD_RUN_PATH
   11805       ;;
   11806     siemens)
   11807       need_lib_prefix=no
   11808       ;;
   11809     motorola)
   11810       need_lib_prefix=no
   11811       need_version=no
   11812       shlibpath_overrides_runpath=no
   11813       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11814       ;;
   11815   esac
   11816   ;;
   11817 
   11818 sysv4*MP*)
   11819   if test -d /usr/nec; then
   11820     version_type=linux # correct to gnu/linux during the next big refactor
   11821     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11822     soname_spec='$libname$shared_ext.$major'
   11823     shlibpath_var=LD_LIBRARY_PATH
   11824   fi
   11825   ;;
   11826 
   11827 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11828   version_type=sco
   11829   need_lib_prefix=no
   11830   need_version=no
   11831   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11832   soname_spec='$libname$release$shared_ext$major'
   11833   shlibpath_var=LD_LIBRARY_PATH
   11834   shlibpath_overrides_runpath=yes
   11835   hardcode_into_libs=yes
   11836   if test yes = "$with_gnu_ld"; then
   11837     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11838   else
   11839     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11840     case $host_os in
   11841       sco3.2v5*)
   11842         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11843 	;;
   11844     esac
   11845   fi
   11846   sys_lib_dlsearch_path_spec='/usr/lib'
   11847   ;;
   11848 
   11849 tpf*)
   11850   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11851   version_type=linux # correct to gnu/linux during the next big refactor
   11852   need_lib_prefix=no
   11853   need_version=no
   11854   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11855   shlibpath_var=LD_LIBRARY_PATH
   11856   shlibpath_overrides_runpath=no
   11857   hardcode_into_libs=yes
   11858   ;;
   11859 
   11860 uts4*)
   11861   version_type=linux # correct to gnu/linux during the next big refactor
   11862   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11863   soname_spec='$libname$release$shared_ext$major'
   11864   shlibpath_var=LD_LIBRARY_PATH
   11865   ;;
   11866 
   11867 *)
   11868   dynamic_linker=no
   11869   ;;
   11870 esac
   11871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11872 printf "%s\n" "$dynamic_linker" >&6; }
   11873 test no = "$dynamic_linker" && can_build_shared=no
   11874 
   11875 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11876 if test yes = "$GCC"; then
   11877   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11878 fi
   11879 
   11880 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11881   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11882 fi
   11883 
   11884 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11885   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11886 fi
   11887 
   11888 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11889 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11890 
   11891 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11892 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11893 
   11894 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11895 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11994 printf %s "checking how to hardcode library paths into programs... " >&6; }
   11995 hardcode_action=
   11996 if test -n "$hardcode_libdir_flag_spec" ||
   11997    test -n "$runpath_var" ||
   11998    test yes = "$hardcode_automatic"; then
   11999 
   12000   # We can hardcode non-existent directories.
   12001   if test no != "$hardcode_direct" &&
   12002      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12003      # have to relink, otherwise we might link with an installed library
   12004      # when we should be linking with a yet-to-be-installed one
   12005      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12006      test no != "$hardcode_minus_L"; then
   12007     # Linking always hardcodes the temporary library directory.
   12008     hardcode_action=relink
   12009   else
   12010     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12011     hardcode_action=immediate
   12012   fi
   12013 else
   12014   # We cannot hardcode anything, or else we can only hardcode existing
   12015   # directories.
   12016   hardcode_action=unsupported
   12017 fi
   12018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12019 printf "%s\n" "$hardcode_action" >&6; }
   12020 
   12021 if test relink = "$hardcode_action" ||
   12022    test yes = "$inherit_rpath"; then
   12023   # Fast installation is not supported
   12024   enable_fast_install=no
   12025 elif test yes = "$shlibpath_overrides_runpath" ||
   12026      test no = "$enable_shared"; then
   12027   # Fast installation is not necessary
   12028   enable_fast_install=needless
   12029 fi
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036   if test yes != "$enable_dlopen"; then
   12037   enable_dlopen=unknown
   12038   enable_dlopen_self=unknown
   12039   enable_dlopen_self_static=unknown
   12040 else
   12041   lt_cv_dlopen=no
   12042   lt_cv_dlopen_libs=
   12043 
   12044   case $host_os in
   12045   beos*)
   12046     lt_cv_dlopen=load_add_on
   12047     lt_cv_dlopen_libs=
   12048     lt_cv_dlopen_self=yes
   12049     ;;
   12050 
   12051   mingw* | pw32* | cegcc*)
   12052     lt_cv_dlopen=LoadLibrary
   12053     lt_cv_dlopen_libs=
   12054     ;;
   12055 
   12056   cygwin*)
   12057     lt_cv_dlopen=dlopen
   12058     lt_cv_dlopen_libs=
   12059     ;;
   12060 
   12061   darwin*)
   12062     # if libdl is installed we need to link against it
   12063     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12064 printf %s "checking for dlopen in -ldl... " >&6; }
   12065 if test ${ac_cv_lib_dl_dlopen+y}
   12066 then :
   12067   printf %s "(cached) " >&6
   12068 else $as_nop
   12069   ac_check_lib_save_LIBS=$LIBS
   12070 LIBS="-ldl  $LIBS"
   12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12072 /* end confdefs.h.  */
   12073 
   12074 /* Override any GCC internal prototype to avoid an error.
   12075    Use char because int might match the return type of a GCC
   12076    builtin and then its argument prototype would still apply.  */
   12077 char dlopen ();
   12078 int
   12079 main (void)
   12080 {
   12081 return dlopen ();
   12082   ;
   12083   return 0;
   12084 }
   12085 _ACEOF
   12086 if ac_fn_c_try_link "$LINENO"
   12087 then :
   12088   ac_cv_lib_dl_dlopen=yes
   12089 else $as_nop
   12090   ac_cv_lib_dl_dlopen=no
   12091 fi
   12092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12093     conftest$ac_exeext conftest.$ac_ext
   12094 LIBS=$ac_check_lib_save_LIBS
   12095 fi
   12096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12097 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12098 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12099 then :
   12100   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12101 else $as_nop
   12102 
   12103     lt_cv_dlopen=dyld
   12104     lt_cv_dlopen_libs=
   12105     lt_cv_dlopen_self=yes
   12106 
   12107 fi
   12108 
   12109     ;;
   12110 
   12111   tpf*)
   12112     # Don't try to run any link tests for TPF.  We know it's impossible
   12113     # because TPF is a cross-compiler, and we know how we open DSOs.
   12114     lt_cv_dlopen=dlopen
   12115     lt_cv_dlopen_libs=
   12116     lt_cv_dlopen_self=no
   12117     ;;
   12118 
   12119   *)
   12120     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12121 if test "x$ac_cv_func_shl_load" = xyes
   12122 then :
   12123   lt_cv_dlopen=shl_load
   12124 else $as_nop
   12125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12126 printf %s "checking for shl_load in -ldld... " >&6; }
   12127 if test ${ac_cv_lib_dld_shl_load+y}
   12128 then :
   12129   printf %s "(cached) " >&6
   12130 else $as_nop
   12131   ac_check_lib_save_LIBS=$LIBS
   12132 LIBS="-ldld  $LIBS"
   12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12134 /* end confdefs.h.  */
   12135 
   12136 /* Override any GCC internal prototype to avoid an error.
   12137    Use char because int might match the return type of a GCC
   12138    builtin and then its argument prototype would still apply.  */
   12139 char shl_load ();
   12140 int
   12141 main (void)
   12142 {
   12143 return shl_load ();
   12144   ;
   12145   return 0;
   12146 }
   12147 _ACEOF
   12148 if ac_fn_c_try_link "$LINENO"
   12149 then :
   12150   ac_cv_lib_dld_shl_load=yes
   12151 else $as_nop
   12152   ac_cv_lib_dld_shl_load=no
   12153 fi
   12154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12155     conftest$ac_exeext conftest.$ac_ext
   12156 LIBS=$ac_check_lib_save_LIBS
   12157 fi
   12158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12159 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12160 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12161 then :
   12162   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12163 else $as_nop
   12164   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12165 if test "x$ac_cv_func_dlopen" = xyes
   12166 then :
   12167   lt_cv_dlopen=dlopen
   12168 else $as_nop
   12169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12170 printf %s "checking for dlopen in -ldl... " >&6; }
   12171 if test ${ac_cv_lib_dl_dlopen+y}
   12172 then :
   12173   printf %s "(cached) " >&6
   12174 else $as_nop
   12175   ac_check_lib_save_LIBS=$LIBS
   12176 LIBS="-ldl  $LIBS"
   12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12178 /* end confdefs.h.  */
   12179 
   12180 /* Override any GCC internal prototype to avoid an error.
   12181    Use char because int might match the return type of a GCC
   12182    builtin and then its argument prototype would still apply.  */
   12183 char dlopen ();
   12184 int
   12185 main (void)
   12186 {
   12187 return dlopen ();
   12188   ;
   12189   return 0;
   12190 }
   12191 _ACEOF
   12192 if ac_fn_c_try_link "$LINENO"
   12193 then :
   12194   ac_cv_lib_dl_dlopen=yes
   12195 else $as_nop
   12196   ac_cv_lib_dl_dlopen=no
   12197 fi
   12198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12199     conftest$ac_exeext conftest.$ac_ext
   12200 LIBS=$ac_check_lib_save_LIBS
   12201 fi
   12202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12203 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12204 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12205 then :
   12206   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12207 else $as_nop
   12208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12209 printf %s "checking for dlopen in -lsvld... " >&6; }
   12210 if test ${ac_cv_lib_svld_dlopen+y}
   12211 then :
   12212   printf %s "(cached) " >&6
   12213 else $as_nop
   12214   ac_check_lib_save_LIBS=$LIBS
   12215 LIBS="-lsvld  $LIBS"
   12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12217 /* end confdefs.h.  */
   12218 
   12219 /* Override any GCC internal prototype to avoid an error.
   12220    Use char because int might match the return type of a GCC
   12221    builtin and then its argument prototype would still apply.  */
   12222 char dlopen ();
   12223 int
   12224 main (void)
   12225 {
   12226 return dlopen ();
   12227   ;
   12228   return 0;
   12229 }
   12230 _ACEOF
   12231 if ac_fn_c_try_link "$LINENO"
   12232 then :
   12233   ac_cv_lib_svld_dlopen=yes
   12234 else $as_nop
   12235   ac_cv_lib_svld_dlopen=no
   12236 fi
   12237 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12238     conftest$ac_exeext conftest.$ac_ext
   12239 LIBS=$ac_check_lib_save_LIBS
   12240 fi
   12241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12242 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12243 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12244 then :
   12245   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12246 else $as_nop
   12247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12248 printf %s "checking for dld_link in -ldld... " >&6; }
   12249 if test ${ac_cv_lib_dld_dld_link+y}
   12250 then :
   12251   printf %s "(cached) " >&6
   12252 else $as_nop
   12253   ac_check_lib_save_LIBS=$LIBS
   12254 LIBS="-ldld  $LIBS"
   12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12256 /* end confdefs.h.  */
   12257 
   12258 /* Override any GCC internal prototype to avoid an error.
   12259    Use char because int might match the return type of a GCC
   12260    builtin and then its argument prototype would still apply.  */
   12261 char dld_link ();
   12262 int
   12263 main (void)
   12264 {
   12265 return dld_link ();
   12266   ;
   12267   return 0;
   12268 }
   12269 _ACEOF
   12270 if ac_fn_c_try_link "$LINENO"
   12271 then :
   12272   ac_cv_lib_dld_dld_link=yes
   12273 else $as_nop
   12274   ac_cv_lib_dld_dld_link=no
   12275 fi
   12276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12277     conftest$ac_exeext conftest.$ac_ext
   12278 LIBS=$ac_check_lib_save_LIBS
   12279 fi
   12280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12281 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12282 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12283 then :
   12284   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12285 fi
   12286 
   12287 
   12288 fi
   12289 
   12290 
   12291 fi
   12292 
   12293 
   12294 fi
   12295 
   12296 
   12297 fi
   12298 
   12299 
   12300 fi
   12301 
   12302     ;;
   12303   esac
   12304 
   12305   if test no = "$lt_cv_dlopen"; then
   12306     enable_dlopen=no
   12307   else
   12308     enable_dlopen=yes
   12309   fi
   12310 
   12311   case $lt_cv_dlopen in
   12312   dlopen)
   12313     save_CPPFLAGS=$CPPFLAGS
   12314     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12315 
   12316     save_LDFLAGS=$LDFLAGS
   12317     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12318 
   12319     save_LIBS=$LIBS
   12320     LIBS="$lt_cv_dlopen_libs $LIBS"
   12321 
   12322     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12323 printf %s "checking whether a program can dlopen itself... " >&6; }
   12324 if test ${lt_cv_dlopen_self+y}
   12325 then :
   12326   printf %s "(cached) " >&6
   12327 else $as_nop
   12328   	  if test yes = "$cross_compiling"; then :
   12329   lt_cv_dlopen_self=cross
   12330 else
   12331   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12332   lt_status=$lt_dlunknown
   12333   cat > conftest.$ac_ext <<_LT_EOF
   12334 #line $LINENO "configure"
   12335 #include "confdefs.h"
   12336 
   12337 #if HAVE_DLFCN_H
   12338 #include <dlfcn.h>
   12339 #endif
   12340 
   12341 #include <stdio.h>
   12342 
   12343 #ifdef RTLD_GLOBAL
   12344 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12345 #else
   12346 #  ifdef DL_GLOBAL
   12347 #    define LT_DLGLOBAL		DL_GLOBAL
   12348 #  else
   12349 #    define LT_DLGLOBAL		0
   12350 #  endif
   12351 #endif
   12352 
   12353 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12354    find out it does not work in some platform. */
   12355 #ifndef LT_DLLAZY_OR_NOW
   12356 #  ifdef RTLD_LAZY
   12357 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12358 #  else
   12359 #    ifdef DL_LAZY
   12360 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12361 #    else
   12362 #      ifdef RTLD_NOW
   12363 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12364 #      else
   12365 #        ifdef DL_NOW
   12366 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12367 #        else
   12368 #          define LT_DLLAZY_OR_NOW	0
   12369 #        endif
   12370 #      endif
   12371 #    endif
   12372 #  endif
   12373 #endif
   12374 
   12375 /* When -fvisibility=hidden is used, assume the code has been annotated
   12376    correspondingly for the symbols needed.  */
   12377 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12378 int fnord () __attribute__((visibility("default")));
   12379 #endif
   12380 
   12381 int fnord () { return 42; }
   12382 int main ()
   12383 {
   12384   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12385   int status = $lt_dlunknown;
   12386 
   12387   if (self)
   12388     {
   12389       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12390       else
   12391         {
   12392 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12393           else puts (dlerror ());
   12394 	}
   12395       /* dlclose (self); */
   12396     }
   12397   else
   12398     puts (dlerror ());
   12399 
   12400   return status;
   12401 }
   12402 _LT_EOF
   12403   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12404   (eval $ac_link) 2>&5
   12405   ac_status=$?
   12406   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12407   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12408     (./conftest; exit; ) >&5 2>/dev/null
   12409     lt_status=$?
   12410     case x$lt_status in
   12411       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12412       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12413       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12414     esac
   12415   else :
   12416     # compilation failed
   12417     lt_cv_dlopen_self=no
   12418   fi
   12419 fi
   12420 rm -fr conftest*
   12421 
   12422 
   12423 fi
   12424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12425 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12426 
   12427     if test yes = "$lt_cv_dlopen_self"; then
   12428       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12429       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12430 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12431 if test ${lt_cv_dlopen_self_static+y}
   12432 then :
   12433   printf %s "(cached) " >&6
   12434 else $as_nop
   12435   	  if test yes = "$cross_compiling"; then :
   12436   lt_cv_dlopen_self_static=cross
   12437 else
   12438   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12439   lt_status=$lt_dlunknown
   12440   cat > conftest.$ac_ext <<_LT_EOF
   12441 #line $LINENO "configure"
   12442 #include "confdefs.h"
   12443 
   12444 #if HAVE_DLFCN_H
   12445 #include <dlfcn.h>
   12446 #endif
   12447 
   12448 #include <stdio.h>
   12449 
   12450 #ifdef RTLD_GLOBAL
   12451 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12452 #else
   12453 #  ifdef DL_GLOBAL
   12454 #    define LT_DLGLOBAL		DL_GLOBAL
   12455 #  else
   12456 #    define LT_DLGLOBAL		0
   12457 #  endif
   12458 #endif
   12459 
   12460 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12461    find out it does not work in some platform. */
   12462 #ifndef LT_DLLAZY_OR_NOW
   12463 #  ifdef RTLD_LAZY
   12464 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12465 #  else
   12466 #    ifdef DL_LAZY
   12467 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12468 #    else
   12469 #      ifdef RTLD_NOW
   12470 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12471 #      else
   12472 #        ifdef DL_NOW
   12473 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12474 #        else
   12475 #          define LT_DLLAZY_OR_NOW	0
   12476 #        endif
   12477 #      endif
   12478 #    endif
   12479 #  endif
   12480 #endif
   12481 
   12482 /* When -fvisibility=hidden is used, assume the code has been annotated
   12483    correspondingly for the symbols needed.  */
   12484 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12485 int fnord () __attribute__((visibility("default")));
   12486 #endif
   12487 
   12488 int fnord () { return 42; }
   12489 int main ()
   12490 {
   12491   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12492   int status = $lt_dlunknown;
   12493 
   12494   if (self)
   12495     {
   12496       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12497       else
   12498         {
   12499 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12500           else puts (dlerror ());
   12501 	}
   12502       /* dlclose (self); */
   12503     }
   12504   else
   12505     puts (dlerror ());
   12506 
   12507   return status;
   12508 }
   12509 _LT_EOF
   12510   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12511   (eval $ac_link) 2>&5
   12512   ac_status=$?
   12513   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12514   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12515     (./conftest; exit; ) >&5 2>/dev/null
   12516     lt_status=$?
   12517     case x$lt_status in
   12518       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12519       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12520       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12521     esac
   12522   else :
   12523     # compilation failed
   12524     lt_cv_dlopen_self_static=no
   12525   fi
   12526 fi
   12527 rm -fr conftest*
   12528 
   12529 
   12530 fi
   12531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12532 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12533     fi
   12534 
   12535     CPPFLAGS=$save_CPPFLAGS
   12536     LDFLAGS=$save_LDFLAGS
   12537     LIBS=$save_LIBS
   12538     ;;
   12539   esac
   12540 
   12541   case $lt_cv_dlopen_self in
   12542   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12543   *) enable_dlopen_self=unknown ;;
   12544   esac
   12545 
   12546   case $lt_cv_dlopen_self_static in
   12547   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12548   *) enable_dlopen_self_static=unknown ;;
   12549   esac
   12550 fi
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 striplib=
   12569 old_striplib=
   12570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12571 printf %s "checking whether stripping libraries is possible... " >&6; }
   12572 if test -z "$STRIP"; then
   12573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12574 printf "%s\n" "no" >&6; }
   12575 else
   12576   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12577     old_striplib="$STRIP --strip-debug"
   12578     striplib="$STRIP --strip-unneeded"
   12579     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12580 printf "%s\n" "yes" >&6; }
   12581   else
   12582     case $host_os in
   12583     darwin*)
   12584       # FIXME - insert some real tests, host_os isn't really good enough
   12585       striplib="$STRIP -x"
   12586       old_striplib="$STRIP -S"
   12587       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12588 printf "%s\n" "yes" >&6; }
   12589       ;;
   12590     freebsd*)
   12591       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12592         old_striplib="$STRIP --strip-debug"
   12593         striplib="$STRIP --strip-unneeded"
   12594         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12595 printf "%s\n" "yes" >&6; }
   12596       else
   12597         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12598 printf "%s\n" "no" >&6; }
   12599       fi
   12600       ;;
   12601     *)
   12602       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12603 printf "%s\n" "no" >&6; }
   12604       ;;
   12605     esac
   12606   fi
   12607 fi
   12608 
   12609 
   12610 
   12611 
   12612 
   12613 
   12614 
   12615 
   12616 
   12617 
   12618 
   12619 
   12620   # Report what library types will actually be built
   12621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12622 printf %s "checking if libtool supports shared libraries... " >&6; }
   12623   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12624 printf "%s\n" "$can_build_shared" >&6; }
   12625 
   12626   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12627 printf %s "checking whether to build shared libraries... " >&6; }
   12628   test no = "$can_build_shared" && enable_shared=no
   12629 
   12630   # On AIX, shared libraries and static libraries use the same namespace, and
   12631   # are all built from PIC.
   12632   case $host_os in
   12633   aix3*)
   12634     test yes = "$enable_shared" && enable_static=no
   12635     if test -n "$RANLIB"; then
   12636       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12637       postinstall_cmds='$RANLIB $lib'
   12638     fi
   12639     ;;
   12640 
   12641   aix[4-9]*)
   12642     if test ia64 != "$host_cpu"; then
   12643       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12644       yes,aix,yes) ;;			# shared object as lib.so file only
   12645       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12646       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12647       esac
   12648     fi
   12649     ;;
   12650   esac
   12651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12652 printf "%s\n" "$enable_shared" >&6; }
   12653 
   12654   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12655 printf %s "checking whether to build static libraries... " >&6; }
   12656   # Make sure either enable_shared or enable_static is yes.
   12657   test yes = "$enable_shared" || enable_static=yes
   12658   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12659 printf "%s\n" "$enable_static" >&6; }
   12660 
   12661 
   12662 
   12663 
   12664 fi
   12665 ac_ext=c
   12666 ac_cpp='$CPP $CPPFLAGS'
   12667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12670 
   12671 CC=$lt_save_CC
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687         ac_config_commands="$ac_config_commands libtool"
   12688 
   12689 
   12690 
   12691 
   12692 # Only expand once:
   12693 
   12694 
   12695 
   12696 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12709 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12710 if test ${ac_cv_c_undeclared_builtin_options+y}
   12711 then :
   12712   printf %s "(cached) " >&6
   12713 else $as_nop
   12714   ac_save_CFLAGS=$CFLAGS
   12715    ac_cv_c_undeclared_builtin_options='cannot detect'
   12716    for ac_arg in '' -fno-builtin; do
   12717      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12718      # This test program should *not* compile successfully.
   12719      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12720 /* end confdefs.h.  */
   12721 
   12722 int
   12723 main (void)
   12724 {
   12725 (void) strchr;
   12726   ;
   12727   return 0;
   12728 }
   12729 _ACEOF
   12730 if ac_fn_c_try_compile "$LINENO"
   12731 then :
   12732 
   12733 else $as_nop
   12734   # This test program should compile successfully.
   12735         # No library function is consistently available on
   12736         # freestanding implementations, so test against a dummy
   12737         # declaration.  Include always-available headers on the
   12738         # off chance that they somehow elicit warnings.
   12739         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12740 /* end confdefs.h.  */
   12741 #include <float.h>
   12742 #include <limits.h>
   12743 #include <stdarg.h>
   12744 #include <stddef.h>
   12745 extern void ac_decl (int, char *);
   12746 
   12747 int
   12748 main (void)
   12749 {
   12750 (void) ac_decl (0, (char *) 0);
   12751   (void) ac_decl;
   12752 
   12753   ;
   12754   return 0;
   12755 }
   12756 _ACEOF
   12757 if ac_fn_c_try_compile "$LINENO"
   12758 then :
   12759   if test x"$ac_arg" = x
   12760 then :
   12761   ac_cv_c_undeclared_builtin_options='none needed'
   12762 else $as_nop
   12763   ac_cv_c_undeclared_builtin_options=$ac_arg
   12764 fi
   12765           break
   12766 fi
   12767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12768 fi
   12769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12770     done
   12771     CFLAGS=$ac_save_CFLAGS
   12772 
   12773 fi
   12774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12775 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12776   case $ac_cv_c_undeclared_builtin_options in #(
   12777   'cannot detect') :
   12778     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12779 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12780 as_fn_error $? "cannot make $CC report undeclared builtins
   12781 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12782   'none needed') :
   12783     ac_c_undeclared_builtin_options='' ;; #(
   12784   *) :
   12785     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12786 esac
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12793 if test "x$ac_cv_have_decl___clang__" = xyes
   12794 then :
   12795   CLANGCC="yes"
   12796 else $as_nop
   12797   CLANGCC="no"
   12798 fi
   12799 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12800 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12801 then :
   12802   INTELCC="yes"
   12803 else $as_nop
   12804   INTELCC="no"
   12805 fi
   12806 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12807 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12808 then :
   12809   SUNCC="yes"
   12810 else $as_nop
   12811   SUNCC="no"
   12812 fi
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12822 	if test -n "$ac_tool_prefix"; then
   12823   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12824 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12826 printf %s "checking for $ac_word... " >&6; }
   12827 if test ${ac_cv_path_PKG_CONFIG+y}
   12828 then :
   12829   printf %s "(cached) " >&6
   12830 else $as_nop
   12831   case $PKG_CONFIG in
   12832   [\\/]* | ?:[\\/]*)
   12833   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12834   ;;
   12835   *)
   12836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12837 for as_dir in $PATH
   12838 do
   12839   IFS=$as_save_IFS
   12840   case $as_dir in #(((
   12841     '') as_dir=./ ;;
   12842     */) ;;
   12843     *) as_dir=$as_dir/ ;;
   12844   esac
   12845     for ac_exec_ext in '' $ac_executable_extensions; do
   12846   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12847     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12848     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12849     break 2
   12850   fi
   12851 done
   12852   done
   12853 IFS=$as_save_IFS
   12854 
   12855   ;;
   12856 esac
   12857 fi
   12858 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12859 if test -n "$PKG_CONFIG"; then
   12860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12861 printf "%s\n" "$PKG_CONFIG" >&6; }
   12862 else
   12863   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12864 printf "%s\n" "no" >&6; }
   12865 fi
   12866 
   12867 
   12868 fi
   12869 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12870   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12871   # Extract the first word of "pkg-config", so it can be a program name with args.
   12872 set dummy pkg-config; ac_word=$2
   12873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12874 printf %s "checking for $ac_word... " >&6; }
   12875 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12876 then :
   12877   printf %s "(cached) " >&6
   12878 else $as_nop
   12879   case $ac_pt_PKG_CONFIG in
   12880   [\\/]* | ?:[\\/]*)
   12881   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12882   ;;
   12883   *)
   12884   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12885 for as_dir in $PATH
   12886 do
   12887   IFS=$as_save_IFS
   12888   case $as_dir in #(((
   12889     '') as_dir=./ ;;
   12890     */) ;;
   12891     *) as_dir=$as_dir/ ;;
   12892   esac
   12893     for ac_exec_ext in '' $ac_executable_extensions; do
   12894   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12895     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12896     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12897     break 2
   12898   fi
   12899 done
   12900   done
   12901 IFS=$as_save_IFS
   12902 
   12903   ;;
   12904 esac
   12905 fi
   12906 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12907 if test -n "$ac_pt_PKG_CONFIG"; then
   12908   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12909 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12910 else
   12911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12912 printf "%s\n" "no" >&6; }
   12913 fi
   12914 
   12915   if test "x$ac_pt_PKG_CONFIG" = x; then
   12916     PKG_CONFIG=""
   12917   else
   12918     case $cross_compiling:$ac_tool_warned in
   12919 yes:)
   12920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12921 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12922 ac_tool_warned=yes ;;
   12923 esac
   12924     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12925   fi
   12926 else
   12927   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12928 fi
   12929 
   12930 fi
   12931 if test -n "$PKG_CONFIG"; then
   12932 	_pkg_min_version=0.9.0
   12933 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12934 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12935 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12937 printf "%s\n" "yes" >&6; }
   12938 	else
   12939 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12940 printf "%s\n" "no" >&6; }
   12941 		PKG_CONFIG=""
   12942 	fi
   12943 fi
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 # Check whether --enable-selective-werror was given.
   12950 if test ${enable_selective_werror+y}
   12951 then :
   12952   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12953 else $as_nop
   12954   SELECTIVE_WERROR=yes
   12955 fi
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12962 if test "x$SUNCC" = "xyes"; then
   12963     BASE_CFLAGS="-v"
   12964 else
   12965     BASE_CFLAGS=""
   12966 fi
   12967 
   12968 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 xorg_testset_save_CFLAGS="$CFLAGS"
   12983 
   12984 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12986 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12987 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12988 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12989 then :
   12990   printf %s "(cached) " >&6
   12991 else $as_nop
   12992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12993 /* end confdefs.h.  */
   12994 int i;
   12995 _ACEOF
   12996 if ac_fn_c_try_compile "$LINENO"
   12997 then :
   12998   xorg_cv_cc_flag_unknown_warning_option=yes
   12999 else $as_nop
   13000   xorg_cv_cc_flag_unknown_warning_option=no
   13001 fi
   13002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13003 fi
   13004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13005 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13006 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13007 	CFLAGS="$xorg_testset_save_CFLAGS"
   13008 fi
   13009 
   13010 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13011 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13012 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13013 	fi
   13014 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13015 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13016 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13017 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13018 then :
   13019   printf %s "(cached) " >&6
   13020 else $as_nop
   13021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13022 /* end confdefs.h.  */
   13023 int i;
   13024 _ACEOF
   13025 if ac_fn_c_try_compile "$LINENO"
   13026 then :
   13027   xorg_cv_cc_flag_unused_command_line_argument=yes
   13028 else $as_nop
   13029   xorg_cv_cc_flag_unused_command_line_argument=no
   13030 fi
   13031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13032 fi
   13033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13034 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13035 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13036 	CFLAGS="$xorg_testset_save_CFLAGS"
   13037 fi
   13038 
   13039 found="no"
   13040 
   13041 	if test $found = "no" ; then
   13042 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13044 		fi
   13045 
   13046 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13048 		fi
   13049 
   13050 		CFLAGS="$CFLAGS -Wall"
   13051 
   13052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13053 printf %s "checking if $CC supports -Wall... " >&6; }
   13054 		cacheid=xorg_cv_cc_flag__Wall
   13055 		if eval test \${$cacheid+y}
   13056 then :
   13057   printf %s "(cached) " >&6
   13058 else $as_nop
   13059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13060 /* end confdefs.h.  */
   13061 int i;
   13062 int
   13063 main (void)
   13064 {
   13065 
   13066   ;
   13067   return 0;
   13068 }
   13069 _ACEOF
   13070 if ac_fn_c_try_link "$LINENO"
   13071 then :
   13072   eval $cacheid=yes
   13073 else $as_nop
   13074   eval $cacheid=no
   13075 fi
   13076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13077     conftest$ac_exeext conftest.$ac_ext
   13078 fi
   13079 
   13080 
   13081 		CFLAGS="$xorg_testset_save_CFLAGS"
   13082 
   13083 		eval supported=\$$cacheid
   13084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13085 printf "%s\n" "$supported" >&6; }
   13086 		if test "$supported" = "yes" ; then
   13087 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13088 			found="yes"
   13089 		fi
   13090 	fi
   13091 
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 xorg_testset_save_CFLAGS="$CFLAGS"
   13107 
   13108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13110 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13111 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13112 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13113 then :
   13114   printf %s "(cached) " >&6
   13115 else $as_nop
   13116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13117 /* end confdefs.h.  */
   13118 int i;
   13119 _ACEOF
   13120 if ac_fn_c_try_compile "$LINENO"
   13121 then :
   13122   xorg_cv_cc_flag_unknown_warning_option=yes
   13123 else $as_nop
   13124   xorg_cv_cc_flag_unknown_warning_option=no
   13125 fi
   13126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13127 fi
   13128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13129 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13130 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13131 	CFLAGS="$xorg_testset_save_CFLAGS"
   13132 fi
   13133 
   13134 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13135 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13136 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13137 	fi
   13138 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13139 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13140 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13141 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13142 then :
   13143   printf %s "(cached) " >&6
   13144 else $as_nop
   13145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13146 /* end confdefs.h.  */
   13147 int i;
   13148 _ACEOF
   13149 if ac_fn_c_try_compile "$LINENO"
   13150 then :
   13151   xorg_cv_cc_flag_unused_command_line_argument=yes
   13152 else $as_nop
   13153   xorg_cv_cc_flag_unused_command_line_argument=no
   13154 fi
   13155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13156 fi
   13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13158 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13159 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13160 	CFLAGS="$xorg_testset_save_CFLAGS"
   13161 fi
   13162 
   13163 found="no"
   13164 
   13165 	if test $found = "no" ; then
   13166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13168 		fi
   13169 
   13170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13172 		fi
   13173 
   13174 		CFLAGS="$CFLAGS -Wpointer-arith"
   13175 
   13176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13177 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13178 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13179 		if eval test \${$cacheid+y}
   13180 then :
   13181   printf %s "(cached) " >&6
   13182 else $as_nop
   13183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13184 /* end confdefs.h.  */
   13185 int i;
   13186 int
   13187 main (void)
   13188 {
   13189 
   13190   ;
   13191   return 0;
   13192 }
   13193 _ACEOF
   13194 if ac_fn_c_try_link "$LINENO"
   13195 then :
   13196   eval $cacheid=yes
   13197 else $as_nop
   13198   eval $cacheid=no
   13199 fi
   13200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13201     conftest$ac_exeext conftest.$ac_ext
   13202 fi
   13203 
   13204 
   13205 		CFLAGS="$xorg_testset_save_CFLAGS"
   13206 
   13207 		eval supported=\$$cacheid
   13208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13209 printf "%s\n" "$supported" >&6; }
   13210 		if test "$supported" = "yes" ; then
   13211 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13212 			found="yes"
   13213 		fi
   13214 	fi
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 xorg_testset_save_CFLAGS="$CFLAGS"
   13231 
   13232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13234 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13235 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13236 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13237 then :
   13238   printf %s "(cached) " >&6
   13239 else $as_nop
   13240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13241 /* end confdefs.h.  */
   13242 int i;
   13243 _ACEOF
   13244 if ac_fn_c_try_compile "$LINENO"
   13245 then :
   13246   xorg_cv_cc_flag_unknown_warning_option=yes
   13247 else $as_nop
   13248   xorg_cv_cc_flag_unknown_warning_option=no
   13249 fi
   13250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13251 fi
   13252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13253 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13254 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13255 	CFLAGS="$xorg_testset_save_CFLAGS"
   13256 fi
   13257 
   13258 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13259 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13260 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13261 	fi
   13262 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13263 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13264 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13265 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13266 then :
   13267   printf %s "(cached) " >&6
   13268 else $as_nop
   13269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13270 /* end confdefs.h.  */
   13271 int i;
   13272 _ACEOF
   13273 if ac_fn_c_try_compile "$LINENO"
   13274 then :
   13275   xorg_cv_cc_flag_unused_command_line_argument=yes
   13276 else $as_nop
   13277   xorg_cv_cc_flag_unused_command_line_argument=no
   13278 fi
   13279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13280 fi
   13281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13282 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13284 	CFLAGS="$xorg_testset_save_CFLAGS"
   13285 fi
   13286 
   13287 found="no"
   13288 
   13289 	if test $found = "no" ; then
   13290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13292 		fi
   13293 
   13294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13296 		fi
   13297 
   13298 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13299 
   13300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13301 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13302 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13303 		if eval test \${$cacheid+y}
   13304 then :
   13305   printf %s "(cached) " >&6
   13306 else $as_nop
   13307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13308 /* end confdefs.h.  */
   13309 int i;
   13310 int
   13311 main (void)
   13312 {
   13313 
   13314   ;
   13315   return 0;
   13316 }
   13317 _ACEOF
   13318 if ac_fn_c_try_link "$LINENO"
   13319 then :
   13320   eval $cacheid=yes
   13321 else $as_nop
   13322   eval $cacheid=no
   13323 fi
   13324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13325     conftest$ac_exeext conftest.$ac_ext
   13326 fi
   13327 
   13328 
   13329 		CFLAGS="$xorg_testset_save_CFLAGS"
   13330 
   13331 		eval supported=\$$cacheid
   13332 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13333 printf "%s\n" "$supported" >&6; }
   13334 		if test "$supported" = "yes" ; then
   13335 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13336 			found="yes"
   13337 		fi
   13338 	fi
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 xorg_testset_save_CFLAGS="$CFLAGS"
   13355 
   13356 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13357 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13358 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13359 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13360 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13361 then :
   13362   printf %s "(cached) " >&6
   13363 else $as_nop
   13364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13365 /* end confdefs.h.  */
   13366 int i;
   13367 _ACEOF
   13368 if ac_fn_c_try_compile "$LINENO"
   13369 then :
   13370   xorg_cv_cc_flag_unknown_warning_option=yes
   13371 else $as_nop
   13372   xorg_cv_cc_flag_unknown_warning_option=no
   13373 fi
   13374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13375 fi
   13376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13377 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13378 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13379 	CFLAGS="$xorg_testset_save_CFLAGS"
   13380 fi
   13381 
   13382 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13383 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13384 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13385 	fi
   13386 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13387 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13388 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13389 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13390 then :
   13391   printf %s "(cached) " >&6
   13392 else $as_nop
   13393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13394 /* end confdefs.h.  */
   13395 int i;
   13396 _ACEOF
   13397 if ac_fn_c_try_compile "$LINENO"
   13398 then :
   13399   xorg_cv_cc_flag_unused_command_line_argument=yes
   13400 else $as_nop
   13401   xorg_cv_cc_flag_unused_command_line_argument=no
   13402 fi
   13403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13404 fi
   13405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13406 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13407 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13408 	CFLAGS="$xorg_testset_save_CFLAGS"
   13409 fi
   13410 
   13411 found="no"
   13412 
   13413 	if test $found = "no" ; then
   13414 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13416 		fi
   13417 
   13418 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13420 		fi
   13421 
   13422 		CFLAGS="$CFLAGS -Wformat=2"
   13423 
   13424 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13425 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13426 		cacheid=xorg_cv_cc_flag__Wformat_2
   13427 		if eval test \${$cacheid+y}
   13428 then :
   13429   printf %s "(cached) " >&6
   13430 else $as_nop
   13431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13432 /* end confdefs.h.  */
   13433 int i;
   13434 int
   13435 main (void)
   13436 {
   13437 
   13438   ;
   13439   return 0;
   13440 }
   13441 _ACEOF
   13442 if ac_fn_c_try_link "$LINENO"
   13443 then :
   13444   eval $cacheid=yes
   13445 else $as_nop
   13446   eval $cacheid=no
   13447 fi
   13448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13449     conftest$ac_exeext conftest.$ac_ext
   13450 fi
   13451 
   13452 
   13453 		CFLAGS="$xorg_testset_save_CFLAGS"
   13454 
   13455 		eval supported=\$$cacheid
   13456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13457 printf "%s\n" "$supported" >&6; }
   13458 		if test "$supported" = "yes" ; then
   13459 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13460 			found="yes"
   13461 		fi
   13462 	fi
   13463 
   13464 	if test $found = "no" ; then
   13465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13467 		fi
   13468 
   13469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13471 		fi
   13472 
   13473 		CFLAGS="$CFLAGS -Wformat"
   13474 
   13475 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13476 printf %s "checking if $CC supports -Wformat... " >&6; }
   13477 		cacheid=xorg_cv_cc_flag__Wformat
   13478 		if eval test \${$cacheid+y}
   13479 then :
   13480   printf %s "(cached) " >&6
   13481 else $as_nop
   13482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13483 /* end confdefs.h.  */
   13484 int i;
   13485 int
   13486 main (void)
   13487 {
   13488 
   13489   ;
   13490   return 0;
   13491 }
   13492 _ACEOF
   13493 if ac_fn_c_try_link "$LINENO"
   13494 then :
   13495   eval $cacheid=yes
   13496 else $as_nop
   13497   eval $cacheid=no
   13498 fi
   13499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13500     conftest$ac_exeext conftest.$ac_ext
   13501 fi
   13502 
   13503 
   13504 		CFLAGS="$xorg_testset_save_CFLAGS"
   13505 
   13506 		eval supported=\$$cacheid
   13507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13508 printf "%s\n" "$supported" >&6; }
   13509 		if test "$supported" = "yes" ; then
   13510 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13511 			found="yes"
   13512 		fi
   13513 	fi
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 xorg_testset_save_CFLAGS="$CFLAGS"
   13532 
   13533 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13534 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13535 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13536 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13537 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13538 then :
   13539   printf %s "(cached) " >&6
   13540 else $as_nop
   13541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13542 /* end confdefs.h.  */
   13543 int i;
   13544 _ACEOF
   13545 if ac_fn_c_try_compile "$LINENO"
   13546 then :
   13547   xorg_cv_cc_flag_unknown_warning_option=yes
   13548 else $as_nop
   13549   xorg_cv_cc_flag_unknown_warning_option=no
   13550 fi
   13551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13552 fi
   13553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13554 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13556 	CFLAGS="$xorg_testset_save_CFLAGS"
   13557 fi
   13558 
   13559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13562 	fi
   13563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13564 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13565 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13566 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13567 then :
   13568   printf %s "(cached) " >&6
   13569 else $as_nop
   13570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13571 /* end confdefs.h.  */
   13572 int i;
   13573 _ACEOF
   13574 if ac_fn_c_try_compile "$LINENO"
   13575 then :
   13576   xorg_cv_cc_flag_unused_command_line_argument=yes
   13577 else $as_nop
   13578   xorg_cv_cc_flag_unused_command_line_argument=no
   13579 fi
   13580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13581 fi
   13582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13583 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13585 	CFLAGS="$xorg_testset_save_CFLAGS"
   13586 fi
   13587 
   13588 found="no"
   13589 
   13590 	if test $found = "no" ; then
   13591 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13593 		fi
   13594 
   13595 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13597 		fi
   13598 
   13599 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13600 
   13601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13602 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13603 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13604 		if eval test \${$cacheid+y}
   13605 then :
   13606   printf %s "(cached) " >&6
   13607 else $as_nop
   13608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13609 /* end confdefs.h.  */
   13610 int i;
   13611 int
   13612 main (void)
   13613 {
   13614 
   13615   ;
   13616   return 0;
   13617 }
   13618 _ACEOF
   13619 if ac_fn_c_try_link "$LINENO"
   13620 then :
   13621   eval $cacheid=yes
   13622 else $as_nop
   13623   eval $cacheid=no
   13624 fi
   13625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13626     conftest$ac_exeext conftest.$ac_ext
   13627 fi
   13628 
   13629 
   13630 		CFLAGS="$xorg_testset_save_CFLAGS"
   13631 
   13632 		eval supported=\$$cacheid
   13633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13634 printf "%s\n" "$supported" >&6; }
   13635 		if test "$supported" = "yes" ; then
   13636 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13637 			found="yes"
   13638 		fi
   13639 	fi
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 xorg_testset_save_CFLAGS="$CFLAGS"
   13656 
   13657 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13658 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13659 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13660 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13661 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13662 then :
   13663   printf %s "(cached) " >&6
   13664 else $as_nop
   13665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13666 /* end confdefs.h.  */
   13667 int i;
   13668 _ACEOF
   13669 if ac_fn_c_try_compile "$LINENO"
   13670 then :
   13671   xorg_cv_cc_flag_unknown_warning_option=yes
   13672 else $as_nop
   13673   xorg_cv_cc_flag_unknown_warning_option=no
   13674 fi
   13675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13676 fi
   13677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13678 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13679 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13680 	CFLAGS="$xorg_testset_save_CFLAGS"
   13681 fi
   13682 
   13683 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13684 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13685 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13686 	fi
   13687 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13688 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13689 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13690 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13691 then :
   13692   printf %s "(cached) " >&6
   13693 else $as_nop
   13694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13695 /* end confdefs.h.  */
   13696 int i;
   13697 _ACEOF
   13698 if ac_fn_c_try_compile "$LINENO"
   13699 then :
   13700   xorg_cv_cc_flag_unused_command_line_argument=yes
   13701 else $as_nop
   13702   xorg_cv_cc_flag_unused_command_line_argument=no
   13703 fi
   13704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13705 fi
   13706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13707 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13709 	CFLAGS="$xorg_testset_save_CFLAGS"
   13710 fi
   13711 
   13712 found="no"
   13713 
   13714 	if test $found = "no" ; then
   13715 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13717 		fi
   13718 
   13719 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13721 		fi
   13722 
   13723 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13724 
   13725 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13726 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13727 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13728 		if eval test \${$cacheid+y}
   13729 then :
   13730   printf %s "(cached) " >&6
   13731 else $as_nop
   13732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13733 /* end confdefs.h.  */
   13734 int i;
   13735 int
   13736 main (void)
   13737 {
   13738 
   13739   ;
   13740   return 0;
   13741 }
   13742 _ACEOF
   13743 if ac_fn_c_try_link "$LINENO"
   13744 then :
   13745   eval $cacheid=yes
   13746 else $as_nop
   13747   eval $cacheid=no
   13748 fi
   13749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13750     conftest$ac_exeext conftest.$ac_ext
   13751 fi
   13752 
   13753 
   13754 		CFLAGS="$xorg_testset_save_CFLAGS"
   13755 
   13756 		eval supported=\$$cacheid
   13757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13758 printf "%s\n" "$supported" >&6; }
   13759 		if test "$supported" = "yes" ; then
   13760 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13761 			found="yes"
   13762 		fi
   13763 	fi
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 xorg_testset_save_CFLAGS="$CFLAGS"
   13780 
   13781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13783 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13784 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13785 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13786 then :
   13787   printf %s "(cached) " >&6
   13788 else $as_nop
   13789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13790 /* end confdefs.h.  */
   13791 int i;
   13792 _ACEOF
   13793 if ac_fn_c_try_compile "$LINENO"
   13794 then :
   13795   xorg_cv_cc_flag_unknown_warning_option=yes
   13796 else $as_nop
   13797   xorg_cv_cc_flag_unknown_warning_option=no
   13798 fi
   13799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13800 fi
   13801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13802 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13803 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13804 	CFLAGS="$xorg_testset_save_CFLAGS"
   13805 fi
   13806 
   13807 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13808 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13809 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13810 	fi
   13811 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13812 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13813 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13814 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13815 then :
   13816   printf %s "(cached) " >&6
   13817 else $as_nop
   13818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13819 /* end confdefs.h.  */
   13820 int i;
   13821 _ACEOF
   13822 if ac_fn_c_try_compile "$LINENO"
   13823 then :
   13824   xorg_cv_cc_flag_unused_command_line_argument=yes
   13825 else $as_nop
   13826   xorg_cv_cc_flag_unused_command_line_argument=no
   13827 fi
   13828 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13829 fi
   13830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13831 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13832 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13833 	CFLAGS="$xorg_testset_save_CFLAGS"
   13834 fi
   13835 
   13836 found="no"
   13837 
   13838 	if test $found = "no" ; then
   13839 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13840 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13841 		fi
   13842 
   13843 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13844 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13845 		fi
   13846 
   13847 		CFLAGS="$CFLAGS -Wnested-externs"
   13848 
   13849 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13850 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13851 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13852 		if eval test \${$cacheid+y}
   13853 then :
   13854   printf %s "(cached) " >&6
   13855 else $as_nop
   13856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13857 /* end confdefs.h.  */
   13858 int i;
   13859 int
   13860 main (void)
   13861 {
   13862 
   13863   ;
   13864   return 0;
   13865 }
   13866 _ACEOF
   13867 if ac_fn_c_try_link "$LINENO"
   13868 then :
   13869   eval $cacheid=yes
   13870 else $as_nop
   13871   eval $cacheid=no
   13872 fi
   13873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13874     conftest$ac_exeext conftest.$ac_ext
   13875 fi
   13876 
   13877 
   13878 		CFLAGS="$xorg_testset_save_CFLAGS"
   13879 
   13880 		eval supported=\$$cacheid
   13881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13882 printf "%s\n" "$supported" >&6; }
   13883 		if test "$supported" = "yes" ; then
   13884 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13885 			found="yes"
   13886 		fi
   13887 	fi
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 xorg_testset_save_CFLAGS="$CFLAGS"
   13904 
   13905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13907 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13908 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13909 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13910 then :
   13911   printf %s "(cached) " >&6
   13912 else $as_nop
   13913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13914 /* end confdefs.h.  */
   13915 int i;
   13916 _ACEOF
   13917 if ac_fn_c_try_compile "$LINENO"
   13918 then :
   13919   xorg_cv_cc_flag_unknown_warning_option=yes
   13920 else $as_nop
   13921   xorg_cv_cc_flag_unknown_warning_option=no
   13922 fi
   13923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13924 fi
   13925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13926 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13928 	CFLAGS="$xorg_testset_save_CFLAGS"
   13929 fi
   13930 
   13931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13934 	fi
   13935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13936 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13937 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13938 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13939 then :
   13940   printf %s "(cached) " >&6
   13941 else $as_nop
   13942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13943 /* end confdefs.h.  */
   13944 int i;
   13945 _ACEOF
   13946 if ac_fn_c_try_compile "$LINENO"
   13947 then :
   13948   xorg_cv_cc_flag_unused_command_line_argument=yes
   13949 else $as_nop
   13950   xorg_cv_cc_flag_unused_command_line_argument=no
   13951 fi
   13952 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13953 fi
   13954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13955 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13956 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13957 	CFLAGS="$xorg_testset_save_CFLAGS"
   13958 fi
   13959 
   13960 found="no"
   13961 
   13962 	if test $found = "no" ; then
   13963 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13964 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13965 		fi
   13966 
   13967 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13968 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13969 		fi
   13970 
   13971 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13972 
   13973 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13974 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   13975 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13976 		if eval test \${$cacheid+y}
   13977 then :
   13978   printf %s "(cached) " >&6
   13979 else $as_nop
   13980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13981 /* end confdefs.h.  */
   13982 int i;
   13983 int
   13984 main (void)
   13985 {
   13986 
   13987   ;
   13988   return 0;
   13989 }
   13990 _ACEOF
   13991 if ac_fn_c_try_link "$LINENO"
   13992 then :
   13993   eval $cacheid=yes
   13994 else $as_nop
   13995   eval $cacheid=no
   13996 fi
   13997 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13998     conftest$ac_exeext conftest.$ac_ext
   13999 fi
   14000 
   14001 
   14002 		CFLAGS="$xorg_testset_save_CFLAGS"
   14003 
   14004 		eval supported=\$$cacheid
   14005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14006 printf "%s\n" "$supported" >&6; }
   14007 		if test "$supported" = "yes" ; then
   14008 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14009 			found="yes"
   14010 		fi
   14011 	fi
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 xorg_testset_save_CFLAGS="$CFLAGS"
   14028 
   14029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14031 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14032 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14033 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14034 then :
   14035   printf %s "(cached) " >&6
   14036 else $as_nop
   14037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14038 /* end confdefs.h.  */
   14039 int i;
   14040 _ACEOF
   14041 if ac_fn_c_try_compile "$LINENO"
   14042 then :
   14043   xorg_cv_cc_flag_unknown_warning_option=yes
   14044 else $as_nop
   14045   xorg_cv_cc_flag_unknown_warning_option=no
   14046 fi
   14047 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14048 fi
   14049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14050 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14052 	CFLAGS="$xorg_testset_save_CFLAGS"
   14053 fi
   14054 
   14055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14058 	fi
   14059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14060 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14061 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14062 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14063 then :
   14064   printf %s "(cached) " >&6
   14065 else $as_nop
   14066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14067 /* end confdefs.h.  */
   14068 int i;
   14069 _ACEOF
   14070 if ac_fn_c_try_compile "$LINENO"
   14071 then :
   14072   xorg_cv_cc_flag_unused_command_line_argument=yes
   14073 else $as_nop
   14074   xorg_cv_cc_flag_unused_command_line_argument=no
   14075 fi
   14076 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14077 fi
   14078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14079 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14081 	CFLAGS="$xorg_testset_save_CFLAGS"
   14082 fi
   14083 
   14084 found="no"
   14085 
   14086 	if test $found = "no" ; then
   14087 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14089 		fi
   14090 
   14091 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14093 		fi
   14094 
   14095 		CFLAGS="$CFLAGS -Wold-style-definition"
   14096 
   14097 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14098 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14099 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14100 		if eval test \${$cacheid+y}
   14101 then :
   14102   printf %s "(cached) " >&6
   14103 else $as_nop
   14104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14105 /* end confdefs.h.  */
   14106 int i;
   14107 int
   14108 main (void)
   14109 {
   14110 
   14111   ;
   14112   return 0;
   14113 }
   14114 _ACEOF
   14115 if ac_fn_c_try_link "$LINENO"
   14116 then :
   14117   eval $cacheid=yes
   14118 else $as_nop
   14119   eval $cacheid=no
   14120 fi
   14121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14122     conftest$ac_exeext conftest.$ac_ext
   14123 fi
   14124 
   14125 
   14126 		CFLAGS="$xorg_testset_save_CFLAGS"
   14127 
   14128 		eval supported=\$$cacheid
   14129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14130 printf "%s\n" "$supported" >&6; }
   14131 		if test "$supported" = "yes" ; then
   14132 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14133 			found="yes"
   14134 		fi
   14135 	fi
   14136 
   14137 	if test $found = "no" ; then
   14138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14140 		fi
   14141 
   14142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14144 		fi
   14145 
   14146 		CFLAGS="$CFLAGS -fd"
   14147 
   14148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14149 printf %s "checking if $CC supports -fd... " >&6; }
   14150 		cacheid=xorg_cv_cc_flag__fd
   14151 		if eval test \${$cacheid+y}
   14152 then :
   14153   printf %s "(cached) " >&6
   14154 else $as_nop
   14155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14156 /* end confdefs.h.  */
   14157 int i;
   14158 int
   14159 main (void)
   14160 {
   14161 
   14162   ;
   14163   return 0;
   14164 }
   14165 _ACEOF
   14166 if ac_fn_c_try_link "$LINENO"
   14167 then :
   14168   eval $cacheid=yes
   14169 else $as_nop
   14170   eval $cacheid=no
   14171 fi
   14172 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14173     conftest$ac_exeext conftest.$ac_ext
   14174 fi
   14175 
   14176 
   14177 		CFLAGS="$xorg_testset_save_CFLAGS"
   14178 
   14179 		eval supported=\$$cacheid
   14180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14181 printf "%s\n" "$supported" >&6; }
   14182 		if test "$supported" = "yes" ; then
   14183 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14184 			found="yes"
   14185 		fi
   14186 	fi
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 xorg_testset_save_CFLAGS="$CFLAGS"
   14203 
   14204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14207 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14208 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14209 then :
   14210   printf %s "(cached) " >&6
   14211 else $as_nop
   14212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14213 /* end confdefs.h.  */
   14214 int i;
   14215 _ACEOF
   14216 if ac_fn_c_try_compile "$LINENO"
   14217 then :
   14218   xorg_cv_cc_flag_unknown_warning_option=yes
   14219 else $as_nop
   14220   xorg_cv_cc_flag_unknown_warning_option=no
   14221 fi
   14222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14223 fi
   14224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14225 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14227 	CFLAGS="$xorg_testset_save_CFLAGS"
   14228 fi
   14229 
   14230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14233 	fi
   14234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14235 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14236 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14237 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14238 then :
   14239   printf %s "(cached) " >&6
   14240 else $as_nop
   14241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14242 /* end confdefs.h.  */
   14243 int i;
   14244 _ACEOF
   14245 if ac_fn_c_try_compile "$LINENO"
   14246 then :
   14247   xorg_cv_cc_flag_unused_command_line_argument=yes
   14248 else $as_nop
   14249   xorg_cv_cc_flag_unused_command_line_argument=no
   14250 fi
   14251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14252 fi
   14253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14254 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14256 	CFLAGS="$xorg_testset_save_CFLAGS"
   14257 fi
   14258 
   14259 found="no"
   14260 
   14261 	if test $found = "no" ; then
   14262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14264 		fi
   14265 
   14266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14268 		fi
   14269 
   14270 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14271 
   14272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14273 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14274 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14275 		if eval test \${$cacheid+y}
   14276 then :
   14277   printf %s "(cached) " >&6
   14278 else $as_nop
   14279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14280 /* end confdefs.h.  */
   14281 int i;
   14282 int
   14283 main (void)
   14284 {
   14285 
   14286   ;
   14287   return 0;
   14288 }
   14289 _ACEOF
   14290 if ac_fn_c_try_link "$LINENO"
   14291 then :
   14292   eval $cacheid=yes
   14293 else $as_nop
   14294   eval $cacheid=no
   14295 fi
   14296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14297     conftest$ac_exeext conftest.$ac_ext
   14298 fi
   14299 
   14300 
   14301 		CFLAGS="$xorg_testset_save_CFLAGS"
   14302 
   14303 		eval supported=\$$cacheid
   14304 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14305 printf "%s\n" "$supported" >&6; }
   14306 		if test "$supported" = "yes" ; then
   14307 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14308 			found="yes"
   14309 		fi
   14310 	fi
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 # This chunk adds additional warnings that could catch undesired effects.
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 
   14327 
   14328 
   14329 
   14330 xorg_testset_save_CFLAGS="$CFLAGS"
   14331 
   14332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14334 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14335 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14336 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14337 then :
   14338   printf %s "(cached) " >&6
   14339 else $as_nop
   14340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14341 /* end confdefs.h.  */
   14342 int i;
   14343 _ACEOF
   14344 if ac_fn_c_try_compile "$LINENO"
   14345 then :
   14346   xorg_cv_cc_flag_unknown_warning_option=yes
   14347 else $as_nop
   14348   xorg_cv_cc_flag_unknown_warning_option=no
   14349 fi
   14350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14351 fi
   14352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14353 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14355 	CFLAGS="$xorg_testset_save_CFLAGS"
   14356 fi
   14357 
   14358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14361 	fi
   14362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14364 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14365 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14366 then :
   14367   printf %s "(cached) " >&6
   14368 else $as_nop
   14369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14370 /* end confdefs.h.  */
   14371 int i;
   14372 _ACEOF
   14373 if ac_fn_c_try_compile "$LINENO"
   14374 then :
   14375   xorg_cv_cc_flag_unused_command_line_argument=yes
   14376 else $as_nop
   14377   xorg_cv_cc_flag_unused_command_line_argument=no
   14378 fi
   14379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14380 fi
   14381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14382 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14384 	CFLAGS="$xorg_testset_save_CFLAGS"
   14385 fi
   14386 
   14387 found="no"
   14388 
   14389 	if test $found = "no" ; then
   14390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14392 		fi
   14393 
   14394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14396 		fi
   14397 
   14398 		CFLAGS="$CFLAGS -Wunused"
   14399 
   14400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14401 printf %s "checking if $CC supports -Wunused... " >&6; }
   14402 		cacheid=xorg_cv_cc_flag__Wunused
   14403 		if eval test \${$cacheid+y}
   14404 then :
   14405   printf %s "(cached) " >&6
   14406 else $as_nop
   14407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14408 /* end confdefs.h.  */
   14409 int i;
   14410 int
   14411 main (void)
   14412 {
   14413 
   14414   ;
   14415   return 0;
   14416 }
   14417 _ACEOF
   14418 if ac_fn_c_try_link "$LINENO"
   14419 then :
   14420   eval $cacheid=yes
   14421 else $as_nop
   14422   eval $cacheid=no
   14423 fi
   14424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14425     conftest$ac_exeext conftest.$ac_ext
   14426 fi
   14427 
   14428 
   14429 		CFLAGS="$xorg_testset_save_CFLAGS"
   14430 
   14431 		eval supported=\$$cacheid
   14432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14433 printf "%s\n" "$supported" >&6; }
   14434 		if test "$supported" = "yes" ; then
   14435 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14436 			found="yes"
   14437 		fi
   14438 	fi
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 
   14448 
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 xorg_testset_save_CFLAGS="$CFLAGS"
   14455 
   14456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14458 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14459 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14460 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14461 then :
   14462   printf %s "(cached) " >&6
   14463 else $as_nop
   14464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14465 /* end confdefs.h.  */
   14466 int i;
   14467 _ACEOF
   14468 if ac_fn_c_try_compile "$LINENO"
   14469 then :
   14470   xorg_cv_cc_flag_unknown_warning_option=yes
   14471 else $as_nop
   14472   xorg_cv_cc_flag_unknown_warning_option=no
   14473 fi
   14474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14475 fi
   14476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14477 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14478 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14479 	CFLAGS="$xorg_testset_save_CFLAGS"
   14480 fi
   14481 
   14482 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14483 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14484 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14485 	fi
   14486 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14488 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14489 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14490 then :
   14491   printf %s "(cached) " >&6
   14492 else $as_nop
   14493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14494 /* end confdefs.h.  */
   14495 int i;
   14496 _ACEOF
   14497 if ac_fn_c_try_compile "$LINENO"
   14498 then :
   14499   xorg_cv_cc_flag_unused_command_line_argument=yes
   14500 else $as_nop
   14501   xorg_cv_cc_flag_unused_command_line_argument=no
   14502 fi
   14503 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14504 fi
   14505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14506 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14507 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14508 	CFLAGS="$xorg_testset_save_CFLAGS"
   14509 fi
   14510 
   14511 found="no"
   14512 
   14513 	if test $found = "no" ; then
   14514 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14515 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14516 		fi
   14517 
   14518 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14519 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14520 		fi
   14521 
   14522 		CFLAGS="$CFLAGS -Wuninitialized"
   14523 
   14524 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14525 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14526 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14527 		if eval test \${$cacheid+y}
   14528 then :
   14529   printf %s "(cached) " >&6
   14530 else $as_nop
   14531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14532 /* end confdefs.h.  */
   14533 int i;
   14534 int
   14535 main (void)
   14536 {
   14537 
   14538   ;
   14539   return 0;
   14540 }
   14541 _ACEOF
   14542 if ac_fn_c_try_link "$LINENO"
   14543 then :
   14544   eval $cacheid=yes
   14545 else $as_nop
   14546   eval $cacheid=no
   14547 fi
   14548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14549     conftest$ac_exeext conftest.$ac_ext
   14550 fi
   14551 
   14552 
   14553 		CFLAGS="$xorg_testset_save_CFLAGS"
   14554 
   14555 		eval supported=\$$cacheid
   14556 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14557 printf "%s\n" "$supported" >&6; }
   14558 		if test "$supported" = "yes" ; then
   14559 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14560 			found="yes"
   14561 		fi
   14562 	fi
   14563 
   14564 
   14565 
   14566 
   14567 
   14568 
   14569 
   14570 
   14571 
   14572 
   14573 
   14574 
   14575 
   14576 
   14577 
   14578 xorg_testset_save_CFLAGS="$CFLAGS"
   14579 
   14580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14582 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14583 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14584 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14585 then :
   14586   printf %s "(cached) " >&6
   14587 else $as_nop
   14588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14589 /* end confdefs.h.  */
   14590 int i;
   14591 _ACEOF
   14592 if ac_fn_c_try_compile "$LINENO"
   14593 then :
   14594   xorg_cv_cc_flag_unknown_warning_option=yes
   14595 else $as_nop
   14596   xorg_cv_cc_flag_unknown_warning_option=no
   14597 fi
   14598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14599 fi
   14600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14601 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14603 	CFLAGS="$xorg_testset_save_CFLAGS"
   14604 fi
   14605 
   14606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14609 	fi
   14610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14612 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14613 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14614 then :
   14615   printf %s "(cached) " >&6
   14616 else $as_nop
   14617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14618 /* end confdefs.h.  */
   14619 int i;
   14620 _ACEOF
   14621 if ac_fn_c_try_compile "$LINENO"
   14622 then :
   14623   xorg_cv_cc_flag_unused_command_line_argument=yes
   14624 else $as_nop
   14625   xorg_cv_cc_flag_unused_command_line_argument=no
   14626 fi
   14627 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14628 fi
   14629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14630 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14632 	CFLAGS="$xorg_testset_save_CFLAGS"
   14633 fi
   14634 
   14635 found="no"
   14636 
   14637 	if test $found = "no" ; then
   14638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14640 		fi
   14641 
   14642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14644 		fi
   14645 
   14646 		CFLAGS="$CFLAGS -Wshadow"
   14647 
   14648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14649 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14650 		cacheid=xorg_cv_cc_flag__Wshadow
   14651 		if eval test \${$cacheid+y}
   14652 then :
   14653   printf %s "(cached) " >&6
   14654 else $as_nop
   14655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14656 /* end confdefs.h.  */
   14657 int i;
   14658 int
   14659 main (void)
   14660 {
   14661 
   14662   ;
   14663   return 0;
   14664 }
   14665 _ACEOF
   14666 if ac_fn_c_try_link "$LINENO"
   14667 then :
   14668   eval $cacheid=yes
   14669 else $as_nop
   14670   eval $cacheid=no
   14671 fi
   14672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14673     conftest$ac_exeext conftest.$ac_ext
   14674 fi
   14675 
   14676 
   14677 		CFLAGS="$xorg_testset_save_CFLAGS"
   14678 
   14679 		eval supported=\$$cacheid
   14680 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14681 printf "%s\n" "$supported" >&6; }
   14682 		if test "$supported" = "yes" ; then
   14683 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14684 			found="yes"
   14685 		fi
   14686 	fi
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 
   14698 
   14699 
   14700 
   14701 
   14702 xorg_testset_save_CFLAGS="$CFLAGS"
   14703 
   14704 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14705 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14706 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14707 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14708 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14709 then :
   14710   printf %s "(cached) " >&6
   14711 else $as_nop
   14712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14713 /* end confdefs.h.  */
   14714 int i;
   14715 _ACEOF
   14716 if ac_fn_c_try_compile "$LINENO"
   14717 then :
   14718   xorg_cv_cc_flag_unknown_warning_option=yes
   14719 else $as_nop
   14720   xorg_cv_cc_flag_unknown_warning_option=no
   14721 fi
   14722 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14723 fi
   14724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14725 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14727 	CFLAGS="$xorg_testset_save_CFLAGS"
   14728 fi
   14729 
   14730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14733 	fi
   14734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14736 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14737 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14738 then :
   14739   printf %s "(cached) " >&6
   14740 else $as_nop
   14741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14742 /* end confdefs.h.  */
   14743 int i;
   14744 _ACEOF
   14745 if ac_fn_c_try_compile "$LINENO"
   14746 then :
   14747   xorg_cv_cc_flag_unused_command_line_argument=yes
   14748 else $as_nop
   14749   xorg_cv_cc_flag_unused_command_line_argument=no
   14750 fi
   14751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14752 fi
   14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14754 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14755 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14756 	CFLAGS="$xorg_testset_save_CFLAGS"
   14757 fi
   14758 
   14759 found="no"
   14760 
   14761 	if test $found = "no" ; then
   14762 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14764 		fi
   14765 
   14766 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14768 		fi
   14769 
   14770 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14771 
   14772 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14773 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14774 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14775 		if eval test \${$cacheid+y}
   14776 then :
   14777   printf %s "(cached) " >&6
   14778 else $as_nop
   14779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14780 /* end confdefs.h.  */
   14781 int i;
   14782 int
   14783 main (void)
   14784 {
   14785 
   14786   ;
   14787   return 0;
   14788 }
   14789 _ACEOF
   14790 if ac_fn_c_try_link "$LINENO"
   14791 then :
   14792   eval $cacheid=yes
   14793 else $as_nop
   14794   eval $cacheid=no
   14795 fi
   14796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14797     conftest$ac_exeext conftest.$ac_ext
   14798 fi
   14799 
   14800 
   14801 		CFLAGS="$xorg_testset_save_CFLAGS"
   14802 
   14803 		eval supported=\$$cacheid
   14804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14805 printf "%s\n" "$supported" >&6; }
   14806 		if test "$supported" = "yes" ; then
   14807 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14808 			found="yes"
   14809 		fi
   14810 	fi
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 xorg_testset_save_CFLAGS="$CFLAGS"
   14827 
   14828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14833 then :
   14834   printf %s "(cached) " >&6
   14835 else $as_nop
   14836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14837 /* end confdefs.h.  */
   14838 int i;
   14839 _ACEOF
   14840 if ac_fn_c_try_compile "$LINENO"
   14841 then :
   14842   xorg_cv_cc_flag_unknown_warning_option=yes
   14843 else $as_nop
   14844   xorg_cv_cc_flag_unknown_warning_option=no
   14845 fi
   14846 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14847 fi
   14848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14849 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14850 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14851 	CFLAGS="$xorg_testset_save_CFLAGS"
   14852 fi
   14853 
   14854 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14855 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14856 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14857 	fi
   14858 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14860 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14861 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14862 then :
   14863   printf %s "(cached) " >&6
   14864 else $as_nop
   14865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14866 /* end confdefs.h.  */
   14867 int i;
   14868 _ACEOF
   14869 if ac_fn_c_try_compile "$LINENO"
   14870 then :
   14871   xorg_cv_cc_flag_unused_command_line_argument=yes
   14872 else $as_nop
   14873   xorg_cv_cc_flag_unused_command_line_argument=no
   14874 fi
   14875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14876 fi
   14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14878 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14879 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14880 	CFLAGS="$xorg_testset_save_CFLAGS"
   14881 fi
   14882 
   14883 found="no"
   14884 
   14885 	if test $found = "no" ; then
   14886 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14887 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14888 		fi
   14889 
   14890 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14891 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14892 		fi
   14893 
   14894 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14895 
   14896 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14897 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14898 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14899 		if eval test \${$cacheid+y}
   14900 then :
   14901   printf %s "(cached) " >&6
   14902 else $as_nop
   14903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14904 /* end confdefs.h.  */
   14905 int i;
   14906 int
   14907 main (void)
   14908 {
   14909 
   14910   ;
   14911   return 0;
   14912 }
   14913 _ACEOF
   14914 if ac_fn_c_try_link "$LINENO"
   14915 then :
   14916   eval $cacheid=yes
   14917 else $as_nop
   14918   eval $cacheid=no
   14919 fi
   14920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14921     conftest$ac_exeext conftest.$ac_ext
   14922 fi
   14923 
   14924 
   14925 		CFLAGS="$xorg_testset_save_CFLAGS"
   14926 
   14927 		eval supported=\$$cacheid
   14928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14929 printf "%s\n" "$supported" >&6; }
   14930 		if test "$supported" = "yes" ; then
   14931 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14932 			found="yes"
   14933 		fi
   14934 	fi
   14935 
   14936 
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 xorg_testset_save_CFLAGS="$CFLAGS"
   14951 
   14952 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14953 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14954 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14955 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14956 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14957 then :
   14958   printf %s "(cached) " >&6
   14959 else $as_nop
   14960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14961 /* end confdefs.h.  */
   14962 int i;
   14963 _ACEOF
   14964 if ac_fn_c_try_compile "$LINENO"
   14965 then :
   14966   xorg_cv_cc_flag_unknown_warning_option=yes
   14967 else $as_nop
   14968   xorg_cv_cc_flag_unknown_warning_option=no
   14969 fi
   14970 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14971 fi
   14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14973 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14975 	CFLAGS="$xorg_testset_save_CFLAGS"
   14976 fi
   14977 
   14978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14981 	fi
   14982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14983 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14984 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14985 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14986 then :
   14987   printf %s "(cached) " >&6
   14988 else $as_nop
   14989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14990 /* end confdefs.h.  */
   14991 int i;
   14992 _ACEOF
   14993 if ac_fn_c_try_compile "$LINENO"
   14994 then :
   14995   xorg_cv_cc_flag_unused_command_line_argument=yes
   14996 else $as_nop
   14997   xorg_cv_cc_flag_unused_command_line_argument=no
   14998 fi
   14999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15000 fi
   15001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15002 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15003 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15004 	CFLAGS="$xorg_testset_save_CFLAGS"
   15005 fi
   15006 
   15007 found="no"
   15008 
   15009 	if test $found = "no" ; then
   15010 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15011 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15012 		fi
   15013 
   15014 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15015 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15016 		fi
   15017 
   15018 		CFLAGS="$CFLAGS -Wredundant-decls"
   15019 
   15020 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15021 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15022 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15023 		if eval test \${$cacheid+y}
   15024 then :
   15025   printf %s "(cached) " >&6
   15026 else $as_nop
   15027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15028 /* end confdefs.h.  */
   15029 int i;
   15030 int
   15031 main (void)
   15032 {
   15033 
   15034   ;
   15035   return 0;
   15036 }
   15037 _ACEOF
   15038 if ac_fn_c_try_link "$LINENO"
   15039 then :
   15040   eval $cacheid=yes
   15041 else $as_nop
   15042   eval $cacheid=no
   15043 fi
   15044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15045     conftest$ac_exeext conftest.$ac_ext
   15046 fi
   15047 
   15048 
   15049 		CFLAGS="$xorg_testset_save_CFLAGS"
   15050 
   15051 		eval supported=\$$cacheid
   15052 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15053 printf "%s\n" "$supported" >&6; }
   15054 		if test "$supported" = "yes" ; then
   15055 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15056 			found="yes"
   15057 		fi
   15058 	fi
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 xorg_testset_save_CFLAGS="$CFLAGS"
   15075 
   15076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15079 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15080 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15081 then :
   15082   printf %s "(cached) " >&6
   15083 else $as_nop
   15084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15085 /* end confdefs.h.  */
   15086 int i;
   15087 _ACEOF
   15088 if ac_fn_c_try_compile "$LINENO"
   15089 then :
   15090   xorg_cv_cc_flag_unknown_warning_option=yes
   15091 else $as_nop
   15092   xorg_cv_cc_flag_unknown_warning_option=no
   15093 fi
   15094 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15095 fi
   15096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15097 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15098 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15099 	CFLAGS="$xorg_testset_save_CFLAGS"
   15100 fi
   15101 
   15102 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15103 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15105 	fi
   15106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15107 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15108 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15109 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15110 then :
   15111   printf %s "(cached) " >&6
   15112 else $as_nop
   15113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15114 /* end confdefs.h.  */
   15115 int i;
   15116 _ACEOF
   15117 if ac_fn_c_try_compile "$LINENO"
   15118 then :
   15119   xorg_cv_cc_flag_unused_command_line_argument=yes
   15120 else $as_nop
   15121   xorg_cv_cc_flag_unused_command_line_argument=no
   15122 fi
   15123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15124 fi
   15125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15126 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15127 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15128 	CFLAGS="$xorg_testset_save_CFLAGS"
   15129 fi
   15130 
   15131 found="no"
   15132 
   15133 	if test $found = "no" ; then
   15134 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15135 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15136 		fi
   15137 
   15138 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15139 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15140 		fi
   15141 
   15142 		CFLAGS="$CFLAGS -Wlogical-op"
   15143 
   15144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15145 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15146 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15147 		if eval test \${$cacheid+y}
   15148 then :
   15149   printf %s "(cached) " >&6
   15150 else $as_nop
   15151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15152 /* end confdefs.h.  */
   15153 int i;
   15154 int
   15155 main (void)
   15156 {
   15157 
   15158   ;
   15159   return 0;
   15160 }
   15161 _ACEOF
   15162 if ac_fn_c_try_link "$LINENO"
   15163 then :
   15164   eval $cacheid=yes
   15165 else $as_nop
   15166   eval $cacheid=no
   15167 fi
   15168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15169     conftest$ac_exeext conftest.$ac_ext
   15170 fi
   15171 
   15172 
   15173 		CFLAGS="$xorg_testset_save_CFLAGS"
   15174 
   15175 		eval supported=\$$cacheid
   15176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15177 printf "%s\n" "$supported" >&6; }
   15178 		if test "$supported" = "yes" ; then
   15179 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15180 			found="yes"
   15181 		fi
   15182 	fi
   15183 
   15184 
   15185 
   15186 # These are currently disabled because they are noisy.  They will be enabled
   15187 # in the future once the codebase is sufficiently modernized to silence
   15188 # them.  For now, I don't want them to drown out the other warnings.
   15189 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15190 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15191 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15192 
   15193 # Turn some warnings into errors, so we don't accidentally get successful builds
   15194 # when there are problems that should be fixed.
   15195 
   15196 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 xorg_testset_save_CFLAGS="$CFLAGS"
   15211 
   15212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15214 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15215 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15216 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15217 then :
   15218   printf %s "(cached) " >&6
   15219 else $as_nop
   15220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15221 /* end confdefs.h.  */
   15222 int i;
   15223 _ACEOF
   15224 if ac_fn_c_try_compile "$LINENO"
   15225 then :
   15226   xorg_cv_cc_flag_unknown_warning_option=yes
   15227 else $as_nop
   15228   xorg_cv_cc_flag_unknown_warning_option=no
   15229 fi
   15230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15231 fi
   15232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15233 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15235 	CFLAGS="$xorg_testset_save_CFLAGS"
   15236 fi
   15237 
   15238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15241 	fi
   15242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15244 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15245 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15246 then :
   15247   printf %s "(cached) " >&6
   15248 else $as_nop
   15249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15250 /* end confdefs.h.  */
   15251 int i;
   15252 _ACEOF
   15253 if ac_fn_c_try_compile "$LINENO"
   15254 then :
   15255   xorg_cv_cc_flag_unused_command_line_argument=yes
   15256 else $as_nop
   15257   xorg_cv_cc_flag_unused_command_line_argument=no
   15258 fi
   15259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15260 fi
   15261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15262 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15264 	CFLAGS="$xorg_testset_save_CFLAGS"
   15265 fi
   15266 
   15267 found="no"
   15268 
   15269 	if test $found = "no" ; then
   15270 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15272 		fi
   15273 
   15274 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15276 		fi
   15277 
   15278 		CFLAGS="$CFLAGS -Werror=implicit"
   15279 
   15280 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15281 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15282 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15283 		if eval test \${$cacheid+y}
   15284 then :
   15285   printf %s "(cached) " >&6
   15286 else $as_nop
   15287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15288 /* end confdefs.h.  */
   15289 int i;
   15290 int
   15291 main (void)
   15292 {
   15293 
   15294   ;
   15295   return 0;
   15296 }
   15297 _ACEOF
   15298 if ac_fn_c_try_link "$LINENO"
   15299 then :
   15300   eval $cacheid=yes
   15301 else $as_nop
   15302   eval $cacheid=no
   15303 fi
   15304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15305     conftest$ac_exeext conftest.$ac_ext
   15306 fi
   15307 
   15308 
   15309 		CFLAGS="$xorg_testset_save_CFLAGS"
   15310 
   15311 		eval supported=\$$cacheid
   15312 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15313 printf "%s\n" "$supported" >&6; }
   15314 		if test "$supported" = "yes" ; then
   15315 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15316 			found="yes"
   15317 		fi
   15318 	fi
   15319 
   15320 	if test $found = "no" ; then
   15321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15323 		fi
   15324 
   15325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15327 		fi
   15328 
   15329 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15330 
   15331 		{ 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
   15332 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15333 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15334 		if eval test \${$cacheid+y}
   15335 then :
   15336   printf %s "(cached) " >&6
   15337 else $as_nop
   15338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15339 /* end confdefs.h.  */
   15340 int i;
   15341 int
   15342 main (void)
   15343 {
   15344 
   15345   ;
   15346   return 0;
   15347 }
   15348 _ACEOF
   15349 if ac_fn_c_try_link "$LINENO"
   15350 then :
   15351   eval $cacheid=yes
   15352 else $as_nop
   15353   eval $cacheid=no
   15354 fi
   15355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15356     conftest$ac_exeext conftest.$ac_ext
   15357 fi
   15358 
   15359 
   15360 		CFLAGS="$xorg_testset_save_CFLAGS"
   15361 
   15362 		eval supported=\$$cacheid
   15363 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15364 printf "%s\n" "$supported" >&6; }
   15365 		if test "$supported" = "yes" ; then
   15366 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15367 			found="yes"
   15368 		fi
   15369 	fi
   15370 
   15371 
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 xorg_testset_save_CFLAGS="$CFLAGS"
   15386 
   15387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15389 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15390 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15391 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15392 then :
   15393   printf %s "(cached) " >&6
   15394 else $as_nop
   15395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15396 /* end confdefs.h.  */
   15397 int i;
   15398 _ACEOF
   15399 if ac_fn_c_try_compile "$LINENO"
   15400 then :
   15401   xorg_cv_cc_flag_unknown_warning_option=yes
   15402 else $as_nop
   15403   xorg_cv_cc_flag_unknown_warning_option=no
   15404 fi
   15405 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15406 fi
   15407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15408 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15410 	CFLAGS="$xorg_testset_save_CFLAGS"
   15411 fi
   15412 
   15413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15416 	fi
   15417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15418 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15419 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15420 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15421 then :
   15422   printf %s "(cached) " >&6
   15423 else $as_nop
   15424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15425 /* end confdefs.h.  */
   15426 int i;
   15427 _ACEOF
   15428 if ac_fn_c_try_compile "$LINENO"
   15429 then :
   15430   xorg_cv_cc_flag_unused_command_line_argument=yes
   15431 else $as_nop
   15432   xorg_cv_cc_flag_unused_command_line_argument=no
   15433 fi
   15434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15435 fi
   15436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15437 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15438 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15439 	CFLAGS="$xorg_testset_save_CFLAGS"
   15440 fi
   15441 
   15442 found="no"
   15443 
   15444 	if test $found = "no" ; then
   15445 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15446 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15447 		fi
   15448 
   15449 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15450 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15451 		fi
   15452 
   15453 		CFLAGS="$CFLAGS -Werror=nonnull"
   15454 
   15455 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15456 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15457 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15458 		if eval test \${$cacheid+y}
   15459 then :
   15460   printf %s "(cached) " >&6
   15461 else $as_nop
   15462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15463 /* end confdefs.h.  */
   15464 int i;
   15465 int
   15466 main (void)
   15467 {
   15468 
   15469   ;
   15470   return 0;
   15471 }
   15472 _ACEOF
   15473 if ac_fn_c_try_link "$LINENO"
   15474 then :
   15475   eval $cacheid=yes
   15476 else $as_nop
   15477   eval $cacheid=no
   15478 fi
   15479 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15480     conftest$ac_exeext conftest.$ac_ext
   15481 fi
   15482 
   15483 
   15484 		CFLAGS="$xorg_testset_save_CFLAGS"
   15485 
   15486 		eval supported=\$$cacheid
   15487 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15488 printf "%s\n" "$supported" >&6; }
   15489 		if test "$supported" = "yes" ; then
   15490 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15491 			found="yes"
   15492 		fi
   15493 	fi
   15494 
   15495 
   15496 
   15497 
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 xorg_testset_save_CFLAGS="$CFLAGS"
   15510 
   15511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15514 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15515 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15516 then :
   15517   printf %s "(cached) " >&6
   15518 else $as_nop
   15519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15520 /* end confdefs.h.  */
   15521 int i;
   15522 _ACEOF
   15523 if ac_fn_c_try_compile "$LINENO"
   15524 then :
   15525   xorg_cv_cc_flag_unknown_warning_option=yes
   15526 else $as_nop
   15527   xorg_cv_cc_flag_unknown_warning_option=no
   15528 fi
   15529 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15530 fi
   15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15532 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15534 	CFLAGS="$xorg_testset_save_CFLAGS"
   15535 fi
   15536 
   15537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15540 	fi
   15541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15542 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15543 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15544 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15545 then :
   15546   printf %s "(cached) " >&6
   15547 else $as_nop
   15548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15549 /* end confdefs.h.  */
   15550 int i;
   15551 _ACEOF
   15552 if ac_fn_c_try_compile "$LINENO"
   15553 then :
   15554   xorg_cv_cc_flag_unused_command_line_argument=yes
   15555 else $as_nop
   15556   xorg_cv_cc_flag_unused_command_line_argument=no
   15557 fi
   15558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15559 fi
   15560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15561 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15562 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15563 	CFLAGS="$xorg_testset_save_CFLAGS"
   15564 fi
   15565 
   15566 found="no"
   15567 
   15568 	if test $found = "no" ; then
   15569 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15570 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15571 		fi
   15572 
   15573 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15574 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15575 		fi
   15576 
   15577 		CFLAGS="$CFLAGS -Werror=init-self"
   15578 
   15579 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15580 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15581 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15582 		if eval test \${$cacheid+y}
   15583 then :
   15584   printf %s "(cached) " >&6
   15585 else $as_nop
   15586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15587 /* end confdefs.h.  */
   15588 int i;
   15589 int
   15590 main (void)
   15591 {
   15592 
   15593   ;
   15594   return 0;
   15595 }
   15596 _ACEOF
   15597 if ac_fn_c_try_link "$LINENO"
   15598 then :
   15599   eval $cacheid=yes
   15600 else $as_nop
   15601   eval $cacheid=no
   15602 fi
   15603 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15604     conftest$ac_exeext conftest.$ac_ext
   15605 fi
   15606 
   15607 
   15608 		CFLAGS="$xorg_testset_save_CFLAGS"
   15609 
   15610 		eval supported=\$$cacheid
   15611 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15612 printf "%s\n" "$supported" >&6; }
   15613 		if test "$supported" = "yes" ; then
   15614 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15615 			found="yes"
   15616 		fi
   15617 	fi
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 xorg_testset_save_CFLAGS="$CFLAGS"
   15634 
   15635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15637 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15638 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15639 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15640 then :
   15641   printf %s "(cached) " >&6
   15642 else $as_nop
   15643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15644 /* end confdefs.h.  */
   15645 int i;
   15646 _ACEOF
   15647 if ac_fn_c_try_compile "$LINENO"
   15648 then :
   15649   xorg_cv_cc_flag_unknown_warning_option=yes
   15650 else $as_nop
   15651   xorg_cv_cc_flag_unknown_warning_option=no
   15652 fi
   15653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15654 fi
   15655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15656 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15657 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15658 	CFLAGS="$xorg_testset_save_CFLAGS"
   15659 fi
   15660 
   15661 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15662 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15663 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15664 	fi
   15665 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15666 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15667 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15668 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15669 then :
   15670   printf %s "(cached) " >&6
   15671 else $as_nop
   15672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15673 /* end confdefs.h.  */
   15674 int i;
   15675 _ACEOF
   15676 if ac_fn_c_try_compile "$LINENO"
   15677 then :
   15678   xorg_cv_cc_flag_unused_command_line_argument=yes
   15679 else $as_nop
   15680   xorg_cv_cc_flag_unused_command_line_argument=no
   15681 fi
   15682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15683 fi
   15684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15685 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15687 	CFLAGS="$xorg_testset_save_CFLAGS"
   15688 fi
   15689 
   15690 found="no"
   15691 
   15692 	if test $found = "no" ; then
   15693 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15695 		fi
   15696 
   15697 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15699 		fi
   15700 
   15701 		CFLAGS="$CFLAGS -Werror=main"
   15702 
   15703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15704 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15705 		cacheid=xorg_cv_cc_flag__Werror_main
   15706 		if eval test \${$cacheid+y}
   15707 then :
   15708   printf %s "(cached) " >&6
   15709 else $as_nop
   15710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15711 /* end confdefs.h.  */
   15712 int i;
   15713 int
   15714 main (void)
   15715 {
   15716 
   15717   ;
   15718   return 0;
   15719 }
   15720 _ACEOF
   15721 if ac_fn_c_try_link "$LINENO"
   15722 then :
   15723   eval $cacheid=yes
   15724 else $as_nop
   15725   eval $cacheid=no
   15726 fi
   15727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15728     conftest$ac_exeext conftest.$ac_ext
   15729 fi
   15730 
   15731 
   15732 		CFLAGS="$xorg_testset_save_CFLAGS"
   15733 
   15734 		eval supported=\$$cacheid
   15735 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15736 printf "%s\n" "$supported" >&6; }
   15737 		if test "$supported" = "yes" ; then
   15738 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15739 			found="yes"
   15740 		fi
   15741 	fi
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 xorg_testset_save_CFLAGS="$CFLAGS"
   15758 
   15759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15761 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15762 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15763 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15764 then :
   15765   printf %s "(cached) " >&6
   15766 else $as_nop
   15767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15768 /* end confdefs.h.  */
   15769 int i;
   15770 _ACEOF
   15771 if ac_fn_c_try_compile "$LINENO"
   15772 then :
   15773   xorg_cv_cc_flag_unknown_warning_option=yes
   15774 else $as_nop
   15775   xorg_cv_cc_flag_unknown_warning_option=no
   15776 fi
   15777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15778 fi
   15779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15780 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15782 	CFLAGS="$xorg_testset_save_CFLAGS"
   15783 fi
   15784 
   15785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15788 	fi
   15789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15791 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15792 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15793 then :
   15794   printf %s "(cached) " >&6
   15795 else $as_nop
   15796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15797 /* end confdefs.h.  */
   15798 int i;
   15799 _ACEOF
   15800 if ac_fn_c_try_compile "$LINENO"
   15801 then :
   15802   xorg_cv_cc_flag_unused_command_line_argument=yes
   15803 else $as_nop
   15804   xorg_cv_cc_flag_unused_command_line_argument=no
   15805 fi
   15806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15807 fi
   15808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15809 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15811 	CFLAGS="$xorg_testset_save_CFLAGS"
   15812 fi
   15813 
   15814 found="no"
   15815 
   15816 	if test $found = "no" ; then
   15817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15819 		fi
   15820 
   15821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15823 		fi
   15824 
   15825 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15826 
   15827 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15828 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15829 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15830 		if eval test \${$cacheid+y}
   15831 then :
   15832   printf %s "(cached) " >&6
   15833 else $as_nop
   15834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15835 /* end confdefs.h.  */
   15836 int i;
   15837 int
   15838 main (void)
   15839 {
   15840 
   15841   ;
   15842   return 0;
   15843 }
   15844 _ACEOF
   15845 if ac_fn_c_try_link "$LINENO"
   15846 then :
   15847   eval $cacheid=yes
   15848 else $as_nop
   15849   eval $cacheid=no
   15850 fi
   15851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15852     conftest$ac_exeext conftest.$ac_ext
   15853 fi
   15854 
   15855 
   15856 		CFLAGS="$xorg_testset_save_CFLAGS"
   15857 
   15858 		eval supported=\$$cacheid
   15859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15860 printf "%s\n" "$supported" >&6; }
   15861 		if test "$supported" = "yes" ; then
   15862 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15863 			found="yes"
   15864 		fi
   15865 	fi
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 xorg_testset_save_CFLAGS="$CFLAGS"
   15882 
   15883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15885 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15886 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15887 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15888 then :
   15889   printf %s "(cached) " >&6
   15890 else $as_nop
   15891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15892 /* end confdefs.h.  */
   15893 int i;
   15894 _ACEOF
   15895 if ac_fn_c_try_compile "$LINENO"
   15896 then :
   15897   xorg_cv_cc_flag_unknown_warning_option=yes
   15898 else $as_nop
   15899   xorg_cv_cc_flag_unknown_warning_option=no
   15900 fi
   15901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15902 fi
   15903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15904 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15906 	CFLAGS="$xorg_testset_save_CFLAGS"
   15907 fi
   15908 
   15909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15912 	fi
   15913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15915 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15916 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15917 then :
   15918   printf %s "(cached) " >&6
   15919 else $as_nop
   15920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15921 /* end confdefs.h.  */
   15922 int i;
   15923 _ACEOF
   15924 if ac_fn_c_try_compile "$LINENO"
   15925 then :
   15926   xorg_cv_cc_flag_unused_command_line_argument=yes
   15927 else $as_nop
   15928   xorg_cv_cc_flag_unused_command_line_argument=no
   15929 fi
   15930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15931 fi
   15932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15933 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15935 	CFLAGS="$xorg_testset_save_CFLAGS"
   15936 fi
   15937 
   15938 found="no"
   15939 
   15940 	if test $found = "no" ; then
   15941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15943 		fi
   15944 
   15945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15947 		fi
   15948 
   15949 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15950 
   15951 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15952 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15953 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15954 		if eval test \${$cacheid+y}
   15955 then :
   15956   printf %s "(cached) " >&6
   15957 else $as_nop
   15958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15959 /* end confdefs.h.  */
   15960 int i;
   15961 int
   15962 main (void)
   15963 {
   15964 
   15965   ;
   15966   return 0;
   15967 }
   15968 _ACEOF
   15969 if ac_fn_c_try_link "$LINENO"
   15970 then :
   15971   eval $cacheid=yes
   15972 else $as_nop
   15973   eval $cacheid=no
   15974 fi
   15975 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15976     conftest$ac_exeext conftest.$ac_ext
   15977 fi
   15978 
   15979 
   15980 		CFLAGS="$xorg_testset_save_CFLAGS"
   15981 
   15982 		eval supported=\$$cacheid
   15983 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15984 printf "%s\n" "$supported" >&6; }
   15985 		if test "$supported" = "yes" ; then
   15986 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15987 			found="yes"
   15988 		fi
   15989 	fi
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 xorg_testset_save_CFLAGS="$CFLAGS"
   16006 
   16007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16009 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16010 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16011 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16012 then :
   16013   printf %s "(cached) " >&6
   16014 else $as_nop
   16015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16016 /* end confdefs.h.  */
   16017 int i;
   16018 _ACEOF
   16019 if ac_fn_c_try_compile "$LINENO"
   16020 then :
   16021   xorg_cv_cc_flag_unknown_warning_option=yes
   16022 else $as_nop
   16023   xorg_cv_cc_flag_unknown_warning_option=no
   16024 fi
   16025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16026 fi
   16027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16028 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16030 	CFLAGS="$xorg_testset_save_CFLAGS"
   16031 fi
   16032 
   16033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16036 	fi
   16037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16039 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16040 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16041 then :
   16042   printf %s "(cached) " >&6
   16043 else $as_nop
   16044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16045 /* end confdefs.h.  */
   16046 int i;
   16047 _ACEOF
   16048 if ac_fn_c_try_compile "$LINENO"
   16049 then :
   16050   xorg_cv_cc_flag_unused_command_line_argument=yes
   16051 else $as_nop
   16052   xorg_cv_cc_flag_unused_command_line_argument=no
   16053 fi
   16054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16055 fi
   16056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16057 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16059 	CFLAGS="$xorg_testset_save_CFLAGS"
   16060 fi
   16061 
   16062 found="no"
   16063 
   16064 	if test $found = "no" ; then
   16065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16067 		fi
   16068 
   16069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16071 		fi
   16072 
   16073 		CFLAGS="$CFLAGS -Werror=return-type"
   16074 
   16075 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16076 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16077 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16078 		if eval test \${$cacheid+y}
   16079 then :
   16080   printf %s "(cached) " >&6
   16081 else $as_nop
   16082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16083 /* end confdefs.h.  */
   16084 int i;
   16085 int
   16086 main (void)
   16087 {
   16088 
   16089   ;
   16090   return 0;
   16091 }
   16092 _ACEOF
   16093 if ac_fn_c_try_link "$LINENO"
   16094 then :
   16095   eval $cacheid=yes
   16096 else $as_nop
   16097   eval $cacheid=no
   16098 fi
   16099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16100     conftest$ac_exeext conftest.$ac_ext
   16101 fi
   16102 
   16103 
   16104 		CFLAGS="$xorg_testset_save_CFLAGS"
   16105 
   16106 		eval supported=\$$cacheid
   16107 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16108 printf "%s\n" "$supported" >&6; }
   16109 		if test "$supported" = "yes" ; then
   16110 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16111 			found="yes"
   16112 		fi
   16113 	fi
   16114 
   16115 	if test $found = "no" ; then
   16116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16118 		fi
   16119 
   16120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16122 		fi
   16123 
   16124 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16125 
   16126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16127 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16128 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16129 		if eval test \${$cacheid+y}
   16130 then :
   16131   printf %s "(cached) " >&6
   16132 else $as_nop
   16133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16134 /* end confdefs.h.  */
   16135 int i;
   16136 int
   16137 main (void)
   16138 {
   16139 
   16140   ;
   16141   return 0;
   16142 }
   16143 _ACEOF
   16144 if ac_fn_c_try_link "$LINENO"
   16145 then :
   16146   eval $cacheid=yes
   16147 else $as_nop
   16148   eval $cacheid=no
   16149 fi
   16150 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16151     conftest$ac_exeext conftest.$ac_ext
   16152 fi
   16153 
   16154 
   16155 		CFLAGS="$xorg_testset_save_CFLAGS"
   16156 
   16157 		eval supported=\$$cacheid
   16158 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16159 printf "%s\n" "$supported" >&6; }
   16160 		if test "$supported" = "yes" ; then
   16161 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16162 			found="yes"
   16163 		fi
   16164 	fi
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 xorg_testset_save_CFLAGS="$CFLAGS"
   16181 
   16182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16184 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16185 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16186 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16187 then :
   16188   printf %s "(cached) " >&6
   16189 else $as_nop
   16190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16191 /* end confdefs.h.  */
   16192 int i;
   16193 _ACEOF
   16194 if ac_fn_c_try_compile "$LINENO"
   16195 then :
   16196   xorg_cv_cc_flag_unknown_warning_option=yes
   16197 else $as_nop
   16198   xorg_cv_cc_flag_unknown_warning_option=no
   16199 fi
   16200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16201 fi
   16202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16203 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16205 	CFLAGS="$xorg_testset_save_CFLAGS"
   16206 fi
   16207 
   16208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16211 	fi
   16212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16214 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16215 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16216 then :
   16217   printf %s "(cached) " >&6
   16218 else $as_nop
   16219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16220 /* end confdefs.h.  */
   16221 int i;
   16222 _ACEOF
   16223 if ac_fn_c_try_compile "$LINENO"
   16224 then :
   16225   xorg_cv_cc_flag_unused_command_line_argument=yes
   16226 else $as_nop
   16227   xorg_cv_cc_flag_unused_command_line_argument=no
   16228 fi
   16229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16230 fi
   16231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16232 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16234 	CFLAGS="$xorg_testset_save_CFLAGS"
   16235 fi
   16236 
   16237 found="no"
   16238 
   16239 	if test $found = "no" ; then
   16240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16242 		fi
   16243 
   16244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16246 		fi
   16247 
   16248 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16249 
   16250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16251 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16252 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16253 		if eval test \${$cacheid+y}
   16254 then :
   16255   printf %s "(cached) " >&6
   16256 else $as_nop
   16257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16258 /* end confdefs.h.  */
   16259 int i;
   16260 int
   16261 main (void)
   16262 {
   16263 
   16264   ;
   16265   return 0;
   16266 }
   16267 _ACEOF
   16268 if ac_fn_c_try_link "$LINENO"
   16269 then :
   16270   eval $cacheid=yes
   16271 else $as_nop
   16272   eval $cacheid=no
   16273 fi
   16274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16275     conftest$ac_exeext conftest.$ac_ext
   16276 fi
   16277 
   16278 
   16279 		CFLAGS="$xorg_testset_save_CFLAGS"
   16280 
   16281 		eval supported=\$$cacheid
   16282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16283 printf "%s\n" "$supported" >&6; }
   16284 		if test "$supported" = "yes" ; then
   16285 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16286 			found="yes"
   16287 		fi
   16288 	fi
   16289 
   16290 
   16291 
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 xorg_testset_save_CFLAGS="$CFLAGS"
   16305 
   16306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16308 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16309 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16310 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16311 then :
   16312   printf %s "(cached) " >&6
   16313 else $as_nop
   16314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16315 /* end confdefs.h.  */
   16316 int i;
   16317 _ACEOF
   16318 if ac_fn_c_try_compile "$LINENO"
   16319 then :
   16320   xorg_cv_cc_flag_unknown_warning_option=yes
   16321 else $as_nop
   16322   xorg_cv_cc_flag_unknown_warning_option=no
   16323 fi
   16324 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16325 fi
   16326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16327 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16329 	CFLAGS="$xorg_testset_save_CFLAGS"
   16330 fi
   16331 
   16332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16335 	fi
   16336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16337 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16338 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16339 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16340 then :
   16341   printf %s "(cached) " >&6
   16342 else $as_nop
   16343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16344 /* end confdefs.h.  */
   16345 int i;
   16346 _ACEOF
   16347 if ac_fn_c_try_compile "$LINENO"
   16348 then :
   16349   xorg_cv_cc_flag_unused_command_line_argument=yes
   16350 else $as_nop
   16351   xorg_cv_cc_flag_unused_command_line_argument=no
   16352 fi
   16353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16354 fi
   16355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16356 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16358 	CFLAGS="$xorg_testset_save_CFLAGS"
   16359 fi
   16360 
   16361 found="no"
   16362 
   16363 	if test $found = "no" ; then
   16364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16366 		fi
   16367 
   16368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16370 		fi
   16371 
   16372 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16373 
   16374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16375 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16376 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16377 		if eval test \${$cacheid+y}
   16378 then :
   16379   printf %s "(cached) " >&6
   16380 else $as_nop
   16381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16382 /* end confdefs.h.  */
   16383 int i;
   16384 int
   16385 main (void)
   16386 {
   16387 
   16388   ;
   16389   return 0;
   16390 }
   16391 _ACEOF
   16392 if ac_fn_c_try_link "$LINENO"
   16393 then :
   16394   eval $cacheid=yes
   16395 else $as_nop
   16396   eval $cacheid=no
   16397 fi
   16398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16399     conftest$ac_exeext conftest.$ac_ext
   16400 fi
   16401 
   16402 
   16403 		CFLAGS="$xorg_testset_save_CFLAGS"
   16404 
   16405 		eval supported=\$$cacheid
   16406 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16407 printf "%s\n" "$supported" >&6; }
   16408 		if test "$supported" = "yes" ; then
   16409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16410 			found="yes"
   16411 		fi
   16412 	fi
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 xorg_testset_save_CFLAGS="$CFLAGS"
   16429 
   16430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16432 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16433 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16434 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16435 then :
   16436   printf %s "(cached) " >&6
   16437 else $as_nop
   16438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16439 /* end confdefs.h.  */
   16440 int i;
   16441 _ACEOF
   16442 if ac_fn_c_try_compile "$LINENO"
   16443 then :
   16444   xorg_cv_cc_flag_unknown_warning_option=yes
   16445 else $as_nop
   16446   xorg_cv_cc_flag_unknown_warning_option=no
   16447 fi
   16448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16449 fi
   16450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16451 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16452 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16453 	CFLAGS="$xorg_testset_save_CFLAGS"
   16454 fi
   16455 
   16456 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16457 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16458 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16459 	fi
   16460 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16461 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16462 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16463 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16464 then :
   16465   printf %s "(cached) " >&6
   16466 else $as_nop
   16467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16468 /* end confdefs.h.  */
   16469 int i;
   16470 _ACEOF
   16471 if ac_fn_c_try_compile "$LINENO"
   16472 then :
   16473   xorg_cv_cc_flag_unused_command_line_argument=yes
   16474 else $as_nop
   16475   xorg_cv_cc_flag_unused_command_line_argument=no
   16476 fi
   16477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16478 fi
   16479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16480 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16481 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16482 	CFLAGS="$xorg_testset_save_CFLAGS"
   16483 fi
   16484 
   16485 found="no"
   16486 
   16487 	if test $found = "no" ; then
   16488 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16489 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16490 		fi
   16491 
   16492 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16493 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16494 		fi
   16495 
   16496 		CFLAGS="$CFLAGS -Werror=write-strings"
   16497 
   16498 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16499 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16500 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16501 		if eval test \${$cacheid+y}
   16502 then :
   16503   printf %s "(cached) " >&6
   16504 else $as_nop
   16505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16506 /* end confdefs.h.  */
   16507 int i;
   16508 int
   16509 main (void)
   16510 {
   16511 
   16512   ;
   16513   return 0;
   16514 }
   16515 _ACEOF
   16516 if ac_fn_c_try_link "$LINENO"
   16517 then :
   16518   eval $cacheid=yes
   16519 else $as_nop
   16520   eval $cacheid=no
   16521 fi
   16522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16523     conftest$ac_exeext conftest.$ac_ext
   16524 fi
   16525 
   16526 
   16527 		CFLAGS="$xorg_testset_save_CFLAGS"
   16528 
   16529 		eval supported=\$$cacheid
   16530 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16531 printf "%s\n" "$supported" >&6; }
   16532 		if test "$supported" = "yes" ; then
   16533 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16534 			found="yes"
   16535 		fi
   16536 	fi
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 
   16551 
   16552 xorg_testset_save_CFLAGS="$CFLAGS"
   16553 
   16554 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16555 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16556 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16557 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16558 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16559 then :
   16560   printf %s "(cached) " >&6
   16561 else $as_nop
   16562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16563 /* end confdefs.h.  */
   16564 int i;
   16565 _ACEOF
   16566 if ac_fn_c_try_compile "$LINENO"
   16567 then :
   16568   xorg_cv_cc_flag_unknown_warning_option=yes
   16569 else $as_nop
   16570   xorg_cv_cc_flag_unknown_warning_option=no
   16571 fi
   16572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16573 fi
   16574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16575 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16577 	CFLAGS="$xorg_testset_save_CFLAGS"
   16578 fi
   16579 
   16580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16583 	fi
   16584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16585 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16586 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16587 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16588 then :
   16589   printf %s "(cached) " >&6
   16590 else $as_nop
   16591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16592 /* end confdefs.h.  */
   16593 int i;
   16594 _ACEOF
   16595 if ac_fn_c_try_compile "$LINENO"
   16596 then :
   16597   xorg_cv_cc_flag_unused_command_line_argument=yes
   16598 else $as_nop
   16599   xorg_cv_cc_flag_unused_command_line_argument=no
   16600 fi
   16601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16602 fi
   16603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16604 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16605 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16606 	CFLAGS="$xorg_testset_save_CFLAGS"
   16607 fi
   16608 
   16609 found="no"
   16610 
   16611 	if test $found = "no" ; then
   16612 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16614 		fi
   16615 
   16616 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16618 		fi
   16619 
   16620 		CFLAGS="$CFLAGS -Werror=address"
   16621 
   16622 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16623 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16624 		cacheid=xorg_cv_cc_flag__Werror_address
   16625 		if eval test \${$cacheid+y}
   16626 then :
   16627   printf %s "(cached) " >&6
   16628 else $as_nop
   16629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16630 /* end confdefs.h.  */
   16631 int i;
   16632 int
   16633 main (void)
   16634 {
   16635 
   16636   ;
   16637   return 0;
   16638 }
   16639 _ACEOF
   16640 if ac_fn_c_try_link "$LINENO"
   16641 then :
   16642   eval $cacheid=yes
   16643 else $as_nop
   16644   eval $cacheid=no
   16645 fi
   16646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16647     conftest$ac_exeext conftest.$ac_ext
   16648 fi
   16649 
   16650 
   16651 		CFLAGS="$xorg_testset_save_CFLAGS"
   16652 
   16653 		eval supported=\$$cacheid
   16654 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16655 printf "%s\n" "$supported" >&6; }
   16656 		if test "$supported" = "yes" ; then
   16657 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16658 			found="yes"
   16659 		fi
   16660 	fi
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 xorg_testset_save_CFLAGS="$CFLAGS"
   16677 
   16678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16680 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16681 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16682 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16683 then :
   16684   printf %s "(cached) " >&6
   16685 else $as_nop
   16686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16687 /* end confdefs.h.  */
   16688 int i;
   16689 _ACEOF
   16690 if ac_fn_c_try_compile "$LINENO"
   16691 then :
   16692   xorg_cv_cc_flag_unknown_warning_option=yes
   16693 else $as_nop
   16694   xorg_cv_cc_flag_unknown_warning_option=no
   16695 fi
   16696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16697 fi
   16698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16699 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16701 	CFLAGS="$xorg_testset_save_CFLAGS"
   16702 fi
   16703 
   16704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16707 	fi
   16708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16709 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16710 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16711 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16712 then :
   16713   printf %s "(cached) " >&6
   16714 else $as_nop
   16715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16716 /* end confdefs.h.  */
   16717 int i;
   16718 _ACEOF
   16719 if ac_fn_c_try_compile "$LINENO"
   16720 then :
   16721   xorg_cv_cc_flag_unused_command_line_argument=yes
   16722 else $as_nop
   16723   xorg_cv_cc_flag_unused_command_line_argument=no
   16724 fi
   16725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16726 fi
   16727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16728 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16730 	CFLAGS="$xorg_testset_save_CFLAGS"
   16731 fi
   16732 
   16733 found="no"
   16734 
   16735 	if test $found = "no" ; then
   16736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16738 		fi
   16739 
   16740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16742 		fi
   16743 
   16744 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16745 
   16746 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16747 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16748 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16749 		if eval test \${$cacheid+y}
   16750 then :
   16751   printf %s "(cached) " >&6
   16752 else $as_nop
   16753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16754 /* end confdefs.h.  */
   16755 int i;
   16756 int
   16757 main (void)
   16758 {
   16759 
   16760   ;
   16761   return 0;
   16762 }
   16763 _ACEOF
   16764 if ac_fn_c_try_link "$LINENO"
   16765 then :
   16766   eval $cacheid=yes
   16767 else $as_nop
   16768   eval $cacheid=no
   16769 fi
   16770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16771     conftest$ac_exeext conftest.$ac_ext
   16772 fi
   16773 
   16774 
   16775 		CFLAGS="$xorg_testset_save_CFLAGS"
   16776 
   16777 		eval supported=\$$cacheid
   16778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16779 printf "%s\n" "$supported" >&6; }
   16780 		if test "$supported" = "yes" ; then
   16781 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16782 			found="yes"
   16783 		fi
   16784 	fi
   16785 
   16786 	if test $found = "no" ; then
   16787 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16789 		fi
   16790 
   16791 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16793 		fi
   16794 
   16795 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16796 
   16797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16798 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16799 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16800 		if eval test \${$cacheid+y}
   16801 then :
   16802   printf %s "(cached) " >&6
   16803 else $as_nop
   16804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16805 /* end confdefs.h.  */
   16806 int i;
   16807 int
   16808 main (void)
   16809 {
   16810 
   16811   ;
   16812   return 0;
   16813 }
   16814 _ACEOF
   16815 if ac_fn_c_try_link "$LINENO"
   16816 then :
   16817   eval $cacheid=yes
   16818 else $as_nop
   16819   eval $cacheid=no
   16820 fi
   16821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16822     conftest$ac_exeext conftest.$ac_ext
   16823 fi
   16824 
   16825 
   16826 		CFLAGS="$xorg_testset_save_CFLAGS"
   16827 
   16828 		eval supported=\$$cacheid
   16829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16830 printf "%s\n" "$supported" >&6; }
   16831 		if test "$supported" = "yes" ; then
   16832 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16833 			found="yes"
   16834 		fi
   16835 	fi
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 xorg_testset_save_CFLAGS="$CFLAGS"
   16852 
   16853 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16854 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16856 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16857 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16858 then :
   16859   printf %s "(cached) " >&6
   16860 else $as_nop
   16861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16862 /* end confdefs.h.  */
   16863 int i;
   16864 _ACEOF
   16865 if ac_fn_c_try_compile "$LINENO"
   16866 then :
   16867   xorg_cv_cc_flag_unknown_warning_option=yes
   16868 else $as_nop
   16869   xorg_cv_cc_flag_unknown_warning_option=no
   16870 fi
   16871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16872 fi
   16873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16874 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16876 	CFLAGS="$xorg_testset_save_CFLAGS"
   16877 fi
   16878 
   16879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16882 	fi
   16883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16885 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16886 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16887 then :
   16888   printf %s "(cached) " >&6
   16889 else $as_nop
   16890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16891 /* end confdefs.h.  */
   16892 int i;
   16893 _ACEOF
   16894 if ac_fn_c_try_compile "$LINENO"
   16895 then :
   16896   xorg_cv_cc_flag_unused_command_line_argument=yes
   16897 else $as_nop
   16898   xorg_cv_cc_flag_unused_command_line_argument=no
   16899 fi
   16900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16901 fi
   16902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16903 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16905 	CFLAGS="$xorg_testset_save_CFLAGS"
   16906 fi
   16907 
   16908 found="no"
   16909 
   16910 	if test $found = "no" ; then
   16911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16913 		fi
   16914 
   16915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16917 		fi
   16918 
   16919 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16920 
   16921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16922 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16923 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16924 		if eval test \${$cacheid+y}
   16925 then :
   16926   printf %s "(cached) " >&6
   16927 else $as_nop
   16928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16929 /* end confdefs.h.  */
   16930 int i;
   16931 int
   16932 main (void)
   16933 {
   16934 
   16935   ;
   16936   return 0;
   16937 }
   16938 _ACEOF
   16939 if ac_fn_c_try_link "$LINENO"
   16940 then :
   16941   eval $cacheid=yes
   16942 else $as_nop
   16943   eval $cacheid=no
   16944 fi
   16945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16946     conftest$ac_exeext conftest.$ac_ext
   16947 fi
   16948 
   16949 
   16950 		CFLAGS="$xorg_testset_save_CFLAGS"
   16951 
   16952 		eval supported=\$$cacheid
   16953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16954 printf "%s\n" "$supported" >&6; }
   16955 		if test "$supported" = "yes" ; then
   16956 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16957 			found="yes"
   16958 		fi
   16959 	fi
   16960 
   16961  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16962 else
   16963 { 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
   16964 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;}
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 xorg_testset_save_CFLAGS="$CFLAGS"
   16979 
   16980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16983 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16984 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16985 then :
   16986   printf %s "(cached) " >&6
   16987 else $as_nop
   16988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16989 /* end confdefs.h.  */
   16990 int i;
   16991 _ACEOF
   16992 if ac_fn_c_try_compile "$LINENO"
   16993 then :
   16994   xorg_cv_cc_flag_unknown_warning_option=yes
   16995 else $as_nop
   16996   xorg_cv_cc_flag_unknown_warning_option=no
   16997 fi
   16998 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16999 fi
   17000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17001 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17003 	CFLAGS="$xorg_testset_save_CFLAGS"
   17004 fi
   17005 
   17006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17009 	fi
   17010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17011 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17012 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17013 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17014 then :
   17015   printf %s "(cached) " >&6
   17016 else $as_nop
   17017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17018 /* end confdefs.h.  */
   17019 int i;
   17020 _ACEOF
   17021 if ac_fn_c_try_compile "$LINENO"
   17022 then :
   17023   xorg_cv_cc_flag_unused_command_line_argument=yes
   17024 else $as_nop
   17025   xorg_cv_cc_flag_unused_command_line_argument=no
   17026 fi
   17027 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17028 fi
   17029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17030 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17031 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17032 	CFLAGS="$xorg_testset_save_CFLAGS"
   17033 fi
   17034 
   17035 found="no"
   17036 
   17037 	if test $found = "no" ; then
   17038 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17040 		fi
   17041 
   17042 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17044 		fi
   17045 
   17046 		CFLAGS="$CFLAGS -Wimplicit"
   17047 
   17048 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17049 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17050 		cacheid=xorg_cv_cc_flag__Wimplicit
   17051 		if eval test \${$cacheid+y}
   17052 then :
   17053   printf %s "(cached) " >&6
   17054 else $as_nop
   17055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17056 /* end confdefs.h.  */
   17057 int i;
   17058 int
   17059 main (void)
   17060 {
   17061 
   17062   ;
   17063   return 0;
   17064 }
   17065 _ACEOF
   17066 if ac_fn_c_try_link "$LINENO"
   17067 then :
   17068   eval $cacheid=yes
   17069 else $as_nop
   17070   eval $cacheid=no
   17071 fi
   17072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17073     conftest$ac_exeext conftest.$ac_ext
   17074 fi
   17075 
   17076 
   17077 		CFLAGS="$xorg_testset_save_CFLAGS"
   17078 
   17079 		eval supported=\$$cacheid
   17080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17081 printf "%s\n" "$supported" >&6; }
   17082 		if test "$supported" = "yes" ; then
   17083 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17084 			found="yes"
   17085 		fi
   17086 	fi
   17087 
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 xorg_testset_save_CFLAGS="$CFLAGS"
   17103 
   17104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17107 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17108 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17109 then :
   17110   printf %s "(cached) " >&6
   17111 else $as_nop
   17112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17113 /* end confdefs.h.  */
   17114 int i;
   17115 _ACEOF
   17116 if ac_fn_c_try_compile "$LINENO"
   17117 then :
   17118   xorg_cv_cc_flag_unknown_warning_option=yes
   17119 else $as_nop
   17120   xorg_cv_cc_flag_unknown_warning_option=no
   17121 fi
   17122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17123 fi
   17124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17125 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17127 	CFLAGS="$xorg_testset_save_CFLAGS"
   17128 fi
   17129 
   17130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17133 	fi
   17134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17136 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17137 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17138 then :
   17139   printf %s "(cached) " >&6
   17140 else $as_nop
   17141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17142 /* end confdefs.h.  */
   17143 int i;
   17144 _ACEOF
   17145 if ac_fn_c_try_compile "$LINENO"
   17146 then :
   17147   xorg_cv_cc_flag_unused_command_line_argument=yes
   17148 else $as_nop
   17149   xorg_cv_cc_flag_unused_command_line_argument=no
   17150 fi
   17151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17152 fi
   17153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17154 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17155 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17156 	CFLAGS="$xorg_testset_save_CFLAGS"
   17157 fi
   17158 
   17159 found="no"
   17160 
   17161 	if test $found = "no" ; then
   17162 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17164 		fi
   17165 
   17166 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17168 		fi
   17169 
   17170 		CFLAGS="$CFLAGS -Wnonnull"
   17171 
   17172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17173 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17174 		cacheid=xorg_cv_cc_flag__Wnonnull
   17175 		if eval test \${$cacheid+y}
   17176 then :
   17177   printf %s "(cached) " >&6
   17178 else $as_nop
   17179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17180 /* end confdefs.h.  */
   17181 int i;
   17182 int
   17183 main (void)
   17184 {
   17185 
   17186   ;
   17187   return 0;
   17188 }
   17189 _ACEOF
   17190 if ac_fn_c_try_link "$LINENO"
   17191 then :
   17192   eval $cacheid=yes
   17193 else $as_nop
   17194   eval $cacheid=no
   17195 fi
   17196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17197     conftest$ac_exeext conftest.$ac_ext
   17198 fi
   17199 
   17200 
   17201 		CFLAGS="$xorg_testset_save_CFLAGS"
   17202 
   17203 		eval supported=\$$cacheid
   17204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17205 printf "%s\n" "$supported" >&6; }
   17206 		if test "$supported" = "yes" ; then
   17207 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17208 			found="yes"
   17209 		fi
   17210 	fi
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 xorg_testset_save_CFLAGS="$CFLAGS"
   17227 
   17228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17231 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17232 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17233 then :
   17234   printf %s "(cached) " >&6
   17235 else $as_nop
   17236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17237 /* end confdefs.h.  */
   17238 int i;
   17239 _ACEOF
   17240 if ac_fn_c_try_compile "$LINENO"
   17241 then :
   17242   xorg_cv_cc_flag_unknown_warning_option=yes
   17243 else $as_nop
   17244   xorg_cv_cc_flag_unknown_warning_option=no
   17245 fi
   17246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17247 fi
   17248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17249 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17250 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17251 	CFLAGS="$xorg_testset_save_CFLAGS"
   17252 fi
   17253 
   17254 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17255 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17256 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17257 	fi
   17258 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17260 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17261 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17262 then :
   17263   printf %s "(cached) " >&6
   17264 else $as_nop
   17265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17266 /* end confdefs.h.  */
   17267 int i;
   17268 _ACEOF
   17269 if ac_fn_c_try_compile "$LINENO"
   17270 then :
   17271   xorg_cv_cc_flag_unused_command_line_argument=yes
   17272 else $as_nop
   17273   xorg_cv_cc_flag_unused_command_line_argument=no
   17274 fi
   17275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17276 fi
   17277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17278 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17279 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17280 	CFLAGS="$xorg_testset_save_CFLAGS"
   17281 fi
   17282 
   17283 found="no"
   17284 
   17285 	if test $found = "no" ; then
   17286 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17288 		fi
   17289 
   17290 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17292 		fi
   17293 
   17294 		CFLAGS="$CFLAGS -Winit-self"
   17295 
   17296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17297 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17298 		cacheid=xorg_cv_cc_flag__Winit_self
   17299 		if eval test \${$cacheid+y}
   17300 then :
   17301   printf %s "(cached) " >&6
   17302 else $as_nop
   17303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17304 /* end confdefs.h.  */
   17305 int i;
   17306 int
   17307 main (void)
   17308 {
   17309 
   17310   ;
   17311   return 0;
   17312 }
   17313 _ACEOF
   17314 if ac_fn_c_try_link "$LINENO"
   17315 then :
   17316   eval $cacheid=yes
   17317 else $as_nop
   17318   eval $cacheid=no
   17319 fi
   17320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17321     conftest$ac_exeext conftest.$ac_ext
   17322 fi
   17323 
   17324 
   17325 		CFLAGS="$xorg_testset_save_CFLAGS"
   17326 
   17327 		eval supported=\$$cacheid
   17328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17329 printf "%s\n" "$supported" >&6; }
   17330 		if test "$supported" = "yes" ; then
   17331 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17332 			found="yes"
   17333 		fi
   17334 	fi
   17335 
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 xorg_testset_save_CFLAGS="$CFLAGS"
   17351 
   17352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17355 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17356 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17357 then :
   17358   printf %s "(cached) " >&6
   17359 else $as_nop
   17360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17361 /* end confdefs.h.  */
   17362 int i;
   17363 _ACEOF
   17364 if ac_fn_c_try_compile "$LINENO"
   17365 then :
   17366   xorg_cv_cc_flag_unknown_warning_option=yes
   17367 else $as_nop
   17368   xorg_cv_cc_flag_unknown_warning_option=no
   17369 fi
   17370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17371 fi
   17372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17373 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17375 	CFLAGS="$xorg_testset_save_CFLAGS"
   17376 fi
   17377 
   17378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17381 	fi
   17382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17386 then :
   17387   printf %s "(cached) " >&6
   17388 else $as_nop
   17389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17390 /* end confdefs.h.  */
   17391 int i;
   17392 _ACEOF
   17393 if ac_fn_c_try_compile "$LINENO"
   17394 then :
   17395   xorg_cv_cc_flag_unused_command_line_argument=yes
   17396 else $as_nop
   17397   xorg_cv_cc_flag_unused_command_line_argument=no
   17398 fi
   17399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17400 fi
   17401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17402 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17404 	CFLAGS="$xorg_testset_save_CFLAGS"
   17405 fi
   17406 
   17407 found="no"
   17408 
   17409 	if test $found = "no" ; then
   17410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17412 		fi
   17413 
   17414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17416 		fi
   17417 
   17418 		CFLAGS="$CFLAGS -Wmain"
   17419 
   17420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17421 printf %s "checking if $CC supports -Wmain... " >&6; }
   17422 		cacheid=xorg_cv_cc_flag__Wmain
   17423 		if eval test \${$cacheid+y}
   17424 then :
   17425   printf %s "(cached) " >&6
   17426 else $as_nop
   17427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17428 /* end confdefs.h.  */
   17429 int i;
   17430 int
   17431 main (void)
   17432 {
   17433 
   17434   ;
   17435   return 0;
   17436 }
   17437 _ACEOF
   17438 if ac_fn_c_try_link "$LINENO"
   17439 then :
   17440   eval $cacheid=yes
   17441 else $as_nop
   17442   eval $cacheid=no
   17443 fi
   17444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17445     conftest$ac_exeext conftest.$ac_ext
   17446 fi
   17447 
   17448 
   17449 		CFLAGS="$xorg_testset_save_CFLAGS"
   17450 
   17451 		eval supported=\$$cacheid
   17452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17453 printf "%s\n" "$supported" >&6; }
   17454 		if test "$supported" = "yes" ; then
   17455 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17456 			found="yes"
   17457 		fi
   17458 	fi
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 
   17471 
   17472 
   17473 
   17474 xorg_testset_save_CFLAGS="$CFLAGS"
   17475 
   17476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17479 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17480 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17481 then :
   17482   printf %s "(cached) " >&6
   17483 else $as_nop
   17484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17485 /* end confdefs.h.  */
   17486 int i;
   17487 _ACEOF
   17488 if ac_fn_c_try_compile "$LINENO"
   17489 then :
   17490   xorg_cv_cc_flag_unknown_warning_option=yes
   17491 else $as_nop
   17492   xorg_cv_cc_flag_unknown_warning_option=no
   17493 fi
   17494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17495 fi
   17496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17497 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17499 	CFLAGS="$xorg_testset_save_CFLAGS"
   17500 fi
   17501 
   17502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17505 	fi
   17506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17507 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17508 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17509 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17510 then :
   17511   printf %s "(cached) " >&6
   17512 else $as_nop
   17513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17514 /* end confdefs.h.  */
   17515 int i;
   17516 _ACEOF
   17517 if ac_fn_c_try_compile "$LINENO"
   17518 then :
   17519   xorg_cv_cc_flag_unused_command_line_argument=yes
   17520 else $as_nop
   17521   xorg_cv_cc_flag_unused_command_line_argument=no
   17522 fi
   17523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17524 fi
   17525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17526 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17528 	CFLAGS="$xorg_testset_save_CFLAGS"
   17529 fi
   17530 
   17531 found="no"
   17532 
   17533 	if test $found = "no" ; then
   17534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17536 		fi
   17537 
   17538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17540 		fi
   17541 
   17542 		CFLAGS="$CFLAGS -Wmissing-braces"
   17543 
   17544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17545 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17546 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17547 		if eval test \${$cacheid+y}
   17548 then :
   17549   printf %s "(cached) " >&6
   17550 else $as_nop
   17551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17552 /* end confdefs.h.  */
   17553 int i;
   17554 int
   17555 main (void)
   17556 {
   17557 
   17558   ;
   17559   return 0;
   17560 }
   17561 _ACEOF
   17562 if ac_fn_c_try_link "$LINENO"
   17563 then :
   17564   eval $cacheid=yes
   17565 else $as_nop
   17566   eval $cacheid=no
   17567 fi
   17568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17569     conftest$ac_exeext conftest.$ac_ext
   17570 fi
   17571 
   17572 
   17573 		CFLAGS="$xorg_testset_save_CFLAGS"
   17574 
   17575 		eval supported=\$$cacheid
   17576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17577 printf "%s\n" "$supported" >&6; }
   17578 		if test "$supported" = "yes" ; then
   17579 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17580 			found="yes"
   17581 		fi
   17582 	fi
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 xorg_testset_save_CFLAGS="$CFLAGS"
   17599 
   17600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17603 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17604 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17605 then :
   17606   printf %s "(cached) " >&6
   17607 else $as_nop
   17608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17609 /* end confdefs.h.  */
   17610 int i;
   17611 _ACEOF
   17612 if ac_fn_c_try_compile "$LINENO"
   17613 then :
   17614   xorg_cv_cc_flag_unknown_warning_option=yes
   17615 else $as_nop
   17616   xorg_cv_cc_flag_unknown_warning_option=no
   17617 fi
   17618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17619 fi
   17620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17621 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17623 	CFLAGS="$xorg_testset_save_CFLAGS"
   17624 fi
   17625 
   17626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17629 	fi
   17630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17631 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17632 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17633 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17634 then :
   17635   printf %s "(cached) " >&6
   17636 else $as_nop
   17637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17638 /* end confdefs.h.  */
   17639 int i;
   17640 _ACEOF
   17641 if ac_fn_c_try_compile "$LINENO"
   17642 then :
   17643   xorg_cv_cc_flag_unused_command_line_argument=yes
   17644 else $as_nop
   17645   xorg_cv_cc_flag_unused_command_line_argument=no
   17646 fi
   17647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17648 fi
   17649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17650 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17651 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17652 	CFLAGS="$xorg_testset_save_CFLAGS"
   17653 fi
   17654 
   17655 found="no"
   17656 
   17657 	if test $found = "no" ; then
   17658 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17659 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17660 		fi
   17661 
   17662 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17663 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17664 		fi
   17665 
   17666 		CFLAGS="$CFLAGS -Wsequence-point"
   17667 
   17668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17669 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17670 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17671 		if eval test \${$cacheid+y}
   17672 then :
   17673   printf %s "(cached) " >&6
   17674 else $as_nop
   17675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17676 /* end confdefs.h.  */
   17677 int i;
   17678 int
   17679 main (void)
   17680 {
   17681 
   17682   ;
   17683   return 0;
   17684 }
   17685 _ACEOF
   17686 if ac_fn_c_try_link "$LINENO"
   17687 then :
   17688   eval $cacheid=yes
   17689 else $as_nop
   17690   eval $cacheid=no
   17691 fi
   17692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17693     conftest$ac_exeext conftest.$ac_ext
   17694 fi
   17695 
   17696 
   17697 		CFLAGS="$xorg_testset_save_CFLAGS"
   17698 
   17699 		eval supported=\$$cacheid
   17700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17701 printf "%s\n" "$supported" >&6; }
   17702 		if test "$supported" = "yes" ; then
   17703 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17704 			found="yes"
   17705 		fi
   17706 	fi
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 xorg_testset_save_CFLAGS="$CFLAGS"
   17723 
   17724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17727 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17728 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17729 then :
   17730   printf %s "(cached) " >&6
   17731 else $as_nop
   17732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17733 /* end confdefs.h.  */
   17734 int i;
   17735 _ACEOF
   17736 if ac_fn_c_try_compile "$LINENO"
   17737 then :
   17738   xorg_cv_cc_flag_unknown_warning_option=yes
   17739 else $as_nop
   17740   xorg_cv_cc_flag_unknown_warning_option=no
   17741 fi
   17742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17743 fi
   17744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17745 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17747 	CFLAGS="$xorg_testset_save_CFLAGS"
   17748 fi
   17749 
   17750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17753 	fi
   17754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17755 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17756 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17757 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17758 then :
   17759   printf %s "(cached) " >&6
   17760 else $as_nop
   17761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17762 /* end confdefs.h.  */
   17763 int i;
   17764 _ACEOF
   17765 if ac_fn_c_try_compile "$LINENO"
   17766 then :
   17767   xorg_cv_cc_flag_unused_command_line_argument=yes
   17768 else $as_nop
   17769   xorg_cv_cc_flag_unused_command_line_argument=no
   17770 fi
   17771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17772 fi
   17773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17774 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17776 	CFLAGS="$xorg_testset_save_CFLAGS"
   17777 fi
   17778 
   17779 found="no"
   17780 
   17781 	if test $found = "no" ; then
   17782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17784 		fi
   17785 
   17786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17788 		fi
   17789 
   17790 		CFLAGS="$CFLAGS -Wreturn-type"
   17791 
   17792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17793 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17794 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17795 		if eval test \${$cacheid+y}
   17796 then :
   17797   printf %s "(cached) " >&6
   17798 else $as_nop
   17799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17800 /* end confdefs.h.  */
   17801 int i;
   17802 int
   17803 main (void)
   17804 {
   17805 
   17806   ;
   17807   return 0;
   17808 }
   17809 _ACEOF
   17810 if ac_fn_c_try_link "$LINENO"
   17811 then :
   17812   eval $cacheid=yes
   17813 else $as_nop
   17814   eval $cacheid=no
   17815 fi
   17816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17817     conftest$ac_exeext conftest.$ac_ext
   17818 fi
   17819 
   17820 
   17821 		CFLAGS="$xorg_testset_save_CFLAGS"
   17822 
   17823 		eval supported=\$$cacheid
   17824 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17825 printf "%s\n" "$supported" >&6; }
   17826 		if test "$supported" = "yes" ; then
   17827 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17828 			found="yes"
   17829 		fi
   17830 	fi
   17831 
   17832 
   17833 
   17834 
   17835 
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 
   17843 
   17844 
   17845 
   17846 xorg_testset_save_CFLAGS="$CFLAGS"
   17847 
   17848 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17849 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17851 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17852 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17853 then :
   17854   printf %s "(cached) " >&6
   17855 else $as_nop
   17856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17857 /* end confdefs.h.  */
   17858 int i;
   17859 _ACEOF
   17860 if ac_fn_c_try_compile "$LINENO"
   17861 then :
   17862   xorg_cv_cc_flag_unknown_warning_option=yes
   17863 else $as_nop
   17864   xorg_cv_cc_flag_unknown_warning_option=no
   17865 fi
   17866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17867 fi
   17868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17869 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17871 	CFLAGS="$xorg_testset_save_CFLAGS"
   17872 fi
   17873 
   17874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17877 	fi
   17878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17879 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17880 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17881 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17882 then :
   17883   printf %s "(cached) " >&6
   17884 else $as_nop
   17885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17886 /* end confdefs.h.  */
   17887 int i;
   17888 _ACEOF
   17889 if ac_fn_c_try_compile "$LINENO"
   17890 then :
   17891   xorg_cv_cc_flag_unused_command_line_argument=yes
   17892 else $as_nop
   17893   xorg_cv_cc_flag_unused_command_line_argument=no
   17894 fi
   17895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17896 fi
   17897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17898 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17900 	CFLAGS="$xorg_testset_save_CFLAGS"
   17901 fi
   17902 
   17903 found="no"
   17904 
   17905 	if test $found = "no" ; then
   17906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17908 		fi
   17909 
   17910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17912 		fi
   17913 
   17914 		CFLAGS="$CFLAGS -Wtrigraphs"
   17915 
   17916 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17917 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17918 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17919 		if eval test \${$cacheid+y}
   17920 then :
   17921   printf %s "(cached) " >&6
   17922 else $as_nop
   17923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17924 /* end confdefs.h.  */
   17925 int i;
   17926 int
   17927 main (void)
   17928 {
   17929 
   17930   ;
   17931   return 0;
   17932 }
   17933 _ACEOF
   17934 if ac_fn_c_try_link "$LINENO"
   17935 then :
   17936   eval $cacheid=yes
   17937 else $as_nop
   17938   eval $cacheid=no
   17939 fi
   17940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17941     conftest$ac_exeext conftest.$ac_ext
   17942 fi
   17943 
   17944 
   17945 		CFLAGS="$xorg_testset_save_CFLAGS"
   17946 
   17947 		eval supported=\$$cacheid
   17948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17949 printf "%s\n" "$supported" >&6; }
   17950 		if test "$supported" = "yes" ; then
   17951 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17952 			found="yes"
   17953 		fi
   17954 	fi
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 xorg_testset_save_CFLAGS="$CFLAGS"
   17971 
   17972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17977 then :
   17978   printf %s "(cached) " >&6
   17979 else $as_nop
   17980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17981 /* end confdefs.h.  */
   17982 int i;
   17983 _ACEOF
   17984 if ac_fn_c_try_compile "$LINENO"
   17985 then :
   17986   xorg_cv_cc_flag_unknown_warning_option=yes
   17987 else $as_nop
   17988   xorg_cv_cc_flag_unknown_warning_option=no
   17989 fi
   17990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17991 fi
   17992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17993 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17995 	CFLAGS="$xorg_testset_save_CFLAGS"
   17996 fi
   17997 
   17998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18001 	fi
   18002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18003 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18004 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18005 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18006 then :
   18007   printf %s "(cached) " >&6
   18008 else $as_nop
   18009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18010 /* end confdefs.h.  */
   18011 int i;
   18012 _ACEOF
   18013 if ac_fn_c_try_compile "$LINENO"
   18014 then :
   18015   xorg_cv_cc_flag_unused_command_line_argument=yes
   18016 else $as_nop
   18017   xorg_cv_cc_flag_unused_command_line_argument=no
   18018 fi
   18019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18020 fi
   18021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18022 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18024 	CFLAGS="$xorg_testset_save_CFLAGS"
   18025 fi
   18026 
   18027 found="no"
   18028 
   18029 	if test $found = "no" ; then
   18030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18032 		fi
   18033 
   18034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18036 		fi
   18037 
   18038 		CFLAGS="$CFLAGS -Warray-bounds"
   18039 
   18040 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18041 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18042 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18043 		if eval test \${$cacheid+y}
   18044 then :
   18045   printf %s "(cached) " >&6
   18046 else $as_nop
   18047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18048 /* end confdefs.h.  */
   18049 int i;
   18050 int
   18051 main (void)
   18052 {
   18053 
   18054   ;
   18055   return 0;
   18056 }
   18057 _ACEOF
   18058 if ac_fn_c_try_link "$LINENO"
   18059 then :
   18060   eval $cacheid=yes
   18061 else $as_nop
   18062   eval $cacheid=no
   18063 fi
   18064 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18065     conftest$ac_exeext conftest.$ac_ext
   18066 fi
   18067 
   18068 
   18069 		CFLAGS="$xorg_testset_save_CFLAGS"
   18070 
   18071 		eval supported=\$$cacheid
   18072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18073 printf "%s\n" "$supported" >&6; }
   18074 		if test "$supported" = "yes" ; then
   18075 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18076 			found="yes"
   18077 		fi
   18078 	fi
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 
   18089 
   18090 
   18091 
   18092 
   18093 
   18094 xorg_testset_save_CFLAGS="$CFLAGS"
   18095 
   18096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18101 then :
   18102   printf %s "(cached) " >&6
   18103 else $as_nop
   18104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18105 /* end confdefs.h.  */
   18106 int i;
   18107 _ACEOF
   18108 if ac_fn_c_try_compile "$LINENO"
   18109 then :
   18110   xorg_cv_cc_flag_unknown_warning_option=yes
   18111 else $as_nop
   18112   xorg_cv_cc_flag_unknown_warning_option=no
   18113 fi
   18114 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18115 fi
   18116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18117 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18119 	CFLAGS="$xorg_testset_save_CFLAGS"
   18120 fi
   18121 
   18122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18125 	fi
   18126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18127 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18128 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18129 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18130 then :
   18131   printf %s "(cached) " >&6
   18132 else $as_nop
   18133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18134 /* end confdefs.h.  */
   18135 int i;
   18136 _ACEOF
   18137 if ac_fn_c_try_compile "$LINENO"
   18138 then :
   18139   xorg_cv_cc_flag_unused_command_line_argument=yes
   18140 else $as_nop
   18141   xorg_cv_cc_flag_unused_command_line_argument=no
   18142 fi
   18143 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18144 fi
   18145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18148 	CFLAGS="$xorg_testset_save_CFLAGS"
   18149 fi
   18150 
   18151 found="no"
   18152 
   18153 	if test $found = "no" ; then
   18154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18156 		fi
   18157 
   18158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18160 		fi
   18161 
   18162 		CFLAGS="$CFLAGS -Wwrite-strings"
   18163 
   18164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18165 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18166 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18167 		if eval test \${$cacheid+y}
   18168 then :
   18169   printf %s "(cached) " >&6
   18170 else $as_nop
   18171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18172 /* end confdefs.h.  */
   18173 int i;
   18174 int
   18175 main (void)
   18176 {
   18177 
   18178   ;
   18179   return 0;
   18180 }
   18181 _ACEOF
   18182 if ac_fn_c_try_link "$LINENO"
   18183 then :
   18184   eval $cacheid=yes
   18185 else $as_nop
   18186   eval $cacheid=no
   18187 fi
   18188 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18189     conftest$ac_exeext conftest.$ac_ext
   18190 fi
   18191 
   18192 
   18193 		CFLAGS="$xorg_testset_save_CFLAGS"
   18194 
   18195 		eval supported=\$$cacheid
   18196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18197 printf "%s\n" "$supported" >&6; }
   18198 		if test "$supported" = "yes" ; then
   18199 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18200 			found="yes"
   18201 		fi
   18202 	fi
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 
   18215 
   18216 
   18217 
   18218 xorg_testset_save_CFLAGS="$CFLAGS"
   18219 
   18220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18225 then :
   18226   printf %s "(cached) " >&6
   18227 else $as_nop
   18228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18229 /* end confdefs.h.  */
   18230 int i;
   18231 _ACEOF
   18232 if ac_fn_c_try_compile "$LINENO"
   18233 then :
   18234   xorg_cv_cc_flag_unknown_warning_option=yes
   18235 else $as_nop
   18236   xorg_cv_cc_flag_unknown_warning_option=no
   18237 fi
   18238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18239 fi
   18240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18241 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18243 	CFLAGS="$xorg_testset_save_CFLAGS"
   18244 fi
   18245 
   18246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18249 	fi
   18250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18254 then :
   18255   printf %s "(cached) " >&6
   18256 else $as_nop
   18257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18258 /* end confdefs.h.  */
   18259 int i;
   18260 _ACEOF
   18261 if ac_fn_c_try_compile "$LINENO"
   18262 then :
   18263   xorg_cv_cc_flag_unused_command_line_argument=yes
   18264 else $as_nop
   18265   xorg_cv_cc_flag_unused_command_line_argument=no
   18266 fi
   18267 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18268 fi
   18269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18270 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18271 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18272 	CFLAGS="$xorg_testset_save_CFLAGS"
   18273 fi
   18274 
   18275 found="no"
   18276 
   18277 	if test $found = "no" ; then
   18278 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18279 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18280 		fi
   18281 
   18282 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18283 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18284 		fi
   18285 
   18286 		CFLAGS="$CFLAGS -Waddress"
   18287 
   18288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18289 printf %s "checking if $CC supports -Waddress... " >&6; }
   18290 		cacheid=xorg_cv_cc_flag__Waddress
   18291 		if eval test \${$cacheid+y}
   18292 then :
   18293   printf %s "(cached) " >&6
   18294 else $as_nop
   18295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18296 /* end confdefs.h.  */
   18297 int i;
   18298 int
   18299 main (void)
   18300 {
   18301 
   18302   ;
   18303   return 0;
   18304 }
   18305 _ACEOF
   18306 if ac_fn_c_try_link "$LINENO"
   18307 then :
   18308   eval $cacheid=yes
   18309 else $as_nop
   18310   eval $cacheid=no
   18311 fi
   18312 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18313     conftest$ac_exeext conftest.$ac_ext
   18314 fi
   18315 
   18316 
   18317 		CFLAGS="$xorg_testset_save_CFLAGS"
   18318 
   18319 		eval supported=\$$cacheid
   18320 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18321 printf "%s\n" "$supported" >&6; }
   18322 		if test "$supported" = "yes" ; then
   18323 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18324 			found="yes"
   18325 		fi
   18326 	fi
   18327 
   18328 
   18329 
   18330 
   18331 
   18332 
   18333 
   18334 
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 xorg_testset_save_CFLAGS="$CFLAGS"
   18343 
   18344 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18345 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18346 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18347 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18348 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18349 then :
   18350   printf %s "(cached) " >&6
   18351 else $as_nop
   18352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18353 /* end confdefs.h.  */
   18354 int i;
   18355 _ACEOF
   18356 if ac_fn_c_try_compile "$LINENO"
   18357 then :
   18358   xorg_cv_cc_flag_unknown_warning_option=yes
   18359 else $as_nop
   18360   xorg_cv_cc_flag_unknown_warning_option=no
   18361 fi
   18362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18363 fi
   18364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18365 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18366 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18367 	CFLAGS="$xorg_testset_save_CFLAGS"
   18368 fi
   18369 
   18370 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18371 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18372 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18373 	fi
   18374 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18376 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18377 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18378 then :
   18379   printf %s "(cached) " >&6
   18380 else $as_nop
   18381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18382 /* end confdefs.h.  */
   18383 int i;
   18384 _ACEOF
   18385 if ac_fn_c_try_compile "$LINENO"
   18386 then :
   18387   xorg_cv_cc_flag_unused_command_line_argument=yes
   18388 else $as_nop
   18389   xorg_cv_cc_flag_unused_command_line_argument=no
   18390 fi
   18391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18392 fi
   18393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18394 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18395 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18396 	CFLAGS="$xorg_testset_save_CFLAGS"
   18397 fi
   18398 
   18399 found="no"
   18400 
   18401 	if test $found = "no" ; then
   18402 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18403 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18404 		fi
   18405 
   18406 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18407 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18408 		fi
   18409 
   18410 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18411 
   18412 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18413 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18414 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18415 		if eval test \${$cacheid+y}
   18416 then :
   18417   printf %s "(cached) " >&6
   18418 else $as_nop
   18419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18420 /* end confdefs.h.  */
   18421 int i;
   18422 int
   18423 main (void)
   18424 {
   18425 
   18426   ;
   18427   return 0;
   18428 }
   18429 _ACEOF
   18430 if ac_fn_c_try_link "$LINENO"
   18431 then :
   18432   eval $cacheid=yes
   18433 else $as_nop
   18434   eval $cacheid=no
   18435 fi
   18436 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18437     conftest$ac_exeext conftest.$ac_ext
   18438 fi
   18439 
   18440 
   18441 		CFLAGS="$xorg_testset_save_CFLAGS"
   18442 
   18443 		eval supported=\$$cacheid
   18444 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18445 printf "%s\n" "$supported" >&6; }
   18446 		if test "$supported" = "yes" ; then
   18447 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18448 			found="yes"
   18449 		fi
   18450 	fi
   18451 
   18452 
   18453 
   18454 
   18455 
   18456 
   18457 
   18458 
   18459 
   18460 
   18461 
   18462 
   18463 
   18464 
   18465 
   18466 xorg_testset_save_CFLAGS="$CFLAGS"
   18467 
   18468 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18469 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18471 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18472 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18473 then :
   18474   printf %s "(cached) " >&6
   18475 else $as_nop
   18476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18477 /* end confdefs.h.  */
   18478 int i;
   18479 _ACEOF
   18480 if ac_fn_c_try_compile "$LINENO"
   18481 then :
   18482   xorg_cv_cc_flag_unknown_warning_option=yes
   18483 else $as_nop
   18484   xorg_cv_cc_flag_unknown_warning_option=no
   18485 fi
   18486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18487 fi
   18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18489 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18491 	CFLAGS="$xorg_testset_save_CFLAGS"
   18492 fi
   18493 
   18494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18497 	fi
   18498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18500 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18501 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18502 then :
   18503   printf %s "(cached) " >&6
   18504 else $as_nop
   18505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18506 /* end confdefs.h.  */
   18507 int i;
   18508 _ACEOF
   18509 if ac_fn_c_try_compile "$LINENO"
   18510 then :
   18511   xorg_cv_cc_flag_unused_command_line_argument=yes
   18512 else $as_nop
   18513   xorg_cv_cc_flag_unused_command_line_argument=no
   18514 fi
   18515 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18516 fi
   18517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18518 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18520 	CFLAGS="$xorg_testset_save_CFLAGS"
   18521 fi
   18522 
   18523 found="no"
   18524 
   18525 	if test $found = "no" ; then
   18526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18528 		fi
   18529 
   18530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18532 		fi
   18533 
   18534 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18535 
   18536 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18537 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18538 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18539 		if eval test \${$cacheid+y}
   18540 then :
   18541   printf %s "(cached) " >&6
   18542 else $as_nop
   18543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18544 /* end confdefs.h.  */
   18545 int i;
   18546 int
   18547 main (void)
   18548 {
   18549 
   18550   ;
   18551   return 0;
   18552 }
   18553 _ACEOF
   18554 if ac_fn_c_try_link "$LINENO"
   18555 then :
   18556   eval $cacheid=yes
   18557 else $as_nop
   18558   eval $cacheid=no
   18559 fi
   18560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18561     conftest$ac_exeext conftest.$ac_ext
   18562 fi
   18563 
   18564 
   18565 		CFLAGS="$xorg_testset_save_CFLAGS"
   18566 
   18567 		eval supported=\$$cacheid
   18568 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18569 printf "%s\n" "$supported" >&6; }
   18570 		if test "$supported" = "yes" ; then
   18571 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18572 			found="yes"
   18573 		fi
   18574 	fi
   18575 
   18576 
   18577 fi
   18578 
   18579 
   18580 
   18581 
   18582 
   18583 
   18584 
   18585 		CWARNFLAGS="$BASE_CFLAGS"
   18586 		if  test "x$GCC" = xyes ; then
   18587 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18588 		fi
   18589 
   18590 
   18591 
   18592 
   18593 
   18594 
   18595 
   18596 
   18597 # Check whether --enable-strict-compilation was given.
   18598 if test ${enable_strict_compilation+y}
   18599 then :
   18600   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18601 else $as_nop
   18602   STRICT_COMPILE=no
   18603 fi
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 
   18610 STRICT_CFLAGS=""
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 xorg_testset_save_CFLAGS="$CFLAGS"
   18625 
   18626 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18627 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18628 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18629 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18630 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18631 then :
   18632   printf %s "(cached) " >&6
   18633 else $as_nop
   18634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18635 /* end confdefs.h.  */
   18636 int i;
   18637 _ACEOF
   18638 if ac_fn_c_try_compile "$LINENO"
   18639 then :
   18640   xorg_cv_cc_flag_unknown_warning_option=yes
   18641 else $as_nop
   18642   xorg_cv_cc_flag_unknown_warning_option=no
   18643 fi
   18644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18645 fi
   18646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18647 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18648 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18649 	CFLAGS="$xorg_testset_save_CFLAGS"
   18650 fi
   18651 
   18652 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18653 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18654 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18655 	fi
   18656 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18657 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18658 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18659 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18660 then :
   18661   printf %s "(cached) " >&6
   18662 else $as_nop
   18663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18664 /* end confdefs.h.  */
   18665 int i;
   18666 _ACEOF
   18667 if ac_fn_c_try_compile "$LINENO"
   18668 then :
   18669   xorg_cv_cc_flag_unused_command_line_argument=yes
   18670 else $as_nop
   18671   xorg_cv_cc_flag_unused_command_line_argument=no
   18672 fi
   18673 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18674 fi
   18675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18676 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18678 	CFLAGS="$xorg_testset_save_CFLAGS"
   18679 fi
   18680 
   18681 found="no"
   18682 
   18683 	if test $found = "no" ; then
   18684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18686 		fi
   18687 
   18688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18690 		fi
   18691 
   18692 		CFLAGS="$CFLAGS -pedantic"
   18693 
   18694 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18695 printf %s "checking if $CC supports -pedantic... " >&6; }
   18696 		cacheid=xorg_cv_cc_flag__pedantic
   18697 		if eval test \${$cacheid+y}
   18698 then :
   18699   printf %s "(cached) " >&6
   18700 else $as_nop
   18701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18702 /* end confdefs.h.  */
   18703 int i;
   18704 int
   18705 main (void)
   18706 {
   18707 
   18708   ;
   18709   return 0;
   18710 }
   18711 _ACEOF
   18712 if ac_fn_c_try_link "$LINENO"
   18713 then :
   18714   eval $cacheid=yes
   18715 else $as_nop
   18716   eval $cacheid=no
   18717 fi
   18718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18719     conftest$ac_exeext conftest.$ac_ext
   18720 fi
   18721 
   18722 
   18723 		CFLAGS="$xorg_testset_save_CFLAGS"
   18724 
   18725 		eval supported=\$$cacheid
   18726 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18727 printf "%s\n" "$supported" >&6; }
   18728 		if test "$supported" = "yes" ; then
   18729 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18730 			found="yes"
   18731 		fi
   18732 	fi
   18733 
   18734 
   18735 
   18736 
   18737 
   18738 
   18739 
   18740 
   18741 
   18742 
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 xorg_testset_save_CFLAGS="$CFLAGS"
   18749 
   18750 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18751 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18752 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18753 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18754 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18755 then :
   18756   printf %s "(cached) " >&6
   18757 else $as_nop
   18758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18759 /* end confdefs.h.  */
   18760 int i;
   18761 _ACEOF
   18762 if ac_fn_c_try_compile "$LINENO"
   18763 then :
   18764   xorg_cv_cc_flag_unknown_warning_option=yes
   18765 else $as_nop
   18766   xorg_cv_cc_flag_unknown_warning_option=no
   18767 fi
   18768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18769 fi
   18770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18771 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18772 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18773 	CFLAGS="$xorg_testset_save_CFLAGS"
   18774 fi
   18775 
   18776 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18777 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18778 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18779 	fi
   18780 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18781 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18782 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18783 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18784 then :
   18785   printf %s "(cached) " >&6
   18786 else $as_nop
   18787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18788 /* end confdefs.h.  */
   18789 int i;
   18790 _ACEOF
   18791 if ac_fn_c_try_compile "$LINENO"
   18792 then :
   18793   xorg_cv_cc_flag_unused_command_line_argument=yes
   18794 else $as_nop
   18795   xorg_cv_cc_flag_unused_command_line_argument=no
   18796 fi
   18797 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18798 fi
   18799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18800 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18802 	CFLAGS="$xorg_testset_save_CFLAGS"
   18803 fi
   18804 
   18805 found="no"
   18806 
   18807 	if test $found = "no" ; then
   18808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18810 		fi
   18811 
   18812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18814 		fi
   18815 
   18816 		CFLAGS="$CFLAGS -Werror"
   18817 
   18818 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18819 printf %s "checking if $CC supports -Werror... " >&6; }
   18820 		cacheid=xorg_cv_cc_flag__Werror
   18821 		if eval test \${$cacheid+y}
   18822 then :
   18823   printf %s "(cached) " >&6
   18824 else $as_nop
   18825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18826 /* end confdefs.h.  */
   18827 int i;
   18828 int
   18829 main (void)
   18830 {
   18831 
   18832   ;
   18833   return 0;
   18834 }
   18835 _ACEOF
   18836 if ac_fn_c_try_link "$LINENO"
   18837 then :
   18838   eval $cacheid=yes
   18839 else $as_nop
   18840   eval $cacheid=no
   18841 fi
   18842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18843     conftest$ac_exeext conftest.$ac_ext
   18844 fi
   18845 
   18846 
   18847 		CFLAGS="$xorg_testset_save_CFLAGS"
   18848 
   18849 		eval supported=\$$cacheid
   18850 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18851 printf "%s\n" "$supported" >&6; }
   18852 		if test "$supported" = "yes" ; then
   18853 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18854 			found="yes"
   18855 		fi
   18856 	fi
   18857 
   18858 	if test $found = "no" ; then
   18859 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18861 		fi
   18862 
   18863 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18865 		fi
   18866 
   18867 		CFLAGS="$CFLAGS -errwarn"
   18868 
   18869 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18870 printf %s "checking if $CC supports -errwarn... " >&6; }
   18871 		cacheid=xorg_cv_cc_flag__errwarn
   18872 		if eval test \${$cacheid+y}
   18873 then :
   18874   printf %s "(cached) " >&6
   18875 else $as_nop
   18876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18877 /* end confdefs.h.  */
   18878 int i;
   18879 int
   18880 main (void)
   18881 {
   18882 
   18883   ;
   18884   return 0;
   18885 }
   18886 _ACEOF
   18887 if ac_fn_c_try_link "$LINENO"
   18888 then :
   18889   eval $cacheid=yes
   18890 else $as_nop
   18891   eval $cacheid=no
   18892 fi
   18893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18894     conftest$ac_exeext conftest.$ac_ext
   18895 fi
   18896 
   18897 
   18898 		CFLAGS="$xorg_testset_save_CFLAGS"
   18899 
   18900 		eval supported=\$$cacheid
   18901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18902 printf "%s\n" "$supported" >&6; }
   18903 		if test "$supported" = "yes" ; then
   18904 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18905 			found="yes"
   18906 		fi
   18907 	fi
   18908 
   18909 
   18910 
   18911 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18912 # activate it with -Werror, so we add it here explicitly.
   18913 
   18914 
   18915 
   18916 
   18917 
   18918 
   18919 
   18920 
   18921 
   18922 
   18923 
   18924 
   18925 
   18926 xorg_testset_save_CFLAGS="$CFLAGS"
   18927 
   18928 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18929 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18931 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18932 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18933 then :
   18934   printf %s "(cached) " >&6
   18935 else $as_nop
   18936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18937 /* end confdefs.h.  */
   18938 int i;
   18939 _ACEOF
   18940 if ac_fn_c_try_compile "$LINENO"
   18941 then :
   18942   xorg_cv_cc_flag_unknown_warning_option=yes
   18943 else $as_nop
   18944   xorg_cv_cc_flag_unknown_warning_option=no
   18945 fi
   18946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18947 fi
   18948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18949 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18950 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18951 	CFLAGS="$xorg_testset_save_CFLAGS"
   18952 fi
   18953 
   18954 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18955 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18956 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18957 	fi
   18958 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18959 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18960 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18961 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18962 then :
   18963   printf %s "(cached) " >&6
   18964 else $as_nop
   18965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18966 /* end confdefs.h.  */
   18967 int i;
   18968 _ACEOF
   18969 if ac_fn_c_try_compile "$LINENO"
   18970 then :
   18971   xorg_cv_cc_flag_unused_command_line_argument=yes
   18972 else $as_nop
   18973   xorg_cv_cc_flag_unused_command_line_argument=no
   18974 fi
   18975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18976 fi
   18977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18978 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18979 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18980 	CFLAGS="$xorg_testset_save_CFLAGS"
   18981 fi
   18982 
   18983 found="no"
   18984 
   18985 	if test $found = "no" ; then
   18986 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18987 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18988 		fi
   18989 
   18990 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18991 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18992 		fi
   18993 
   18994 		CFLAGS="$CFLAGS -Werror=attributes"
   18995 
   18996 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18997 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   18998 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18999 		if eval test \${$cacheid+y}
   19000 then :
   19001   printf %s "(cached) " >&6
   19002 else $as_nop
   19003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19004 /* end confdefs.h.  */
   19005 int i;
   19006 int
   19007 main (void)
   19008 {
   19009 
   19010   ;
   19011   return 0;
   19012 }
   19013 _ACEOF
   19014 if ac_fn_c_try_link "$LINENO"
   19015 then :
   19016   eval $cacheid=yes
   19017 else $as_nop
   19018   eval $cacheid=no
   19019 fi
   19020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19021     conftest$ac_exeext conftest.$ac_ext
   19022 fi
   19023 
   19024 
   19025 		CFLAGS="$xorg_testset_save_CFLAGS"
   19026 
   19027 		eval supported=\$$cacheid
   19028 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19029 printf "%s\n" "$supported" >&6; }
   19030 		if test "$supported" = "yes" ; then
   19031 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19032 			found="yes"
   19033 		fi
   19034 	fi
   19035 
   19036 
   19037 
   19038 if test "x$STRICT_COMPILE" = "xyes"; then
   19039     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19040     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19041 fi
   19042 
   19043 
   19044 
   19045 
   19046 
   19047 
   19048 
   19049 
   19050 cat >>confdefs.h <<_ACEOF
   19051 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19052 _ACEOF
   19053 
   19054 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19055 	if test "x$PVM" = "x"; then
   19056 		PVM="0"
   19057 	fi
   19058 
   19059 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19060 
   19061 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19062 	if test "x$PVP" = "x"; then
   19063 		PVP="0"
   19064 	fi
   19065 
   19066 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19067 
   19068 
   19069 
   19070 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19071 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19072 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19073 touch \$(top_srcdir)/ChangeLog; \
   19074 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19075 
   19076 
   19077 
   19078 
   19079 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19080 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19081 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19082 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19083 touch \$(top_srcdir)/INSTALL; \
   19084 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19085 
   19086 
   19087 
   19088 
   19089 
   19090 
   19091 case $host_os in
   19092     solaris*)
   19093         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19094         # check for a man page file found in later versions that use
   19095         # traditional section numbers instead
   19096         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19097 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19098 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19099 then :
   19100   printf %s "(cached) " >&6
   19101 else $as_nop
   19102   test "$cross_compiling" = yes &&
   19103   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19104 if test -r "/usr/share/man/man7/attributes.7"; then
   19105   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19106 else
   19107   ac_cv_file__usr_share_man_man7_attributes_7=no
   19108 fi
   19109 fi
   19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19111 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19112 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19113 then :
   19114   SYSV_MAN_SECTIONS=false
   19115 else $as_nop
   19116   SYSV_MAN_SECTIONS=true
   19117 fi
   19118 
   19119         ;;
   19120     *) SYSV_MAN_SECTIONS=false ;;
   19121 esac
   19122 
   19123 if test x$APP_MAN_SUFFIX = x    ; then
   19124     APP_MAN_SUFFIX=1
   19125 fi
   19126 if test x$APP_MAN_DIR = x    ; then
   19127     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19128 fi
   19129 
   19130 if test x$LIB_MAN_SUFFIX = x    ; then
   19131     LIB_MAN_SUFFIX=3
   19132 fi
   19133 if test x$LIB_MAN_DIR = x    ; then
   19134     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19135 fi
   19136 
   19137 if test x$FILE_MAN_SUFFIX = x    ; then
   19138     case $SYSV_MAN_SECTIONS in
   19139 	true)				FILE_MAN_SUFFIX=4  ;;
   19140 	*)				FILE_MAN_SUFFIX=5  ;;
   19141     esac
   19142 fi
   19143 if test x$FILE_MAN_DIR = x    ; then
   19144     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19145 fi
   19146 
   19147 if test x$MISC_MAN_SUFFIX = x    ; then
   19148     case $SYSV_MAN_SECTIONS in
   19149 	true)				MISC_MAN_SUFFIX=5  ;;
   19150 	*)				MISC_MAN_SUFFIX=7  ;;
   19151     esac
   19152 fi
   19153 if test x$MISC_MAN_DIR = x    ; then
   19154     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19155 fi
   19156 
   19157 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19158     case $SYSV_MAN_SECTIONS in
   19159 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19160 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19161     esac
   19162 fi
   19163 if test x$DRIVER_MAN_DIR = x    ; then
   19164     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19165 fi
   19166 
   19167 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19168     case $SYSV_MAN_SECTIONS in
   19169 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19170 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19171     esac
   19172 fi
   19173 if test x$ADMIN_MAN_DIR = x    ; then
   19174     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19175 fi
   19176 
   19177 
   19178 
   19179 
   19180 
   19181 
   19182 
   19183 
   19184 
   19185 
   19186 
   19187 
   19188 
   19189 
   19190 
   19191 XORG_MAN_PAGE="X Version 11"
   19192 
   19193 MAN_SUBSTS="\
   19194 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19195 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19196 	-e 's|__xservername__|Xorg|g' \
   19197 	-e 's|__xconfigfile__|xorg.conf|g' \
   19198 	-e 's|__projectroot__|\$(prefix)|g' \
   19199 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19200 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19201 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19202 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19203 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19204 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19205 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19206 
   19207 
   19208 
   19209 # Check whether --enable-silent-rules was given.
   19210 if test ${enable_silent_rules+y}
   19211 then :
   19212   enableval=$enable_silent_rules;
   19213 fi
   19214 
   19215 case $enable_silent_rules in # (((
   19216   yes) AM_DEFAULT_VERBOSITY=0;;
   19217    no) AM_DEFAULT_VERBOSITY=1;;
   19218     *) AM_DEFAULT_VERBOSITY=0;;
   19219 esac
   19220 am_make=${MAKE-make}
   19221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19222 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19223 if test ${am_cv_make_support_nested_variables+y}
   19224 then :
   19225   printf %s "(cached) " >&6
   19226 else $as_nop
   19227   if printf "%s\n" 'TRUE=$(BAR$(V))
   19228 BAR0=false
   19229 BAR1=true
   19230 V=1
   19231 am__doit:
   19232 	@$(TRUE)
   19233 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19234   am_cv_make_support_nested_variables=yes
   19235 else
   19236   am_cv_make_support_nested_variables=no
   19237 fi
   19238 fi
   19239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19240 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19241 if test $am_cv_make_support_nested_variables = yes; then
   19242     AM_V='$(V)'
   19243   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19244 else
   19245   AM_V=$AM_DEFAULT_VERBOSITY
   19246   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19247 fi
   19248 AM_BACKSLASH='\'
   19249 
   19250 
   19251 
   19252 
   19253 # Check whether --enable-malloc0returnsnull was given.
   19254 if test ${enable_malloc0returnsnull+y}
   19255 then :
   19256   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   19257 else $as_nop
   19258   MALLOC_ZERO_RETURNS_NULL=auto
   19259 fi
   19260 
   19261 
   19262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   19263 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   19264 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   19265 if test ${xorg_cv_malloc0_returns_null+y}
   19266 then :
   19267   printf %s "(cached) " >&6
   19268 else $as_nop
   19269   if test "$cross_compiling" = yes
   19270 then :
   19271   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19272 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19273 as_fn_error $? "cannot run test program while cross compiling
   19274 See \`config.log' for more details" "$LINENO" 5; }
   19275 else $as_nop
   19276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19277 /* end confdefs.h.  */
   19278 
   19279 #include <stdlib.h>
   19280 
   19281 int
   19282 main (void)
   19283 {
   19284 
   19285     char *m0, *r0, *c0, *p;
   19286     m0 = malloc(0);
   19287     p = malloc(10);
   19288     r0 = realloc(p,0);
   19289     c0 = calloc(0,10);
   19290     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   19291 
   19292   ;
   19293   return 0;
   19294 }
   19295 _ACEOF
   19296 if ac_fn_c_try_run "$LINENO"
   19297 then :
   19298   xorg_cv_malloc0_returns_null=yes
   19299 else $as_nop
   19300   xorg_cv_malloc0_returns_null=no
   19301 fi
   19302 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   19303   conftest.$ac_objext conftest.beam conftest.$ac_ext
   19304 fi
   19305 
   19306 fi
   19307 
   19308 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   19309 fi
   19310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   19311 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   19312 
   19313 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   19314 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   19315 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   19316 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   19317 else
   19318 	MALLOC_ZERO_CFLAGS=""
   19319 	XMALLOC_ZERO_CFLAGS=""
   19320 	XTMALLOC_ZERO_CFLAGS=""
   19321 fi
   19322 
   19323 
   19324 
   19325 
   19326 
   19327 
   19328 # Check randr configuration, strip extra digits from package version to
   19329 # find the required protocol version
   19330 RANDR_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   19331 
   19332 
   19333 # Obtain compiler/linker options for dependencies
   19334 
   19335 pkg_failed=no
   19336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RANDR" >&5
   19337 printf %s "checking for RANDR... " >&6; }
   19338 
   19339 if test -n "$RANDR_CFLAGS"; then
   19340     pkg_cv_RANDR_CFLAGS="$RANDR_CFLAGS"
   19341  elif test -n "$PKG_CONFIG"; then
   19342     if test -n "$PKG_CONFIG" && \
   19343     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5
   19344   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5
   19345   ac_status=$?
   19346   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19347   test $ac_status = 0; }; then
   19348   pkg_cv_RANDR_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null`
   19349 		      test "x$?" != "x0" && pkg_failed=yes
   19350 else
   19351   pkg_failed=yes
   19352 fi
   19353  else
   19354     pkg_failed=untried
   19355 fi
   19356 if test -n "$RANDR_LIBS"; then
   19357     pkg_cv_RANDR_LIBS="$RANDR_LIBS"
   19358  elif test -n "$PKG_CONFIG"; then
   19359     if test -n "$PKG_CONFIG" && \
   19360     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 randrproto >= \$RANDR_VERSION xext xextproto xrender renderproto\""; } >&5
   19361   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto") 2>&5
   19362   ac_status=$?
   19363   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19364   test $ac_status = 0; }; then
   19365   pkg_cv_RANDR_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>/dev/null`
   19366 		      test "x$?" != "x0" && pkg_failed=yes
   19367 else
   19368   pkg_failed=yes
   19369 fi
   19370  else
   19371     pkg_failed=untried
   19372 fi
   19373 
   19374 
   19375 
   19376 if test $pkg_failed = yes; then
   19377    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19378 printf "%s\n" "no" >&6; }
   19379 
   19380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19381         _pkg_short_errors_supported=yes
   19382 else
   19383         _pkg_short_errors_supported=no
   19384 fi
   19385         if test $_pkg_short_errors_supported = yes; then
   19386 	        RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>&1`
   19387         else
   19388 	        RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto" 2>&1`
   19389         fi
   19390 	# Put the nasty error message in config.log where it belongs
   19391 	echo "$RANDR_PKG_ERRORS" >&5
   19392 
   19393 	as_fn_error $? "Package requirements (x11 >= 1.6 randrproto >= $RANDR_VERSION xext xextproto xrender renderproto) were not met:
   19394 
   19395 $RANDR_PKG_ERRORS
   19396 
   19397 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19398 installed software in a non-standard prefix.
   19399 
   19400 Alternatively, you may set the environment variables RANDR_CFLAGS
   19401 and RANDR_LIBS to avoid the need to call pkg-config.
   19402 See the pkg-config man page for more details." "$LINENO" 5
   19403 elif test $pkg_failed = untried; then
   19404      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19405 printf "%s\n" "no" >&6; }
   19406 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19407 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19408 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19409 is in your PATH or set the PKG_CONFIG environment variable to the full
   19410 path to pkg-config.
   19411 
   19412 Alternatively, you may set the environment variables RANDR_CFLAGS
   19413 and RANDR_LIBS to avoid the need to call pkg-config.
   19414 See the pkg-config man page for more details.
   19415 
   19416 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19417 See \`config.log' for more details" "$LINENO" 5; }
   19418 else
   19419 	RANDR_CFLAGS=$pkg_cv_RANDR_CFLAGS
   19420 	RANDR_LIBS=$pkg_cv_RANDR_LIBS
   19421         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19422 printf "%s\n" "yes" >&6; }
   19423 
   19424 fi
   19425 
   19426 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xrandr.pc"
   19427 
   19428 cat >confcache <<\_ACEOF
   19429 # This file is a shell script that caches the results of configure
   19430 # tests run on this system so they can be shared between configure
   19431 # scripts and configure runs, see configure's option --config-cache.
   19432 # It is not useful on other systems.  If it contains results you don't
   19433 # want to keep, you may remove or edit it.
   19434 #
   19435 # config.status only pays attention to the cache file if you give it
   19436 # the --recheck option to rerun configure.
   19437 #
   19438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19440 # following values.
   19441 
   19442 _ACEOF
   19443 
   19444 # The following way of writing the cache mishandles newlines in values,
   19445 # but we know of no workaround that is simple, portable, and efficient.
   19446 # So, we kill variables containing newlines.
   19447 # Ultrix sh set writes to stderr and can't be redirected directly,
   19448 # and sets the high bit in the cache file unless we assign to the vars.
   19449 (
   19450   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19451     eval ac_val=\$$ac_var
   19452     case $ac_val in #(
   19453     *${as_nl}*)
   19454       case $ac_var in #(
   19455       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19456 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19457       esac
   19458       case $ac_var in #(
   19459       _ | IFS | as_nl) ;; #(
   19460       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19461       *) { eval $ac_var=; unset $ac_var;} ;;
   19462       esac ;;
   19463     esac
   19464   done
   19465 
   19466   (set) 2>&1 |
   19467     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19468     *${as_nl}ac_space=\ *)
   19469       # `set' does not quote correctly, so add quotes: double-quote
   19470       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19471       sed -n \
   19472 	"s/'/'\\\\''/g;
   19473 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19474       ;; #(
   19475     *)
   19476       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19477       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19478       ;;
   19479     esac |
   19480     sort
   19481 ) |
   19482   sed '
   19483      /^ac_cv_env_/b end
   19484      t clear
   19485      :clear
   19486      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19487      t end
   19488      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19489      :end' >>confcache
   19490 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19491   if test -w "$cache_file"; then
   19492     if test "x$cache_file" != "x/dev/null"; then
   19493       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19494 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19495       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19496 	cat confcache >"$cache_file"
   19497       else
   19498         case $cache_file in #(
   19499         */* | ?:*)
   19500 	  mv -f confcache "$cache_file"$$ &&
   19501 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19502         *)
   19503 	  mv -f confcache "$cache_file" ;;
   19504 	esac
   19505       fi
   19506     fi
   19507   else
   19508     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19509 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19510   fi
   19511 fi
   19512 rm -f confcache
   19513 
   19514 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19515 # Let make expand exec_prefix.
   19516 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19517 
   19518 DEFS=-DHAVE_CONFIG_H
   19519 
   19520 ac_libobjs=
   19521 ac_ltlibobjs=
   19522 U=
   19523 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19524   # 1. Remove the extension, and $U if already installed.
   19525   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19526   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19527   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19528   #    will be set to the directory where LIBOBJS objects are built.
   19529   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19530   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19531 done
   19532 LIBOBJS=$ac_libobjs
   19533 
   19534 LTLIBOBJS=$ac_ltlibobjs
   19535 
   19536 
   19537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19538 printf %s "checking that generated files are newer than configure... " >&6; }
   19539    if test -n "$am_sleep_pid"; then
   19540      # Hide warnings about reused PIDs.
   19541      wait $am_sleep_pid 2>/dev/null
   19542    fi
   19543    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19544 printf "%s\n" "done" >&6; }
   19545  if test -n "$EXEEXT"; then
   19546   am__EXEEXT_TRUE=
   19547   am__EXEEXT_FALSE='#'
   19548 else
   19549   am__EXEEXT_TRUE='#'
   19550   am__EXEEXT_FALSE=
   19551 fi
   19552 
   19553 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19554   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19556 fi
   19557 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19558   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19560 fi
   19561 
   19562 : "${CONFIG_STATUS=./config.status}"
   19563 ac_write_fail=0
   19564 ac_clean_files_save=$ac_clean_files
   19565 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19567 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19568 as_write_fail=0
   19569 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19570 #! $SHELL
   19571 # Generated by $as_me.
   19572 # Run this file to recreate the current configuration.
   19573 # Compiler output produced by configure, useful for debugging
   19574 # configure, is in config.log if it exists.
   19575 
   19576 debug=false
   19577 ac_cs_recheck=false
   19578 ac_cs_silent=false
   19579 
   19580 SHELL=\${CONFIG_SHELL-$SHELL}
   19581 export SHELL
   19582 _ASEOF
   19583 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19584 ## -------------------- ##
   19585 ## M4sh Initialization. ##
   19586 ## -------------------- ##
   19587 
   19588 # Be more Bourne compatible
   19589 DUALCASE=1; export DUALCASE # for MKS sh
   19590 as_nop=:
   19591 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19592 then :
   19593   emulate sh
   19594   NULLCMD=:
   19595   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19596   # is contrary to our usage.  Disable this feature.
   19597   alias -g '${1+"$@"}'='"$@"'
   19598   setopt NO_GLOB_SUBST
   19599 else $as_nop
   19600   case `(set -o) 2>/dev/null` in #(
   19601   *posix*) :
   19602     set -o posix ;; #(
   19603   *) :
   19604      ;;
   19605 esac
   19606 fi
   19607 
   19608 
   19609 
   19610 # Reset variables that may have inherited troublesome values from
   19611 # the environment.
   19612 
   19613 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19614 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19615 # side effect of setting IFS to empty, thus disabling word splitting.)
   19616 # Quoting is to prevent editors from complaining about space-tab.
   19617 as_nl='
   19618 '
   19619 export as_nl
   19620 IFS=" ""	$as_nl"
   19621 
   19622 PS1='$ '
   19623 PS2='> '
   19624 PS4='+ '
   19625 
   19626 # Ensure predictable behavior from utilities with locale-dependent output.
   19627 LC_ALL=C
   19628 export LC_ALL
   19629 LANGUAGE=C
   19630 export LANGUAGE
   19631 
   19632 # We cannot yet rely on "unset" to work, but we need these variables
   19633 # to be unset--not just set to an empty or harmless value--now, to
   19634 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19635 # also avoids known problems related to "unset" and subshell syntax
   19636 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19637 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19638 do eval test \${$as_var+y} \
   19639   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19640 done
   19641 
   19642 # Ensure that fds 0, 1, and 2 are open.
   19643 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19644 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19645 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19646 
   19647 # The user is always right.
   19648 if ${PATH_SEPARATOR+false} :; then
   19649   PATH_SEPARATOR=:
   19650   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19651     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19652       PATH_SEPARATOR=';'
   19653   }
   19654 fi
   19655 
   19656 
   19657 # Find who we are.  Look in the path if we contain no directory separator.
   19658 as_myself=
   19659 case $0 in #((
   19660   *[\\/]* ) as_myself=$0 ;;
   19661   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19662 for as_dir in $PATH
   19663 do
   19664   IFS=$as_save_IFS
   19665   case $as_dir in #(((
   19666     '') as_dir=./ ;;
   19667     */) ;;
   19668     *) as_dir=$as_dir/ ;;
   19669   esac
   19670     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19671   done
   19672 IFS=$as_save_IFS
   19673 
   19674      ;;
   19675 esac
   19676 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19677 # in which case we are not to be found in the path.
   19678 if test "x$as_myself" = x; then
   19679   as_myself=$0
   19680 fi
   19681 if test ! -f "$as_myself"; then
   19682   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19683   exit 1
   19684 fi
   19685 
   19686 
   19687 
   19688 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19689 # ----------------------------------------
   19690 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19691 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19692 # script with STATUS, using 1 if that was 0.
   19693 as_fn_error ()
   19694 {
   19695   as_status=$1; test $as_status -eq 0 && as_status=1
   19696   if test "$4"; then
   19697     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19698     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19699   fi
   19700   printf "%s\n" "$as_me: error: $2" >&2
   19701   as_fn_exit $as_status
   19702 } # as_fn_error
   19703 
   19704 
   19705 
   19706 # as_fn_set_status STATUS
   19707 # -----------------------
   19708 # Set $? to STATUS, without forking.
   19709 as_fn_set_status ()
   19710 {
   19711   return $1
   19712 } # as_fn_set_status
   19713 
   19714 # as_fn_exit STATUS
   19715 # -----------------
   19716 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19717 as_fn_exit ()
   19718 {
   19719   set +e
   19720   as_fn_set_status $1
   19721   exit $1
   19722 } # as_fn_exit
   19723 
   19724 # as_fn_unset VAR
   19725 # ---------------
   19726 # Portably unset VAR.
   19727 as_fn_unset ()
   19728 {
   19729   { eval $1=; unset $1;}
   19730 }
   19731 as_unset=as_fn_unset
   19732 
   19733 # as_fn_append VAR VALUE
   19734 # ----------------------
   19735 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19736 # advantage of any shell optimizations that allow amortized linear growth over
   19737 # repeated appends, instead of the typical quadratic growth present in naive
   19738 # implementations.
   19739 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   19740 then :
   19741   eval 'as_fn_append ()
   19742   {
   19743     eval $1+=\$2
   19744   }'
   19745 else $as_nop
   19746   as_fn_append ()
   19747   {
   19748     eval $1=\$$1\$2
   19749   }
   19750 fi # as_fn_append
   19751 
   19752 # as_fn_arith ARG...
   19753 # ------------------
   19754 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19755 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19756 # must be portable across $(()) and expr.
   19757 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   19758 then :
   19759   eval 'as_fn_arith ()
   19760   {
   19761     as_val=$(( $* ))
   19762   }'
   19763 else $as_nop
   19764   as_fn_arith ()
   19765   {
   19766     as_val=`expr "$@" || test $? -eq 1`
   19767   }
   19768 fi # as_fn_arith
   19769 
   19770 
   19771 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19772    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19773   as_expr=expr
   19774 else
   19775   as_expr=false
   19776 fi
   19777 
   19778 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19779   as_basename=basename
   19780 else
   19781   as_basename=false
   19782 fi
   19783 
   19784 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19785   as_dirname=dirname
   19786 else
   19787   as_dirname=false
   19788 fi
   19789 
   19790 as_me=`$as_basename -- "$0" ||
   19791 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19792 	 X"$0" : 'X\(//\)$' \| \
   19793 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19794 printf "%s\n" X/"$0" |
   19795     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19796 	    s//\1/
   19797 	    q
   19798 	  }
   19799 	  /^X\/\(\/\/\)$/{
   19800 	    s//\1/
   19801 	    q
   19802 	  }
   19803 	  /^X\/\(\/\).*/{
   19804 	    s//\1/
   19805 	    q
   19806 	  }
   19807 	  s/.*/./; q'`
   19808 
   19809 # Avoid depending upon Character Ranges.
   19810 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19811 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19812 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19813 as_cr_digits='0123456789'
   19814 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19815 
   19816 
   19817 # Determine whether it's possible to make 'echo' print without a newline.
   19818 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   19819 # for compatibility with existing Makefiles.
   19820 ECHO_C= ECHO_N= ECHO_T=
   19821 case `echo -n x` in #(((((
   19822 -n*)
   19823   case `echo 'xy\c'` in
   19824   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19825   xy)  ECHO_C='\c';;
   19826   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19827        ECHO_T='	';;
   19828   esac;;
   19829 *)
   19830   ECHO_N='-n';;
   19831 esac
   19832 
   19833 # For backward compatibility with old third-party macros, we provide
   19834 # the shell variables $as_echo and $as_echo_n.  New code should use
   19835 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   19836 as_echo='printf %s\n'
   19837 as_echo_n='printf %s'
   19838 
   19839 rm -f conf$$ conf$$.exe conf$$.file
   19840 if test -d conf$$.dir; then
   19841   rm -f conf$$.dir/conf$$.file
   19842 else
   19843   rm -f conf$$.dir
   19844   mkdir conf$$.dir 2>/dev/null
   19845 fi
   19846 if (echo >conf$$.file) 2>/dev/null; then
   19847   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19848     as_ln_s='ln -s'
   19849     # ... but there are two gotchas:
   19850     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19851     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19852     # In both cases, we have to default to `cp -pR'.
   19853     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19854       as_ln_s='cp -pR'
   19855   elif ln conf$$.file conf$$ 2>/dev/null; then
   19856     as_ln_s=ln
   19857   else
   19858     as_ln_s='cp -pR'
   19859   fi
   19860 else
   19861   as_ln_s='cp -pR'
   19862 fi
   19863 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19864 rmdir conf$$.dir 2>/dev/null
   19865 
   19866 
   19867 # as_fn_mkdir_p
   19868 # -------------
   19869 # Create "$as_dir" as a directory, including parents if necessary.
   19870 as_fn_mkdir_p ()
   19871 {
   19872 
   19873   case $as_dir in #(
   19874   -*) as_dir=./$as_dir;;
   19875   esac
   19876   test -d "$as_dir" || eval $as_mkdir_p || {
   19877     as_dirs=
   19878     while :; do
   19879       case $as_dir in #(
   19880       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19881       *) as_qdir=$as_dir;;
   19882       esac
   19883       as_dirs="'$as_qdir' $as_dirs"
   19884       as_dir=`$as_dirname -- "$as_dir" ||
   19885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19886 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19887 	 X"$as_dir" : 'X\(//\)$' \| \
   19888 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19889 printf "%s\n" X"$as_dir" |
   19890     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19891 	    s//\1/
   19892 	    q
   19893 	  }
   19894 	  /^X\(\/\/\)[^/].*/{
   19895 	    s//\1/
   19896 	    q
   19897 	  }
   19898 	  /^X\(\/\/\)$/{
   19899 	    s//\1/
   19900 	    q
   19901 	  }
   19902 	  /^X\(\/\).*/{
   19903 	    s//\1/
   19904 	    q
   19905 	  }
   19906 	  s/.*/./; q'`
   19907       test -d "$as_dir" && break
   19908     done
   19909     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19910   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19911 
   19912 
   19913 } # as_fn_mkdir_p
   19914 if mkdir -p . 2>/dev/null; then
   19915   as_mkdir_p='mkdir -p "$as_dir"'
   19916 else
   19917   test -d ./-p && rmdir ./-p
   19918   as_mkdir_p=false
   19919 fi
   19920 
   19921 
   19922 # as_fn_executable_p FILE
   19923 # -----------------------
   19924 # Test if FILE is an executable regular file.
   19925 as_fn_executable_p ()
   19926 {
   19927   test -f "$1" && test -x "$1"
   19928 } # as_fn_executable_p
   19929 as_test_x='test -x'
   19930 as_executable_p=as_fn_executable_p
   19931 
   19932 # Sed expression to map a string onto a valid CPP name.
   19933 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19934 
   19935 # Sed expression to map a string onto a valid variable name.
   19936 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19937 
   19938 
   19939 exec 6>&1
   19940 ## ----------------------------------- ##
   19941 ## Main body of $CONFIG_STATUS script. ##
   19942 ## ----------------------------------- ##
   19943 _ASEOF
   19944 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19945 
   19946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19947 # Save the log message, to keep $0 and so on meaningful, and to
   19948 # report actual input values of CONFIG_FILES etc. instead of their
   19949 # values after options handling.
   19950 ac_log="
   19951 This file was extended by libXrandr $as_me 1.5.4, which was
   19952 generated by GNU Autoconf 2.71.  Invocation command line was
   19953 
   19954   CONFIG_FILES    = $CONFIG_FILES
   19955   CONFIG_HEADERS  = $CONFIG_HEADERS
   19956   CONFIG_LINKS    = $CONFIG_LINKS
   19957   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19958   $ $0 $@
   19959 
   19960 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19961 "
   19962 
   19963 _ACEOF
   19964 
   19965 case $ac_config_files in *"
   19966 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19967 esac
   19968 
   19969 case $ac_config_headers in *"
   19970 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19971 esac
   19972 
   19973 
   19974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19975 # Files that config.status was made for.
   19976 config_files="$ac_config_files"
   19977 config_headers="$ac_config_headers"
   19978 config_commands="$ac_config_commands"
   19979 
   19980 _ACEOF
   19981 
   19982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19983 ac_cs_usage="\
   19984 \`$as_me' instantiates files and other configuration actions
   19985 from templates according to the current configuration.  Unless the files
   19986 and actions are specified as TAGs, all are instantiated by default.
   19987 
   19988 Usage: $0 [OPTION]... [TAG]...
   19989 
   19990   -h, --help       print this help, then exit
   19991   -V, --version    print version number and configuration settings, then exit
   19992       --config     print configuration, then exit
   19993   -q, --quiet, --silent
   19994                    do not print progress messages
   19995   -d, --debug      don't remove temporary files
   19996       --recheck    update $as_me by reconfiguring in the same conditions
   19997       --file=FILE[:TEMPLATE]
   19998                    instantiate the configuration file FILE
   19999       --header=FILE[:TEMPLATE]
   20000                    instantiate the configuration header FILE
   20001 
   20002 Configuration files:
   20003 $config_files
   20004 
   20005 Configuration headers:
   20006 $config_headers
   20007 
   20008 Configuration commands:
   20009 $config_commands
   20010 
   20011 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrandr/-/issues>."
   20012 
   20013 _ACEOF
   20014 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20015 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20017 ac_cs_config='$ac_cs_config_escaped'
   20018 ac_cs_version="\\
   20019 libXrandr config.status 1.5.4
   20020 configured by $0, generated by GNU Autoconf 2.71,
   20021   with options \\"\$ac_cs_config\\"
   20022 
   20023 Copyright (C) 2021 Free Software Foundation, Inc.
   20024 This config.status script is free software; the Free Software Foundation
   20025 gives unlimited permission to copy, distribute and modify it."
   20026 
   20027 ac_pwd='$ac_pwd'
   20028 srcdir='$srcdir'
   20029 INSTALL='$INSTALL'
   20030 MKDIR_P='$MKDIR_P'
   20031 AWK='$AWK'
   20032 test -n "\$AWK" || AWK=awk
   20033 _ACEOF
   20034 
   20035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20036 # The default lists apply if the user does not specify any file.
   20037 ac_need_defaults=:
   20038 while test $# != 0
   20039 do
   20040   case $1 in
   20041   --*=?*)
   20042     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20043     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20044     ac_shift=:
   20045     ;;
   20046   --*=)
   20047     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20048     ac_optarg=
   20049     ac_shift=:
   20050     ;;
   20051   *)
   20052     ac_option=$1
   20053     ac_optarg=$2
   20054     ac_shift=shift
   20055     ;;
   20056   esac
   20057 
   20058   case $ac_option in
   20059   # Handling of the options.
   20060   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20061     ac_cs_recheck=: ;;
   20062   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20063     printf "%s\n" "$ac_cs_version"; exit ;;
   20064   --config | --confi | --conf | --con | --co | --c )
   20065     printf "%s\n" "$ac_cs_config"; exit ;;
   20066   --debug | --debu | --deb | --de | --d | -d )
   20067     debug=: ;;
   20068   --file | --fil | --fi | --f )
   20069     $ac_shift
   20070     case $ac_optarg in
   20071     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20072     '') as_fn_error $? "missing file argument" ;;
   20073     esac
   20074     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20075     ac_need_defaults=false;;
   20076   --header | --heade | --head | --hea )
   20077     $ac_shift
   20078     case $ac_optarg in
   20079     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20080     esac
   20081     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20082     ac_need_defaults=false;;
   20083   --he | --h)
   20084     # Conflict between --help and --header
   20085     as_fn_error $? "ambiguous option: \`$1'
   20086 Try \`$0 --help' for more information.";;
   20087   --help | --hel | -h )
   20088     printf "%s\n" "$ac_cs_usage"; exit ;;
   20089   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20090   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20091     ac_cs_silent=: ;;
   20092 
   20093   # This is an error.
   20094   -*) as_fn_error $? "unrecognized option: \`$1'
   20095 Try \`$0 --help' for more information." ;;
   20096 
   20097   *) as_fn_append ac_config_targets " $1"
   20098      ac_need_defaults=false ;;
   20099 
   20100   esac
   20101   shift
   20102 done
   20103 
   20104 ac_configure_extra_args=
   20105 
   20106 if $ac_cs_silent; then
   20107   exec 6>/dev/null
   20108   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20109 fi
   20110 
   20111 _ACEOF
   20112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20113 if \$ac_cs_recheck; then
   20114   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20115   shift
   20116   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20117   CONFIG_SHELL='$SHELL'
   20118   export CONFIG_SHELL
   20119   exec "\$@"
   20120 fi
   20121 
   20122 _ACEOF
   20123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20124 exec 5>>config.log
   20125 {
   20126   echo
   20127   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20128 ## Running $as_me. ##
   20129 _ASBOX
   20130   printf "%s\n" "$ac_log"
   20131 } >&5
   20132 
   20133 _ACEOF
   20134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20135 #
   20136 # INIT-COMMANDS
   20137 #
   20138 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20139 
   20140 
   20141 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20142 # if CDPATH is set.
   20143 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20144 
   20145 sed_quote_subst='$sed_quote_subst'
   20146 double_quote_subst='$double_quote_subst'
   20147 delay_variable_subst='$delay_variable_subst'
   20148 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20149 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20150 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20151 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20152 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20153 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20154 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20155 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20156 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20157 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20158 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20159 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20160 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20161 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20162 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20163 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20164 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20165 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20166 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20167 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20168 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20169 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20170 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20171 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20172 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20173 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20174 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20175 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20176 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20177 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20178 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20179 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20180 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20181 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20182 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20183 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20184 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20185 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20186 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20187 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20188 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20189 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20190 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20191 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20192 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20193 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20194 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20195 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20196 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20197 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20198 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20199 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20200 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20201 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20202 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20203 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20204 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20205 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20206 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20207 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20208 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"`'
   20209 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20210 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20211 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20212 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20213 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20214 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20215 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20216 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20217 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20218 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20219 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20220 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20221 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20222 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20223 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20224 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20225 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20226 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20227 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20228 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20229 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20230 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20231 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20232 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20233 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20234 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20235 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20236 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20237 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20238 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20239 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20240 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20241 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20242 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20243 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20244 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20245 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20246 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20247 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20248 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20249 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20250 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20251 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20252 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20253 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20254 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20255 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20256 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20257 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20258 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20259 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20260 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20261 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20262 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20263 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20264 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20265 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20266 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20267 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20268 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20269 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20270 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20271 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20272 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20273 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20274 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20275 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20276 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20277 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20278 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20279 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20280 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20281 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20282 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20283 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20284 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20285 
   20286 LTCC='$LTCC'
   20287 LTCFLAGS='$LTCFLAGS'
   20288 compiler='$compiler_DEFAULT'
   20289 
   20290 # A function that is used when there is no print builtin or printf.
   20291 func_fallback_echo ()
   20292 {
   20293   eval 'cat <<_LTECHO_EOF
   20294 \$1
   20295 _LTECHO_EOF'
   20296 }
   20297 
   20298 # Quote evaled strings.
   20299 for var in SHELL \
   20300 ECHO \
   20301 PATH_SEPARATOR \
   20302 SED \
   20303 GREP \
   20304 EGREP \
   20305 FGREP \
   20306 LD \
   20307 NM \
   20308 LN_S \
   20309 lt_SP2NL \
   20310 lt_NL2SP \
   20311 reload_flag \
   20312 FILECMD \
   20313 OBJDUMP \
   20314 deplibs_check_method \
   20315 file_magic_cmd \
   20316 file_magic_glob \
   20317 want_nocaseglob \
   20318 DLLTOOL \
   20319 sharedlib_from_linklib_cmd \
   20320 AR \
   20321 archiver_list_spec \
   20322 STRIP \
   20323 RANLIB \
   20324 CC \
   20325 CFLAGS \
   20326 compiler \
   20327 lt_cv_sys_global_symbol_pipe \
   20328 lt_cv_sys_global_symbol_to_cdecl \
   20329 lt_cv_sys_global_symbol_to_import \
   20330 lt_cv_sys_global_symbol_to_c_name_address \
   20331 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20332 lt_cv_nm_interface \
   20333 nm_file_list_spec \
   20334 lt_cv_truncate_bin \
   20335 lt_prog_compiler_no_builtin_flag \
   20336 lt_prog_compiler_pic \
   20337 lt_prog_compiler_wl \
   20338 lt_prog_compiler_static \
   20339 lt_cv_prog_compiler_c_o \
   20340 need_locks \
   20341 MANIFEST_TOOL \
   20342 DSYMUTIL \
   20343 NMEDIT \
   20344 LIPO \
   20345 OTOOL \
   20346 OTOOL64 \
   20347 shrext_cmds \
   20348 export_dynamic_flag_spec \
   20349 whole_archive_flag_spec \
   20350 compiler_needs_object \
   20351 with_gnu_ld \
   20352 allow_undefined_flag \
   20353 no_undefined_flag \
   20354 hardcode_libdir_flag_spec \
   20355 hardcode_libdir_separator \
   20356 exclude_expsyms \
   20357 include_expsyms \
   20358 file_list_spec \
   20359 variables_saved_for_relink \
   20360 libname_spec \
   20361 library_names_spec \
   20362 soname_spec \
   20363 install_override_mode \
   20364 finish_eval \
   20365 old_striplib \
   20366 striplib; do
   20367     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20368     *[\\\\\\\`\\"\\\$]*)
   20369       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20370       ;;
   20371     *)
   20372       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20373       ;;
   20374     esac
   20375 done
   20376 
   20377 # Double-quote double-evaled strings.
   20378 for var in reload_cmds \
   20379 old_postinstall_cmds \
   20380 old_postuninstall_cmds \
   20381 old_archive_cmds \
   20382 extract_expsyms_cmds \
   20383 old_archive_from_new_cmds \
   20384 old_archive_from_expsyms_cmds \
   20385 archive_cmds \
   20386 archive_expsym_cmds \
   20387 module_cmds \
   20388 module_expsym_cmds \
   20389 export_symbols_cmds \
   20390 prelink_cmds \
   20391 postlink_cmds \
   20392 postinstall_cmds \
   20393 postuninstall_cmds \
   20394 finish_cmds \
   20395 sys_lib_search_path_spec \
   20396 configure_time_dlsearch_path \
   20397 configure_time_lt_sys_library_path; do
   20398     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20399     *[\\\\\\\`\\"\\\$]*)
   20400       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20401       ;;
   20402     *)
   20403       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20404       ;;
   20405     esac
   20406 done
   20407 
   20408 ac_aux_dir='$ac_aux_dir'
   20409 
   20410 # See if we are running on zsh, and set the options that allow our
   20411 # commands through without removal of \ escapes INIT.
   20412 if test -n "\${ZSH_VERSION+set}"; then
   20413    setopt NO_GLOB_SUBST
   20414 fi
   20415 
   20416 
   20417     PACKAGE='$PACKAGE'
   20418     VERSION='$VERSION'
   20419     RM='$RM'
   20420     ofile='$ofile'
   20421 
   20422 
   20423 
   20424 
   20425 _ACEOF
   20426 
   20427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20428 
   20429 # Handling of arguments.
   20430 for ac_config_target in $ac_config_targets
   20431 do
   20432   case $ac_config_target in
   20433     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20434     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20435     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20436     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20437     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20438     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20439     "xrandr.pc") CONFIG_FILES="$CONFIG_FILES xrandr.pc" ;;
   20440 
   20441   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20442   esac
   20443 done
   20444 
   20445 
   20446 # If the user did not use the arguments to specify the items to instantiate,
   20447 # then the envvar interface is used.  Set only those that are not.
   20448 # We use the long form for the default assignment because of an extremely
   20449 # bizarre bug on SunOS 4.1.3.
   20450 if $ac_need_defaults; then
   20451   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20452   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20453   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20454 fi
   20455 
   20456 # Have a temporary directory for convenience.  Make it in the build tree
   20457 # simply because there is no reason against having it here, and in addition,
   20458 # creating and moving files from /tmp can sometimes cause problems.
   20459 # Hook for its removal unless debugging.
   20460 # Note that there is a small window in which the directory will not be cleaned:
   20461 # after its creation but before its name has been assigned to `$tmp'.
   20462 $debug ||
   20463 {
   20464   tmp= ac_tmp=
   20465   trap 'exit_status=$?
   20466   : "${ac_tmp:=$tmp}"
   20467   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20468 ' 0
   20469   trap 'as_fn_exit 1' 1 2 13 15
   20470 }
   20471 # Create a (secure) tmp directory for tmp files.
   20472 
   20473 {
   20474   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20475   test -d "$tmp"
   20476 }  ||
   20477 {
   20478   tmp=./conf$$-$RANDOM
   20479   (umask 077 && mkdir "$tmp")
   20480 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20481 ac_tmp=$tmp
   20482 
   20483 # Set up the scripts for CONFIG_FILES section.
   20484 # No need to generate them if there are no CONFIG_FILES.
   20485 # This happens for instance with `./config.status config.h'.
   20486 if test -n "$CONFIG_FILES"; then
   20487 
   20488 
   20489 ac_cr=`echo X | tr X '\015'`
   20490 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20491 # But we know of no other shell where ac_cr would be empty at this
   20492 # point, so we can use a bashism as a fallback.
   20493 if test "x$ac_cr" = x; then
   20494   eval ac_cr=\$\'\\r\'
   20495 fi
   20496 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20497 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20498   ac_cs_awk_cr='\\r'
   20499 else
   20500   ac_cs_awk_cr=$ac_cr
   20501 fi
   20502 
   20503 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20504 _ACEOF
   20505 
   20506 
   20507 {
   20508   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20509   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20510   echo "_ACEOF"
   20511 } >conf$$subs.sh ||
   20512   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20513 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20514 ac_delim='%!_!# '
   20515 for ac_last_try in false false false false false :; do
   20516   . ./conf$$subs.sh ||
   20517     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20518 
   20519   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20520   if test $ac_delim_n = $ac_delim_num; then
   20521     break
   20522   elif $ac_last_try; then
   20523     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20524   else
   20525     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20526   fi
   20527 done
   20528 rm -f conf$$subs.sh
   20529 
   20530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20531 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20532 _ACEOF
   20533 sed -n '
   20534 h
   20535 s/^/S["/; s/!.*/"]=/
   20536 p
   20537 g
   20538 s/^[^!]*!//
   20539 :repl
   20540 t repl
   20541 s/'"$ac_delim"'$//
   20542 t delim
   20543 :nl
   20544 h
   20545 s/\(.\{148\}\)..*/\1/
   20546 t more1
   20547 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20548 p
   20549 n
   20550 b repl
   20551 :more1
   20552 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20553 p
   20554 g
   20555 s/.\{148\}//
   20556 t nl
   20557 :delim
   20558 h
   20559 s/\(.\{148\}\)..*/\1/
   20560 t more2
   20561 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20562 p
   20563 b
   20564 :more2
   20565 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20566 p
   20567 g
   20568 s/.\{148\}//
   20569 t delim
   20570 ' <conf$$subs.awk | sed '
   20571 /^[^""]/{
   20572   N
   20573   s/\n//
   20574 }
   20575 ' >>$CONFIG_STATUS || ac_write_fail=1
   20576 rm -f conf$$subs.awk
   20577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20578 _ACAWK
   20579 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20580   for (key in S) S_is_set[key] = 1
   20581   FS = ""
   20582 
   20583 }
   20584 {
   20585   line = $ 0
   20586   nfields = split(line, field, "@")
   20587   substed = 0
   20588   len = length(field[1])
   20589   for (i = 2; i < nfields; i++) {
   20590     key = field[i]
   20591     keylen = length(key)
   20592     if (S_is_set[key]) {
   20593       value = S[key]
   20594       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20595       len += length(value) + length(field[++i])
   20596       substed = 1
   20597     } else
   20598       len += 1 + keylen
   20599   }
   20600 
   20601   print line
   20602 }
   20603 
   20604 _ACAWK
   20605 _ACEOF
   20606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20607 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20608   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20609 else
   20610   cat
   20611 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20612   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20613 _ACEOF
   20614 
   20615 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20616 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20617 # trailing colons and then remove the whole line if VPATH becomes empty
   20618 # (actually we leave an empty line to preserve line numbers).
   20619 if test "x$srcdir" = x.; then
   20620   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20621 h
   20622 s///
   20623 s/^/:/
   20624 s/[	 ]*$/:/
   20625 s/:\$(srcdir):/:/g
   20626 s/:\${srcdir}:/:/g
   20627 s/:@srcdir@:/:/g
   20628 s/^:*//
   20629 s/:*$//
   20630 x
   20631 s/\(=[	 ]*\).*/\1/
   20632 G
   20633 s/\n//
   20634 s/^[^=]*=[	 ]*$//
   20635 }'
   20636 fi
   20637 
   20638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20639 fi # test -n "$CONFIG_FILES"
   20640 
   20641 # Set up the scripts for CONFIG_HEADERS section.
   20642 # No need to generate them if there are no CONFIG_HEADERS.
   20643 # This happens for instance with `./config.status Makefile'.
   20644 if test -n "$CONFIG_HEADERS"; then
   20645 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20646 BEGIN {
   20647 _ACEOF
   20648 
   20649 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20650 # here-document in config.status, that substitutes the proper values into
   20651 # config.h.in to produce config.h.
   20652 
   20653 # Create a delimiter string that does not exist in confdefs.h, to ease
   20654 # handling of long lines.
   20655 ac_delim='%!_!# '
   20656 for ac_last_try in false false :; do
   20657   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20658   if test -z "$ac_tt"; then
   20659     break
   20660   elif $ac_last_try; then
   20661     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20662   else
   20663     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20664   fi
   20665 done
   20666 
   20667 # For the awk script, D is an array of macro values keyed by name,
   20668 # likewise P contains macro parameters if any.  Preserve backslash
   20669 # newline sequences.
   20670 
   20671 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20672 sed -n '
   20673 s/.\{148\}/&'"$ac_delim"'/g
   20674 t rset
   20675 :rset
   20676 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20677 t def
   20678 d
   20679 :def
   20680 s/\\$//
   20681 t bsnl
   20682 s/["\\]/\\&/g
   20683 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20684 D["\1"]=" \3"/p
   20685 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20686 d
   20687 :bsnl
   20688 s/["\\]/\\&/g
   20689 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20690 D["\1"]=" \3\\\\\\n"\\/p
   20691 t cont
   20692 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20693 t cont
   20694 d
   20695 :cont
   20696 n
   20697 s/.\{148\}/&'"$ac_delim"'/g
   20698 t clear
   20699 :clear
   20700 s/\\$//
   20701 t bsnlc
   20702 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20703 d
   20704 :bsnlc
   20705 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20706 b cont
   20707 ' <confdefs.h | sed '
   20708 s/'"$ac_delim"'/"\\\
   20709 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20710 
   20711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20712   for (key in D) D_is_set[key] = 1
   20713   FS = ""
   20714 }
   20715 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20716   line = \$ 0
   20717   split(line, arg, " ")
   20718   if (arg[1] == "#") {
   20719     defundef = arg[2]
   20720     mac1 = arg[3]
   20721   } else {
   20722     defundef = substr(arg[1], 2)
   20723     mac1 = arg[2]
   20724   }
   20725   split(mac1, mac2, "(") #)
   20726   macro = mac2[1]
   20727   prefix = substr(line, 1, index(line, defundef) - 1)
   20728   if (D_is_set[macro]) {
   20729     # Preserve the white space surrounding the "#".
   20730     print prefix "define", macro P[macro] D[macro]
   20731     next
   20732   } else {
   20733     # Replace #undef with comments.  This is necessary, for example,
   20734     # in the case of _POSIX_SOURCE, which is predefined and required
   20735     # on some systems where configure will not decide to define it.
   20736     if (defundef == "undef") {
   20737       print "/*", prefix defundef, macro, "*/"
   20738       next
   20739     }
   20740   }
   20741 }
   20742 { print }
   20743 _ACAWK
   20744 _ACEOF
   20745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20746   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20747 fi # test -n "$CONFIG_HEADERS"
   20748 
   20749 
   20750 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20751 shift
   20752 for ac_tag
   20753 do
   20754   case $ac_tag in
   20755   :[FHLC]) ac_mode=$ac_tag; continue;;
   20756   esac
   20757   case $ac_mode$ac_tag in
   20758   :[FHL]*:*);;
   20759   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20760   :[FH]-) ac_tag=-:-;;
   20761   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20762   esac
   20763   ac_save_IFS=$IFS
   20764   IFS=:
   20765   set x $ac_tag
   20766   IFS=$ac_save_IFS
   20767   shift
   20768   ac_file=$1
   20769   shift
   20770 
   20771   case $ac_mode in
   20772   :L) ac_source=$1;;
   20773   :[FH])
   20774     ac_file_inputs=
   20775     for ac_f
   20776     do
   20777       case $ac_f in
   20778       -) ac_f="$ac_tmp/stdin";;
   20779       *) # Look for the file first in the build tree, then in the source tree
   20780 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20781 	 # because $ac_f cannot contain `:'.
   20782 	 test -f "$ac_f" ||
   20783 	   case $ac_f in
   20784 	   [\\/$]*) false;;
   20785 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20786 	   esac ||
   20787 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20788       esac
   20789       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20790       as_fn_append ac_file_inputs " '$ac_f'"
   20791     done
   20792 
   20793     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20794     # use $as_me), people would be surprised to read:
   20795     #    /* config.h.  Generated by config.status.  */
   20796     configure_input='Generated from '`
   20797 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20798 	`' by configure.'
   20799     if test x"$ac_file" != x-; then
   20800       configure_input="$ac_file.  $configure_input"
   20801       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20802 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   20803     fi
   20804     # Neutralize special characters interpreted by sed in replacement strings.
   20805     case $configure_input in #(
   20806     *\&* | *\|* | *\\* )
   20807        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   20808        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20809     *) ac_sed_conf_input=$configure_input;;
   20810     esac
   20811 
   20812     case $ac_tag in
   20813     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20814       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20815     esac
   20816     ;;
   20817   esac
   20818 
   20819   ac_dir=`$as_dirname -- "$ac_file" ||
   20820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20821 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20822 	 X"$ac_file" : 'X\(//\)$' \| \
   20823 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20824 printf "%s\n" X"$ac_file" |
   20825     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20826 	    s//\1/
   20827 	    q
   20828 	  }
   20829 	  /^X\(\/\/\)[^/].*/{
   20830 	    s//\1/
   20831 	    q
   20832 	  }
   20833 	  /^X\(\/\/\)$/{
   20834 	    s//\1/
   20835 	    q
   20836 	  }
   20837 	  /^X\(\/\).*/{
   20838 	    s//\1/
   20839 	    q
   20840 	  }
   20841 	  s/.*/./; q'`
   20842   as_dir="$ac_dir"; as_fn_mkdir_p
   20843   ac_builddir=.
   20844 
   20845 case "$ac_dir" in
   20846 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20847 *)
   20848   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   20849   # A ".." for each directory in $ac_dir_suffix.
   20850   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20851   case $ac_top_builddir_sub in
   20852   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20853   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20854   esac ;;
   20855 esac
   20856 ac_abs_top_builddir=$ac_pwd
   20857 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20858 # for backward compatibility:
   20859 ac_top_builddir=$ac_top_build_prefix
   20860 
   20861 case $srcdir in
   20862   .)  # We are building in place.
   20863     ac_srcdir=.
   20864     ac_top_srcdir=$ac_top_builddir_sub
   20865     ac_abs_top_srcdir=$ac_pwd ;;
   20866   [\\/]* | ?:[\\/]* )  # Absolute name.
   20867     ac_srcdir=$srcdir$ac_dir_suffix;
   20868     ac_top_srcdir=$srcdir
   20869     ac_abs_top_srcdir=$srcdir ;;
   20870   *) # Relative name.
   20871     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20872     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20873     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20874 esac
   20875 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20876 
   20877 
   20878   case $ac_mode in
   20879   :F)
   20880   #
   20881   # CONFIG_FILE
   20882   #
   20883 
   20884   case $INSTALL in
   20885   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20886   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20887   esac
   20888   ac_MKDIR_P=$MKDIR_P
   20889   case $MKDIR_P in
   20890   [\\/$]* | ?:[\\/]* ) ;;
   20891   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20892   esac
   20893 _ACEOF
   20894 
   20895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20896 # If the template does not know about datarootdir, expand it.
   20897 # FIXME: This hack should be removed a few years after 2.60.
   20898 ac_datarootdir_hack=; ac_datarootdir_seen=
   20899 ac_sed_dataroot='
   20900 /datarootdir/ {
   20901   p
   20902   q
   20903 }
   20904 /@datadir@/p
   20905 /@docdir@/p
   20906 /@infodir@/p
   20907 /@localedir@/p
   20908 /@mandir@/p'
   20909 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20910 *datarootdir*) ac_datarootdir_seen=yes;;
   20911 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20913 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20914 _ACEOF
   20915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20916   ac_datarootdir_hack='
   20917   s&@datadir@&$datadir&g
   20918   s&@docdir@&$docdir&g
   20919   s&@infodir@&$infodir&g
   20920   s&@localedir@&$localedir&g
   20921   s&@mandir@&$mandir&g
   20922   s&\\\${datarootdir}&$datarootdir&g' ;;
   20923 esac
   20924 _ACEOF
   20925 
   20926 # Neutralize VPATH when `$srcdir' = `.'.
   20927 # Shell code in configure.ac might set extrasub.
   20928 # FIXME: do we really want to maintain this feature?
   20929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20930 ac_sed_extra="$ac_vpsub
   20931 $extrasub
   20932 _ACEOF
   20933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20934 :t
   20935 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20936 s|@configure_input@|$ac_sed_conf_input|;t t
   20937 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20938 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20939 s&@srcdir@&$ac_srcdir&;t t
   20940 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20941 s&@top_srcdir@&$ac_top_srcdir&;t t
   20942 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20943 s&@builddir@&$ac_builddir&;t t
   20944 s&@abs_builddir@&$ac_abs_builddir&;t t
   20945 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20946 s&@INSTALL@&$ac_INSTALL&;t t
   20947 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20948 $ac_datarootdir_hack
   20949 "
   20950 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20951   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20952 
   20953 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20954   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20955   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20956       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20958 which seems to be undefined.  Please make sure it is defined" >&5
   20959 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20960 which seems to be undefined.  Please make sure it is defined" >&2;}
   20961 
   20962   rm -f "$ac_tmp/stdin"
   20963   case $ac_file in
   20964   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20965   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20966   esac \
   20967   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20968  ;;
   20969   :H)
   20970   #
   20971   # CONFIG_HEADER
   20972   #
   20973   if test x"$ac_file" != x-; then
   20974     {
   20975       printf "%s\n" "/* $configure_input  */" >&1 \
   20976       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20977     } >"$ac_tmp/config.h" \
   20978       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20979     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20980       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20981 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   20982     else
   20983       rm -f "$ac_file"
   20984       mv "$ac_tmp/config.h" "$ac_file" \
   20985 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20986     fi
   20987   else
   20988     printf "%s\n" "/* $configure_input  */" >&1 \
   20989       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20990       || as_fn_error $? "could not create -" "$LINENO" 5
   20991   fi
   20992 # Compute "$ac_file"'s index in $config_headers.
   20993 _am_arg="$ac_file"
   20994 _am_stamp_count=1
   20995 for _am_header in $config_headers :; do
   20996   case $_am_header in
   20997     $_am_arg | $_am_arg:* )
   20998       break ;;
   20999     * )
   21000       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21001   esac
   21002 done
   21003 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21004 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21005 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21006 	 X"$_am_arg" : 'X\(//\)$' \| \
   21007 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21008 printf "%s\n" X"$_am_arg" |
   21009     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21010 	    s//\1/
   21011 	    q
   21012 	  }
   21013 	  /^X\(\/\/\)[^/].*/{
   21014 	    s//\1/
   21015 	    q
   21016 	  }
   21017 	  /^X\(\/\/\)$/{
   21018 	    s//\1/
   21019 	    q
   21020 	  }
   21021 	  /^X\(\/\).*/{
   21022 	    s//\1/
   21023 	    q
   21024 	  }
   21025 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21026  ;;
   21027 
   21028   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21029 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21030  ;;
   21031   esac
   21032 
   21033 
   21034   case $ac_file$ac_mode in
   21035     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21036   # Older Autoconf quotes --file arguments for eval, but not when files
   21037   # are listed without --file.  Let's play safe and only enable the eval
   21038   # if we detect the quoting.
   21039   # TODO: see whether this extra hack can be removed once we start
   21040   # requiring Autoconf 2.70 or later.
   21041   case $CONFIG_FILES in #(
   21042   *\'*) :
   21043     eval set x "$CONFIG_FILES" ;; #(
   21044   *) :
   21045     set x $CONFIG_FILES ;; #(
   21046   *) :
   21047      ;;
   21048 esac
   21049   shift
   21050   # Used to flag and report bootstrapping failures.
   21051   am_rc=0
   21052   for am_mf
   21053   do
   21054     # Strip MF so we end up with the name of the file.
   21055     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21056     # Check whether this is an Automake generated Makefile which includes
   21057     # dependency-tracking related rules and includes.
   21058     # Grep'ing the whole file directly is not great: AIX grep has a line
   21059     # limit of 2048, but all sed's we know have understand at least 4000.
   21060     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21061       || continue
   21062     am_dirpart=`$as_dirname -- "$am_mf" ||
   21063 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21064 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21065 	 X"$am_mf" : 'X\(//\)$' \| \
   21066 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21067 printf "%s\n" X"$am_mf" |
   21068     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21069 	    s//\1/
   21070 	    q
   21071 	  }
   21072 	  /^X\(\/\/\)[^/].*/{
   21073 	    s//\1/
   21074 	    q
   21075 	  }
   21076 	  /^X\(\/\/\)$/{
   21077 	    s//\1/
   21078 	    q
   21079 	  }
   21080 	  /^X\(\/\).*/{
   21081 	    s//\1/
   21082 	    q
   21083 	  }
   21084 	  s/.*/./; q'`
   21085     am_filepart=`$as_basename -- "$am_mf" ||
   21086 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21087 	 X"$am_mf" : 'X\(//\)$' \| \
   21088 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21089 printf "%s\n" X/"$am_mf" |
   21090     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21091 	    s//\1/
   21092 	    q
   21093 	  }
   21094 	  /^X\/\(\/\/\)$/{
   21095 	    s//\1/
   21096 	    q
   21097 	  }
   21098 	  /^X\/\(\/\).*/{
   21099 	    s//\1/
   21100 	    q
   21101 	  }
   21102 	  s/.*/./; q'`
   21103     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21104       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21105         | $MAKE -f - am--depfiles" >&5
   21106    (cd "$am_dirpart" \
   21107       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21108         | $MAKE -f - am--depfiles) >&5 2>&5
   21109    ac_status=$?
   21110    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21111    (exit $ac_status); } || am_rc=$?
   21112   done
   21113   if test $am_rc -ne 0; then
   21114     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21115 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21116 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21117     for automatic dependency tracking.  If GNU make was not used, consider
   21118     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21119     necessary).  You can also try re-running configure with the
   21120     '--disable-dependency-tracking' option to at least be able to build
   21121     the package (albeit without support for automatic dependency tracking).
   21122 See \`config.log' for more details" "$LINENO" 5; }
   21123   fi
   21124   { am_dirpart=; unset am_dirpart;}
   21125   { am_filepart=; unset am_filepart;}
   21126   { am_mf=; unset am_mf;}
   21127   { am_rc=; unset am_rc;}
   21128   rm -f conftest-deps.mk
   21129 }
   21130  ;;
   21131     "libtool":C)
   21132 
   21133     # See if we are running on zsh, and set the options that allow our
   21134     # commands through without removal of \ escapes.
   21135     if test -n "${ZSH_VERSION+set}"; then
   21136       setopt NO_GLOB_SUBST
   21137     fi
   21138 
   21139     cfgfile=${ofile}T
   21140     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21141     $RM "$cfgfile"
   21142 
   21143     cat <<_LT_EOF >> "$cfgfile"
   21144 #! $SHELL
   21145 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21146 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   21147 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21148 
   21149 # Provide generalized library-building support services.
   21150 # Written by Gordon Matzigkeit, 1996
   21151 
   21152 # Copyright (C) 2014 Free Software Foundation, Inc.
   21153 # This is free software; see the source for copying conditions.  There is NO
   21154 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21155 
   21156 # GNU Libtool is free software; you can redistribute it and/or modify
   21157 # it under the terms of the GNU General Public License as published by
   21158 # the Free Software Foundation; either version 2 of of the License, or
   21159 # (at your option) any later version.
   21160 #
   21161 # As a special exception to the GNU General Public License, if you
   21162 # distribute this file as part of a program or library that is built
   21163 # using GNU Libtool, you may include this file under the  same
   21164 # distribution terms that you use for the rest of that program.
   21165 #
   21166 # GNU Libtool is distributed in the hope that it will be useful, but
   21167 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21168 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21169 # GNU General Public License for more details.
   21170 #
   21171 # You should have received a copy of the GNU General Public License
   21172 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21173 
   21174 
   21175 # The names of the tagged configurations supported by this script.
   21176 available_tags=''
   21177 
   21178 # Configured defaults for sys_lib_dlsearch_path munging.
   21179 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21180 
   21181 # ### BEGIN LIBTOOL CONFIG
   21182 
   21183 # Which release of libtool.m4 was used?
   21184 macro_version=$macro_version
   21185 macro_revision=$macro_revision
   21186 
   21187 # Whether or not to build shared libraries.
   21188 build_libtool_libs=$enable_shared
   21189 
   21190 # Whether or not to build static libraries.
   21191 build_old_libs=$enable_static
   21192 
   21193 # What type of objects to build.
   21194 pic_mode=$pic_mode
   21195 
   21196 # Whether or not to optimize for fast installation.
   21197 fast_install=$enable_fast_install
   21198 
   21199 # Shared archive member basename,for filename based shared library versioning on AIX.
   21200 shared_archive_member_spec=$shared_archive_member_spec
   21201 
   21202 # Shell to use when invoking shell scripts.
   21203 SHELL=$lt_SHELL
   21204 
   21205 # An echo program that protects backslashes.
   21206 ECHO=$lt_ECHO
   21207 
   21208 # The PATH separator for the build system.
   21209 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21210 
   21211 # The host system.
   21212 host_alias=$host_alias
   21213 host=$host
   21214 host_os=$host_os
   21215 
   21216 # The build system.
   21217 build_alias=$build_alias
   21218 build=$build
   21219 build_os=$build_os
   21220 
   21221 # A sed program that does not truncate output.
   21222 SED=$lt_SED
   21223 
   21224 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21225 Xsed="\$SED -e 1s/^X//"
   21226 
   21227 # A grep program that handles long lines.
   21228 GREP=$lt_GREP
   21229 
   21230 # An ERE matcher.
   21231 EGREP=$lt_EGREP
   21232 
   21233 # A literal string matcher.
   21234 FGREP=$lt_FGREP
   21235 
   21236 # A BSD- or MS-compatible name lister.
   21237 NM=$lt_NM
   21238 
   21239 # Whether we need soft or hard links.
   21240 LN_S=$lt_LN_S
   21241 
   21242 # What is the maximum length of a command?
   21243 max_cmd_len=$max_cmd_len
   21244 
   21245 # Object file suffix (normally "o").
   21246 objext=$ac_objext
   21247 
   21248 # Executable file suffix (normally "").
   21249 exeext=$exeext
   21250 
   21251 # whether the shell understands "unset".
   21252 lt_unset=$lt_unset
   21253 
   21254 # turn spaces into newlines.
   21255 SP2NL=$lt_lt_SP2NL
   21256 
   21257 # turn newlines into spaces.
   21258 NL2SP=$lt_lt_NL2SP
   21259 
   21260 # convert \$build file names to \$host format.
   21261 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21262 
   21263 # convert \$build files to toolchain format.
   21264 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21265 
   21266 # A file(cmd) program that detects file types.
   21267 FILECMD=$lt_FILECMD
   21268 
   21269 # An object symbol dumper.
   21270 OBJDUMP=$lt_OBJDUMP
   21271 
   21272 # Method to check whether dependent libraries are shared objects.
   21273 deplibs_check_method=$lt_deplibs_check_method
   21274 
   21275 # Command to use when deplibs_check_method = "file_magic".
   21276 file_magic_cmd=$lt_file_magic_cmd
   21277 
   21278 # How to find potential files when deplibs_check_method = "file_magic".
   21279 file_magic_glob=$lt_file_magic_glob
   21280 
   21281 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21282 want_nocaseglob=$lt_want_nocaseglob
   21283 
   21284 # DLL creation program.
   21285 DLLTOOL=$lt_DLLTOOL
   21286 
   21287 # Command to associate shared and link libraries.
   21288 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21289 
   21290 # The archiver.
   21291 AR=$lt_AR
   21292 
   21293 # Flags to create an archive (by configure).
   21294 lt_ar_flags=$lt_ar_flags
   21295 
   21296 # Flags to create an archive.
   21297 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21298 
   21299 # How to feed a file listing to the archiver.
   21300 archiver_list_spec=$lt_archiver_list_spec
   21301 
   21302 # A symbol stripping program.
   21303 STRIP=$lt_STRIP
   21304 
   21305 # Commands used to install an old-style archive.
   21306 RANLIB=$lt_RANLIB
   21307 old_postinstall_cmds=$lt_old_postinstall_cmds
   21308 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21309 
   21310 # Whether to use a lock for old archive extraction.
   21311 lock_old_archive_extraction=$lock_old_archive_extraction
   21312 
   21313 # A C compiler.
   21314 LTCC=$lt_CC
   21315 
   21316 # LTCC compiler flags.
   21317 LTCFLAGS=$lt_CFLAGS
   21318 
   21319 # Take the output of nm and produce a listing of raw symbols and C names.
   21320 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21321 
   21322 # Transform the output of nm in a proper C declaration.
   21323 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21324 
   21325 # Transform the output of nm into a list of symbols to manually relocate.
   21326 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21327 
   21328 # Transform the output of nm in a C name address pair.
   21329 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21330 
   21331 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21332 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21333 
   21334 # The name lister interface.
   21335 nm_interface=$lt_lt_cv_nm_interface
   21336 
   21337 # Specify filename containing input files for \$NM.
   21338 nm_file_list_spec=$lt_nm_file_list_spec
   21339 
   21340 # The root where to search for dependent libraries,and where our libraries should be installed.
   21341 lt_sysroot=$lt_sysroot
   21342 
   21343 # Command to truncate a binary pipe.
   21344 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21345 
   21346 # The name of the directory that contains temporary libtool files.
   21347 objdir=$objdir
   21348 
   21349 # Used to examine libraries when file_magic_cmd begins with "file".
   21350 MAGIC_CMD=$MAGIC_CMD
   21351 
   21352 # Must we lock files when doing compilation?
   21353 need_locks=$lt_need_locks
   21354 
   21355 # Manifest tool.
   21356 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21357 
   21358 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21359 DSYMUTIL=$lt_DSYMUTIL
   21360 
   21361 # Tool to change global to local symbols on Mac OS X.
   21362 NMEDIT=$lt_NMEDIT
   21363 
   21364 # Tool to manipulate fat objects and archives on Mac OS X.
   21365 LIPO=$lt_LIPO
   21366 
   21367 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21368 OTOOL=$lt_OTOOL
   21369 
   21370 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21371 OTOOL64=$lt_OTOOL64
   21372 
   21373 # Old archive suffix (normally "a").
   21374 libext=$libext
   21375 
   21376 # Shared library suffix (normally ".so").
   21377 shrext_cmds=$lt_shrext_cmds
   21378 
   21379 # The commands to extract the exported symbol list from a shared archive.
   21380 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21381 
   21382 # Variables whose values should be saved in libtool wrapper scripts and
   21383 # restored at link time.
   21384 variables_saved_for_relink=$lt_variables_saved_for_relink
   21385 
   21386 # Do we need the "lib" prefix for modules?
   21387 need_lib_prefix=$need_lib_prefix
   21388 
   21389 # Do we need a version for libraries?
   21390 need_version=$need_version
   21391 
   21392 # Library versioning type.
   21393 version_type=$version_type
   21394 
   21395 # Shared library runtime path variable.
   21396 runpath_var=$runpath_var
   21397 
   21398 # Shared library path variable.
   21399 shlibpath_var=$shlibpath_var
   21400 
   21401 # Is shlibpath searched before the hard-coded library search path?
   21402 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21403 
   21404 # Format of library name prefix.
   21405 libname_spec=$lt_libname_spec
   21406 
   21407 # List of archive names.  First name is the real one, the rest are links.
   21408 # The last name is the one that the linker finds with -lNAME
   21409 library_names_spec=$lt_library_names_spec
   21410 
   21411 # The coded name of the library, if different from the real name.
   21412 soname_spec=$lt_soname_spec
   21413 
   21414 # Permission mode override for installation of shared libraries.
   21415 install_override_mode=$lt_install_override_mode
   21416 
   21417 # Command to use after installation of a shared archive.
   21418 postinstall_cmds=$lt_postinstall_cmds
   21419 
   21420 # Command to use after uninstallation of a shared archive.
   21421 postuninstall_cmds=$lt_postuninstall_cmds
   21422 
   21423 # Commands used to finish a libtool library installation in a directory.
   21424 finish_cmds=$lt_finish_cmds
   21425 
   21426 # As "finish_cmds", except a single script fragment to be evaled but
   21427 # not shown.
   21428 finish_eval=$lt_finish_eval
   21429 
   21430 # Whether we should hardcode library paths into libraries.
   21431 hardcode_into_libs=$hardcode_into_libs
   21432 
   21433 # Compile-time system search path for libraries.
   21434 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21435 
   21436 # Detected run-time system search path for libraries.
   21437 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21438 
   21439 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21440 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21441 
   21442 # Whether dlopen is supported.
   21443 dlopen_support=$enable_dlopen
   21444 
   21445 # Whether dlopen of programs is supported.
   21446 dlopen_self=$enable_dlopen_self
   21447 
   21448 # Whether dlopen of statically linked programs is supported.
   21449 dlopen_self_static=$enable_dlopen_self_static
   21450 
   21451 # Commands to strip libraries.
   21452 old_striplib=$lt_old_striplib
   21453 striplib=$lt_striplib
   21454 
   21455 
   21456 # The linker used to build libraries.
   21457 LD=$lt_LD
   21458 
   21459 # How to create reloadable object files.
   21460 reload_flag=$lt_reload_flag
   21461 reload_cmds=$lt_reload_cmds
   21462 
   21463 # Commands used to build an old-style archive.
   21464 old_archive_cmds=$lt_old_archive_cmds
   21465 
   21466 # A language specific compiler.
   21467 CC=$lt_compiler
   21468 
   21469 # Is the compiler the GNU compiler?
   21470 with_gcc=$GCC
   21471 
   21472 # Compiler flag to turn off builtin functions.
   21473 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21474 
   21475 # Additional compiler flags for building library objects.
   21476 pic_flag=$lt_lt_prog_compiler_pic
   21477 
   21478 # How to pass a linker flag through the compiler.
   21479 wl=$lt_lt_prog_compiler_wl
   21480 
   21481 # Compiler flag to prevent dynamic linking.
   21482 link_static_flag=$lt_lt_prog_compiler_static
   21483 
   21484 # Does compiler simultaneously support -c and -o options?
   21485 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21486 
   21487 # Whether or not to add -lc for building shared libraries.
   21488 build_libtool_need_lc=$archive_cmds_need_lc
   21489 
   21490 # Whether or not to disallow shared libs when runtime libs are static.
   21491 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21492 
   21493 # Compiler flag to allow reflexive dlopens.
   21494 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21495 
   21496 # Compiler flag to generate shared objects directly from archives.
   21497 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21498 
   21499 # Whether the compiler copes with passing no objects directly.
   21500 compiler_needs_object=$lt_compiler_needs_object
   21501 
   21502 # Create an old-style archive from a shared archive.
   21503 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21504 
   21505 # Create a temporary old-style archive to link instead of a shared archive.
   21506 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21507 
   21508 # Commands used to build a shared archive.
   21509 archive_cmds=$lt_archive_cmds
   21510 archive_expsym_cmds=$lt_archive_expsym_cmds
   21511 
   21512 # Commands used to build a loadable module if different from building
   21513 # a shared archive.
   21514 module_cmds=$lt_module_cmds
   21515 module_expsym_cmds=$lt_module_expsym_cmds
   21516 
   21517 # Whether we are building with GNU ld or not.
   21518 with_gnu_ld=$lt_with_gnu_ld
   21519 
   21520 # Flag that allows shared libraries with undefined symbols to be built.
   21521 allow_undefined_flag=$lt_allow_undefined_flag
   21522 
   21523 # Flag that enforces no undefined symbols.
   21524 no_undefined_flag=$lt_no_undefined_flag
   21525 
   21526 # Flag to hardcode \$libdir into a binary during linking.
   21527 # This must work even if \$libdir does not exist
   21528 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21529 
   21530 # Whether we need a single "-rpath" flag with a separated argument.
   21531 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21532 
   21533 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21534 # DIR into the resulting binary.
   21535 hardcode_direct=$hardcode_direct
   21536 
   21537 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21538 # DIR into the resulting binary and the resulting library dependency is
   21539 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21540 # library is relocated.
   21541 hardcode_direct_absolute=$hardcode_direct_absolute
   21542 
   21543 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21544 # into the resulting binary.
   21545 hardcode_minus_L=$hardcode_minus_L
   21546 
   21547 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21548 # into the resulting binary.
   21549 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21550 
   21551 # Set to "yes" if building a shared library automatically hardcodes DIR
   21552 # into the library and all subsequent libraries and executables linked
   21553 # against it.
   21554 hardcode_automatic=$hardcode_automatic
   21555 
   21556 # Set to yes if linker adds runtime paths of dependent libraries
   21557 # to runtime path list.
   21558 inherit_rpath=$inherit_rpath
   21559 
   21560 # Whether libtool must link a program against all its dependency libraries.
   21561 link_all_deplibs=$link_all_deplibs
   21562 
   21563 # Set to "yes" if exported symbols are required.
   21564 always_export_symbols=$always_export_symbols
   21565 
   21566 # The commands to list exported symbols.
   21567 export_symbols_cmds=$lt_export_symbols_cmds
   21568 
   21569 # Symbols that should not be listed in the preloaded symbols.
   21570 exclude_expsyms=$lt_exclude_expsyms
   21571 
   21572 # Symbols that must always be exported.
   21573 include_expsyms=$lt_include_expsyms
   21574 
   21575 # Commands necessary for linking programs (against libraries) with templates.
   21576 prelink_cmds=$lt_prelink_cmds
   21577 
   21578 # Commands necessary for finishing linking programs.
   21579 postlink_cmds=$lt_postlink_cmds
   21580 
   21581 # Specify filename containing input files.
   21582 file_list_spec=$lt_file_list_spec
   21583 
   21584 # How to hardcode a shared library path into an executable.
   21585 hardcode_action=$hardcode_action
   21586 
   21587 # ### END LIBTOOL CONFIG
   21588 
   21589 _LT_EOF
   21590 
   21591     cat <<'_LT_EOF' >> "$cfgfile"
   21592 
   21593 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21594 
   21595 # func_munge_path_list VARIABLE PATH
   21596 # -----------------------------------
   21597 # VARIABLE is name of variable containing _space_ separated list of
   21598 # directories to be munged by the contents of PATH, which is string
   21599 # having a format:
   21600 # "DIR[:DIR]:"
   21601 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21602 # ":DIR[:DIR]"
   21603 #       string "DIR[ DIR]" will be appended to VARIABLE
   21604 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21605 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21606 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21607 # "DIR[:DIR]"
   21608 #       VARIABLE will be replaced by "DIR[ DIR]"
   21609 func_munge_path_list ()
   21610 {
   21611     case x$2 in
   21612     x)
   21613         ;;
   21614     *:)
   21615         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21616         ;;
   21617     x:*)
   21618         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21619         ;;
   21620     *::*)
   21621         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21622         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21623         ;;
   21624     *)
   21625         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21626         ;;
   21627     esac
   21628 }
   21629 
   21630 
   21631 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21632 func_cc_basename ()
   21633 {
   21634     for cc_temp in $*""; do
   21635       case $cc_temp in
   21636         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21637         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21638         \-*) ;;
   21639         *) break;;
   21640       esac
   21641     done
   21642     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21643 }
   21644 
   21645 
   21646 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21647 
   21648 _LT_EOF
   21649 
   21650   case $host_os in
   21651   aix3*)
   21652     cat <<\_LT_EOF >> "$cfgfile"
   21653 # AIX sometimes has problems with the GCC collect2 program.  For some
   21654 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21655 # vanish in a puff of smoke.
   21656 if test set != "${COLLECT_NAMES+set}"; then
   21657   COLLECT_NAMES=
   21658   export COLLECT_NAMES
   21659 fi
   21660 _LT_EOF
   21661     ;;
   21662   esac
   21663 
   21664 
   21665 
   21666 ltmain=$ac_aux_dir/ltmain.sh
   21667 
   21668 
   21669   # We use sed instead of cat because bash on DJGPP gets confused if
   21670   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21671   # text mode, it properly converts lines to CR/LF.  This bash problem
   21672   # is reportedly fixed, but why not run on old versions too?
   21673   $SED '$q' "$ltmain" >> "$cfgfile" \
   21674      || (rm -f "$cfgfile"; exit 1)
   21675 
   21676    mv -f "$cfgfile" "$ofile" ||
   21677     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21678   chmod +x "$ofile"
   21679 
   21680  ;;
   21681 
   21682   esac
   21683 done # for ac_tag
   21684 
   21685 
   21686 as_fn_exit 0
   21687 _ACEOF
   21688 ac_clean_files=$ac_clean_files_save
   21689 
   21690 test $ac_write_fail = 0 ||
   21691   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21692 
   21693 
   21694 # configure is writing to config.log, and then calls config.status.
   21695 # config.status does its own redirection, appending to config.log.
   21696 # Unfortunately, on DOS this fails, as config.log is still kept open
   21697 # by configure, so config.status won't be able to write to it; its
   21698 # output is simply discarded.  So we exec the FD to /dev/null,
   21699 # effectively closing config.log, so it can be properly (re)opened and
   21700 # appended to by config.status.  When coming back to configure, we
   21701 # need to make the FD available again.
   21702 if test "$no_create" != yes; then
   21703   ac_cs_success=:
   21704   ac_config_status_args=
   21705   test "$silent" = yes &&
   21706     ac_config_status_args="$ac_config_status_args --quiet"
   21707   exec 5>/dev/null
   21708   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21709   exec 5>>config.log
   21710   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21711   # would make configure fail if this is the last instruction.
   21712   $ac_cs_success || as_fn_exit 1
   21713 fi
   21714 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21716 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21717 fi
   21718 
   21719 
   21720