Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for xf86-input-elographics 1.4.3.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/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 test \$(( 1 + 1 )) = 2 || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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/driver/xf86-input-elographics/-/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='xf86-input-elographics'
    624 PACKAGE_TARNAME='xf86-input-elographics'
    625 PACKAGE_VERSION='1.4.3'
    626 PACKAGE_STRING='xf86-input-elographics 1.4.3'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/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 DRIVER_NAME
    668 XORG_LIBS
    669 XORG_CFLAGS
    670 inputdir
    671 LT_SYS_LIBRARY_PATH
    672 OTOOL64
    673 OTOOL
    674 LIPO
    675 NMEDIT
    676 DSYMUTIL
    677 MANIFEST_TOOL
    678 RANLIB
    679 ac_ct_AR
    680 AR
    681 DLLTOOL
    682 OBJDUMP
    683 FILECMD
    684 LN_S
    685 NM
    686 ac_ct_DUMPBIN
    687 DUMPBIN
    688 LD
    689 FGREP
    690 EGREP
    691 GREP
    692 LIBTOOL
    693 MAN_SUBSTS
    694 XORG_MAN_PAGE
    695 ADMIN_MAN_DIR
    696 DRIVER_MAN_DIR
    697 MISC_MAN_DIR
    698 FILE_MAN_DIR
    699 LIB_MAN_DIR
    700 APP_MAN_DIR
    701 ADMIN_MAN_SUFFIX
    702 DRIVER_MAN_SUFFIX
    703 MISC_MAN_SUFFIX
    704 FILE_MAN_SUFFIX
    705 LIB_MAN_SUFFIX
    706 APP_MAN_SUFFIX
    707 SED
    708 host_os
    709 host_vendor
    710 host_cpu
    711 host
    712 build_os
    713 build_vendor
    714 build_cpu
    715 build
    716 INSTALL_CMD
    717 PKG_CONFIG_LIBDIR
    718 PKG_CONFIG_PATH
    719 PKG_CONFIG
    720 CHANGELOG_CMD
    721 STRICT_CFLAGS
    722 CWARNFLAGS
    723 BASE_CFLAGS
    724 am__fastdepCC_FALSE
    725 am__fastdepCC_TRUE
    726 CCDEPMODE
    727 am__nodep
    728 AMDEPBACKSLASH
    729 AMDEP_FALSE
    730 AMDEP_TRUE
    731 am__include
    732 DEPDIR
    733 OBJEXT
    734 EXEEXT
    735 ac_ct_CC
    736 CPPFLAGS
    737 LDFLAGS
    738 CFLAGS
    739 CC
    740 AM_BACKSLASH
    741 AM_DEFAULT_VERBOSITY
    742 AM_DEFAULT_V
    743 AM_V
    744 CSCOPE
    745 ETAGS
    746 CTAGS
    747 am__untar
    748 am__tar
    749 AMTAR
    750 am__leading_dot
    751 SET_MAKE
    752 AWK
    753 mkdir_p
    754 MKDIR_P
    755 INSTALL_STRIP_PROGRAM
    756 STRIP
    757 install_sh
    758 MAKEINFO
    759 AUTOHEADER
    760 AUTOMAKE
    761 AUTOCONF
    762 ACLOCAL
    763 VERSION
    764 PACKAGE
    765 CYGPATH_W
    766 am__isrc
    767 INSTALL_DATA
    768 INSTALL_SCRIPT
    769 INSTALL_PROGRAM
    770 target_alias
    771 host_alias
    772 build_alias
    773 LIBS
    774 ECHO_T
    775 ECHO_N
    776 ECHO_C
    777 DEFS
    778 mandir
    779 localedir
    780 libdir
    781 psdir
    782 pdfdir
    783 dvidir
    784 htmldir
    785 infodir
    786 docdir
    787 oldincludedir
    788 includedir
    789 runstatedir
    790 localstatedir
    791 sharedstatedir
    792 sysconfdir
    793 datadir
    794 datarootdir
    795 libexecdir
    796 sbindir
    797 bindir
    798 program_transform_name
    799 prefix
    800 exec_prefix
    801 PACKAGE_URL
    802 PACKAGE_BUGREPORT
    803 PACKAGE_STRING
    804 PACKAGE_VERSION
    805 PACKAGE_TARNAME
    806 PACKAGE_NAME
    807 PATH_SEPARATOR
    808 SHELL
    809 am__quote'
    810 ac_subst_files=''
    811 ac_user_opts='
    812 enable_option_checking
    813 enable_silent_rules
    814 enable_dependency_tracking
    815 enable_selective_werror
    816 enable_strict_compilation
    817 enable_static
    818 enable_shared
    819 with_pic
    820 enable_fast_install
    821 with_aix_soname
    822 with_gnu_ld
    823 with_sysroot
    824 enable_libtool_lock
    825 with_xorg_module_dir
    826 '
    827       ac_precious_vars='build_alias
    828 host_alias
    829 target_alias
    830 CC
    831 CFLAGS
    832 LDFLAGS
    833 LIBS
    834 CPPFLAGS
    835 PKG_CONFIG
    836 PKG_CONFIG_PATH
    837 PKG_CONFIG_LIBDIR
    838 LT_SYS_LIBRARY_PATH
    839 XORG_CFLAGS
    840 XORG_LIBS'
    841 
    842 
    843 # Initialize some variables set by options.
    844 ac_init_help=
    845 ac_init_version=false
    846 ac_unrecognized_opts=
    847 ac_unrecognized_sep=
    848 # The variables have the same names as the options, with
    849 # dashes changed to underlines.
    850 cache_file=/dev/null
    851 exec_prefix=NONE
    852 no_create=
    853 no_recursion=
    854 prefix=NONE
    855 program_prefix=NONE
    856 program_suffix=NONE
    857 program_transform_name=s,x,x,
    858 silent=
    859 site=
    860 srcdir=
    861 verbose=
    862 x_includes=NONE
    863 x_libraries=NONE
    864 
    865 # Installation directory options.
    866 # These are left unexpanded so users can "make install exec_prefix=/foo"
    867 # and all the variables that are supposed to be based on exec_prefix
    868 # by default will actually change.
    869 # Use braces instead of parens because sh, perl, etc. also accept them.
    870 # (The list follows the same order as the GNU Coding Standards.)
    871 bindir='${exec_prefix}/bin'
    872 sbindir='${exec_prefix}/sbin'
    873 libexecdir='${exec_prefix}/libexec'
    874 datarootdir='${prefix}/share'
    875 datadir='${datarootdir}'
    876 sysconfdir='${prefix}/etc'
    877 sharedstatedir='${prefix}/com'
    878 localstatedir='${prefix}/var'
    879 runstatedir='${localstatedir}/run'
    880 includedir='${prefix}/include'
    881 oldincludedir='/usr/include'
    882 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    883 infodir='${datarootdir}/info'
    884 htmldir='${docdir}'
    885 dvidir='${docdir}'
    886 pdfdir='${docdir}'
    887 psdir='${docdir}'
    888 libdir='${exec_prefix}/lib'
    889 localedir='${datarootdir}/locale'
    890 mandir='${datarootdir}/man'
    891 
    892 ac_prev=
    893 ac_dashdash=
    894 for ac_option
    895 do
    896   # If the previous option needs an argument, assign it.
    897   if test -n "$ac_prev"; then
    898     eval $ac_prev=\$ac_option
    899     ac_prev=
    900     continue
    901   fi
    902 
    903   case $ac_option in
    904   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    905   *=)   ac_optarg= ;;
    906   *)    ac_optarg=yes ;;
    907   esac
    908 
    909   case $ac_dashdash$ac_option in
    910   --)
    911     ac_dashdash=yes ;;
    912 
    913   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    914     ac_prev=bindir ;;
    915   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    916     bindir=$ac_optarg ;;
    917 
    918   -build | --build | --buil | --bui | --bu)
    919     ac_prev=build_alias ;;
    920   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    921     build_alias=$ac_optarg ;;
    922 
    923   -cache-file | --cache-file | --cache-fil | --cache-fi \
    924   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    925     ac_prev=cache_file ;;
    926   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    927   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    928     cache_file=$ac_optarg ;;
    929 
    930   --config-cache | -C)
    931     cache_file=config.cache ;;
    932 
    933   -datadir | --datadir | --datadi | --datad)
    934     ac_prev=datadir ;;
    935   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    936     datadir=$ac_optarg ;;
    937 
    938   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    939   | --dataroo | --dataro | --datar)
    940     ac_prev=datarootdir ;;
    941   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    942   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    943     datarootdir=$ac_optarg ;;
    944 
    945   -disable-* | --disable-*)
    946     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    947     # Reject names that are not valid shell variable names.
    948     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    949       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    950     ac_useropt_orig=$ac_useropt
    951     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    952     case $ac_user_opts in
    953       *"
    954 "enable_$ac_useropt"
    955 "*) ;;
    956       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    957 	 ac_unrecognized_sep=', ';;
    958     esac
    959     eval enable_$ac_useropt=no ;;
    960 
    961   -docdir | --docdir | --docdi | --doc | --do)
    962     ac_prev=docdir ;;
    963   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    964     docdir=$ac_optarg ;;
    965 
    966   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    967     ac_prev=dvidir ;;
    968   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    969     dvidir=$ac_optarg ;;
    970 
    971   -enable-* | --enable-*)
    972     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    973     # Reject names that are not valid shell variable names.
    974     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    975       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    976     ac_useropt_orig=$ac_useropt
    977     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    978     case $ac_user_opts in
    979       *"
    980 "enable_$ac_useropt"
    981 "*) ;;
    982       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    983 	 ac_unrecognized_sep=', ';;
    984     esac
    985     eval enable_$ac_useropt=\$ac_optarg ;;
    986 
    987   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    988   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    989   | --exec | --exe | --ex)
    990     ac_prev=exec_prefix ;;
    991   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    992   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    993   | --exec=* | --exe=* | --ex=*)
    994     exec_prefix=$ac_optarg ;;
    995 
    996   -gas | --gas | --ga | --g)
    997     # Obsolete; use --with-gas.
    998     with_gas=yes ;;
    999 
   1000   -help | --help | --hel | --he | -h)
   1001     ac_init_help=long ;;
   1002   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1003     ac_init_help=recursive ;;
   1004   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1005     ac_init_help=short ;;
   1006 
   1007   -host | --host | --hos | --ho)
   1008     ac_prev=host_alias ;;
   1009   -host=* | --host=* | --hos=* | --ho=*)
   1010     host_alias=$ac_optarg ;;
   1011 
   1012   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1013     ac_prev=htmldir ;;
   1014   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1015   | --ht=*)
   1016     htmldir=$ac_optarg ;;
   1017 
   1018   -includedir | --includedir | --includedi | --included | --include \
   1019   | --includ | --inclu | --incl | --inc)
   1020     ac_prev=includedir ;;
   1021   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1022   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1023     includedir=$ac_optarg ;;
   1024 
   1025   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1026     ac_prev=infodir ;;
   1027   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1028     infodir=$ac_optarg ;;
   1029 
   1030   -libdir | --libdir | --libdi | --libd)
   1031     ac_prev=libdir ;;
   1032   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1033     libdir=$ac_optarg ;;
   1034 
   1035   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1036   | --libexe | --libex | --libe)
   1037     ac_prev=libexecdir ;;
   1038   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1039   | --libexe=* | --libex=* | --libe=*)
   1040     libexecdir=$ac_optarg ;;
   1041 
   1042   -localedir | --localedir | --localedi | --localed | --locale)
   1043     ac_prev=localedir ;;
   1044   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1045     localedir=$ac_optarg ;;
   1046 
   1047   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1048   | --localstate | --localstat | --localsta | --localst | --locals)
   1049     ac_prev=localstatedir ;;
   1050   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1051   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1052     localstatedir=$ac_optarg ;;
   1053 
   1054   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1055     ac_prev=mandir ;;
   1056   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1057     mandir=$ac_optarg ;;
   1058 
   1059   -nfp | --nfp | --nf)
   1060     # Obsolete; use --without-fp.
   1061     with_fp=no ;;
   1062 
   1063   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1064   | --no-cr | --no-c | -n)
   1065     no_create=yes ;;
   1066 
   1067   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1068   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1069     no_recursion=yes ;;
   1070 
   1071   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1072   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1073   | --oldin | --oldi | --old | --ol | --o)
   1074     ac_prev=oldincludedir ;;
   1075   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1076   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1077   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1078     oldincludedir=$ac_optarg ;;
   1079 
   1080   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1081     ac_prev=prefix ;;
   1082   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1083     prefix=$ac_optarg ;;
   1084 
   1085   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1086   | --program-pre | --program-pr | --program-p)
   1087     ac_prev=program_prefix ;;
   1088   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1089   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1090     program_prefix=$ac_optarg ;;
   1091 
   1092   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1093   | --program-suf | --program-su | --program-s)
   1094     ac_prev=program_suffix ;;
   1095   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1096   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1097     program_suffix=$ac_optarg ;;
   1098 
   1099   -program-transform-name | --program-transform-name \
   1100   | --program-transform-nam | --program-transform-na \
   1101   | --program-transform-n | --program-transform- \
   1102   | --program-transform | --program-transfor \
   1103   | --program-transfo | --program-transf \
   1104   | --program-trans | --program-tran \
   1105   | --progr-tra | --program-tr | --program-t)
   1106     ac_prev=program_transform_name ;;
   1107   -program-transform-name=* | --program-transform-name=* \
   1108   | --program-transform-nam=* | --program-transform-na=* \
   1109   | --program-transform-n=* | --program-transform-=* \
   1110   | --program-transform=* | --program-transfor=* \
   1111   | --program-transfo=* | --program-transf=* \
   1112   | --program-trans=* | --program-tran=* \
   1113   | --progr-tra=* | --program-tr=* | --program-t=*)
   1114     program_transform_name=$ac_optarg ;;
   1115 
   1116   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1117     ac_prev=pdfdir ;;
   1118   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1119     pdfdir=$ac_optarg ;;
   1120 
   1121   -psdir | --psdir | --psdi | --psd | --ps)
   1122     ac_prev=psdir ;;
   1123   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1124     psdir=$ac_optarg ;;
   1125 
   1126   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1127   | -silent | --silent | --silen | --sile | --sil)
   1128     silent=yes ;;
   1129 
   1130   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1131   | --runstate | --runstat | --runsta | --runst | --runs \
   1132   | --run | --ru | --r)
   1133     ac_prev=runstatedir ;;
   1134   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1135   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1136   | --run=* | --ru=* | --r=*)
   1137     runstatedir=$ac_optarg ;;
   1138 
   1139   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1140     ac_prev=sbindir ;;
   1141   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1142   | --sbi=* | --sb=*)
   1143     sbindir=$ac_optarg ;;
   1144 
   1145   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1146   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1147   | --sharedst | --shareds | --shared | --share | --shar \
   1148   | --sha | --sh)
   1149     ac_prev=sharedstatedir ;;
   1150   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1151   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1152   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1153   | --sha=* | --sh=*)
   1154     sharedstatedir=$ac_optarg ;;
   1155 
   1156   -site | --site | --sit)
   1157     ac_prev=site ;;
   1158   -site=* | --site=* | --sit=*)
   1159     site=$ac_optarg ;;
   1160 
   1161   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1162     ac_prev=srcdir ;;
   1163   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1164     srcdir=$ac_optarg ;;
   1165 
   1166   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1167   | --syscon | --sysco | --sysc | --sys | --sy)
   1168     ac_prev=sysconfdir ;;
   1169   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1170   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1171     sysconfdir=$ac_optarg ;;
   1172 
   1173   -target | --target | --targe | --targ | --tar | --ta | --t)
   1174     ac_prev=target_alias ;;
   1175   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1176     target_alias=$ac_optarg ;;
   1177 
   1178   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1179     verbose=yes ;;
   1180 
   1181   -version | --version | --versio | --versi | --vers | -V)
   1182     ac_init_version=: ;;
   1183 
   1184   -with-* | --with-*)
   1185     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1186     # Reject names that are not valid shell variable names.
   1187     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1188       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1189     ac_useropt_orig=$ac_useropt
   1190     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1191     case $ac_user_opts in
   1192       *"
   1193 "with_$ac_useropt"
   1194 "*) ;;
   1195       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1196 	 ac_unrecognized_sep=', ';;
   1197     esac
   1198     eval with_$ac_useropt=\$ac_optarg ;;
   1199 
   1200   -without-* | --without-*)
   1201     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1202     # Reject names that are not valid shell variable names.
   1203     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1204       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1205     ac_useropt_orig=$ac_useropt
   1206     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1207     case $ac_user_opts in
   1208       *"
   1209 "with_$ac_useropt"
   1210 "*) ;;
   1211       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1212 	 ac_unrecognized_sep=', ';;
   1213     esac
   1214     eval with_$ac_useropt=no ;;
   1215 
   1216   --x)
   1217     # Obsolete; use --with-x.
   1218     with_x=yes ;;
   1219 
   1220   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1221   | --x-incl | --x-inc | --x-in | --x-i)
   1222     ac_prev=x_includes ;;
   1223   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1224   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1225     x_includes=$ac_optarg ;;
   1226 
   1227   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1228   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1229     ac_prev=x_libraries ;;
   1230   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1231   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1232     x_libraries=$ac_optarg ;;
   1233 
   1234   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1235 Try \`$0 --help' for more information"
   1236     ;;
   1237 
   1238   *=*)
   1239     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1240     # Reject names that are not valid shell variable names.
   1241     case $ac_envvar in #(
   1242       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1243       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1244     esac
   1245     eval $ac_envvar=\$ac_optarg
   1246     export $ac_envvar ;;
   1247 
   1248   *)
   1249     # FIXME: should be removed in autoconf 3.0.
   1250     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1251     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1252       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1253     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1254     ;;
   1255 
   1256   esac
   1257 done
   1258 
   1259 if test -n "$ac_prev"; then
   1260   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1261   as_fn_error $? "missing argument to $ac_option"
   1262 fi
   1263 
   1264 if test -n "$ac_unrecognized_opts"; then
   1265   case $enable_option_checking in
   1266     no) ;;
   1267     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1268     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1269   esac
   1270 fi
   1271 
   1272 # Check all directory arguments for consistency.
   1273 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1274 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1275 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1276 		libdir localedir mandir runstatedir
   1277 do
   1278   eval ac_val=\$$ac_var
   1279   # Remove trailing slashes.
   1280   case $ac_val in
   1281     */ )
   1282       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1283       eval $ac_var=\$ac_val;;
   1284   esac
   1285   # Be sure to have absolute directory names.
   1286   case $ac_val in
   1287     [\\/$]* | ?:[\\/]* )  continue;;
   1288     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1289   esac
   1290   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1291 done
   1292 
   1293 # There might be people who depend on the old broken behavior: `$host'
   1294 # used to hold the argument of --host etc.
   1295 # FIXME: To remove some day.
   1296 build=$build_alias
   1297 host=$host_alias
   1298 target=$target_alias
   1299 
   1300 # FIXME: To remove some day.
   1301 if test "x$host_alias" != x; then
   1302   if test "x$build_alias" = x; then
   1303     cross_compiling=maybe
   1304   elif test "x$build_alias" != "x$host_alias"; then
   1305     cross_compiling=yes
   1306   fi
   1307 fi
   1308 
   1309 ac_tool_prefix=
   1310 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1311 
   1312 test "$silent" = yes && exec 6>/dev/null
   1313 
   1314 
   1315 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1316 ac_ls_di=`ls -di .` &&
   1317 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1318   as_fn_error $? "working directory cannot be determined"
   1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1320   as_fn_error $? "pwd does not report name of working directory"
   1321 
   1322 
   1323 # Find the source files, if location was not specified.
   1324 if test -z "$srcdir"; then
   1325   ac_srcdir_defaulted=yes
   1326   # Try the directory containing this script, then the parent directory.
   1327   ac_confdir=`$as_dirname -- "$as_myself" ||
   1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1329 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1330 	 X"$as_myself" : 'X\(//\)$' \| \
   1331 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1332 printf "%s\n" X"$as_myself" |
   1333     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1334 	    s//\1/
   1335 	    q
   1336 	  }
   1337 	  /^X\(\/\/\)[^/].*/{
   1338 	    s//\1/
   1339 	    q
   1340 	  }
   1341 	  /^X\(\/\/\)$/{
   1342 	    s//\1/
   1343 	    q
   1344 	  }
   1345 	  /^X\(\/\).*/{
   1346 	    s//\1/
   1347 	    q
   1348 	  }
   1349 	  s/.*/./; q'`
   1350   srcdir=$ac_confdir
   1351   if test ! -r "$srcdir/$ac_unique_file"; then
   1352     srcdir=..
   1353   fi
   1354 else
   1355   ac_srcdir_defaulted=no
   1356 fi
   1357 if test ! -r "$srcdir/$ac_unique_file"; then
   1358   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1359   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1360 fi
   1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1362 ac_abs_confdir=`(
   1363 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1364 	pwd)`
   1365 # When building in place, set srcdir=.
   1366 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1367   srcdir=.
   1368 fi
   1369 # Remove unnecessary trailing slashes from srcdir.
   1370 # Double slashes in file names in object file debugging info
   1371 # mess up M-x gdb in Emacs.
   1372 case $srcdir in
   1373 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1374 esac
   1375 for ac_var in $ac_precious_vars; do
   1376   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1377   eval ac_env_${ac_var}_value=\$${ac_var}
   1378   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1379   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1380 done
   1381 
   1382 #
   1383 # Report the --help message.
   1384 #
   1385 if test "$ac_init_help" = "long"; then
   1386   # Omit some internal or obsolete options to make the list less imposing.
   1387   # This message is too long to be a string in the A/UX 3.1 sh.
   1388   cat <<_ACEOF
   1389 \`configure' configures xf86-input-elographics 1.4.3 to adapt to many kinds of systems.
   1390 
   1391 Usage: $0 [OPTION]... [VAR=VALUE]...
   1392 
   1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1394 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1395 
   1396 Defaults for the options are specified in brackets.
   1397 
   1398 Configuration:
   1399   -h, --help              display this help and exit
   1400       --help=short        display options specific to this package
   1401       --help=recursive    display the short help of all the included packages
   1402   -V, --version           display version information and exit
   1403   -q, --quiet, --silent   do not print \`checking ...' messages
   1404       --cache-file=FILE   cache test results in FILE [disabled]
   1405   -C, --config-cache      alias for \`--cache-file=config.cache'
   1406   -n, --no-create         do not create output files
   1407       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1408 
   1409 Installation directories:
   1410   --prefix=PREFIX         install architecture-independent files in PREFIX
   1411                           [$ac_default_prefix]
   1412   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1413                           [PREFIX]
   1414 
   1415 By default, \`make install' will install all the files in
   1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1418 for instance \`--prefix=\$HOME'.
   1419 
   1420 For better control, use the options below.
   1421 
   1422 Fine tuning of the installation directories:
   1423   --bindir=DIR            user executables [EPREFIX/bin]
   1424   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1425   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1426   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1427   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1428   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1429   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1430   --libdir=DIR            object code libraries [EPREFIX/lib]
   1431   --includedir=DIR        C header files [PREFIX/include]
   1432   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1433   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1434   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1435   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1436   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1437   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1438   --docdir=DIR            documentation root
   1439                           [DATAROOTDIR/doc/xf86-input-elographics]
   1440   --htmldir=DIR           html documentation [DOCDIR]
   1441   --dvidir=DIR            dvi documentation [DOCDIR]
   1442   --pdfdir=DIR            pdf documentation [DOCDIR]
   1443   --psdir=DIR             ps documentation [DOCDIR]
   1444 _ACEOF
   1445 
   1446   cat <<\_ACEOF
   1447 
   1448 Program names:
   1449   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1450   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1451   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1452 
   1453 System types:
   1454   --build=BUILD     configure for building on BUILD [guessed]
   1455   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1456 _ACEOF
   1457 fi
   1458 
   1459 if test -n "$ac_init_help"; then
   1460   case $ac_init_help in
   1461      short | recursive ) echo "Configuration of xf86-input-elographics 1.4.3:";;
   1462    esac
   1463   cat <<\_ACEOF
   1464 
   1465 Optional Features:
   1466   --disable-option-checking  ignore unrecognized --enable/--with options
   1467   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1468   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1469   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1470   --disable-silent-rules  verbose build output (undo: "make V=0")
   1471   --enable-dependency-tracking
   1472                           do not reject slow dependency extractors
   1473   --disable-dependency-tracking
   1474                           speeds up one-time build
   1475   --disable-selective-werror
   1476                           Turn off selective compiler errors. (default:
   1477                           enabled)
   1478   --enable-strict-compilation
   1479                           Enable all warnings from compiler and make them
   1480                           errors (default: disabled)
   1481   --enable-static[=PKGS]  build static libraries [default=no]
   1482   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1483   --enable-fast-install[=PKGS]
   1484                           optimize for fast installation [default=yes]
   1485   --disable-libtool-lock  avoid locking (might break parallel builds)
   1486 
   1487 Optional Packages:
   1488   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1489   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1490   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1491                           both]
   1492   --with-aix-soname=aix|svr4|both
   1493                           shared library versioning (aka "SONAME") variant to
   1494                           provide on AIX, [default=aix].
   1495   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1496   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1497                           compiler's sysroot if not specified).
   1498   --with-xorg-module-dir=DIR
   1499                           Default xorg module directory
   1500                           [[default=$libdir/xorg/modules]]
   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   PKG_CONFIG  path to pkg-config utility
   1511   PKG_CONFIG_PATH
   1512               directories to add to pkg-config's search path
   1513   PKG_CONFIG_LIBDIR
   1514               path overriding pkg-config's built-in search path
   1515   LT_SYS_LIBRARY_PATH
   1516               User-defined run-time library search path.
   1517   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1518   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1519 
   1520 Use these variables to override the choices made by `configure' or to help
   1521 it to find libraries and programs with nonstandard names/locations.
   1522 
   1523 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/issues>.
   1524 _ACEOF
   1525 ac_status=$?
   1526 fi
   1527 
   1528 if test "$ac_init_help" = "recursive"; then
   1529   # If there are subdirs, report their specific --help.
   1530   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1531     test -d "$ac_dir" ||
   1532       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1533       continue
   1534     ac_builddir=.
   1535 
   1536 case "$ac_dir" in
   1537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1538 *)
   1539   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1540   # A ".." for each directory in $ac_dir_suffix.
   1541   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1542   case $ac_top_builddir_sub in
   1543   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1544   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1545   esac ;;
   1546 esac
   1547 ac_abs_top_builddir=$ac_pwd
   1548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1549 # for backward compatibility:
   1550 ac_top_builddir=$ac_top_build_prefix
   1551 
   1552 case $srcdir in
   1553   .)  # We are building in place.
   1554     ac_srcdir=.
   1555     ac_top_srcdir=$ac_top_builddir_sub
   1556     ac_abs_top_srcdir=$ac_pwd ;;
   1557   [\\/]* | ?:[\\/]* )  # Absolute name.
   1558     ac_srcdir=$srcdir$ac_dir_suffix;
   1559     ac_top_srcdir=$srcdir
   1560     ac_abs_top_srcdir=$srcdir ;;
   1561   *) # Relative name.
   1562     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1563     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1564     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1565 esac
   1566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1567 
   1568     cd "$ac_dir" || { ac_status=$?; continue; }
   1569     # Check for configure.gnu first; this name is used for a wrapper for
   1570     # Metaconfig's "Configure" on case-insensitive file systems.
   1571     if test -f "$ac_srcdir/configure.gnu"; then
   1572       echo &&
   1573       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1574     elif test -f "$ac_srcdir/configure"; then
   1575       echo &&
   1576       $SHELL "$ac_srcdir/configure" --help=recursive
   1577     else
   1578       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1579     fi || ac_status=$?
   1580     cd "$ac_pwd" || { ac_status=$?; break; }
   1581   done
   1582 fi
   1583 
   1584 test -n "$ac_init_help" && exit $ac_status
   1585 if $ac_init_version; then
   1586   cat <<\_ACEOF
   1587 xf86-input-elographics configure 1.4.3
   1588 generated by GNU Autoconf 2.71
   1589 
   1590 Copyright (C) 2021 Free Software Foundation, Inc.
   1591 This configure script is free software; the Free Software Foundation
   1592 gives unlimited permission to copy, distribute and modify it.
   1593 _ACEOF
   1594   exit
   1595 fi
   1596 
   1597 ## ------------------------ ##
   1598 ## Autoconf initialization. ##
   1599 ## ------------------------ ##
   1600 
   1601 # ac_fn_c_try_compile LINENO
   1602 # --------------------------
   1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1604 ac_fn_c_try_compile ()
   1605 {
   1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1607   rm -f conftest.$ac_objext conftest.beam
   1608   if { { ac_try="$ac_compile"
   1609 case "(($ac_try" in
   1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1611   *) ac_try_echo=$ac_try;;
   1612 esac
   1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1614 printf "%s\n" "$ac_try_echo"; } >&5
   1615   (eval "$ac_compile") 2>conftest.err
   1616   ac_status=$?
   1617   if test -s conftest.err; then
   1618     grep -v '^ *+' conftest.err >conftest.er1
   1619     cat conftest.er1 >&5
   1620     mv -f conftest.er1 conftest.err
   1621   fi
   1622   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1623   test $ac_status = 0; } && {
   1624 	 test -z "$ac_c_werror_flag" ||
   1625 	 test ! -s conftest.err
   1626        } && test -s conftest.$ac_objext
   1627 then :
   1628   ac_retval=0
   1629 else $as_nop
   1630   printf "%s\n" "$as_me: failed program was:" >&5
   1631 sed 's/^/| /' conftest.$ac_ext >&5
   1632 
   1633 	ac_retval=1
   1634 fi
   1635   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1636   as_fn_set_status $ac_retval
   1637 
   1638 } # ac_fn_c_try_compile
   1639 
   1640 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1641 # ------------------------------------------------------------------
   1642 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1643 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1644 ac_fn_check_decl ()
   1645 {
   1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1647   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1649 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1650 if eval test \${$3+y}
   1651 then :
   1652   printf %s "(cached) " >&6
   1653 else $as_nop
   1654   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1655   eval ac_save_FLAGS=\$$6
   1656   as_fn_append $6 " $5"
   1657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1658 /* end confdefs.h.  */
   1659 $4
   1660 int
   1661 main (void)
   1662 {
   1663 #ifndef $as_decl_name
   1664 #ifdef __cplusplus
   1665   (void) $as_decl_use;
   1666 #else
   1667   (void) $as_decl_name;
   1668 #endif
   1669 #endif
   1670 
   1671   ;
   1672   return 0;
   1673 }
   1674 _ACEOF
   1675 if ac_fn_c_try_compile "$LINENO"
   1676 then :
   1677   eval "$3=yes"
   1678 else $as_nop
   1679   eval "$3=no"
   1680 fi
   1681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1682   eval $6=\$ac_save_FLAGS
   1683 
   1684 fi
   1685 eval ac_res=\$$3
   1686 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1687 printf "%s\n" "$ac_res" >&6; }
   1688   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1689 
   1690 } # ac_fn_check_decl
   1691 
   1692 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1693 # -------------------------------------------------------
   1694 # Tests whether HEADER exists and can be compiled using the include files in
   1695 # INCLUDES, setting the cache variable VAR accordingly.
   1696 ac_fn_c_check_header_compile ()
   1697 {
   1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1700 printf %s "checking for $2... " >&6; }
   1701 if eval test \${$3+y}
   1702 then :
   1703   printf %s "(cached) " >&6
   1704 else $as_nop
   1705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1706 /* end confdefs.h.  */
   1707 $4
   1708 #include <$2>
   1709 _ACEOF
   1710 if ac_fn_c_try_compile "$LINENO"
   1711 then :
   1712   eval "$3=yes"
   1713 else $as_nop
   1714   eval "$3=no"
   1715 fi
   1716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1717 fi
   1718 eval ac_res=\$$3
   1719 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1720 printf "%s\n" "$ac_res" >&6; }
   1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1722 
   1723 } # ac_fn_c_check_header_compile
   1724 
   1725 # ac_fn_c_try_link LINENO
   1726 # -----------------------
   1727 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1728 ac_fn_c_try_link ()
   1729 {
   1730   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1731   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1732   if { { ac_try="$ac_link"
   1733 case "(($ac_try" in
   1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1735   *) ac_try_echo=$ac_try;;
   1736 esac
   1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1738 printf "%s\n" "$ac_try_echo"; } >&5
   1739   (eval "$ac_link") 2>conftest.err
   1740   ac_status=$?
   1741   if test -s conftest.err; then
   1742     grep -v '^ *+' conftest.err >conftest.er1
   1743     cat conftest.er1 >&5
   1744     mv -f conftest.er1 conftest.err
   1745   fi
   1746   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1747   test $ac_status = 0; } && {
   1748 	 test -z "$ac_c_werror_flag" ||
   1749 	 test ! -s conftest.err
   1750        } && test -s conftest$ac_exeext && {
   1751 	 test "$cross_compiling" = yes ||
   1752 	 test -x conftest$ac_exeext
   1753        }
   1754 then :
   1755   ac_retval=0
   1756 else $as_nop
   1757   printf "%s\n" "$as_me: failed program was:" >&5
   1758 sed 's/^/| /' conftest.$ac_ext >&5
   1759 
   1760 	ac_retval=1
   1761 fi
   1762   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1763   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1764   # interfere with the next link command; also delete a directory that is
   1765   # left behind by Apple's compiler.  We do this before executing the actions.
   1766   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1767   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1768   as_fn_set_status $ac_retval
   1769 
   1770 } # ac_fn_c_try_link
   1771 
   1772 # ac_fn_c_check_func LINENO FUNC VAR
   1773 # ----------------------------------
   1774 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1775 ac_fn_c_check_func ()
   1776 {
   1777   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1779 printf %s "checking for $2... " >&6; }
   1780 if eval test \${$3+y}
   1781 then :
   1782   printf %s "(cached) " >&6
   1783 else $as_nop
   1784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1785 /* end confdefs.h.  */
   1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1788 #define $2 innocuous_$2
   1789 
   1790 /* System header to define __stub macros and hopefully few prototypes,
   1791    which can conflict with char $2 (); below.  */
   1792 
   1793 #include <limits.h>
   1794 #undef $2
   1795 
   1796 /* Override any GCC internal prototype to avoid an error.
   1797    Use char because int might match the return type of a GCC
   1798    builtin and then its argument prototype would still apply.  */
   1799 #ifdef __cplusplus
   1800 extern "C"
   1801 #endif
   1802 char $2 ();
   1803 /* The GNU C library defines this for functions which it implements
   1804     to always fail with ENOSYS.  Some functions are actually named
   1805     something starting with __ and the normal name is an alias.  */
   1806 #if defined __stub_$2 || defined __stub___$2
   1807 choke me
   1808 #endif
   1809 
   1810 int
   1811 main (void)
   1812 {
   1813 return $2 ();
   1814   ;
   1815   return 0;
   1816 }
   1817 _ACEOF
   1818 if ac_fn_c_try_link "$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 \
   1825     conftest$ac_exeext conftest.$ac_ext
   1826 fi
   1827 eval ac_res=\$$3
   1828 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1829 printf "%s\n" "$ac_res" >&6; }
   1830   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1831 
   1832 } # ac_fn_c_check_func
   1833 ac_configure_args_raw=
   1834 for ac_arg
   1835 do
   1836   case $ac_arg in
   1837   *\'*)
   1838     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1839   esac
   1840   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1841 done
   1842 
   1843 case $ac_configure_args_raw in
   1844   *$as_nl*)
   1845     ac_safe_unquote= ;;
   1846   *)
   1847     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1848     ac_unsafe_a="$ac_unsafe_z#~"
   1849     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1850     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1851 esac
   1852 
   1853 cat >config.log <<_ACEOF
   1854 This file contains any messages produced by compilers while
   1855 running configure, to aid debugging if configure makes a mistake.
   1856 
   1857 It was created by xf86-input-elographics $as_me 1.4.3, which was
   1858 generated by GNU Autoconf 2.71.  Invocation command line was
   1859 
   1860   $ $0$ac_configure_args_raw
   1861 
   1862 _ACEOF
   1863 exec 5>>config.log
   1864 {
   1865 cat <<_ASUNAME
   1866 ## --------- ##
   1867 ## Platform. ##
   1868 ## --------- ##
   1869 
   1870 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1871 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1872 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1873 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1874 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1875 
   1876 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1877 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1878 
   1879 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1880 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1881 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1882 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1883 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1884 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1885 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1886 
   1887 _ASUNAME
   1888 
   1889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1890 for as_dir in $PATH
   1891 do
   1892   IFS=$as_save_IFS
   1893   case $as_dir in #(((
   1894     '') as_dir=./ ;;
   1895     */) ;;
   1896     *) as_dir=$as_dir/ ;;
   1897   esac
   1898     printf "%s\n" "PATH: $as_dir"
   1899   done
   1900 IFS=$as_save_IFS
   1901 
   1902 } >&5
   1903 
   1904 cat >&5 <<_ACEOF
   1905 
   1906 
   1907 ## ----------- ##
   1908 ## Core tests. ##
   1909 ## ----------- ##
   1910 
   1911 _ACEOF
   1912 
   1913 
   1914 # Keep a trace of the command line.
   1915 # Strip out --no-create and --no-recursion so they do not pile up.
   1916 # Strip out --silent because we don't want to record it for future runs.
   1917 # Also quote any args containing shell meta-characters.
   1918 # Make two passes to allow for proper duplicate-argument suppression.
   1919 ac_configure_args=
   1920 ac_configure_args0=
   1921 ac_configure_args1=
   1922 ac_must_keep_next=false
   1923 for ac_pass in 1 2
   1924 do
   1925   for ac_arg
   1926   do
   1927     case $ac_arg in
   1928     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1929     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1930     | -silent | --silent | --silen | --sile | --sil)
   1931       continue ;;
   1932     *\'*)
   1933       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1934     esac
   1935     case $ac_pass in
   1936     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1937     2)
   1938       as_fn_append ac_configure_args1 " '$ac_arg'"
   1939       if test $ac_must_keep_next = true; then
   1940 	ac_must_keep_next=false # Got value, back to normal.
   1941       else
   1942 	case $ac_arg in
   1943 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1944 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1945 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1946 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1947 	    case "$ac_configure_args0 " in
   1948 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1949 	    esac
   1950 	    ;;
   1951 	  -* ) ac_must_keep_next=true ;;
   1952 	esac
   1953       fi
   1954       as_fn_append ac_configure_args " '$ac_arg'"
   1955       ;;
   1956     esac
   1957   done
   1958 done
   1959 { ac_configure_args0=; unset ac_configure_args0;}
   1960 { ac_configure_args1=; unset ac_configure_args1;}
   1961 
   1962 # When interrupted or exit'd, cleanup temporary files, and complete
   1963 # config.log.  We remove comments because anyway the quotes in there
   1964 # would cause problems or look ugly.
   1965 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1966 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1967 trap 'exit_status=$?
   1968   # Sanitize IFS.
   1969   IFS=" ""	$as_nl"
   1970   # Save into config.log some information that might help in debugging.
   1971   {
   1972     echo
   1973 
   1974     printf "%s\n" "## ---------------- ##
   1975 ## Cache variables. ##
   1976 ## ---------------- ##"
   1977     echo
   1978     # The following way of writing the cache mishandles newlines in values,
   1979 (
   1980   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1981     eval ac_val=\$$ac_var
   1982     case $ac_val in #(
   1983     *${as_nl}*)
   1984       case $ac_var in #(
   1985       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1986 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1987       esac
   1988       case $ac_var in #(
   1989       _ | IFS | as_nl) ;; #(
   1990       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1991       *) { eval $ac_var=; unset $ac_var;} ;;
   1992       esac ;;
   1993     esac
   1994   done
   1995   (set) 2>&1 |
   1996     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1997     *${as_nl}ac_space=\ *)
   1998       sed -n \
   1999 	"s/'\''/'\''\\\\'\'''\''/g;
   2000 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2001       ;; #(
   2002     *)
   2003       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2004       ;;
   2005     esac |
   2006     sort
   2007 )
   2008     echo
   2009 
   2010     printf "%s\n" "## ----------------- ##
   2011 ## Output variables. ##
   2012 ## ----------------- ##"
   2013     echo
   2014     for ac_var in $ac_subst_vars
   2015     do
   2016       eval ac_val=\$$ac_var
   2017       case $ac_val in
   2018       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2019       esac
   2020       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2021     done | sort
   2022     echo
   2023 
   2024     if test -n "$ac_subst_files"; then
   2025       printf "%s\n" "## ------------------- ##
   2026 ## File substitutions. ##
   2027 ## ------------------- ##"
   2028       echo
   2029       for ac_var in $ac_subst_files
   2030       do
   2031 	eval ac_val=\$$ac_var
   2032 	case $ac_val in
   2033 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2034 	esac
   2035 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2036       done | sort
   2037       echo
   2038     fi
   2039 
   2040     if test -s confdefs.h; then
   2041       printf "%s\n" "## ----------- ##
   2042 ## confdefs.h. ##
   2043 ## ----------- ##"
   2044       echo
   2045       cat confdefs.h
   2046       echo
   2047     fi
   2048     test "$ac_signal" != 0 &&
   2049       printf "%s\n" "$as_me: caught signal $ac_signal"
   2050     printf "%s\n" "$as_me: exit $exit_status"
   2051   } >&5
   2052   rm -f core *.core core.conftest.* &&
   2053     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2054     exit $exit_status
   2055 ' 0
   2056 for ac_signal in 1 2 13 15; do
   2057   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2058 done
   2059 ac_signal=0
   2060 
   2061 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2062 rm -f -r conftest* confdefs.h
   2063 
   2064 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2065 
   2066 # Predefined preprocessor variables.
   2067 
   2068 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2069 
   2070 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2071 
   2072 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2073 
   2074 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2075 
   2076 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2077 
   2078 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2079 
   2080 
   2081 # Let the site file select an alternate cache file if it wants to.
   2082 # Prefer an explicitly selected file to automatically selected ones.
   2083 if test -n "$CONFIG_SITE"; then
   2084   ac_site_files="$CONFIG_SITE"
   2085 elif test "x$prefix" != xNONE; then
   2086   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2087 else
   2088   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2089 fi
   2090 
   2091 for ac_site_file in $ac_site_files
   2092 do
   2093   case $ac_site_file in #(
   2094   */*) :
   2095      ;; #(
   2096   *) :
   2097     ac_site_file=./$ac_site_file ;;
   2098 esac
   2099   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2100     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2101 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2102     sed 's/^/| /' "$ac_site_file" >&5
   2103     . "$ac_site_file" \
   2104       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2105 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2106 as_fn_error $? "failed to load site script $ac_site_file
   2107 See \`config.log' for more details" "$LINENO" 5; }
   2108   fi
   2109 done
   2110 
   2111 if test -r "$cache_file"; then
   2112   # Some versions of bash will fail to source /dev/null (special files
   2113   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2114   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2115     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2116 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2117     case $cache_file in
   2118       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2119       *)                      . "./$cache_file";;
   2120     esac
   2121   fi
   2122 else
   2123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2124 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2125   >$cache_file
   2126 fi
   2127 
   2128 # Test code for whether the C compiler supports C89 (global declarations)
   2129 ac_c_conftest_c89_globals='
   2130 /* Does the compiler advertise C89 conformance?
   2131    Do not test the value of __STDC__, because some compilers set it to 0
   2132    while being otherwise adequately conformant. */
   2133 #if !defined __STDC__
   2134 # error "Compiler does not advertise C89 conformance"
   2135 #endif
   2136 
   2137 #include <stddef.h>
   2138 #include <stdarg.h>
   2139 struct stat;
   2140 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2141 struct buf { int x; };
   2142 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2143 static char *e (p, i)
   2144      char **p;
   2145      int i;
   2146 {
   2147   return p[i];
   2148 }
   2149 static char *f (char * (*g) (char **, int), char **p, ...)
   2150 {
   2151   char *s;
   2152   va_list v;
   2153   va_start (v,p);
   2154   s = g (p, va_arg (v,int));
   2155   va_end (v);
   2156   return s;
   2157 }
   2158 
   2159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2160    function prototypes and stuff, but not \xHH hex character constants.
   2161    These do not provoke an error unfortunately, instead are silently treated
   2162    as an "x".  The following induces an error, until -std is added to get
   2163    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2164    array size at least.  It is necessary to write \x00 == 0 to get something
   2165    that is true only with -std.  */
   2166 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2167 
   2168 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2169    inside strings and character constants.  */
   2170 #define FOO(x) '\''x'\''
   2171 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2172 
   2173 int test (int i, double x);
   2174 struct s1 {int (*f) (int a);};
   2175 struct s2 {int (*f) (double a);};
   2176 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2177                int, int);'
   2178 
   2179 # Test code for whether the C compiler supports C89 (body of main).
   2180 ac_c_conftest_c89_main='
   2181 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2182 '
   2183 
   2184 # Test code for whether the C compiler supports C99 (global declarations)
   2185 ac_c_conftest_c99_globals='
   2186 // Does the compiler advertise C99 conformance?
   2187 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2188 # error "Compiler does not advertise C99 conformance"
   2189 #endif
   2190 
   2191 #include <stdbool.h>
   2192 extern int puts (const char *);
   2193 extern int printf (const char *, ...);
   2194 extern int dprintf (int, const char *, ...);
   2195 extern void *malloc (size_t);
   2196 
   2197 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2198 // dprintf is used instead of fprintf to avoid needing to declare
   2199 // FILE and stderr.
   2200 #define debug(...) dprintf (2, __VA_ARGS__)
   2201 #define showlist(...) puts (#__VA_ARGS__)
   2202 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2203 static void
   2204 test_varargs_macros (void)
   2205 {
   2206   int x = 1234;
   2207   int y = 5678;
   2208   debug ("Flag");
   2209   debug ("X = %d\n", x);
   2210   showlist (The first, second, and third items.);
   2211   report (x>y, "x is %d but y is %d", x, y);
   2212 }
   2213 
   2214 // Check long long types.
   2215 #define BIG64 18446744073709551615ull
   2216 #define BIG32 4294967295ul
   2217 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2218 #if !BIG_OK
   2219   #error "your preprocessor is broken"
   2220 #endif
   2221 #if BIG_OK
   2222 #else
   2223   #error "your preprocessor is broken"
   2224 #endif
   2225 static long long int bignum = -9223372036854775807LL;
   2226 static unsigned long long int ubignum = BIG64;
   2227 
   2228 struct incomplete_array
   2229 {
   2230   int datasize;
   2231   double data[];
   2232 };
   2233 
   2234 struct named_init {
   2235   int number;
   2236   const wchar_t *name;
   2237   double average;
   2238 };
   2239 
   2240 typedef const char *ccp;
   2241 
   2242 static inline int
   2243 test_restrict (ccp restrict text)
   2244 {
   2245   // See if C++-style comments work.
   2246   // Iterate through items via the restricted pointer.
   2247   // Also check for declarations in for loops.
   2248   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2249     continue;
   2250   return 0;
   2251 }
   2252 
   2253 // Check varargs and va_copy.
   2254 static bool
   2255 test_varargs (const char *format, ...)
   2256 {
   2257   va_list args;
   2258   va_start (args, format);
   2259   va_list args_copy;
   2260   va_copy (args_copy, args);
   2261 
   2262   const char *str = "";
   2263   int number = 0;
   2264   float fnumber = 0;
   2265 
   2266   while (*format)
   2267     {
   2268       switch (*format++)
   2269 	{
   2270 	case '\''s'\'': // string
   2271 	  str = va_arg (args_copy, const char *);
   2272 	  break;
   2273 	case '\''d'\'': // int
   2274 	  number = va_arg (args_copy, int);
   2275 	  break;
   2276 	case '\''f'\'': // float
   2277 	  fnumber = va_arg (args_copy, double);
   2278 	  break;
   2279 	default:
   2280 	  break;
   2281 	}
   2282     }
   2283   va_end (args_copy);
   2284   va_end (args);
   2285 
   2286   return *str && number && fnumber;
   2287 }
   2288 '
   2289 
   2290 # Test code for whether the C compiler supports C99 (body of main).
   2291 ac_c_conftest_c99_main='
   2292   // Check bool.
   2293   _Bool success = false;
   2294   success |= (argc != 0);
   2295 
   2296   // Check restrict.
   2297   if (test_restrict ("String literal") == 0)
   2298     success = true;
   2299   char *restrict newvar = "Another string";
   2300 
   2301   // Check varargs.
   2302   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2303   test_varargs_macros ();
   2304 
   2305   // Check flexible array members.
   2306   struct incomplete_array *ia =
   2307     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2308   ia->datasize = 10;
   2309   for (int i = 0; i < ia->datasize; ++i)
   2310     ia->data[i] = i * 1.234;
   2311 
   2312   // Check named initializers.
   2313   struct named_init ni = {
   2314     .number = 34,
   2315     .name = L"Test wide string",
   2316     .average = 543.34343,
   2317   };
   2318 
   2319   ni.number = 58;
   2320 
   2321   int dynamic_array[ni.number];
   2322   dynamic_array[0] = argv[0][0];
   2323   dynamic_array[ni.number - 1] = 543;
   2324 
   2325   // work around unused variable warnings
   2326   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2327 	 || dynamic_array[ni.number - 1] != 543);
   2328 '
   2329 
   2330 # Test code for whether the C compiler supports C11 (global declarations)
   2331 ac_c_conftest_c11_globals='
   2332 // Does the compiler advertise C11 conformance?
   2333 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2334 # error "Compiler does not advertise C11 conformance"
   2335 #endif
   2336 
   2337 // Check _Alignas.
   2338 char _Alignas (double) aligned_as_double;
   2339 char _Alignas (0) no_special_alignment;
   2340 extern char aligned_as_int;
   2341 char _Alignas (0) _Alignas (int) aligned_as_int;
   2342 
   2343 // Check _Alignof.
   2344 enum
   2345 {
   2346   int_alignment = _Alignof (int),
   2347   int_array_alignment = _Alignof (int[100]),
   2348   char_alignment = _Alignof (char)
   2349 };
   2350 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2351 
   2352 // Check _Noreturn.
   2353 int _Noreturn does_not_return (void) { for (;;) continue; }
   2354 
   2355 // Check _Static_assert.
   2356 struct test_static_assert
   2357 {
   2358   int x;
   2359   _Static_assert (sizeof (int) <= sizeof (long int),
   2360                   "_Static_assert does not work in struct");
   2361   long int y;
   2362 };
   2363 
   2364 // Check UTF-8 literals.
   2365 #define u8 syntax error!
   2366 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2367 
   2368 // Check duplicate typedefs.
   2369 typedef long *long_ptr;
   2370 typedef long int *long_ptr;
   2371 typedef long_ptr long_ptr;
   2372 
   2373 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2374 struct anonymous
   2375 {
   2376   union {
   2377     struct { int i; int j; };
   2378     struct { int k; long int l; } w;
   2379   };
   2380   int m;
   2381 } v1;
   2382 '
   2383 
   2384 # Test code for whether the C compiler supports C11 (body of main).
   2385 ac_c_conftest_c11_main='
   2386   _Static_assert ((offsetof (struct anonymous, i)
   2387 		   == offsetof (struct anonymous, w.k)),
   2388 		  "Anonymous union alignment botch");
   2389   v1.i = 2;
   2390   v1.w.k = 5;
   2391   ok |= v1.i != 5;
   2392 '
   2393 
   2394 # Test code for whether the C compiler supports C11 (complete).
   2395 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2396 ${ac_c_conftest_c99_globals}
   2397 ${ac_c_conftest_c11_globals}
   2398 
   2399 int
   2400 main (int argc, char **argv)
   2401 {
   2402   int ok = 0;
   2403   ${ac_c_conftest_c89_main}
   2404   ${ac_c_conftest_c99_main}
   2405   ${ac_c_conftest_c11_main}
   2406   return ok;
   2407 }
   2408 "
   2409 
   2410 # Test code for whether the C compiler supports C99 (complete).
   2411 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2412 ${ac_c_conftest_c99_globals}
   2413 
   2414 int
   2415 main (int argc, char **argv)
   2416 {
   2417   int ok = 0;
   2418   ${ac_c_conftest_c89_main}
   2419   ${ac_c_conftest_c99_main}
   2420   return ok;
   2421 }
   2422 "
   2423 
   2424 # Test code for whether the C compiler supports C89 (complete).
   2425 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2426 
   2427 int
   2428 main (int argc, char **argv)
   2429 {
   2430   int ok = 0;
   2431   ${ac_c_conftest_c89_main}
   2432   return ok;
   2433 }
   2434 "
   2435 
   2436 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2437 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2438 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2439 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2440 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2441 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2442 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2443 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2444 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2445 
   2446 # Auxiliary files required by this configure script.
   2447 ac_aux_files="ltmain.sh config.guess config.sub compile missing install-sh"
   2448 
   2449 # Locations in which to look for auxiliary files.
   2450 ac_aux_dir_candidates="${srcdir}/."
   2451 
   2452 # Search for a directory containing all of the required auxiliary files,
   2453 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2454 # If we don't find one directory that contains all the files we need,
   2455 # we report the set of missing files from the *first* directory in
   2456 # $ac_aux_dir_candidates and give up.
   2457 ac_missing_aux_files=""
   2458 ac_first_candidate=:
   2459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2461 as_found=false
   2462 for as_dir in $ac_aux_dir_candidates
   2463 do
   2464   IFS=$as_save_IFS
   2465   case $as_dir in #(((
   2466     '') as_dir=./ ;;
   2467     */) ;;
   2468     *) as_dir=$as_dir/ ;;
   2469   esac
   2470   as_found=:
   2471 
   2472   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2473   ac_aux_dir_found=yes
   2474   ac_install_sh=
   2475   for ac_aux in $ac_aux_files
   2476   do
   2477     # As a special case, if "install-sh" is required, that requirement
   2478     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2479     # and $ac_install_sh is set appropriately for whichever one is found.
   2480     if test x"$ac_aux" = x"install-sh"
   2481     then
   2482       if test -f "${as_dir}install-sh"; then
   2483         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2484         ac_install_sh="${as_dir}install-sh -c"
   2485       elif test -f "${as_dir}install.sh"; then
   2486         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2487         ac_install_sh="${as_dir}install.sh -c"
   2488       elif test -f "${as_dir}shtool"; then
   2489         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2490         ac_install_sh="${as_dir}shtool install -c"
   2491       else
   2492         ac_aux_dir_found=no
   2493         if $ac_first_candidate; then
   2494           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2495         else
   2496           break
   2497         fi
   2498       fi
   2499     else
   2500       if test -f "${as_dir}${ac_aux}"; then
   2501         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2502       else
   2503         ac_aux_dir_found=no
   2504         if $ac_first_candidate; then
   2505           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2506         else
   2507           break
   2508         fi
   2509       fi
   2510     fi
   2511   done
   2512   if test "$ac_aux_dir_found" = yes; then
   2513     ac_aux_dir="$as_dir"
   2514     break
   2515   fi
   2516   ac_first_candidate=false
   2517 
   2518   as_found=false
   2519 done
   2520 IFS=$as_save_IFS
   2521 if $as_found
   2522 then :
   2523 
   2524 else $as_nop
   2525   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2526 fi
   2527 
   2528 
   2529 # These three variables are undocumented and unsupported,
   2530 # and are intended to be withdrawn in a future Autoconf release.
   2531 # They can cause serious problems if a builder's source tree is in a directory
   2532 # whose full name contains unusual characters.
   2533 if test -f "${ac_aux_dir}config.guess"; then
   2534   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2535 fi
   2536 if test -f "${ac_aux_dir}config.sub"; then
   2537   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2538 fi
   2539 if test -f "$ac_aux_dir/configure"; then
   2540   ac_configure="$SHELL ${ac_aux_dir}configure"
   2541 fi
   2542 
   2543 # Check that the precious variables saved in the cache have kept the same
   2544 # value.
   2545 ac_cache_corrupted=false
   2546 for ac_var in $ac_precious_vars; do
   2547   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2548   eval ac_new_set=\$ac_env_${ac_var}_set
   2549   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2550   eval ac_new_val=\$ac_env_${ac_var}_value
   2551   case $ac_old_set,$ac_new_set in
   2552     set,)
   2553       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2554 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2555       ac_cache_corrupted=: ;;
   2556     ,set)
   2557       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2558 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2559       ac_cache_corrupted=: ;;
   2560     ,);;
   2561     *)
   2562       if test "x$ac_old_val" != "x$ac_new_val"; then
   2563 	# differences in whitespace do not lead to failure.
   2564 	ac_old_val_w=`echo x $ac_old_val`
   2565 	ac_new_val_w=`echo x $ac_new_val`
   2566 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2567 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2568 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2569 	  ac_cache_corrupted=:
   2570 	else
   2571 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2572 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2573 	  eval $ac_var=\$ac_old_val
   2574 	fi
   2575 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2576 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2577 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2578 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2579       fi;;
   2580   esac
   2581   # Pass precious variables to config.status.
   2582   if test "$ac_new_set" = set; then
   2583     case $ac_new_val in
   2584     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2585     *) ac_arg=$ac_var=$ac_new_val ;;
   2586     esac
   2587     case " $ac_configure_args " in
   2588       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2589       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2590     esac
   2591   fi
   2592 done
   2593 if $ac_cache_corrupted; then
   2594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2595 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2597 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2598   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2599 	    and start over" "$LINENO" 5
   2600 fi
   2601 ## -------------------- ##
   2602 ## Main body of script. ##
   2603 ## -------------------- ##
   2604 
   2605 ac_ext=c
   2606 ac_cpp='$CPP $CPPFLAGS'
   2607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2610 
   2611 
   2612 
   2613 
   2614 ac_config_headers="$ac_config_headers config.h"
   2615 
   2616 
   2617 # Initialize Automake
   2618 am__api_version='1.16'
   2619 
   2620 
   2621 
   2622   # Find a good install program.  We prefer a C program (faster),
   2623 # so one script is as good as another.  But avoid the broken or
   2624 # incompatible versions:
   2625 # SysV /etc/install, /usr/sbin/install
   2626 # SunOS /usr/etc/install
   2627 # IRIX /sbin/install
   2628 # AIX /bin/install
   2629 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2630 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2631 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2632 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2633 # OS/2's system install, which has a completely different semantic
   2634 # ./install, which can be erroneously created by make from ./install.sh.
   2635 # Reject install programs that cannot install multiple files.
   2636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2637 printf %s "checking for a BSD-compatible install... " >&6; }
   2638 if test -z "$INSTALL"; then
   2639 if test ${ac_cv_path_install+y}
   2640 then :
   2641   printf %s "(cached) " >&6
   2642 else $as_nop
   2643   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2644 for as_dir in $PATH
   2645 do
   2646   IFS=$as_save_IFS
   2647   case $as_dir in #(((
   2648     '') as_dir=./ ;;
   2649     */) ;;
   2650     *) as_dir=$as_dir/ ;;
   2651   esac
   2652     # Account for fact that we put trailing slashes in our PATH walk.
   2653 case $as_dir in #((
   2654   ./ | /[cC]/* | \
   2655   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2656   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2657   /usr/ucb/* ) ;;
   2658   *)
   2659     # OSF1 and SCO ODT 3.0 have their own names for install.
   2660     # Don't use installbsd from OSF since it installs stuff as root
   2661     # by default.
   2662     for ac_prog in ginstall scoinst install; do
   2663       for ac_exec_ext in '' $ac_executable_extensions; do
   2664 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2665 	  if test $ac_prog = install &&
   2666 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2667 	    # AIX install.  It has an incompatible calling convention.
   2668 	    :
   2669 	  elif test $ac_prog = install &&
   2670 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2671 	    # program-specific install script used by HP pwplus--don't use.
   2672 	    :
   2673 	  else
   2674 	    rm -rf conftest.one conftest.two conftest.dir
   2675 	    echo one > conftest.one
   2676 	    echo two > conftest.two
   2677 	    mkdir conftest.dir
   2678 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2679 	      test -s conftest.one && test -s conftest.two &&
   2680 	      test -s conftest.dir/conftest.one &&
   2681 	      test -s conftest.dir/conftest.two
   2682 	    then
   2683 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2684 	      break 3
   2685 	    fi
   2686 	  fi
   2687 	fi
   2688       done
   2689     done
   2690     ;;
   2691 esac
   2692 
   2693   done
   2694 IFS=$as_save_IFS
   2695 
   2696 rm -rf conftest.one conftest.two conftest.dir
   2697 
   2698 fi
   2699   if test ${ac_cv_path_install+y}; then
   2700     INSTALL=$ac_cv_path_install
   2701   else
   2702     # As a last resort, use the slow shell script.  Don't cache a
   2703     # value for INSTALL within a source directory, because that will
   2704     # break other packages using the cache if that directory is
   2705     # removed, or if the value is a relative name.
   2706     INSTALL=$ac_install_sh
   2707   fi
   2708 fi
   2709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2710 printf "%s\n" "$INSTALL" >&6; }
   2711 
   2712 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2713 # It thinks the first close brace ends the variable substitution.
   2714 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2715 
   2716 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2717 
   2718 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2719 
   2720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2721 printf %s "checking whether build environment is sane... " >&6; }
   2722 # Reject unsafe characters in $srcdir or the absolute working directory
   2723 # name.  Accept space and tab only in the latter.
   2724 am_lf='
   2725 '
   2726 case `pwd` in
   2727   *[\\\"\#\$\&\'\`$am_lf]*)
   2728     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2729 esac
   2730 case $srcdir in
   2731   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2732     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2733 esac
   2734 
   2735 # Do 'set' in a subshell so we don't clobber the current shell's
   2736 # arguments.  Must try -L first in case configure is actually a
   2737 # symlink; some systems play weird games with the mod time of symlinks
   2738 # (eg FreeBSD returns the mod time of the symlink's containing
   2739 # directory).
   2740 if (
   2741    am_has_slept=no
   2742    for am_try in 1 2; do
   2743      echo "timestamp, slept: $am_has_slept" > conftest.file
   2744      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2745      if test "$*" = "X"; then
   2746 	# -L didn't work.
   2747 	set X `ls -t "$srcdir/configure" conftest.file`
   2748      fi
   2749      if test "$*" != "X $srcdir/configure conftest.file" \
   2750 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2751 
   2752 	# If neither matched, then we have a broken ls.  This can happen
   2753 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2754 	# broken ls alias from the environment.  This has actually
   2755 	# happened.  Such a system could not be considered "sane".
   2756 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2757   alias in your environment" "$LINENO" 5
   2758      fi
   2759      if test "$2" = conftest.file || test $am_try -eq 2; then
   2760        break
   2761      fi
   2762      # Just in case.
   2763      sleep 1
   2764      am_has_slept=yes
   2765    done
   2766    test "$2" = conftest.file
   2767    )
   2768 then
   2769    # Ok.
   2770    :
   2771 else
   2772    as_fn_error $? "newly created file is older than distributed files!
   2773 Check your system clock" "$LINENO" 5
   2774 fi
   2775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2776 printf "%s\n" "yes" >&6; }
   2777 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2778 # generated files are strictly newer.
   2779 am_sleep_pid=
   2780 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2781   ( sleep 1 ) &
   2782   am_sleep_pid=$!
   2783 fi
   2784 
   2785 rm -f conftest.file
   2786 
   2787 test "$program_prefix" != NONE &&
   2788   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2789 # Use a double $ so make ignores it.
   2790 test "$program_suffix" != NONE &&
   2791   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2792 # Double any \ or $.
   2793 # By default was `s,x,x', remove it if useless.
   2794 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2795 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2796 
   2797 
   2798 # Expand $ac_aux_dir to an absolute path.
   2799 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2800 
   2801 
   2802   if test x"${MISSING+set}" != xset; then
   2803   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2804 fi
   2805 # Use eval to expand $SHELL
   2806 if eval "$MISSING --is-lightweight"; then
   2807   am_missing_run="$MISSING "
   2808 else
   2809   am_missing_run=
   2810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2811 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2812 fi
   2813 
   2814 if test x"${install_sh+set}" != xset; then
   2815   case $am_aux_dir in
   2816   *\ * | *\	*)
   2817     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2818   *)
   2819     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2820   esac
   2821 fi
   2822 
   2823 # Installed binaries are usually stripped using 'strip' when the user
   2824 # run "make install-strip".  However 'strip' might not be the right
   2825 # tool to use in cross-compilation environments, therefore Automake
   2826 # will honor the 'STRIP' environment variable to overrule this program.
   2827 if test "$cross_compiling" != no; then
   2828   if test -n "$ac_tool_prefix"; then
   2829   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2830 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2832 printf %s "checking for $ac_word... " >&6; }
   2833 if test ${ac_cv_prog_STRIP+y}
   2834 then :
   2835   printf %s "(cached) " >&6
   2836 else $as_nop
   2837   if test -n "$STRIP"; then
   2838   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2839 else
   2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2841 for as_dir in $PATH
   2842 do
   2843   IFS=$as_save_IFS
   2844   case $as_dir in #(((
   2845     '') as_dir=./ ;;
   2846     */) ;;
   2847     *) as_dir=$as_dir/ ;;
   2848   esac
   2849     for ac_exec_ext in '' $ac_executable_extensions; do
   2850   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2851     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2852     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2853     break 2
   2854   fi
   2855 done
   2856   done
   2857 IFS=$as_save_IFS
   2858 
   2859 fi
   2860 fi
   2861 STRIP=$ac_cv_prog_STRIP
   2862 if test -n "$STRIP"; then
   2863   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2864 printf "%s\n" "$STRIP" >&6; }
   2865 else
   2866   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2867 printf "%s\n" "no" >&6; }
   2868 fi
   2869 
   2870 
   2871 fi
   2872 if test -z "$ac_cv_prog_STRIP"; then
   2873   ac_ct_STRIP=$STRIP
   2874   # Extract the first word of "strip", so it can be a program name with args.
   2875 set dummy strip; ac_word=$2
   2876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2877 printf %s "checking for $ac_word... " >&6; }
   2878 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2879 then :
   2880   printf %s "(cached) " >&6
   2881 else $as_nop
   2882   if test -n "$ac_ct_STRIP"; then
   2883   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2884 else
   2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2886 for as_dir in $PATH
   2887 do
   2888   IFS=$as_save_IFS
   2889   case $as_dir in #(((
   2890     '') as_dir=./ ;;
   2891     */) ;;
   2892     *) as_dir=$as_dir/ ;;
   2893   esac
   2894     for ac_exec_ext in '' $ac_executable_extensions; do
   2895   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2896     ac_cv_prog_ac_ct_STRIP="strip"
   2897     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2898     break 2
   2899   fi
   2900 done
   2901   done
   2902 IFS=$as_save_IFS
   2903 
   2904 fi
   2905 fi
   2906 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2907 if test -n "$ac_ct_STRIP"; then
   2908   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2909 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2910 else
   2911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2912 printf "%s\n" "no" >&6; }
   2913 fi
   2914 
   2915   if test "x$ac_ct_STRIP" = x; then
   2916     STRIP=":"
   2917   else
   2918     case $cross_compiling:$ac_tool_warned in
   2919 yes:)
   2920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2921 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2922 ac_tool_warned=yes ;;
   2923 esac
   2924     STRIP=$ac_ct_STRIP
   2925   fi
   2926 else
   2927   STRIP="$ac_cv_prog_STRIP"
   2928 fi
   2929 
   2930 fi
   2931 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2932 
   2933 
   2934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2935 printf %s "checking for a race-free mkdir -p... " >&6; }
   2936 if test -z "$MKDIR_P"; then
   2937   if test ${ac_cv_path_mkdir+y}
   2938 then :
   2939   printf %s "(cached) " >&6
   2940 else $as_nop
   2941   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2942 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2943 do
   2944   IFS=$as_save_IFS
   2945   case $as_dir in #(((
   2946     '') as_dir=./ ;;
   2947     */) ;;
   2948     *) as_dir=$as_dir/ ;;
   2949   esac
   2950     for ac_prog in mkdir gmkdir; do
   2951 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2952 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2953 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2954 	     'mkdir ('*'coreutils) '* | \
   2955 	     'BusyBox '* | \
   2956 	     'mkdir (fileutils) '4.1*)
   2957 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2958 	       break 3;;
   2959 	   esac
   2960 	 done
   2961        done
   2962   done
   2963 IFS=$as_save_IFS
   2964 
   2965 fi
   2966 
   2967   test -d ./--version && rmdir ./--version
   2968   if test ${ac_cv_path_mkdir+y}; then
   2969     MKDIR_P="$ac_cv_path_mkdir -p"
   2970   else
   2971     # As a last resort, use the slow shell script.  Don't cache a
   2972     # value for MKDIR_P within a source directory, because that will
   2973     # break other packages using the cache if that directory is
   2974     # removed, or if the value is a relative name.
   2975     MKDIR_P="$ac_install_sh -d"
   2976   fi
   2977 fi
   2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2979 printf "%s\n" "$MKDIR_P" >&6; }
   2980 
   2981 for ac_prog in gawk mawk nawk awk
   2982 do
   2983   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2984 set dummy $ac_prog; ac_word=$2
   2985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2986 printf %s "checking for $ac_word... " >&6; }
   2987 if test ${ac_cv_prog_AWK+y}
   2988 then :
   2989   printf %s "(cached) " >&6
   2990 else $as_nop
   2991   if test -n "$AWK"; then
   2992   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2993 else
   2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2995 for as_dir in $PATH
   2996 do
   2997   IFS=$as_save_IFS
   2998   case $as_dir in #(((
   2999     '') as_dir=./ ;;
   3000     */) ;;
   3001     *) as_dir=$as_dir/ ;;
   3002   esac
   3003     for ac_exec_ext in '' $ac_executable_extensions; do
   3004   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3005     ac_cv_prog_AWK="$ac_prog"
   3006     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3007     break 2
   3008   fi
   3009 done
   3010   done
   3011 IFS=$as_save_IFS
   3012 
   3013 fi
   3014 fi
   3015 AWK=$ac_cv_prog_AWK
   3016 if test -n "$AWK"; then
   3017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3018 printf "%s\n" "$AWK" >&6; }
   3019 else
   3020   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3021 printf "%s\n" "no" >&6; }
   3022 fi
   3023 
   3024 
   3025   test -n "$AWK" && break
   3026 done
   3027 
   3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3029 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3030 set x ${MAKE-make}
   3031 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3032 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3033 then :
   3034   printf %s "(cached) " >&6
   3035 else $as_nop
   3036   cat >conftest.make <<\_ACEOF
   3037 SHELL = /bin/sh
   3038 all:
   3039 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3040 _ACEOF
   3041 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3042 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3043   *@@@%%%=?*=@@@%%%*)
   3044     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3045   *)
   3046     eval ac_cv_prog_make_${ac_make}_set=no;;
   3047 esac
   3048 rm -f conftest.make
   3049 fi
   3050 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3052 printf "%s\n" "yes" >&6; }
   3053   SET_MAKE=
   3054 else
   3055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3056 printf "%s\n" "no" >&6; }
   3057   SET_MAKE="MAKE=${MAKE-make}"
   3058 fi
   3059 
   3060 rm -rf .tst 2>/dev/null
   3061 mkdir .tst 2>/dev/null
   3062 if test -d .tst; then
   3063   am__leading_dot=.
   3064 else
   3065   am__leading_dot=_
   3066 fi
   3067 rmdir .tst 2>/dev/null
   3068 
   3069 # Check whether --enable-silent-rules was given.
   3070 if test ${enable_silent_rules+y}
   3071 then :
   3072   enableval=$enable_silent_rules;
   3073 fi
   3074 
   3075 case $enable_silent_rules in # (((
   3076   yes) AM_DEFAULT_VERBOSITY=0;;
   3077    no) AM_DEFAULT_VERBOSITY=1;;
   3078     *) AM_DEFAULT_VERBOSITY=1;;
   3079 esac
   3080 am_make=${MAKE-make}
   3081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3082 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3083 if test ${am_cv_make_support_nested_variables+y}
   3084 then :
   3085   printf %s "(cached) " >&6
   3086 else $as_nop
   3087   if printf "%s\n" 'TRUE=$(BAR$(V))
   3088 BAR0=false
   3089 BAR1=true
   3090 V=1
   3091 am__doit:
   3092 	@$(TRUE)
   3093 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3094   am_cv_make_support_nested_variables=yes
   3095 else
   3096   am_cv_make_support_nested_variables=no
   3097 fi
   3098 fi
   3099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3100 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3101 if test $am_cv_make_support_nested_variables = yes; then
   3102     AM_V='$(V)'
   3103   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3104 else
   3105   AM_V=$AM_DEFAULT_VERBOSITY
   3106   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3107 fi
   3108 AM_BACKSLASH='\'
   3109 
   3110 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3111   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3112   # is not polluted with repeated "-I."
   3113   am__isrc=' -I$(srcdir)'
   3114   # test to see if srcdir already configured
   3115   if test -f $srcdir/config.status; then
   3116     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3117   fi
   3118 fi
   3119 
   3120 # test whether we have cygpath
   3121 if test -z "$CYGPATH_W"; then
   3122   if (cygpath --version) >/dev/null 2>/dev/null; then
   3123     CYGPATH_W='cygpath -w'
   3124   else
   3125     CYGPATH_W=echo
   3126   fi
   3127 fi
   3128 
   3129 
   3130 # Define the identity of the package.
   3131  PACKAGE='xf86-input-elographics'
   3132  VERSION='1.4.3'
   3133 
   3134 
   3135 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3136 
   3137 
   3138 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3139 
   3140 # Some tools Automake needs.
   3141 
   3142 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3143 
   3144 
   3145 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3146 
   3147 
   3148 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3149 
   3150 
   3151 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3152 
   3153 
   3154 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3155 
   3156 # For better backward compatibility.  To be removed once Automake 1.9.x
   3157 # dies out for good.  For more background, see:
   3158 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3159 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3160 mkdir_p='$(MKDIR_P)'
   3161 
   3162 # We need awk for the "check" target (and possibly the TAP driver).  The
   3163 # system "awk" is bad on some platforms.
   3164 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3165 # in the wild :-(  We should find a proper way to deprecate it ...
   3166 AMTAR='$${TAR-tar}'
   3167 
   3168 
   3169 # We'll loop over all known methods to create a tar archive until one works.
   3170 _am_tools='gnutar  pax cpio none'
   3171 
   3172 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3173 
   3174 
   3175 
   3176 
   3177 
   3178 # Variables for tags utilities; see am/tags.am
   3179 if test -z "$CTAGS"; then
   3180   CTAGS=ctags
   3181 fi
   3182 
   3183 if test -z "$ETAGS"; then
   3184   ETAGS=etags
   3185 fi
   3186 
   3187 if test -z "$CSCOPE"; then
   3188   CSCOPE=cscope
   3189 fi
   3190 
   3191 
   3192 
   3193 # POSIX will say in a future version that running "rm -f" with no argument
   3194 # is OK; and we want to be able to make that assumption in our Makefile
   3195 # recipes.  So use an aggressive probe to check that the usage we want is
   3196 # actually supported "in the wild" to an acceptable degree.
   3197 # See automake bug#10828.
   3198 # To make any issue more visible, cause the running configure to be aborted
   3199 # by default if the 'rm' program in use doesn't match our expectations; the
   3200 # user can still override this though.
   3201 if rm -f && rm -fr && rm -rf; then : OK; else
   3202   cat >&2 <<'END'
   3203 Oops!
   3204 
   3205 Your 'rm' program seems unable to run without file operands specified
   3206 on the command line, even when the '-f' option is present.  This is contrary
   3207 to the behaviour of most rm programs out there, and not conforming with
   3208 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3209 
   3210 Please tell bug-automake@gnu.org about your system, including the value
   3211 of your $PATH and any error possibly output before this message.  This
   3212 can help us improve future automake versions.
   3213 
   3214 END
   3215   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3216     echo 'Configuration will proceed anyway, since you have set the' >&2
   3217     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3218     echo >&2
   3219   else
   3220     cat >&2 <<'END'
   3221 Aborting the configuration process, to ensure you take notice of the issue.
   3222 
   3223 You can download and install GNU coreutils to get an 'rm' implementation
   3224 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3225 
   3226 If you want to complete the configuration process using your problematic
   3227 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3228 to "yes", and re-run configure.
   3229 
   3230 END
   3231     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3232   fi
   3233 fi
   3234 
   3235 
   3236 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3237 
   3238 
   3239 
   3240 
   3241 
   3242 
   3243 
   3244 
   3245 
   3246 
   3247 
   3248 
   3249 
   3250 
   3251 
   3252 
   3253 
   3254 
   3255 
   3256 
   3257 DEPDIR="${am__leading_dot}deps"
   3258 
   3259 ac_config_commands="$ac_config_commands depfiles"
   3260 
   3261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3262 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3263 cat > confinc.mk << 'END'
   3264 am__doit:
   3265 	@echo this is the am__doit target >confinc.out
   3266 .PHONY: am__doit
   3267 END
   3268 am__include="#"
   3269 am__quote=
   3270 # BSD make does it like this.
   3271 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3272 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3273 echo 'include confinc.mk # ignored' > confmf.GNU
   3274 _am_result=no
   3275 for s in GNU BSD; do
   3276   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3277    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3278    ac_status=$?
   3279    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3280    (exit $ac_status); }
   3281   case $?:`cat confinc.out 2>/dev/null` in #(
   3282   '0:this is the am__doit target') :
   3283     case $s in #(
   3284   BSD) :
   3285     am__include='.include' am__quote='"' ;; #(
   3286   *) :
   3287     am__include='include' am__quote='' ;;
   3288 esac ;; #(
   3289   *) :
   3290      ;;
   3291 esac
   3292   if test "$am__include" != "#"; then
   3293     _am_result="yes ($s style)"
   3294     break
   3295   fi
   3296 done
   3297 rm -f confinc.* confmf.*
   3298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3299 printf "%s\n" "${_am_result}" >&6; }
   3300 
   3301 # Check whether --enable-dependency-tracking was given.
   3302 if test ${enable_dependency_tracking+y}
   3303 then :
   3304   enableval=$enable_dependency_tracking;
   3305 fi
   3306 
   3307 if test "x$enable_dependency_tracking" != xno; then
   3308   am_depcomp="$ac_aux_dir/depcomp"
   3309   AMDEPBACKSLASH='\'
   3310   am__nodep='_no'
   3311 fi
   3312  if test "x$enable_dependency_tracking" != xno; then
   3313   AMDEP_TRUE=
   3314   AMDEP_FALSE='#'
   3315 else
   3316   AMDEP_TRUE='#'
   3317   AMDEP_FALSE=
   3318 fi
   3319 
   3320 
   3321 ac_ext=c
   3322 ac_cpp='$CPP $CPPFLAGS'
   3323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3326 if test -n "$ac_tool_prefix"; then
   3327   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3328 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3330 printf %s "checking for $ac_word... " >&6; }
   3331 if test ${ac_cv_prog_CC+y}
   3332 then :
   3333   printf %s "(cached) " >&6
   3334 else $as_nop
   3335   if test -n "$CC"; then
   3336   ac_cv_prog_CC="$CC" # Let the user override the test.
   3337 else
   3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3339 for as_dir in $PATH
   3340 do
   3341   IFS=$as_save_IFS
   3342   case $as_dir in #(((
   3343     '') as_dir=./ ;;
   3344     */) ;;
   3345     *) as_dir=$as_dir/ ;;
   3346   esac
   3347     for ac_exec_ext in '' $ac_executable_extensions; do
   3348   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3349     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3350     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3351     break 2
   3352   fi
   3353 done
   3354   done
   3355 IFS=$as_save_IFS
   3356 
   3357 fi
   3358 fi
   3359 CC=$ac_cv_prog_CC
   3360 if test -n "$CC"; then
   3361   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3362 printf "%s\n" "$CC" >&6; }
   3363 else
   3364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3365 printf "%s\n" "no" >&6; }
   3366 fi
   3367 
   3368 
   3369 fi
   3370 if test -z "$ac_cv_prog_CC"; then
   3371   ac_ct_CC=$CC
   3372   # Extract the first word of "gcc", so it can be a program name with args.
   3373 set dummy gcc; ac_word=$2
   3374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3375 printf %s "checking for $ac_word... " >&6; }
   3376 if test ${ac_cv_prog_ac_ct_CC+y}
   3377 then :
   3378   printf %s "(cached) " >&6
   3379 else $as_nop
   3380   if test -n "$ac_ct_CC"; then
   3381   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3382 else
   3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3384 for as_dir in $PATH
   3385 do
   3386   IFS=$as_save_IFS
   3387   case $as_dir in #(((
   3388     '') as_dir=./ ;;
   3389     */) ;;
   3390     *) as_dir=$as_dir/ ;;
   3391   esac
   3392     for ac_exec_ext in '' $ac_executable_extensions; do
   3393   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3394     ac_cv_prog_ac_ct_CC="gcc"
   3395     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3396     break 2
   3397   fi
   3398 done
   3399   done
   3400 IFS=$as_save_IFS
   3401 
   3402 fi
   3403 fi
   3404 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3405 if test -n "$ac_ct_CC"; then
   3406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3407 printf "%s\n" "$ac_ct_CC" >&6; }
   3408 else
   3409   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3410 printf "%s\n" "no" >&6; }
   3411 fi
   3412 
   3413   if test "x$ac_ct_CC" = x; then
   3414     CC=""
   3415   else
   3416     case $cross_compiling:$ac_tool_warned in
   3417 yes:)
   3418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3419 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3420 ac_tool_warned=yes ;;
   3421 esac
   3422     CC=$ac_ct_CC
   3423   fi
   3424 else
   3425   CC="$ac_cv_prog_CC"
   3426 fi
   3427 
   3428 if test -z "$CC"; then
   3429           if test -n "$ac_tool_prefix"; then
   3430     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3431 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3433 printf %s "checking for $ac_word... " >&6; }
   3434 if test ${ac_cv_prog_CC+y}
   3435 then :
   3436   printf %s "(cached) " >&6
   3437 else $as_nop
   3438   if test -n "$CC"; then
   3439   ac_cv_prog_CC="$CC" # Let the user override the test.
   3440 else
   3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3442 for as_dir in $PATH
   3443 do
   3444   IFS=$as_save_IFS
   3445   case $as_dir in #(((
   3446     '') as_dir=./ ;;
   3447     */) ;;
   3448     *) as_dir=$as_dir/ ;;
   3449   esac
   3450     for ac_exec_ext in '' $ac_executable_extensions; do
   3451   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3452     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3453     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3454     break 2
   3455   fi
   3456 done
   3457   done
   3458 IFS=$as_save_IFS
   3459 
   3460 fi
   3461 fi
   3462 CC=$ac_cv_prog_CC
   3463 if test -n "$CC"; then
   3464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3465 printf "%s\n" "$CC" >&6; }
   3466 else
   3467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3468 printf "%s\n" "no" >&6; }
   3469 fi
   3470 
   3471 
   3472   fi
   3473 fi
   3474 if test -z "$CC"; then
   3475   # Extract the first word of "cc", so it can be a program name with args.
   3476 set dummy cc; ac_word=$2
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3478 printf %s "checking for $ac_word... " >&6; }
   3479 if test ${ac_cv_prog_CC+y}
   3480 then :
   3481   printf %s "(cached) " >&6
   3482 else $as_nop
   3483   if test -n "$CC"; then
   3484   ac_cv_prog_CC="$CC" # Let the user override the test.
   3485 else
   3486   ac_prog_rejected=no
   3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3488 for as_dir in $PATH
   3489 do
   3490   IFS=$as_save_IFS
   3491   case $as_dir in #(((
   3492     '') as_dir=./ ;;
   3493     */) ;;
   3494     *) as_dir=$as_dir/ ;;
   3495   esac
   3496     for ac_exec_ext in '' $ac_executable_extensions; do
   3497   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3498     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3499        ac_prog_rejected=yes
   3500        continue
   3501      fi
   3502     ac_cv_prog_CC="cc"
   3503     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3504     break 2
   3505   fi
   3506 done
   3507   done
   3508 IFS=$as_save_IFS
   3509 
   3510 if test $ac_prog_rejected = yes; then
   3511   # We found a bogon in the path, so make sure we never use it.
   3512   set dummy $ac_cv_prog_CC
   3513   shift
   3514   if test $# != 0; then
   3515     # We chose a different compiler from the bogus one.
   3516     # However, it has the same basename, so the bogon will be chosen
   3517     # first if we set CC to just the basename; use the full file name.
   3518     shift
   3519     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3520   fi
   3521 fi
   3522 fi
   3523 fi
   3524 CC=$ac_cv_prog_CC
   3525 if test -n "$CC"; then
   3526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3527 printf "%s\n" "$CC" >&6; }
   3528 else
   3529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3530 printf "%s\n" "no" >&6; }
   3531 fi
   3532 
   3533 
   3534 fi
   3535 if test -z "$CC"; then
   3536   if test -n "$ac_tool_prefix"; then
   3537   for ac_prog in cl.exe
   3538   do
   3539     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3542 printf %s "checking for $ac_word... " >&6; }
   3543 if test ${ac_cv_prog_CC+y}
   3544 then :
   3545   printf %s "(cached) " >&6
   3546 else $as_nop
   3547   if test -n "$CC"; then
   3548   ac_cv_prog_CC="$CC" # Let the user override the test.
   3549 else
   3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3551 for as_dir in $PATH
   3552 do
   3553   IFS=$as_save_IFS
   3554   case $as_dir in #(((
   3555     '') as_dir=./ ;;
   3556     */) ;;
   3557     *) as_dir=$as_dir/ ;;
   3558   esac
   3559     for ac_exec_ext in '' $ac_executable_extensions; do
   3560   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3561     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3562     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3563     break 2
   3564   fi
   3565 done
   3566   done
   3567 IFS=$as_save_IFS
   3568 
   3569 fi
   3570 fi
   3571 CC=$ac_cv_prog_CC
   3572 if test -n "$CC"; then
   3573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3574 printf "%s\n" "$CC" >&6; }
   3575 else
   3576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3577 printf "%s\n" "no" >&6; }
   3578 fi
   3579 
   3580 
   3581     test -n "$CC" && break
   3582   done
   3583 fi
   3584 if test -z "$CC"; then
   3585   ac_ct_CC=$CC
   3586   for ac_prog in cl.exe
   3587 do
   3588   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3589 set dummy $ac_prog; ac_word=$2
   3590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3591 printf %s "checking for $ac_word... " >&6; }
   3592 if test ${ac_cv_prog_ac_ct_CC+y}
   3593 then :
   3594   printf %s "(cached) " >&6
   3595 else $as_nop
   3596   if test -n "$ac_ct_CC"; then
   3597   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3598 else
   3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3600 for as_dir in $PATH
   3601 do
   3602   IFS=$as_save_IFS
   3603   case $as_dir in #(((
   3604     '') as_dir=./ ;;
   3605     */) ;;
   3606     *) as_dir=$as_dir/ ;;
   3607   esac
   3608     for ac_exec_ext in '' $ac_executable_extensions; do
   3609   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3610     ac_cv_prog_ac_ct_CC="$ac_prog"
   3611     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3612     break 2
   3613   fi
   3614 done
   3615   done
   3616 IFS=$as_save_IFS
   3617 
   3618 fi
   3619 fi
   3620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3621 if test -n "$ac_ct_CC"; then
   3622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3623 printf "%s\n" "$ac_ct_CC" >&6; }
   3624 else
   3625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3626 printf "%s\n" "no" >&6; }
   3627 fi
   3628 
   3629 
   3630   test -n "$ac_ct_CC" && break
   3631 done
   3632 
   3633   if test "x$ac_ct_CC" = x; then
   3634     CC=""
   3635   else
   3636     case $cross_compiling:$ac_tool_warned in
   3637 yes:)
   3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3639 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3640 ac_tool_warned=yes ;;
   3641 esac
   3642     CC=$ac_ct_CC
   3643   fi
   3644 fi
   3645 
   3646 fi
   3647 if test -z "$CC"; then
   3648   if test -n "$ac_tool_prefix"; then
   3649   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3650 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3652 printf %s "checking for $ac_word... " >&6; }
   3653 if test ${ac_cv_prog_CC+y}
   3654 then :
   3655   printf %s "(cached) " >&6
   3656 else $as_nop
   3657   if test -n "$CC"; then
   3658   ac_cv_prog_CC="$CC" # Let the user override the test.
   3659 else
   3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3661 for as_dir in $PATH
   3662 do
   3663   IFS=$as_save_IFS
   3664   case $as_dir in #(((
   3665     '') as_dir=./ ;;
   3666     */) ;;
   3667     *) as_dir=$as_dir/ ;;
   3668   esac
   3669     for ac_exec_ext in '' $ac_executable_extensions; do
   3670   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3671     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3672     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3673     break 2
   3674   fi
   3675 done
   3676   done
   3677 IFS=$as_save_IFS
   3678 
   3679 fi
   3680 fi
   3681 CC=$ac_cv_prog_CC
   3682 if test -n "$CC"; then
   3683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3684 printf "%s\n" "$CC" >&6; }
   3685 else
   3686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3687 printf "%s\n" "no" >&6; }
   3688 fi
   3689 
   3690 
   3691 fi
   3692 if test -z "$ac_cv_prog_CC"; then
   3693   ac_ct_CC=$CC
   3694   # Extract the first word of "clang", so it can be a program name with args.
   3695 set dummy clang; ac_word=$2
   3696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3697 printf %s "checking for $ac_word... " >&6; }
   3698 if test ${ac_cv_prog_ac_ct_CC+y}
   3699 then :
   3700   printf %s "(cached) " >&6
   3701 else $as_nop
   3702   if test -n "$ac_ct_CC"; then
   3703   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3704 else
   3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3706 for as_dir in $PATH
   3707 do
   3708   IFS=$as_save_IFS
   3709   case $as_dir in #(((
   3710     '') as_dir=./ ;;
   3711     */) ;;
   3712     *) as_dir=$as_dir/ ;;
   3713   esac
   3714     for ac_exec_ext in '' $ac_executable_extensions; do
   3715   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3716     ac_cv_prog_ac_ct_CC="clang"
   3717     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3718     break 2
   3719   fi
   3720 done
   3721   done
   3722 IFS=$as_save_IFS
   3723 
   3724 fi
   3725 fi
   3726 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3727 if test -n "$ac_ct_CC"; then
   3728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3729 printf "%s\n" "$ac_ct_CC" >&6; }
   3730 else
   3731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3732 printf "%s\n" "no" >&6; }
   3733 fi
   3734 
   3735   if test "x$ac_ct_CC" = x; then
   3736     CC=""
   3737   else
   3738     case $cross_compiling:$ac_tool_warned in
   3739 yes:)
   3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3741 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3742 ac_tool_warned=yes ;;
   3743 esac
   3744     CC=$ac_ct_CC
   3745   fi
   3746 else
   3747   CC="$ac_cv_prog_CC"
   3748 fi
   3749 
   3750 fi
   3751 
   3752 
   3753 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3754 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3755 as_fn_error $? "no acceptable C compiler found in \$PATH
   3756 See \`config.log' for more details" "$LINENO" 5; }
   3757 
   3758 # Provide some information about the compiler.
   3759 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3760 set X $ac_compile
   3761 ac_compiler=$2
   3762 for ac_option in --version -v -V -qversion -version; do
   3763   { { ac_try="$ac_compiler $ac_option >&5"
   3764 case "(($ac_try" in
   3765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3766   *) ac_try_echo=$ac_try;;
   3767 esac
   3768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3769 printf "%s\n" "$ac_try_echo"; } >&5
   3770   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3771   ac_status=$?
   3772   if test -s conftest.err; then
   3773     sed '10a\
   3774 ... rest of stderr output deleted ...
   3775          10q' conftest.err >conftest.er1
   3776     cat conftest.er1 >&5
   3777   fi
   3778   rm -f conftest.er1 conftest.err
   3779   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3780   test $ac_status = 0; }
   3781 done
   3782 
   3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3784 /* end confdefs.h.  */
   3785 
   3786 int
   3787 main (void)
   3788 {
   3789 
   3790   ;
   3791   return 0;
   3792 }
   3793 _ACEOF
   3794 ac_clean_files_save=$ac_clean_files
   3795 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3796 # Try to create an executable without -o first, disregard a.out.
   3797 # It will help us diagnose broken compilers, and finding out an intuition
   3798 # of exeext.
   3799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3800 printf %s "checking whether the C compiler works... " >&6; }
   3801 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3802 
   3803 # The possible output files:
   3804 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3805 
   3806 ac_rmfiles=
   3807 for ac_file in $ac_files
   3808 do
   3809   case $ac_file in
   3810     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3811     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3812   esac
   3813 done
   3814 rm -f $ac_rmfiles
   3815 
   3816 if { { ac_try="$ac_link_default"
   3817 case "(($ac_try" in
   3818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3819   *) ac_try_echo=$ac_try;;
   3820 esac
   3821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3822 printf "%s\n" "$ac_try_echo"; } >&5
   3823   (eval "$ac_link_default") 2>&5
   3824   ac_status=$?
   3825   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3826   test $ac_status = 0; }
   3827 then :
   3828   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3829 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3830 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3831 # so that the user can short-circuit this test for compilers unknown to
   3832 # Autoconf.
   3833 for ac_file in $ac_files ''
   3834 do
   3835   test -f "$ac_file" || continue
   3836   case $ac_file in
   3837     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3838 	;;
   3839     [ab].out )
   3840 	# We found the default executable, but exeext='' is most
   3841 	# certainly right.
   3842 	break;;
   3843     *.* )
   3844 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3845 	then :; else
   3846 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3847 	fi
   3848 	# We set ac_cv_exeext here because the later test for it is not
   3849 	# safe: cross compilers may not add the suffix if given an `-o'
   3850 	# argument, so we may need to know it at that point already.
   3851 	# Even if this section looks crufty: it has the advantage of
   3852 	# actually working.
   3853 	break;;
   3854     * )
   3855 	break;;
   3856   esac
   3857 done
   3858 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3859 
   3860 else $as_nop
   3861   ac_file=''
   3862 fi
   3863 if test -z "$ac_file"
   3864 then :
   3865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3866 printf "%s\n" "no" >&6; }
   3867 printf "%s\n" "$as_me: failed program was:" >&5
   3868 sed 's/^/| /' conftest.$ac_ext >&5
   3869 
   3870 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3871 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3872 as_fn_error 77 "C compiler cannot create executables
   3873 See \`config.log' for more details" "$LINENO" 5; }
   3874 else $as_nop
   3875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3876 printf "%s\n" "yes" >&6; }
   3877 fi
   3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3879 printf %s "checking for C compiler default output file name... " >&6; }
   3880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3881 printf "%s\n" "$ac_file" >&6; }
   3882 ac_exeext=$ac_cv_exeext
   3883 
   3884 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3885 ac_clean_files=$ac_clean_files_save
   3886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3887 printf %s "checking for suffix of executables... " >&6; }
   3888 if { { ac_try="$ac_link"
   3889 case "(($ac_try" in
   3890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3891   *) ac_try_echo=$ac_try;;
   3892 esac
   3893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3894 printf "%s\n" "$ac_try_echo"; } >&5
   3895   (eval "$ac_link") 2>&5
   3896   ac_status=$?
   3897   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3898   test $ac_status = 0; }
   3899 then :
   3900   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3901 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3902 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3903 # `rm'.
   3904 for ac_file in conftest.exe conftest conftest.*; do
   3905   test -f "$ac_file" || continue
   3906   case $ac_file in
   3907     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3908     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3909 	  break;;
   3910     * ) break;;
   3911   esac
   3912 done
   3913 else $as_nop
   3914   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3915 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3916 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3917 See \`config.log' for more details" "$LINENO" 5; }
   3918 fi
   3919 rm -f conftest conftest$ac_cv_exeext
   3920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3921 printf "%s\n" "$ac_cv_exeext" >&6; }
   3922 
   3923 rm -f conftest.$ac_ext
   3924 EXEEXT=$ac_cv_exeext
   3925 ac_exeext=$EXEEXT
   3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3927 /* end confdefs.h.  */
   3928 #include <stdio.h>
   3929 int
   3930 main (void)
   3931 {
   3932 FILE *f = fopen ("conftest.out", "w");
   3933  return ferror (f) || fclose (f) != 0;
   3934 
   3935   ;
   3936   return 0;
   3937 }
   3938 _ACEOF
   3939 ac_clean_files="$ac_clean_files conftest.out"
   3940 # Check that the compiler produces executables we can run.  If not, either
   3941 # the compiler is broken, or we cross compile.
   3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3943 printf %s "checking whether we are cross compiling... " >&6; }
   3944 if test "$cross_compiling" != yes; then
   3945   { { ac_try="$ac_link"
   3946 case "(($ac_try" in
   3947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3948   *) ac_try_echo=$ac_try;;
   3949 esac
   3950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3951 printf "%s\n" "$ac_try_echo"; } >&5
   3952   (eval "$ac_link") 2>&5
   3953   ac_status=$?
   3954   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3955   test $ac_status = 0; }
   3956   if { ac_try='./conftest$ac_cv_exeext'
   3957   { { case "(($ac_try" in
   3958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3959   *) ac_try_echo=$ac_try;;
   3960 esac
   3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3962 printf "%s\n" "$ac_try_echo"; } >&5
   3963   (eval "$ac_try") 2>&5
   3964   ac_status=$?
   3965   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3966   test $ac_status = 0; }; }; then
   3967     cross_compiling=no
   3968   else
   3969     if test "$cross_compiling" = maybe; then
   3970 	cross_compiling=yes
   3971     else
   3972 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3973 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3974 as_fn_error 77 "cannot run C compiled programs.
   3975 If you meant to cross compile, use \`--host'.
   3976 See \`config.log' for more details" "$LINENO" 5; }
   3977     fi
   3978   fi
   3979 fi
   3980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3981 printf "%s\n" "$cross_compiling" >&6; }
   3982 
   3983 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3984 ac_clean_files=$ac_clean_files_save
   3985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3986 printf %s "checking for suffix of object files... " >&6; }
   3987 if test ${ac_cv_objext+y}
   3988 then :
   3989   printf %s "(cached) " >&6
   3990 else $as_nop
   3991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3992 /* end confdefs.h.  */
   3993 
   3994 int
   3995 main (void)
   3996 {
   3997 
   3998   ;
   3999   return 0;
   4000 }
   4001 _ACEOF
   4002 rm -f conftest.o conftest.obj
   4003 if { { ac_try="$ac_compile"
   4004 case "(($ac_try" in
   4005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4006   *) ac_try_echo=$ac_try;;
   4007 esac
   4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4009 printf "%s\n" "$ac_try_echo"; } >&5
   4010   (eval "$ac_compile") 2>&5
   4011   ac_status=$?
   4012   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4013   test $ac_status = 0; }
   4014 then :
   4015   for ac_file in conftest.o conftest.obj conftest.*; do
   4016   test -f "$ac_file" || continue;
   4017   case $ac_file in
   4018     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4019     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4020        break;;
   4021   esac
   4022 done
   4023 else $as_nop
   4024   printf "%s\n" "$as_me: failed program was:" >&5
   4025 sed 's/^/| /' conftest.$ac_ext >&5
   4026 
   4027 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4028 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4029 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4030 See \`config.log' for more details" "$LINENO" 5; }
   4031 fi
   4032 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4033 fi
   4034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4035 printf "%s\n" "$ac_cv_objext" >&6; }
   4036 OBJEXT=$ac_cv_objext
   4037 ac_objext=$OBJEXT
   4038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4039 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4040 if test ${ac_cv_c_compiler_gnu+y}
   4041 then :
   4042   printf %s "(cached) " >&6
   4043 else $as_nop
   4044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4045 /* end confdefs.h.  */
   4046 
   4047 int
   4048 main (void)
   4049 {
   4050 #ifndef __GNUC__
   4051        choke me
   4052 #endif
   4053 
   4054   ;
   4055   return 0;
   4056 }
   4057 _ACEOF
   4058 if ac_fn_c_try_compile "$LINENO"
   4059 then :
   4060   ac_compiler_gnu=yes
   4061 else $as_nop
   4062   ac_compiler_gnu=no
   4063 fi
   4064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4065 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4066 
   4067 fi
   4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4069 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4071 
   4072 if test $ac_compiler_gnu = yes; then
   4073   GCC=yes
   4074 else
   4075   GCC=
   4076 fi
   4077 ac_test_CFLAGS=${CFLAGS+y}
   4078 ac_save_CFLAGS=$CFLAGS
   4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4080 printf %s "checking whether $CC accepts -g... " >&6; }
   4081 if test ${ac_cv_prog_cc_g+y}
   4082 then :
   4083   printf %s "(cached) " >&6
   4084 else $as_nop
   4085   ac_save_c_werror_flag=$ac_c_werror_flag
   4086    ac_c_werror_flag=yes
   4087    ac_cv_prog_cc_g=no
   4088    CFLAGS="-g"
   4089    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4090 /* end confdefs.h.  */
   4091 
   4092 int
   4093 main (void)
   4094 {
   4095 
   4096   ;
   4097   return 0;
   4098 }
   4099 _ACEOF
   4100 if ac_fn_c_try_compile "$LINENO"
   4101 then :
   4102   ac_cv_prog_cc_g=yes
   4103 else $as_nop
   4104   CFLAGS=""
   4105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4106 /* end confdefs.h.  */
   4107 
   4108 int
   4109 main (void)
   4110 {
   4111 
   4112   ;
   4113   return 0;
   4114 }
   4115 _ACEOF
   4116 if ac_fn_c_try_compile "$LINENO"
   4117 then :
   4118 
   4119 else $as_nop
   4120   ac_c_werror_flag=$ac_save_c_werror_flag
   4121 	 CFLAGS="-g"
   4122 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4123 /* end confdefs.h.  */
   4124 
   4125 int
   4126 main (void)
   4127 {
   4128 
   4129   ;
   4130   return 0;
   4131 }
   4132 _ACEOF
   4133 if ac_fn_c_try_compile "$LINENO"
   4134 then :
   4135   ac_cv_prog_cc_g=yes
   4136 fi
   4137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4138 fi
   4139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4140 fi
   4141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4142    ac_c_werror_flag=$ac_save_c_werror_flag
   4143 fi
   4144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4145 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4146 if test $ac_test_CFLAGS; then
   4147   CFLAGS=$ac_save_CFLAGS
   4148 elif test $ac_cv_prog_cc_g = yes; then
   4149   if test "$GCC" = yes; then
   4150     CFLAGS="-g -O2"
   4151   else
   4152     CFLAGS="-g"
   4153   fi
   4154 else
   4155   if test "$GCC" = yes; then
   4156     CFLAGS="-O2"
   4157   else
   4158     CFLAGS=
   4159   fi
   4160 fi
   4161 ac_prog_cc_stdc=no
   4162 if test x$ac_prog_cc_stdc = xno
   4163 then :
   4164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4165 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4166 if test ${ac_cv_prog_cc_c11+y}
   4167 then :
   4168   printf %s "(cached) " >&6
   4169 else $as_nop
   4170   ac_cv_prog_cc_c11=no
   4171 ac_save_CC=$CC
   4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4173 /* end confdefs.h.  */
   4174 $ac_c_conftest_c11_program
   4175 _ACEOF
   4176 for ac_arg in '' -std=gnu11
   4177 do
   4178   CC="$ac_save_CC $ac_arg"
   4179   if ac_fn_c_try_compile "$LINENO"
   4180 then :
   4181   ac_cv_prog_cc_c11=$ac_arg
   4182 fi
   4183 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4184   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4185 done
   4186 rm -f conftest.$ac_ext
   4187 CC=$ac_save_CC
   4188 fi
   4189 
   4190 if test "x$ac_cv_prog_cc_c11" = xno
   4191 then :
   4192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4193 printf "%s\n" "unsupported" >&6; }
   4194 else $as_nop
   4195   if test "x$ac_cv_prog_cc_c11" = x
   4196 then :
   4197   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4198 printf "%s\n" "none needed" >&6; }
   4199 else $as_nop
   4200   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4201 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4202      CC="$CC $ac_cv_prog_cc_c11"
   4203 fi
   4204   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4205   ac_prog_cc_stdc=c11
   4206 fi
   4207 fi
   4208 if test x$ac_prog_cc_stdc = xno
   4209 then :
   4210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4211 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4212 if test ${ac_cv_prog_cc_c99+y}
   4213 then :
   4214   printf %s "(cached) " >&6
   4215 else $as_nop
   4216   ac_cv_prog_cc_c99=no
   4217 ac_save_CC=$CC
   4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4219 /* end confdefs.h.  */
   4220 $ac_c_conftest_c99_program
   4221 _ACEOF
   4222 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4223 do
   4224   CC="$ac_save_CC $ac_arg"
   4225   if ac_fn_c_try_compile "$LINENO"
   4226 then :
   4227   ac_cv_prog_cc_c99=$ac_arg
   4228 fi
   4229 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4230   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4231 done
   4232 rm -f conftest.$ac_ext
   4233 CC=$ac_save_CC
   4234 fi
   4235 
   4236 if test "x$ac_cv_prog_cc_c99" = xno
   4237 then :
   4238   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4239 printf "%s\n" "unsupported" >&6; }
   4240 else $as_nop
   4241   if test "x$ac_cv_prog_cc_c99" = x
   4242 then :
   4243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4244 printf "%s\n" "none needed" >&6; }
   4245 else $as_nop
   4246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4247 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4248      CC="$CC $ac_cv_prog_cc_c99"
   4249 fi
   4250   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4251   ac_prog_cc_stdc=c99
   4252 fi
   4253 fi
   4254 if test x$ac_prog_cc_stdc = xno
   4255 then :
   4256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4257 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4258 if test ${ac_cv_prog_cc_c89+y}
   4259 then :
   4260   printf %s "(cached) " >&6
   4261 else $as_nop
   4262   ac_cv_prog_cc_c89=no
   4263 ac_save_CC=$CC
   4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4265 /* end confdefs.h.  */
   4266 $ac_c_conftest_c89_program
   4267 _ACEOF
   4268 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4269 do
   4270   CC="$ac_save_CC $ac_arg"
   4271   if ac_fn_c_try_compile "$LINENO"
   4272 then :
   4273   ac_cv_prog_cc_c89=$ac_arg
   4274 fi
   4275 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4276   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4277 done
   4278 rm -f conftest.$ac_ext
   4279 CC=$ac_save_CC
   4280 fi
   4281 
   4282 if test "x$ac_cv_prog_cc_c89" = xno
   4283 then :
   4284   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4285 printf "%s\n" "unsupported" >&6; }
   4286 else $as_nop
   4287   if test "x$ac_cv_prog_cc_c89" = x
   4288 then :
   4289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4290 printf "%s\n" "none needed" >&6; }
   4291 else $as_nop
   4292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4293 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4294      CC="$CC $ac_cv_prog_cc_c89"
   4295 fi
   4296   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4297   ac_prog_cc_stdc=c89
   4298 fi
   4299 fi
   4300 
   4301 ac_ext=c
   4302 ac_cpp='$CPP $CPPFLAGS'
   4303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4306 
   4307 
   4308   ac_ext=c
   4309 ac_cpp='$CPP $CPPFLAGS'
   4310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4314 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4315 if test ${am_cv_prog_cc_c_o+y}
   4316 then :
   4317   printf %s "(cached) " >&6
   4318 else $as_nop
   4319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4320 /* end confdefs.h.  */
   4321 
   4322 int
   4323 main (void)
   4324 {
   4325 
   4326   ;
   4327   return 0;
   4328 }
   4329 _ACEOF
   4330   # Make sure it works both with $CC and with simple cc.
   4331   # Following AC_PROG_CC_C_O, we do the test twice because some
   4332   # compilers refuse to overwrite an existing .o file with -o,
   4333   # though they will create one.
   4334   am_cv_prog_cc_c_o=yes
   4335   for am_i in 1 2; do
   4336     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4337    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4338    ac_status=$?
   4339    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4340    (exit $ac_status); } \
   4341          && test -f conftest2.$ac_objext; then
   4342       : OK
   4343     else
   4344       am_cv_prog_cc_c_o=no
   4345       break
   4346     fi
   4347   done
   4348   rm -f core conftest*
   4349   unset am_i
   4350 fi
   4351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4352 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4353 if test "$am_cv_prog_cc_c_o" != yes; then
   4354    # Losing compiler, so override with the script.
   4355    # FIXME: It is wrong to rewrite CC.
   4356    # But if we don't then we get into trouble of one sort or another.
   4357    # A longer-term fix would be to have automake use am__CC in this case,
   4358    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4359    CC="$am_aux_dir/compile $CC"
   4360 fi
   4361 ac_ext=c
   4362 ac_cpp='$CPP $CPPFLAGS'
   4363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4366 
   4367 
   4368 depcc="$CC"   am_compiler_list=
   4369 
   4370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4371 printf %s "checking dependency style of $depcc... " >&6; }
   4372 if test ${am_cv_CC_dependencies_compiler_type+y}
   4373 then :
   4374   printf %s "(cached) " >&6
   4375 else $as_nop
   4376   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4377   # We make a subdir and do the tests there.  Otherwise we can end up
   4378   # making bogus files that we don't know about and never remove.  For
   4379   # instance it was reported that on HP-UX the gcc test will end up
   4380   # making a dummy file named 'D' -- because '-MD' means "put the output
   4381   # in D".
   4382   rm -rf conftest.dir
   4383   mkdir conftest.dir
   4384   # Copy depcomp to subdir because otherwise we won't find it if we're
   4385   # using a relative directory.
   4386   cp "$am_depcomp" conftest.dir
   4387   cd conftest.dir
   4388   # We will build objects and dependencies in a subdirectory because
   4389   # it helps to detect inapplicable dependency modes.  For instance
   4390   # both Tru64's cc and ICC support -MD to output dependencies as a
   4391   # side effect of compilation, but ICC will put the dependencies in
   4392   # the current directory while Tru64 will put them in the object
   4393   # directory.
   4394   mkdir sub
   4395 
   4396   am_cv_CC_dependencies_compiler_type=none
   4397   if test "$am_compiler_list" = ""; then
   4398      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4399   fi
   4400   am__universal=false
   4401   case " $depcc " in #(
   4402      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4403      esac
   4404 
   4405   for depmode in $am_compiler_list; do
   4406     # Setup a source with many dependencies, because some compilers
   4407     # like to wrap large dependency lists on column 80 (with \), and
   4408     # we should not choose a depcomp mode which is confused by this.
   4409     #
   4410     # We need to recreate these files for each test, as the compiler may
   4411     # overwrite some of them when testing with obscure command lines.
   4412     # This happens at least with the AIX C compiler.
   4413     : > sub/conftest.c
   4414     for i in 1 2 3 4 5 6; do
   4415       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4416       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4417       # Solaris 10 /bin/sh.
   4418       echo '/* dummy */' > sub/conftst$i.h
   4419     done
   4420     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4421 
   4422     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4423     # mode.  It turns out that the SunPro C++ compiler does not properly
   4424     # handle '-M -o', and we need to detect this.  Also, some Intel
   4425     # versions had trouble with output in subdirs.
   4426     am__obj=sub/conftest.${OBJEXT-o}
   4427     am__minus_obj="-o $am__obj"
   4428     case $depmode in
   4429     gcc)
   4430       # This depmode causes a compiler race in universal mode.
   4431       test "$am__universal" = false || continue
   4432       ;;
   4433     nosideeffect)
   4434       # After this tag, mechanisms are not by side-effect, so they'll
   4435       # only be used when explicitly requested.
   4436       if test "x$enable_dependency_tracking" = xyes; then
   4437 	continue
   4438       else
   4439 	break
   4440       fi
   4441       ;;
   4442     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4443       # This compiler won't grok '-c -o', but also, the minuso test has
   4444       # not run yet.  These depmodes are late enough in the game, and
   4445       # so weak that their functioning should not be impacted.
   4446       am__obj=conftest.${OBJEXT-o}
   4447       am__minus_obj=
   4448       ;;
   4449     none) break ;;
   4450     esac
   4451     if depmode=$depmode \
   4452        source=sub/conftest.c object=$am__obj \
   4453        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4454        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4455          >/dev/null 2>conftest.err &&
   4456        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4457        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4458        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4459        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4460       # icc doesn't choke on unknown options, it will just issue warnings
   4461       # or remarks (even with -Werror).  So we grep stderr for any message
   4462       # that says an option was ignored or not supported.
   4463       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4464       #   icc: Command line warning: ignoring option '-M'; no argument required
   4465       # The diagnosis changed in icc 8.0:
   4466       #   icc: Command line remark: option '-MP' not supported
   4467       if (grep 'ignoring option' conftest.err ||
   4468           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4469         am_cv_CC_dependencies_compiler_type=$depmode
   4470         break
   4471       fi
   4472     fi
   4473   done
   4474 
   4475   cd ..
   4476   rm -rf conftest.dir
   4477 else
   4478   am_cv_CC_dependencies_compiler_type=none
   4479 fi
   4480 
   4481 fi
   4482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4483 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4484 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4485 
   4486  if
   4487   test "x$enable_dependency_tracking" != xno \
   4488   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4489   am__fastdepCC_TRUE=
   4490   am__fastdepCC_FALSE='#'
   4491 else
   4492   am__fastdepCC_TRUE='#'
   4493   am__fastdepCC_FALSE=
   4494 fi
   4495 
   4496 
   4497 
   4498 
   4499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4500 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4501 if test ${ac_cv_c_undeclared_builtin_options+y}
   4502 then :
   4503   printf %s "(cached) " >&6
   4504 else $as_nop
   4505   ac_save_CFLAGS=$CFLAGS
   4506    ac_cv_c_undeclared_builtin_options='cannot detect'
   4507    for ac_arg in '' -fno-builtin; do
   4508      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4509      # This test program should *not* compile successfully.
   4510      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4511 /* end confdefs.h.  */
   4512 
   4513 int
   4514 main (void)
   4515 {
   4516 (void) strchr;
   4517   ;
   4518   return 0;
   4519 }
   4520 _ACEOF
   4521 if ac_fn_c_try_compile "$LINENO"
   4522 then :
   4523 
   4524 else $as_nop
   4525   # This test program should compile successfully.
   4526         # No library function is consistently available on
   4527         # freestanding implementations, so test against a dummy
   4528         # declaration.  Include always-available headers on the
   4529         # off chance that they somehow elicit warnings.
   4530         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4531 /* end confdefs.h.  */
   4532 #include <float.h>
   4533 #include <limits.h>
   4534 #include <stdarg.h>
   4535 #include <stddef.h>
   4536 extern void ac_decl (int, char *);
   4537 
   4538 int
   4539 main (void)
   4540 {
   4541 (void) ac_decl (0, (char *) 0);
   4542   (void) ac_decl;
   4543 
   4544   ;
   4545   return 0;
   4546 }
   4547 _ACEOF
   4548 if ac_fn_c_try_compile "$LINENO"
   4549 then :
   4550   if test x"$ac_arg" = x
   4551 then :
   4552   ac_cv_c_undeclared_builtin_options='none needed'
   4553 else $as_nop
   4554   ac_cv_c_undeclared_builtin_options=$ac_arg
   4555 fi
   4556           break
   4557 fi
   4558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4559 fi
   4560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4561     done
   4562     CFLAGS=$ac_save_CFLAGS
   4563 
   4564 fi
   4565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4566 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4567   case $ac_cv_c_undeclared_builtin_options in #(
   4568   'cannot detect') :
   4569     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4570 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4571 as_fn_error $? "cannot make $CC report undeclared builtins
   4572 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   4573   'none needed') :
   4574     ac_c_undeclared_builtin_options='' ;; #(
   4575   *) :
   4576     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4577 esac
   4578 
   4579 ac_header= ac_cache=
   4580 for ac_item in $ac_header_c_list
   4581 do
   4582   if test $ac_cache; then
   4583     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4584     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4585       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4586     fi
   4587     ac_header= ac_cache=
   4588   elif test $ac_header; then
   4589     ac_cache=$ac_item
   4590   else
   4591     ac_header=$ac_item
   4592   fi
   4593 done
   4594 
   4595 
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 
   4602 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4603 then :
   4604 
   4605 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4606 
   4607 fi
   4608 
   4609 
   4610 
   4611 
   4612 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4613 if test "x$ac_cv_have_decl___clang__" = xyes
   4614 then :
   4615   CLANGCC="yes"
   4616 else $as_nop
   4617   CLANGCC="no"
   4618 fi
   4619 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4620 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4621 then :
   4622   INTELCC="yes"
   4623 else $as_nop
   4624   INTELCC="no"
   4625 fi
   4626 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4627 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4628 then :
   4629   SUNCC="yes"
   4630 else $as_nop
   4631   SUNCC="no"
   4632 fi
   4633 
   4634 
   4635 
   4636 
   4637 
   4638 
   4639 
   4640 
   4641 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4642 	if test -n "$ac_tool_prefix"; then
   4643   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4644 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4646 printf %s "checking for $ac_word... " >&6; }
   4647 if test ${ac_cv_path_PKG_CONFIG+y}
   4648 then :
   4649   printf %s "(cached) " >&6
   4650 else $as_nop
   4651   case $PKG_CONFIG in
   4652   [\\/]* | ?:[\\/]*)
   4653   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4654   ;;
   4655   *)
   4656   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4657 for as_dir in $PATH
   4658 do
   4659   IFS=$as_save_IFS
   4660   case $as_dir in #(((
   4661     '') as_dir=./ ;;
   4662     */) ;;
   4663     *) as_dir=$as_dir/ ;;
   4664   esac
   4665     for ac_exec_ext in '' $ac_executable_extensions; do
   4666   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4667     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4668     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4669     break 2
   4670   fi
   4671 done
   4672   done
   4673 IFS=$as_save_IFS
   4674 
   4675   ;;
   4676 esac
   4677 fi
   4678 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4679 if test -n "$PKG_CONFIG"; then
   4680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4681 printf "%s\n" "$PKG_CONFIG" >&6; }
   4682 else
   4683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4684 printf "%s\n" "no" >&6; }
   4685 fi
   4686 
   4687 
   4688 fi
   4689 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4690   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4691   # Extract the first word of "pkg-config", so it can be a program name with args.
   4692 set dummy pkg-config; ac_word=$2
   4693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4694 printf %s "checking for $ac_word... " >&6; }
   4695 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4696 then :
   4697   printf %s "(cached) " >&6
   4698 else $as_nop
   4699   case $ac_pt_PKG_CONFIG in
   4700   [\\/]* | ?:[\\/]*)
   4701   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4702   ;;
   4703   *)
   4704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4705 for as_dir in $PATH
   4706 do
   4707   IFS=$as_save_IFS
   4708   case $as_dir in #(((
   4709     '') as_dir=./ ;;
   4710     */) ;;
   4711     *) as_dir=$as_dir/ ;;
   4712   esac
   4713     for ac_exec_ext in '' $ac_executable_extensions; do
   4714   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4715     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4716     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4717     break 2
   4718   fi
   4719 done
   4720   done
   4721 IFS=$as_save_IFS
   4722 
   4723   ;;
   4724 esac
   4725 fi
   4726 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4727 if test -n "$ac_pt_PKG_CONFIG"; then
   4728   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4729 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4730 else
   4731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4732 printf "%s\n" "no" >&6; }
   4733 fi
   4734 
   4735   if test "x$ac_pt_PKG_CONFIG" = x; then
   4736     PKG_CONFIG=""
   4737   else
   4738     case $cross_compiling:$ac_tool_warned in
   4739 yes:)
   4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4741 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4742 ac_tool_warned=yes ;;
   4743 esac
   4744     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4745   fi
   4746 else
   4747   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4748 fi
   4749 
   4750 fi
   4751 if test -n "$PKG_CONFIG"; then
   4752 	_pkg_min_version=0.9.0
   4753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4754 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4755 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4756 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4757 printf "%s\n" "yes" >&6; }
   4758 	else
   4759 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4760 printf "%s\n" "no" >&6; }
   4761 		PKG_CONFIG=""
   4762 	fi
   4763 fi
   4764 
   4765 
   4766   # Make sure we can run config.sub.
   4767 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4768   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4769 
   4770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4771 printf %s "checking build system type... " >&6; }
   4772 if test ${ac_cv_build+y}
   4773 then :
   4774   printf %s "(cached) " >&6
   4775 else $as_nop
   4776   ac_build_alias=$build_alias
   4777 test "x$ac_build_alias" = x &&
   4778   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4779 test "x$ac_build_alias" = x &&
   4780   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4781 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4782   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4783 
   4784 fi
   4785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4786 printf "%s\n" "$ac_cv_build" >&6; }
   4787 case $ac_cv_build in
   4788 *-*-*) ;;
   4789 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4790 esac
   4791 build=$ac_cv_build
   4792 ac_save_IFS=$IFS; IFS='-'
   4793 set x $ac_cv_build
   4794 shift
   4795 build_cpu=$1
   4796 build_vendor=$2
   4797 shift; shift
   4798 # Remember, the first character of IFS is used to create $*,
   4799 # except with old shells:
   4800 build_os=$*
   4801 IFS=$ac_save_IFS
   4802 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4803 
   4804 
   4805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4806 printf %s "checking host system type... " >&6; }
   4807 if test ${ac_cv_host+y}
   4808 then :
   4809   printf %s "(cached) " >&6
   4810 else $as_nop
   4811   if test "x$host_alias" = x; then
   4812   ac_cv_host=$ac_cv_build
   4813 else
   4814   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4815     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4816 fi
   4817 
   4818 fi
   4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4820 printf "%s\n" "$ac_cv_host" >&6; }
   4821 case $ac_cv_host in
   4822 *-*-*) ;;
   4823 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4824 esac
   4825 host=$ac_cv_host
   4826 ac_save_IFS=$IFS; IFS='-'
   4827 set x $ac_cv_host
   4828 shift
   4829 host_cpu=$1
   4830 host_vendor=$2
   4831 shift; shift
   4832 # Remember, the first character of IFS is used to create $*,
   4833 # except with old shells:
   4834 host_os=$*
   4835 IFS=$ac_save_IFS
   4836 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4837 
   4838 
   4839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4840 printf %s "checking for a sed that does not truncate output... " >&6; }
   4841 if test ${ac_cv_path_SED+y}
   4842 then :
   4843   printf %s "(cached) " >&6
   4844 else $as_nop
   4845             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4846      for ac_i in 1 2 3 4 5 6 7; do
   4847        ac_script="$ac_script$as_nl$ac_script"
   4848      done
   4849      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4850      { ac_script=; unset ac_script;}
   4851      if test -z "$SED"; then
   4852   ac_path_SED_found=false
   4853   # Loop through the user's path and test for each of PROGNAME-LIST
   4854   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4855 for as_dir in $PATH
   4856 do
   4857   IFS=$as_save_IFS
   4858   case $as_dir in #(((
   4859     '') as_dir=./ ;;
   4860     */) ;;
   4861     *) as_dir=$as_dir/ ;;
   4862   esac
   4863     for ac_prog in sed gsed
   4864    do
   4865     for ac_exec_ext in '' $ac_executable_extensions; do
   4866       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4867       as_fn_executable_p "$ac_path_SED" || continue
   4868 # Check for GNU ac_path_SED and select it if it is found.
   4869   # Check for GNU $ac_path_SED
   4870 case `"$ac_path_SED" --version 2>&1` in
   4871 *GNU*)
   4872   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4873 *)
   4874   ac_count=0
   4875   printf %s 0123456789 >"conftest.in"
   4876   while :
   4877   do
   4878     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4879     mv "conftest.tmp" "conftest.in"
   4880     cp "conftest.in" "conftest.nl"
   4881     printf "%s\n" '' >> "conftest.nl"
   4882     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4883     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4884     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4885     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4886       # Best one so far, save it but keep looking for a better one
   4887       ac_cv_path_SED="$ac_path_SED"
   4888       ac_path_SED_max=$ac_count
   4889     fi
   4890     # 10*(2^10) chars as input seems more than enough
   4891     test $ac_count -gt 10 && break
   4892   done
   4893   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4894 esac
   4895 
   4896       $ac_path_SED_found && break 3
   4897     done
   4898   done
   4899   done
   4900 IFS=$as_save_IFS
   4901   if test -z "$ac_cv_path_SED"; then
   4902     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4903   fi
   4904 else
   4905   ac_cv_path_SED=$SED
   4906 fi
   4907 
   4908 fi
   4909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4910 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4911  SED="$ac_cv_path_SED"
   4912   rm -f conftest.sed
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 # Check whether --enable-selective-werror was given.
   4920 if test ${enable_selective_werror+y}
   4921 then :
   4922   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4923 else $as_nop
   4924   SELECTIVE_WERROR=yes
   4925 fi
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4932 if test "x$SUNCC" = "xyes"; then
   4933     BASE_CFLAGS="-v"
   4934 else
   4935     BASE_CFLAGS=""
   4936 fi
   4937 
   4938 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 xorg_testset_save_CFLAGS="$CFLAGS"
   4953 
   4954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4956 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4957 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4958 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   4959 then :
   4960   printf %s "(cached) " >&6
   4961 else $as_nop
   4962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4963 /* end confdefs.h.  */
   4964 int i;
   4965 _ACEOF
   4966 if ac_fn_c_try_compile "$LINENO"
   4967 then :
   4968   xorg_cv_cc_flag_unknown_warning_option=yes
   4969 else $as_nop
   4970   xorg_cv_cc_flag_unknown_warning_option=no
   4971 fi
   4972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4973 fi
   4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4975 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4976 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4977 	CFLAGS="$xorg_testset_save_CFLAGS"
   4978 fi
   4979 
   4980 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4981 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4982 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4983 	fi
   4984 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4986 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4987 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   4988 then :
   4989   printf %s "(cached) " >&6
   4990 else $as_nop
   4991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4992 /* end confdefs.h.  */
   4993 int i;
   4994 _ACEOF
   4995 if ac_fn_c_try_compile "$LINENO"
   4996 then :
   4997   xorg_cv_cc_flag_unused_command_line_argument=yes
   4998 else $as_nop
   4999   xorg_cv_cc_flag_unused_command_line_argument=no
   5000 fi
   5001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5002 fi
   5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5004 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5006 	CFLAGS="$xorg_testset_save_CFLAGS"
   5007 fi
   5008 
   5009 found="no"
   5010 
   5011 	if test $found = "no" ; then
   5012 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5014 		fi
   5015 
   5016 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5018 		fi
   5019 
   5020 		CFLAGS="$CFLAGS -Wall"
   5021 
   5022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5023 printf %s "checking if $CC supports -Wall... " >&6; }
   5024 		cacheid=xorg_cv_cc_flag__Wall
   5025 		if eval test \${$cacheid+y}
   5026 then :
   5027   printf %s "(cached) " >&6
   5028 else $as_nop
   5029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5030 /* end confdefs.h.  */
   5031 int i;
   5032 int
   5033 main (void)
   5034 {
   5035 
   5036   ;
   5037   return 0;
   5038 }
   5039 _ACEOF
   5040 if ac_fn_c_try_link "$LINENO"
   5041 then :
   5042   eval $cacheid=yes
   5043 else $as_nop
   5044   eval $cacheid=no
   5045 fi
   5046 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5047     conftest$ac_exeext conftest.$ac_ext
   5048 fi
   5049 
   5050 
   5051 		CFLAGS="$xorg_testset_save_CFLAGS"
   5052 
   5053 		eval supported=\$$cacheid
   5054 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5055 printf "%s\n" "$supported" >&6; }
   5056 		if test "$supported" = "yes" ; then
   5057 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5058 			found="yes"
   5059 		fi
   5060 	fi
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 xorg_testset_save_CFLAGS="$CFLAGS"
   5077 
   5078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5081 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5082 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5083 then :
   5084   printf %s "(cached) " >&6
   5085 else $as_nop
   5086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5087 /* end confdefs.h.  */
   5088 int i;
   5089 _ACEOF
   5090 if ac_fn_c_try_compile "$LINENO"
   5091 then :
   5092   xorg_cv_cc_flag_unknown_warning_option=yes
   5093 else $as_nop
   5094   xorg_cv_cc_flag_unknown_warning_option=no
   5095 fi
   5096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5097 fi
   5098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5099 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5101 	CFLAGS="$xorg_testset_save_CFLAGS"
   5102 fi
   5103 
   5104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5107 	fi
   5108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5110 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5111 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5112 then :
   5113   printf %s "(cached) " >&6
   5114 else $as_nop
   5115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5116 /* end confdefs.h.  */
   5117 int i;
   5118 _ACEOF
   5119 if ac_fn_c_try_compile "$LINENO"
   5120 then :
   5121   xorg_cv_cc_flag_unused_command_line_argument=yes
   5122 else $as_nop
   5123   xorg_cv_cc_flag_unused_command_line_argument=no
   5124 fi
   5125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5126 fi
   5127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5128 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5130 	CFLAGS="$xorg_testset_save_CFLAGS"
   5131 fi
   5132 
   5133 found="no"
   5134 
   5135 	if test $found = "no" ; then
   5136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5138 		fi
   5139 
   5140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5142 		fi
   5143 
   5144 		CFLAGS="$CFLAGS -Wpointer-arith"
   5145 
   5146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5147 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5148 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5149 		if eval test \${$cacheid+y}
   5150 then :
   5151   printf %s "(cached) " >&6
   5152 else $as_nop
   5153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5154 /* end confdefs.h.  */
   5155 int i;
   5156 int
   5157 main (void)
   5158 {
   5159 
   5160   ;
   5161   return 0;
   5162 }
   5163 _ACEOF
   5164 if ac_fn_c_try_link "$LINENO"
   5165 then :
   5166   eval $cacheid=yes
   5167 else $as_nop
   5168   eval $cacheid=no
   5169 fi
   5170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5171     conftest$ac_exeext conftest.$ac_ext
   5172 fi
   5173 
   5174 
   5175 		CFLAGS="$xorg_testset_save_CFLAGS"
   5176 
   5177 		eval supported=\$$cacheid
   5178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5179 printf "%s\n" "$supported" >&6; }
   5180 		if test "$supported" = "yes" ; then
   5181 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5182 			found="yes"
   5183 		fi
   5184 	fi
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 xorg_testset_save_CFLAGS="$CFLAGS"
   5201 
   5202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5204 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5205 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5206 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5207 then :
   5208   printf %s "(cached) " >&6
   5209 else $as_nop
   5210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5211 /* end confdefs.h.  */
   5212 int i;
   5213 _ACEOF
   5214 if ac_fn_c_try_compile "$LINENO"
   5215 then :
   5216   xorg_cv_cc_flag_unknown_warning_option=yes
   5217 else $as_nop
   5218   xorg_cv_cc_flag_unknown_warning_option=no
   5219 fi
   5220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5221 fi
   5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5223 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5225 	CFLAGS="$xorg_testset_save_CFLAGS"
   5226 fi
   5227 
   5228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 	fi
   5232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5234 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5235 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5236 then :
   5237   printf %s "(cached) " >&6
   5238 else $as_nop
   5239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5240 /* end confdefs.h.  */
   5241 int i;
   5242 _ACEOF
   5243 if ac_fn_c_try_compile "$LINENO"
   5244 then :
   5245   xorg_cv_cc_flag_unused_command_line_argument=yes
   5246 else $as_nop
   5247   xorg_cv_cc_flag_unused_command_line_argument=no
   5248 fi
   5249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5250 fi
   5251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5252 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5254 	CFLAGS="$xorg_testset_save_CFLAGS"
   5255 fi
   5256 
   5257 found="no"
   5258 
   5259 	if test $found = "no" ; then
   5260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5262 		fi
   5263 
   5264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5266 		fi
   5267 
   5268 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5269 
   5270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5271 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5272 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5273 		if eval test \${$cacheid+y}
   5274 then :
   5275   printf %s "(cached) " >&6
   5276 else $as_nop
   5277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5278 /* end confdefs.h.  */
   5279 int i;
   5280 int
   5281 main (void)
   5282 {
   5283 
   5284   ;
   5285   return 0;
   5286 }
   5287 _ACEOF
   5288 if ac_fn_c_try_link "$LINENO"
   5289 then :
   5290   eval $cacheid=yes
   5291 else $as_nop
   5292   eval $cacheid=no
   5293 fi
   5294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5295     conftest$ac_exeext conftest.$ac_ext
   5296 fi
   5297 
   5298 
   5299 		CFLAGS="$xorg_testset_save_CFLAGS"
   5300 
   5301 		eval supported=\$$cacheid
   5302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5303 printf "%s\n" "$supported" >&6; }
   5304 		if test "$supported" = "yes" ; then
   5305 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5306 			found="yes"
   5307 		fi
   5308 	fi
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 xorg_testset_save_CFLAGS="$CFLAGS"
   5325 
   5326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5328 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5329 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5330 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5331 then :
   5332   printf %s "(cached) " >&6
   5333 else $as_nop
   5334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5335 /* end confdefs.h.  */
   5336 int i;
   5337 _ACEOF
   5338 if ac_fn_c_try_compile "$LINENO"
   5339 then :
   5340   xorg_cv_cc_flag_unknown_warning_option=yes
   5341 else $as_nop
   5342   xorg_cv_cc_flag_unknown_warning_option=no
   5343 fi
   5344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5345 fi
   5346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5347 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5349 	CFLAGS="$xorg_testset_save_CFLAGS"
   5350 fi
   5351 
   5352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5355 	fi
   5356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5357 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5358 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5359 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5360 then :
   5361   printf %s "(cached) " >&6
   5362 else $as_nop
   5363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5364 /* end confdefs.h.  */
   5365 int i;
   5366 _ACEOF
   5367 if ac_fn_c_try_compile "$LINENO"
   5368 then :
   5369   xorg_cv_cc_flag_unused_command_line_argument=yes
   5370 else $as_nop
   5371   xorg_cv_cc_flag_unused_command_line_argument=no
   5372 fi
   5373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5374 fi
   5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5376 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5378 	CFLAGS="$xorg_testset_save_CFLAGS"
   5379 fi
   5380 
   5381 found="no"
   5382 
   5383 	if test $found = "no" ; then
   5384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5386 		fi
   5387 
   5388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5390 		fi
   5391 
   5392 		CFLAGS="$CFLAGS -Wformat=2"
   5393 
   5394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5395 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5396 		cacheid=xorg_cv_cc_flag__Wformat_2
   5397 		if eval test \${$cacheid+y}
   5398 then :
   5399   printf %s "(cached) " >&6
   5400 else $as_nop
   5401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 int i;
   5404 int
   5405 main (void)
   5406 {
   5407 
   5408   ;
   5409   return 0;
   5410 }
   5411 _ACEOF
   5412 if ac_fn_c_try_link "$LINENO"
   5413 then :
   5414   eval $cacheid=yes
   5415 else $as_nop
   5416   eval $cacheid=no
   5417 fi
   5418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5419     conftest$ac_exeext conftest.$ac_ext
   5420 fi
   5421 
   5422 
   5423 		CFLAGS="$xorg_testset_save_CFLAGS"
   5424 
   5425 		eval supported=\$$cacheid
   5426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5427 printf "%s\n" "$supported" >&6; }
   5428 		if test "$supported" = "yes" ; then
   5429 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5430 			found="yes"
   5431 		fi
   5432 	fi
   5433 
   5434 	if test $found = "no" ; then
   5435 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 		fi
   5438 
   5439 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5441 		fi
   5442 
   5443 		CFLAGS="$CFLAGS -Wformat"
   5444 
   5445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5446 printf %s "checking if $CC supports -Wformat... " >&6; }
   5447 		cacheid=xorg_cv_cc_flag__Wformat
   5448 		if eval test \${$cacheid+y}
   5449 then :
   5450   printf %s "(cached) " >&6
   5451 else $as_nop
   5452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5453 /* end confdefs.h.  */
   5454 int i;
   5455 int
   5456 main (void)
   5457 {
   5458 
   5459   ;
   5460   return 0;
   5461 }
   5462 _ACEOF
   5463 if ac_fn_c_try_link "$LINENO"
   5464 then :
   5465   eval $cacheid=yes
   5466 else $as_nop
   5467   eval $cacheid=no
   5468 fi
   5469 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5470     conftest$ac_exeext conftest.$ac_ext
   5471 fi
   5472 
   5473 
   5474 		CFLAGS="$xorg_testset_save_CFLAGS"
   5475 
   5476 		eval supported=\$$cacheid
   5477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5478 printf "%s\n" "$supported" >&6; }
   5479 		if test "$supported" = "yes" ; then
   5480 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5481 			found="yes"
   5482 		fi
   5483 	fi
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 xorg_testset_save_CFLAGS="$CFLAGS"
   5502 
   5503 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5504 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5505 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5506 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5507 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5508 then :
   5509   printf %s "(cached) " >&6
   5510 else $as_nop
   5511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5512 /* end confdefs.h.  */
   5513 int i;
   5514 _ACEOF
   5515 if ac_fn_c_try_compile "$LINENO"
   5516 then :
   5517   xorg_cv_cc_flag_unknown_warning_option=yes
   5518 else $as_nop
   5519   xorg_cv_cc_flag_unknown_warning_option=no
   5520 fi
   5521 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5522 fi
   5523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5524 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5526 	CFLAGS="$xorg_testset_save_CFLAGS"
   5527 fi
   5528 
   5529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5532 	fi
   5533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5535 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5536 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5537 then :
   5538   printf %s "(cached) " >&6
   5539 else $as_nop
   5540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5541 /* end confdefs.h.  */
   5542 int i;
   5543 _ACEOF
   5544 if ac_fn_c_try_compile "$LINENO"
   5545 then :
   5546   xorg_cv_cc_flag_unused_command_line_argument=yes
   5547 else $as_nop
   5548   xorg_cv_cc_flag_unused_command_line_argument=no
   5549 fi
   5550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5551 fi
   5552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5553 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5555 	CFLAGS="$xorg_testset_save_CFLAGS"
   5556 fi
   5557 
   5558 found="no"
   5559 
   5560 	if test $found = "no" ; then
   5561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5563 		fi
   5564 
   5565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5567 		fi
   5568 
   5569 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5570 
   5571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5572 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5573 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5574 		if eval test \${$cacheid+y}
   5575 then :
   5576   printf %s "(cached) " >&6
   5577 else $as_nop
   5578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5579 /* end confdefs.h.  */
   5580 int i;
   5581 int
   5582 main (void)
   5583 {
   5584 
   5585   ;
   5586   return 0;
   5587 }
   5588 _ACEOF
   5589 if ac_fn_c_try_link "$LINENO"
   5590 then :
   5591   eval $cacheid=yes
   5592 else $as_nop
   5593   eval $cacheid=no
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5596     conftest$ac_exeext conftest.$ac_ext
   5597 fi
   5598 
   5599 
   5600 		CFLAGS="$xorg_testset_save_CFLAGS"
   5601 
   5602 		eval supported=\$$cacheid
   5603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5604 printf "%s\n" "$supported" >&6; }
   5605 		if test "$supported" = "yes" ; then
   5606 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5607 			found="yes"
   5608 		fi
   5609 	fi
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 xorg_testset_save_CFLAGS="$CFLAGS"
   5626 
   5627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5630 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5631 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5632 then :
   5633   printf %s "(cached) " >&6
   5634 else $as_nop
   5635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5636 /* end confdefs.h.  */
   5637 int i;
   5638 _ACEOF
   5639 if ac_fn_c_try_compile "$LINENO"
   5640 then :
   5641   xorg_cv_cc_flag_unknown_warning_option=yes
   5642 else $as_nop
   5643   xorg_cv_cc_flag_unknown_warning_option=no
   5644 fi
   5645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5646 fi
   5647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5650 	CFLAGS="$xorg_testset_save_CFLAGS"
   5651 fi
   5652 
   5653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5656 	fi
   5657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5661 then :
   5662   printf %s "(cached) " >&6
   5663 else $as_nop
   5664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5665 /* end confdefs.h.  */
   5666 int i;
   5667 _ACEOF
   5668 if ac_fn_c_try_compile "$LINENO"
   5669 then :
   5670   xorg_cv_cc_flag_unused_command_line_argument=yes
   5671 else $as_nop
   5672   xorg_cv_cc_flag_unused_command_line_argument=no
   5673 fi
   5674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5675 fi
   5676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5677 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5679 	CFLAGS="$xorg_testset_save_CFLAGS"
   5680 fi
   5681 
   5682 found="no"
   5683 
   5684 	if test $found = "no" ; then
   5685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5687 		fi
   5688 
   5689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5691 		fi
   5692 
   5693 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5694 
   5695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5696 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5697 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5698 		if eval test \${$cacheid+y}
   5699 then :
   5700   printf %s "(cached) " >&6
   5701 else $as_nop
   5702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5703 /* end confdefs.h.  */
   5704 int i;
   5705 int
   5706 main (void)
   5707 {
   5708 
   5709   ;
   5710   return 0;
   5711 }
   5712 _ACEOF
   5713 if ac_fn_c_try_link "$LINENO"
   5714 then :
   5715   eval $cacheid=yes
   5716 else $as_nop
   5717   eval $cacheid=no
   5718 fi
   5719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5720     conftest$ac_exeext conftest.$ac_ext
   5721 fi
   5722 
   5723 
   5724 		CFLAGS="$xorg_testset_save_CFLAGS"
   5725 
   5726 		eval supported=\$$cacheid
   5727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5728 printf "%s\n" "$supported" >&6; }
   5729 		if test "$supported" = "yes" ; then
   5730 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5731 			found="yes"
   5732 		fi
   5733 	fi
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 xorg_testset_save_CFLAGS="$CFLAGS"
   5750 
   5751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5756 then :
   5757   printf %s "(cached) " >&6
   5758 else $as_nop
   5759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5760 /* end confdefs.h.  */
   5761 int i;
   5762 _ACEOF
   5763 if ac_fn_c_try_compile "$LINENO"
   5764 then :
   5765   xorg_cv_cc_flag_unknown_warning_option=yes
   5766 else $as_nop
   5767   xorg_cv_cc_flag_unknown_warning_option=no
   5768 fi
   5769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5770 fi
   5771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5772 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5774 	CFLAGS="$xorg_testset_save_CFLAGS"
   5775 fi
   5776 
   5777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5780 	fi
   5781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5782 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5783 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5784 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5785 then :
   5786   printf %s "(cached) " >&6
   5787 else $as_nop
   5788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5789 /* end confdefs.h.  */
   5790 int i;
   5791 _ACEOF
   5792 if ac_fn_c_try_compile "$LINENO"
   5793 then :
   5794   xorg_cv_cc_flag_unused_command_line_argument=yes
   5795 else $as_nop
   5796   xorg_cv_cc_flag_unused_command_line_argument=no
   5797 fi
   5798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5799 fi
   5800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5801 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5803 	CFLAGS="$xorg_testset_save_CFLAGS"
   5804 fi
   5805 
   5806 found="no"
   5807 
   5808 	if test $found = "no" ; then
   5809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5811 		fi
   5812 
   5813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5815 		fi
   5816 
   5817 		CFLAGS="$CFLAGS -Wnested-externs"
   5818 
   5819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5820 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5821 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5822 		if eval test \${$cacheid+y}
   5823 then :
   5824   printf %s "(cached) " >&6
   5825 else $as_nop
   5826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5827 /* end confdefs.h.  */
   5828 int i;
   5829 int
   5830 main (void)
   5831 {
   5832 
   5833   ;
   5834   return 0;
   5835 }
   5836 _ACEOF
   5837 if ac_fn_c_try_link "$LINENO"
   5838 then :
   5839   eval $cacheid=yes
   5840 else $as_nop
   5841   eval $cacheid=no
   5842 fi
   5843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5844     conftest$ac_exeext conftest.$ac_ext
   5845 fi
   5846 
   5847 
   5848 		CFLAGS="$xorg_testset_save_CFLAGS"
   5849 
   5850 		eval supported=\$$cacheid
   5851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5852 printf "%s\n" "$supported" >&6; }
   5853 		if test "$supported" = "yes" ; then
   5854 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5855 			found="yes"
   5856 		fi
   5857 	fi
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 xorg_testset_save_CFLAGS="$CFLAGS"
   5874 
   5875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5880 then :
   5881   printf %s "(cached) " >&6
   5882 else $as_nop
   5883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5884 /* end confdefs.h.  */
   5885 int i;
   5886 _ACEOF
   5887 if ac_fn_c_try_compile "$LINENO"
   5888 then :
   5889   xorg_cv_cc_flag_unknown_warning_option=yes
   5890 else $as_nop
   5891   xorg_cv_cc_flag_unknown_warning_option=no
   5892 fi
   5893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5894 fi
   5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5896 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5898 	CFLAGS="$xorg_testset_save_CFLAGS"
   5899 fi
   5900 
   5901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5904 	fi
   5905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5909 then :
   5910   printf %s "(cached) " >&6
   5911 else $as_nop
   5912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5913 /* end confdefs.h.  */
   5914 int i;
   5915 _ACEOF
   5916 if ac_fn_c_try_compile "$LINENO"
   5917 then :
   5918   xorg_cv_cc_flag_unused_command_line_argument=yes
   5919 else $as_nop
   5920   xorg_cv_cc_flag_unused_command_line_argument=no
   5921 fi
   5922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5923 fi
   5924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5927 	CFLAGS="$xorg_testset_save_CFLAGS"
   5928 fi
   5929 
   5930 found="no"
   5931 
   5932 	if test $found = "no" ; then
   5933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5935 		fi
   5936 
   5937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5939 		fi
   5940 
   5941 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5942 
   5943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5944 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   5945 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5946 		if eval test \${$cacheid+y}
   5947 then :
   5948   printf %s "(cached) " >&6
   5949 else $as_nop
   5950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5951 /* end confdefs.h.  */
   5952 int i;
   5953 int
   5954 main (void)
   5955 {
   5956 
   5957   ;
   5958   return 0;
   5959 }
   5960 _ACEOF
   5961 if ac_fn_c_try_link "$LINENO"
   5962 then :
   5963   eval $cacheid=yes
   5964 else $as_nop
   5965   eval $cacheid=no
   5966 fi
   5967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5968     conftest$ac_exeext conftest.$ac_ext
   5969 fi
   5970 
   5971 
   5972 		CFLAGS="$xorg_testset_save_CFLAGS"
   5973 
   5974 		eval supported=\$$cacheid
   5975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5976 printf "%s\n" "$supported" >&6; }
   5977 		if test "$supported" = "yes" ; then
   5978 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5979 			found="yes"
   5980 		fi
   5981 	fi
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 xorg_testset_save_CFLAGS="$CFLAGS"
   5998 
   5999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6002 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6003 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6004 then :
   6005   printf %s "(cached) " >&6
   6006 else $as_nop
   6007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6008 /* end confdefs.h.  */
   6009 int i;
   6010 _ACEOF
   6011 if ac_fn_c_try_compile "$LINENO"
   6012 then :
   6013   xorg_cv_cc_flag_unknown_warning_option=yes
   6014 else $as_nop
   6015   xorg_cv_cc_flag_unknown_warning_option=no
   6016 fi
   6017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6018 fi
   6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6020 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6022 	CFLAGS="$xorg_testset_save_CFLAGS"
   6023 fi
   6024 
   6025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6028 	fi
   6029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6033 then :
   6034   printf %s "(cached) " >&6
   6035 else $as_nop
   6036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6037 /* end confdefs.h.  */
   6038 int i;
   6039 _ACEOF
   6040 if ac_fn_c_try_compile "$LINENO"
   6041 then :
   6042   xorg_cv_cc_flag_unused_command_line_argument=yes
   6043 else $as_nop
   6044   xorg_cv_cc_flag_unused_command_line_argument=no
   6045 fi
   6046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6047 fi
   6048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6051 	CFLAGS="$xorg_testset_save_CFLAGS"
   6052 fi
   6053 
   6054 found="no"
   6055 
   6056 	if test $found = "no" ; then
   6057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6059 		fi
   6060 
   6061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6063 		fi
   6064 
   6065 		CFLAGS="$CFLAGS -Wold-style-definition"
   6066 
   6067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6068 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6069 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6070 		if eval test \${$cacheid+y}
   6071 then :
   6072   printf %s "(cached) " >&6
   6073 else $as_nop
   6074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6075 /* end confdefs.h.  */
   6076 int i;
   6077 int
   6078 main (void)
   6079 {
   6080 
   6081   ;
   6082   return 0;
   6083 }
   6084 _ACEOF
   6085 if ac_fn_c_try_link "$LINENO"
   6086 then :
   6087   eval $cacheid=yes
   6088 else $as_nop
   6089   eval $cacheid=no
   6090 fi
   6091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6092     conftest$ac_exeext conftest.$ac_ext
   6093 fi
   6094 
   6095 
   6096 		CFLAGS="$xorg_testset_save_CFLAGS"
   6097 
   6098 		eval supported=\$$cacheid
   6099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6100 printf "%s\n" "$supported" >&6; }
   6101 		if test "$supported" = "yes" ; then
   6102 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6103 			found="yes"
   6104 		fi
   6105 	fi
   6106 
   6107 	if test $found = "no" ; then
   6108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6110 		fi
   6111 
   6112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 		fi
   6115 
   6116 		CFLAGS="$CFLAGS -fd"
   6117 
   6118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6119 printf %s "checking if $CC supports -fd... " >&6; }
   6120 		cacheid=xorg_cv_cc_flag__fd
   6121 		if eval test \${$cacheid+y}
   6122 then :
   6123   printf %s "(cached) " >&6
   6124 else $as_nop
   6125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6126 /* end confdefs.h.  */
   6127 int i;
   6128 int
   6129 main (void)
   6130 {
   6131 
   6132   ;
   6133   return 0;
   6134 }
   6135 _ACEOF
   6136 if ac_fn_c_try_link "$LINENO"
   6137 then :
   6138   eval $cacheid=yes
   6139 else $as_nop
   6140   eval $cacheid=no
   6141 fi
   6142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6143     conftest$ac_exeext conftest.$ac_ext
   6144 fi
   6145 
   6146 
   6147 		CFLAGS="$xorg_testset_save_CFLAGS"
   6148 
   6149 		eval supported=\$$cacheid
   6150 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6151 printf "%s\n" "$supported" >&6; }
   6152 		if test "$supported" = "yes" ; then
   6153 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6154 			found="yes"
   6155 		fi
   6156 	fi
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 xorg_testset_save_CFLAGS="$CFLAGS"
   6173 
   6174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6176 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6177 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6178 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6179 then :
   6180   printf %s "(cached) " >&6
   6181 else $as_nop
   6182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6183 /* end confdefs.h.  */
   6184 int i;
   6185 _ACEOF
   6186 if ac_fn_c_try_compile "$LINENO"
   6187 then :
   6188   xorg_cv_cc_flag_unknown_warning_option=yes
   6189 else $as_nop
   6190   xorg_cv_cc_flag_unknown_warning_option=no
   6191 fi
   6192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6193 fi
   6194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6195 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6197 	CFLAGS="$xorg_testset_save_CFLAGS"
   6198 fi
   6199 
   6200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6203 	fi
   6204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6205 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6206 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6207 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6208 then :
   6209   printf %s "(cached) " >&6
   6210 else $as_nop
   6211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6212 /* end confdefs.h.  */
   6213 int i;
   6214 _ACEOF
   6215 if ac_fn_c_try_compile "$LINENO"
   6216 then :
   6217   xorg_cv_cc_flag_unused_command_line_argument=yes
   6218 else $as_nop
   6219   xorg_cv_cc_flag_unused_command_line_argument=no
   6220 fi
   6221 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6222 fi
   6223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6224 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6226 	CFLAGS="$xorg_testset_save_CFLAGS"
   6227 fi
   6228 
   6229 found="no"
   6230 
   6231 	if test $found = "no" ; then
   6232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6234 		fi
   6235 
   6236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6238 		fi
   6239 
   6240 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6241 
   6242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6243 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6244 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6245 		if eval test \${$cacheid+y}
   6246 then :
   6247   printf %s "(cached) " >&6
   6248 else $as_nop
   6249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6250 /* end confdefs.h.  */
   6251 int i;
   6252 int
   6253 main (void)
   6254 {
   6255 
   6256   ;
   6257   return 0;
   6258 }
   6259 _ACEOF
   6260 if ac_fn_c_try_link "$LINENO"
   6261 then :
   6262   eval $cacheid=yes
   6263 else $as_nop
   6264   eval $cacheid=no
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6267     conftest$ac_exeext conftest.$ac_ext
   6268 fi
   6269 
   6270 
   6271 		CFLAGS="$xorg_testset_save_CFLAGS"
   6272 
   6273 		eval supported=\$$cacheid
   6274 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6275 printf "%s\n" "$supported" >&6; }
   6276 		if test "$supported" = "yes" ; then
   6277 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6278 			found="yes"
   6279 		fi
   6280 	fi
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 # This chunk adds additional warnings that could catch undesired effects.
   6287 
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 xorg_testset_save_CFLAGS="$CFLAGS"
   6301 
   6302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6305 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6306 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6307 then :
   6308   printf %s "(cached) " >&6
   6309 else $as_nop
   6310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6311 /* end confdefs.h.  */
   6312 int i;
   6313 _ACEOF
   6314 if ac_fn_c_try_compile "$LINENO"
   6315 then :
   6316   xorg_cv_cc_flag_unknown_warning_option=yes
   6317 else $as_nop
   6318   xorg_cv_cc_flag_unknown_warning_option=no
   6319 fi
   6320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6321 fi
   6322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6323 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6324 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6325 	CFLAGS="$xorg_testset_save_CFLAGS"
   6326 fi
   6327 
   6328 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6329 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6330 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	fi
   6332 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6333 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6334 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6335 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6336 then :
   6337   printf %s "(cached) " >&6
   6338 else $as_nop
   6339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6340 /* end confdefs.h.  */
   6341 int i;
   6342 _ACEOF
   6343 if ac_fn_c_try_compile "$LINENO"
   6344 then :
   6345   xorg_cv_cc_flag_unused_command_line_argument=yes
   6346 else $as_nop
   6347   xorg_cv_cc_flag_unused_command_line_argument=no
   6348 fi
   6349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6350 fi
   6351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6352 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6353 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6354 	CFLAGS="$xorg_testset_save_CFLAGS"
   6355 fi
   6356 
   6357 found="no"
   6358 
   6359 	if test $found = "no" ; then
   6360 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6361 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6362 		fi
   6363 
   6364 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6365 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6366 		fi
   6367 
   6368 		CFLAGS="$CFLAGS -Wunused"
   6369 
   6370 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6371 printf %s "checking if $CC supports -Wunused... " >&6; }
   6372 		cacheid=xorg_cv_cc_flag__Wunused
   6373 		if eval test \${$cacheid+y}
   6374 then :
   6375   printf %s "(cached) " >&6
   6376 else $as_nop
   6377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6378 /* end confdefs.h.  */
   6379 int i;
   6380 int
   6381 main (void)
   6382 {
   6383 
   6384   ;
   6385   return 0;
   6386 }
   6387 _ACEOF
   6388 if ac_fn_c_try_link "$LINENO"
   6389 then :
   6390   eval $cacheid=yes
   6391 else $as_nop
   6392   eval $cacheid=no
   6393 fi
   6394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6395     conftest$ac_exeext conftest.$ac_ext
   6396 fi
   6397 
   6398 
   6399 		CFLAGS="$xorg_testset_save_CFLAGS"
   6400 
   6401 		eval supported=\$$cacheid
   6402 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6403 printf "%s\n" "$supported" >&6; }
   6404 		if test "$supported" = "yes" ; then
   6405 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6406 			found="yes"
   6407 		fi
   6408 	fi
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 xorg_testset_save_CFLAGS="$CFLAGS"
   6425 
   6426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6431 then :
   6432   printf %s "(cached) " >&6
   6433 else $as_nop
   6434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6435 /* end confdefs.h.  */
   6436 int i;
   6437 _ACEOF
   6438 if ac_fn_c_try_compile "$LINENO"
   6439 then :
   6440   xorg_cv_cc_flag_unknown_warning_option=yes
   6441 else $as_nop
   6442   xorg_cv_cc_flag_unknown_warning_option=no
   6443 fi
   6444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6445 fi
   6446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6447 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6449 	CFLAGS="$xorg_testset_save_CFLAGS"
   6450 fi
   6451 
   6452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6455 	fi
   6456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6460 then :
   6461   printf %s "(cached) " >&6
   6462 else $as_nop
   6463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6464 /* end confdefs.h.  */
   6465 int i;
   6466 _ACEOF
   6467 if ac_fn_c_try_compile "$LINENO"
   6468 then :
   6469   xorg_cv_cc_flag_unused_command_line_argument=yes
   6470 else $as_nop
   6471   xorg_cv_cc_flag_unused_command_line_argument=no
   6472 fi
   6473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6474 fi
   6475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6478 	CFLAGS="$xorg_testset_save_CFLAGS"
   6479 fi
   6480 
   6481 found="no"
   6482 
   6483 	if test $found = "no" ; then
   6484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6486 		fi
   6487 
   6488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6490 		fi
   6491 
   6492 		CFLAGS="$CFLAGS -Wuninitialized"
   6493 
   6494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6495 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6496 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6497 		if eval test \${$cacheid+y}
   6498 then :
   6499   printf %s "(cached) " >&6
   6500 else $as_nop
   6501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6502 /* end confdefs.h.  */
   6503 int i;
   6504 int
   6505 main (void)
   6506 {
   6507 
   6508   ;
   6509   return 0;
   6510 }
   6511 _ACEOF
   6512 if ac_fn_c_try_link "$LINENO"
   6513 then :
   6514   eval $cacheid=yes
   6515 else $as_nop
   6516   eval $cacheid=no
   6517 fi
   6518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6519     conftest$ac_exeext conftest.$ac_ext
   6520 fi
   6521 
   6522 
   6523 		CFLAGS="$xorg_testset_save_CFLAGS"
   6524 
   6525 		eval supported=\$$cacheid
   6526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6527 printf "%s\n" "$supported" >&6; }
   6528 		if test "$supported" = "yes" ; then
   6529 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6530 			found="yes"
   6531 		fi
   6532 	fi
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 xorg_testset_save_CFLAGS="$CFLAGS"
   6549 
   6550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6553 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6554 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6555 then :
   6556   printf %s "(cached) " >&6
   6557 else $as_nop
   6558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6559 /* end confdefs.h.  */
   6560 int i;
   6561 _ACEOF
   6562 if ac_fn_c_try_compile "$LINENO"
   6563 then :
   6564   xorg_cv_cc_flag_unknown_warning_option=yes
   6565 else $as_nop
   6566   xorg_cv_cc_flag_unknown_warning_option=no
   6567 fi
   6568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6569 fi
   6570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6571 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6573 	CFLAGS="$xorg_testset_save_CFLAGS"
   6574 fi
   6575 
   6576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6579 	fi
   6580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6582 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6583 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6584 then :
   6585   printf %s "(cached) " >&6
   6586 else $as_nop
   6587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6588 /* end confdefs.h.  */
   6589 int i;
   6590 _ACEOF
   6591 if ac_fn_c_try_compile "$LINENO"
   6592 then :
   6593   xorg_cv_cc_flag_unused_command_line_argument=yes
   6594 else $as_nop
   6595   xorg_cv_cc_flag_unused_command_line_argument=no
   6596 fi
   6597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6598 fi
   6599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6600 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6602 	CFLAGS="$xorg_testset_save_CFLAGS"
   6603 fi
   6604 
   6605 found="no"
   6606 
   6607 	if test $found = "no" ; then
   6608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6610 		fi
   6611 
   6612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6614 		fi
   6615 
   6616 		CFLAGS="$CFLAGS -Wshadow"
   6617 
   6618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6619 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6620 		cacheid=xorg_cv_cc_flag__Wshadow
   6621 		if eval test \${$cacheid+y}
   6622 then :
   6623   printf %s "(cached) " >&6
   6624 else $as_nop
   6625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6626 /* end confdefs.h.  */
   6627 int i;
   6628 int
   6629 main (void)
   6630 {
   6631 
   6632   ;
   6633   return 0;
   6634 }
   6635 _ACEOF
   6636 if ac_fn_c_try_link "$LINENO"
   6637 then :
   6638   eval $cacheid=yes
   6639 else $as_nop
   6640   eval $cacheid=no
   6641 fi
   6642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6643     conftest$ac_exeext conftest.$ac_ext
   6644 fi
   6645 
   6646 
   6647 		CFLAGS="$xorg_testset_save_CFLAGS"
   6648 
   6649 		eval supported=\$$cacheid
   6650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6651 printf "%s\n" "$supported" >&6; }
   6652 		if test "$supported" = "yes" ; then
   6653 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6654 			found="yes"
   6655 		fi
   6656 	fi
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 xorg_testset_save_CFLAGS="$CFLAGS"
   6673 
   6674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6677 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6678 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6679 then :
   6680   printf %s "(cached) " >&6
   6681 else $as_nop
   6682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6683 /* end confdefs.h.  */
   6684 int i;
   6685 _ACEOF
   6686 if ac_fn_c_try_compile "$LINENO"
   6687 then :
   6688   xorg_cv_cc_flag_unknown_warning_option=yes
   6689 else $as_nop
   6690   xorg_cv_cc_flag_unknown_warning_option=no
   6691 fi
   6692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6693 fi
   6694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6697 	CFLAGS="$xorg_testset_save_CFLAGS"
   6698 fi
   6699 
   6700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6703 	fi
   6704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6708 then :
   6709   printf %s "(cached) " >&6
   6710 else $as_nop
   6711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6712 /* end confdefs.h.  */
   6713 int i;
   6714 _ACEOF
   6715 if ac_fn_c_try_compile "$LINENO"
   6716 then :
   6717   xorg_cv_cc_flag_unused_command_line_argument=yes
   6718 else $as_nop
   6719   xorg_cv_cc_flag_unused_command_line_argument=no
   6720 fi
   6721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6722 fi
   6723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6724 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6726 	CFLAGS="$xorg_testset_save_CFLAGS"
   6727 fi
   6728 
   6729 found="no"
   6730 
   6731 	if test $found = "no" ; then
   6732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6734 		fi
   6735 
   6736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6738 		fi
   6739 
   6740 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6741 
   6742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6743 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6744 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6745 		if eval test \${$cacheid+y}
   6746 then :
   6747   printf %s "(cached) " >&6
   6748 else $as_nop
   6749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6750 /* end confdefs.h.  */
   6751 int i;
   6752 int
   6753 main (void)
   6754 {
   6755 
   6756   ;
   6757   return 0;
   6758 }
   6759 _ACEOF
   6760 if ac_fn_c_try_link "$LINENO"
   6761 then :
   6762   eval $cacheid=yes
   6763 else $as_nop
   6764   eval $cacheid=no
   6765 fi
   6766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6767     conftest$ac_exeext conftest.$ac_ext
   6768 fi
   6769 
   6770 
   6771 		CFLAGS="$xorg_testset_save_CFLAGS"
   6772 
   6773 		eval supported=\$$cacheid
   6774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6775 printf "%s\n" "$supported" >&6; }
   6776 		if test "$supported" = "yes" ; then
   6777 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6778 			found="yes"
   6779 		fi
   6780 	fi
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 xorg_testset_save_CFLAGS="$CFLAGS"
   6797 
   6798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6801 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6802 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6803 then :
   6804   printf %s "(cached) " >&6
   6805 else $as_nop
   6806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6807 /* end confdefs.h.  */
   6808 int i;
   6809 _ACEOF
   6810 if ac_fn_c_try_compile "$LINENO"
   6811 then :
   6812   xorg_cv_cc_flag_unknown_warning_option=yes
   6813 else $as_nop
   6814   xorg_cv_cc_flag_unknown_warning_option=no
   6815 fi
   6816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6817 fi
   6818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6819 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6821 	CFLAGS="$xorg_testset_save_CFLAGS"
   6822 fi
   6823 
   6824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6827 	fi
   6828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6830 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6831 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6832 then :
   6833   printf %s "(cached) " >&6
   6834 else $as_nop
   6835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6836 /* end confdefs.h.  */
   6837 int i;
   6838 _ACEOF
   6839 if ac_fn_c_try_compile "$LINENO"
   6840 then :
   6841   xorg_cv_cc_flag_unused_command_line_argument=yes
   6842 else $as_nop
   6843   xorg_cv_cc_flag_unused_command_line_argument=no
   6844 fi
   6845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6846 fi
   6847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6848 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6850 	CFLAGS="$xorg_testset_save_CFLAGS"
   6851 fi
   6852 
   6853 found="no"
   6854 
   6855 	if test $found = "no" ; then
   6856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6858 		fi
   6859 
   6860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6862 		fi
   6863 
   6864 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6865 
   6866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6867 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6868 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6869 		if eval test \${$cacheid+y}
   6870 then :
   6871   printf %s "(cached) " >&6
   6872 else $as_nop
   6873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6874 /* end confdefs.h.  */
   6875 int i;
   6876 int
   6877 main (void)
   6878 {
   6879 
   6880   ;
   6881   return 0;
   6882 }
   6883 _ACEOF
   6884 if ac_fn_c_try_link "$LINENO"
   6885 then :
   6886   eval $cacheid=yes
   6887 else $as_nop
   6888   eval $cacheid=no
   6889 fi
   6890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6891     conftest$ac_exeext conftest.$ac_ext
   6892 fi
   6893 
   6894 
   6895 		CFLAGS="$xorg_testset_save_CFLAGS"
   6896 
   6897 		eval supported=\$$cacheid
   6898 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6899 printf "%s\n" "$supported" >&6; }
   6900 		if test "$supported" = "yes" ; then
   6901 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6902 			found="yes"
   6903 		fi
   6904 	fi
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 xorg_testset_save_CFLAGS="$CFLAGS"
   6921 
   6922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6925 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6926 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6927 then :
   6928   printf %s "(cached) " >&6
   6929 else $as_nop
   6930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6931 /* end confdefs.h.  */
   6932 int i;
   6933 _ACEOF
   6934 if ac_fn_c_try_compile "$LINENO"
   6935 then :
   6936   xorg_cv_cc_flag_unknown_warning_option=yes
   6937 else $as_nop
   6938   xorg_cv_cc_flag_unknown_warning_option=no
   6939 fi
   6940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6941 fi
   6942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6943 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6945 	CFLAGS="$xorg_testset_save_CFLAGS"
   6946 fi
   6947 
   6948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6951 	fi
   6952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6954 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6955 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6956 then :
   6957   printf %s "(cached) " >&6
   6958 else $as_nop
   6959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6960 /* end confdefs.h.  */
   6961 int i;
   6962 _ACEOF
   6963 if ac_fn_c_try_compile "$LINENO"
   6964 then :
   6965   xorg_cv_cc_flag_unused_command_line_argument=yes
   6966 else $as_nop
   6967   xorg_cv_cc_flag_unused_command_line_argument=no
   6968 fi
   6969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6970 fi
   6971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6972 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6974 	CFLAGS="$xorg_testset_save_CFLAGS"
   6975 fi
   6976 
   6977 found="no"
   6978 
   6979 	if test $found = "no" ; then
   6980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6982 		fi
   6983 
   6984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6986 		fi
   6987 
   6988 		CFLAGS="$CFLAGS -Wredundant-decls"
   6989 
   6990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6991 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   6992 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6993 		if eval test \${$cacheid+y}
   6994 then :
   6995   printf %s "(cached) " >&6
   6996 else $as_nop
   6997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6998 /* end confdefs.h.  */
   6999 int i;
   7000 int
   7001 main (void)
   7002 {
   7003 
   7004   ;
   7005   return 0;
   7006 }
   7007 _ACEOF
   7008 if ac_fn_c_try_link "$LINENO"
   7009 then :
   7010   eval $cacheid=yes
   7011 else $as_nop
   7012   eval $cacheid=no
   7013 fi
   7014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7015     conftest$ac_exeext conftest.$ac_ext
   7016 fi
   7017 
   7018 
   7019 		CFLAGS="$xorg_testset_save_CFLAGS"
   7020 
   7021 		eval supported=\$$cacheid
   7022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7023 printf "%s\n" "$supported" >&6; }
   7024 		if test "$supported" = "yes" ; then
   7025 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7026 			found="yes"
   7027 		fi
   7028 	fi
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 xorg_testset_save_CFLAGS="$CFLAGS"
   7045 
   7046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7051 then :
   7052   printf %s "(cached) " >&6
   7053 else $as_nop
   7054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7055 /* end confdefs.h.  */
   7056 int i;
   7057 _ACEOF
   7058 if ac_fn_c_try_compile "$LINENO"
   7059 then :
   7060   xorg_cv_cc_flag_unknown_warning_option=yes
   7061 else $as_nop
   7062   xorg_cv_cc_flag_unknown_warning_option=no
   7063 fi
   7064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7065 fi
   7066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7067 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7069 	CFLAGS="$xorg_testset_save_CFLAGS"
   7070 fi
   7071 
   7072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7075 	fi
   7076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7078 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7079 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7080 then :
   7081   printf %s "(cached) " >&6
   7082 else $as_nop
   7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 int i;
   7086 _ACEOF
   7087 if ac_fn_c_try_compile "$LINENO"
   7088 then :
   7089   xorg_cv_cc_flag_unused_command_line_argument=yes
   7090 else $as_nop
   7091   xorg_cv_cc_flag_unused_command_line_argument=no
   7092 fi
   7093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7094 fi
   7095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7096 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7098 	CFLAGS="$xorg_testset_save_CFLAGS"
   7099 fi
   7100 
   7101 found="no"
   7102 
   7103 	if test $found = "no" ; then
   7104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7106 		fi
   7107 
   7108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7110 		fi
   7111 
   7112 		CFLAGS="$CFLAGS -Wlogical-op"
   7113 
   7114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7115 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7116 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7117 		if eval test \${$cacheid+y}
   7118 then :
   7119   printf %s "(cached) " >&6
   7120 else $as_nop
   7121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7122 /* end confdefs.h.  */
   7123 int i;
   7124 int
   7125 main (void)
   7126 {
   7127 
   7128   ;
   7129   return 0;
   7130 }
   7131 _ACEOF
   7132 if ac_fn_c_try_link "$LINENO"
   7133 then :
   7134   eval $cacheid=yes
   7135 else $as_nop
   7136   eval $cacheid=no
   7137 fi
   7138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7139     conftest$ac_exeext conftest.$ac_ext
   7140 fi
   7141 
   7142 
   7143 		CFLAGS="$xorg_testset_save_CFLAGS"
   7144 
   7145 		eval supported=\$$cacheid
   7146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7147 printf "%s\n" "$supported" >&6; }
   7148 		if test "$supported" = "yes" ; then
   7149 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7150 			found="yes"
   7151 		fi
   7152 	fi
   7153 
   7154 
   7155 
   7156 # These are currently disabled because they are noisy.  They will be enabled
   7157 # in the future once the codebase is sufficiently modernized to silence
   7158 # them.  For now, I don't want them to drown out the other warnings.
   7159 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7160 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7161 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7162 
   7163 # Turn some warnings into errors, so we don't accidently get successful builds
   7164 # when there are problems that should be fixed.
   7165 
   7166 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 xorg_testset_save_CFLAGS="$CFLAGS"
   7181 
   7182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7184 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7185 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7186 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7187 then :
   7188   printf %s "(cached) " >&6
   7189 else $as_nop
   7190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7191 /* end confdefs.h.  */
   7192 int i;
   7193 _ACEOF
   7194 if ac_fn_c_try_compile "$LINENO"
   7195 then :
   7196   xorg_cv_cc_flag_unknown_warning_option=yes
   7197 else $as_nop
   7198   xorg_cv_cc_flag_unknown_warning_option=no
   7199 fi
   7200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7201 fi
   7202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7203 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7204 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7205 	CFLAGS="$xorg_testset_save_CFLAGS"
   7206 fi
   7207 
   7208 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7209 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7210 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7211 	fi
   7212 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7213 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7214 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7215 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7216 then :
   7217   printf %s "(cached) " >&6
   7218 else $as_nop
   7219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7220 /* end confdefs.h.  */
   7221 int i;
   7222 _ACEOF
   7223 if ac_fn_c_try_compile "$LINENO"
   7224 then :
   7225   xorg_cv_cc_flag_unused_command_line_argument=yes
   7226 else $as_nop
   7227   xorg_cv_cc_flag_unused_command_line_argument=no
   7228 fi
   7229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7230 fi
   7231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7232 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7233 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7234 	CFLAGS="$xorg_testset_save_CFLAGS"
   7235 fi
   7236 
   7237 found="no"
   7238 
   7239 	if test $found = "no" ; then
   7240 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7241 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7242 		fi
   7243 
   7244 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7245 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7246 		fi
   7247 
   7248 		CFLAGS="$CFLAGS -Werror=implicit"
   7249 
   7250 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7251 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7252 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7253 		if eval test \${$cacheid+y}
   7254 then :
   7255   printf %s "(cached) " >&6
   7256 else $as_nop
   7257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7258 /* end confdefs.h.  */
   7259 int i;
   7260 int
   7261 main (void)
   7262 {
   7263 
   7264   ;
   7265   return 0;
   7266 }
   7267 _ACEOF
   7268 if ac_fn_c_try_link "$LINENO"
   7269 then :
   7270   eval $cacheid=yes
   7271 else $as_nop
   7272   eval $cacheid=no
   7273 fi
   7274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7275     conftest$ac_exeext conftest.$ac_ext
   7276 fi
   7277 
   7278 
   7279 		CFLAGS="$xorg_testset_save_CFLAGS"
   7280 
   7281 		eval supported=\$$cacheid
   7282 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7283 printf "%s\n" "$supported" >&6; }
   7284 		if test "$supported" = "yes" ; then
   7285 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7286 			found="yes"
   7287 		fi
   7288 	fi
   7289 
   7290 	if test $found = "no" ; then
   7291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7293 		fi
   7294 
   7295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7297 		fi
   7298 
   7299 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7300 
   7301 		{ 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
   7302 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7303 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7304 		if eval test \${$cacheid+y}
   7305 then :
   7306   printf %s "(cached) " >&6
   7307 else $as_nop
   7308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7309 /* end confdefs.h.  */
   7310 int i;
   7311 int
   7312 main (void)
   7313 {
   7314 
   7315   ;
   7316   return 0;
   7317 }
   7318 _ACEOF
   7319 if ac_fn_c_try_link "$LINENO"
   7320 then :
   7321   eval $cacheid=yes
   7322 else $as_nop
   7323   eval $cacheid=no
   7324 fi
   7325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7326     conftest$ac_exeext conftest.$ac_ext
   7327 fi
   7328 
   7329 
   7330 		CFLAGS="$xorg_testset_save_CFLAGS"
   7331 
   7332 		eval supported=\$$cacheid
   7333 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7334 printf "%s\n" "$supported" >&6; }
   7335 		if test "$supported" = "yes" ; then
   7336 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7337 			found="yes"
   7338 		fi
   7339 	fi
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 
   7351 
   7352 
   7353 
   7354 
   7355 xorg_testset_save_CFLAGS="$CFLAGS"
   7356 
   7357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7359 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7360 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7361 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7362 then :
   7363   printf %s "(cached) " >&6
   7364 else $as_nop
   7365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7366 /* end confdefs.h.  */
   7367 int i;
   7368 _ACEOF
   7369 if ac_fn_c_try_compile "$LINENO"
   7370 then :
   7371   xorg_cv_cc_flag_unknown_warning_option=yes
   7372 else $as_nop
   7373   xorg_cv_cc_flag_unknown_warning_option=no
   7374 fi
   7375 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7376 fi
   7377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7378 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7380 	CFLAGS="$xorg_testset_save_CFLAGS"
   7381 fi
   7382 
   7383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7386 	fi
   7387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7388 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7389 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7390 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7391 then :
   7392   printf %s "(cached) " >&6
   7393 else $as_nop
   7394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7395 /* end confdefs.h.  */
   7396 int i;
   7397 _ACEOF
   7398 if ac_fn_c_try_compile "$LINENO"
   7399 then :
   7400   xorg_cv_cc_flag_unused_command_line_argument=yes
   7401 else $as_nop
   7402   xorg_cv_cc_flag_unused_command_line_argument=no
   7403 fi
   7404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7405 fi
   7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7407 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7409 	CFLAGS="$xorg_testset_save_CFLAGS"
   7410 fi
   7411 
   7412 found="no"
   7413 
   7414 	if test $found = "no" ; then
   7415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7417 		fi
   7418 
   7419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7421 		fi
   7422 
   7423 		CFLAGS="$CFLAGS -Werror=nonnull"
   7424 
   7425 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7426 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7427 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7428 		if eval test \${$cacheid+y}
   7429 then :
   7430   printf %s "(cached) " >&6
   7431 else $as_nop
   7432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7433 /* end confdefs.h.  */
   7434 int i;
   7435 int
   7436 main (void)
   7437 {
   7438 
   7439   ;
   7440   return 0;
   7441 }
   7442 _ACEOF
   7443 if ac_fn_c_try_link "$LINENO"
   7444 then :
   7445   eval $cacheid=yes
   7446 else $as_nop
   7447   eval $cacheid=no
   7448 fi
   7449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7450     conftest$ac_exeext conftest.$ac_ext
   7451 fi
   7452 
   7453 
   7454 		CFLAGS="$xorg_testset_save_CFLAGS"
   7455 
   7456 		eval supported=\$$cacheid
   7457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7458 printf "%s\n" "$supported" >&6; }
   7459 		if test "$supported" = "yes" ; then
   7460 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7461 			found="yes"
   7462 		fi
   7463 	fi
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 xorg_testset_save_CFLAGS="$CFLAGS"
   7480 
   7481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7486 then :
   7487   printf %s "(cached) " >&6
   7488 else $as_nop
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 int i;
   7492 _ACEOF
   7493 if ac_fn_c_try_compile "$LINENO"
   7494 then :
   7495   xorg_cv_cc_flag_unknown_warning_option=yes
   7496 else $as_nop
   7497   xorg_cv_cc_flag_unknown_warning_option=no
   7498 fi
   7499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7500 fi
   7501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7502 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7504 	CFLAGS="$xorg_testset_save_CFLAGS"
   7505 fi
   7506 
   7507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7510 	fi
   7511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7513 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7514 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7515 then :
   7516   printf %s "(cached) " >&6
   7517 else $as_nop
   7518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7519 /* end confdefs.h.  */
   7520 int i;
   7521 _ACEOF
   7522 if ac_fn_c_try_compile "$LINENO"
   7523 then :
   7524   xorg_cv_cc_flag_unused_command_line_argument=yes
   7525 else $as_nop
   7526   xorg_cv_cc_flag_unused_command_line_argument=no
   7527 fi
   7528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7529 fi
   7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7531 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7533 	CFLAGS="$xorg_testset_save_CFLAGS"
   7534 fi
   7535 
   7536 found="no"
   7537 
   7538 	if test $found = "no" ; then
   7539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7541 		fi
   7542 
   7543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7545 		fi
   7546 
   7547 		CFLAGS="$CFLAGS -Werror=init-self"
   7548 
   7549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7550 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7551 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7552 		if eval test \${$cacheid+y}
   7553 then :
   7554   printf %s "(cached) " >&6
   7555 else $as_nop
   7556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7557 /* end confdefs.h.  */
   7558 int i;
   7559 int
   7560 main (void)
   7561 {
   7562 
   7563   ;
   7564   return 0;
   7565 }
   7566 _ACEOF
   7567 if ac_fn_c_try_link "$LINENO"
   7568 then :
   7569   eval $cacheid=yes
   7570 else $as_nop
   7571   eval $cacheid=no
   7572 fi
   7573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7574     conftest$ac_exeext conftest.$ac_ext
   7575 fi
   7576 
   7577 
   7578 		CFLAGS="$xorg_testset_save_CFLAGS"
   7579 
   7580 		eval supported=\$$cacheid
   7581 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7582 printf "%s\n" "$supported" >&6; }
   7583 		if test "$supported" = "yes" ; then
   7584 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7585 			found="yes"
   7586 		fi
   7587 	fi
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 xorg_testset_save_CFLAGS="$CFLAGS"
   7604 
   7605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7608 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7609 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7610 then :
   7611   printf %s "(cached) " >&6
   7612 else $as_nop
   7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7614 /* end confdefs.h.  */
   7615 int i;
   7616 _ACEOF
   7617 if ac_fn_c_try_compile "$LINENO"
   7618 then :
   7619   xorg_cv_cc_flag_unknown_warning_option=yes
   7620 else $as_nop
   7621   xorg_cv_cc_flag_unknown_warning_option=no
   7622 fi
   7623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7624 fi
   7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7626 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7628 	CFLAGS="$xorg_testset_save_CFLAGS"
   7629 fi
   7630 
   7631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7634 	fi
   7635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7637 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7638 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7639 then :
   7640   printf %s "(cached) " >&6
   7641 else $as_nop
   7642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7643 /* end confdefs.h.  */
   7644 int i;
   7645 _ACEOF
   7646 if ac_fn_c_try_compile "$LINENO"
   7647 then :
   7648   xorg_cv_cc_flag_unused_command_line_argument=yes
   7649 else $as_nop
   7650   xorg_cv_cc_flag_unused_command_line_argument=no
   7651 fi
   7652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7653 fi
   7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7655 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7657 	CFLAGS="$xorg_testset_save_CFLAGS"
   7658 fi
   7659 
   7660 found="no"
   7661 
   7662 	if test $found = "no" ; then
   7663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7665 		fi
   7666 
   7667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7669 		fi
   7670 
   7671 		CFLAGS="$CFLAGS -Werror=main"
   7672 
   7673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7674 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7675 		cacheid=xorg_cv_cc_flag__Werror_main
   7676 		if eval test \${$cacheid+y}
   7677 then :
   7678   printf %s "(cached) " >&6
   7679 else $as_nop
   7680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7681 /* end confdefs.h.  */
   7682 int i;
   7683 int
   7684 main (void)
   7685 {
   7686 
   7687   ;
   7688   return 0;
   7689 }
   7690 _ACEOF
   7691 if ac_fn_c_try_link "$LINENO"
   7692 then :
   7693   eval $cacheid=yes
   7694 else $as_nop
   7695   eval $cacheid=no
   7696 fi
   7697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7698     conftest$ac_exeext conftest.$ac_ext
   7699 fi
   7700 
   7701 
   7702 		CFLAGS="$xorg_testset_save_CFLAGS"
   7703 
   7704 		eval supported=\$$cacheid
   7705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7706 printf "%s\n" "$supported" >&6; }
   7707 		if test "$supported" = "yes" ; then
   7708 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7709 			found="yes"
   7710 		fi
   7711 	fi
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 xorg_testset_save_CFLAGS="$CFLAGS"
   7728 
   7729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7732 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7733 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7734 then :
   7735   printf %s "(cached) " >&6
   7736 else $as_nop
   7737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7738 /* end confdefs.h.  */
   7739 int i;
   7740 _ACEOF
   7741 if ac_fn_c_try_compile "$LINENO"
   7742 then :
   7743   xorg_cv_cc_flag_unknown_warning_option=yes
   7744 else $as_nop
   7745   xorg_cv_cc_flag_unknown_warning_option=no
   7746 fi
   7747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7748 fi
   7749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7752 	CFLAGS="$xorg_testset_save_CFLAGS"
   7753 fi
   7754 
   7755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7758 	fi
   7759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7763 then :
   7764   printf %s "(cached) " >&6
   7765 else $as_nop
   7766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7767 /* end confdefs.h.  */
   7768 int i;
   7769 _ACEOF
   7770 if ac_fn_c_try_compile "$LINENO"
   7771 then :
   7772   xorg_cv_cc_flag_unused_command_line_argument=yes
   7773 else $as_nop
   7774   xorg_cv_cc_flag_unused_command_line_argument=no
   7775 fi
   7776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7777 fi
   7778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7779 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7781 	CFLAGS="$xorg_testset_save_CFLAGS"
   7782 fi
   7783 
   7784 found="no"
   7785 
   7786 	if test $found = "no" ; then
   7787 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7789 		fi
   7790 
   7791 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7793 		fi
   7794 
   7795 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7796 
   7797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7798 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   7799 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7800 		if eval test \${$cacheid+y}
   7801 then :
   7802   printf %s "(cached) " >&6
   7803 else $as_nop
   7804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7805 /* end confdefs.h.  */
   7806 int i;
   7807 int
   7808 main (void)
   7809 {
   7810 
   7811   ;
   7812   return 0;
   7813 }
   7814 _ACEOF
   7815 if ac_fn_c_try_link "$LINENO"
   7816 then :
   7817   eval $cacheid=yes
   7818 else $as_nop
   7819   eval $cacheid=no
   7820 fi
   7821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7822     conftest$ac_exeext conftest.$ac_ext
   7823 fi
   7824 
   7825 
   7826 		CFLAGS="$xorg_testset_save_CFLAGS"
   7827 
   7828 		eval supported=\$$cacheid
   7829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7830 printf "%s\n" "$supported" >&6; }
   7831 		if test "$supported" = "yes" ; then
   7832 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7833 			found="yes"
   7834 		fi
   7835 	fi
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 xorg_testset_save_CFLAGS="$CFLAGS"
   7852 
   7853 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7854 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7856 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7857 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7858 then :
   7859   printf %s "(cached) " >&6
   7860 else $as_nop
   7861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7862 /* end confdefs.h.  */
   7863 int i;
   7864 _ACEOF
   7865 if ac_fn_c_try_compile "$LINENO"
   7866 then :
   7867   xorg_cv_cc_flag_unknown_warning_option=yes
   7868 else $as_nop
   7869   xorg_cv_cc_flag_unknown_warning_option=no
   7870 fi
   7871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7872 fi
   7873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7874 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7876 	CFLAGS="$xorg_testset_save_CFLAGS"
   7877 fi
   7878 
   7879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7882 	fi
   7883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7885 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7886 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7887 then :
   7888   printf %s "(cached) " >&6
   7889 else $as_nop
   7890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7891 /* end confdefs.h.  */
   7892 int i;
   7893 _ACEOF
   7894 if ac_fn_c_try_compile "$LINENO"
   7895 then :
   7896   xorg_cv_cc_flag_unused_command_line_argument=yes
   7897 else $as_nop
   7898   xorg_cv_cc_flag_unused_command_line_argument=no
   7899 fi
   7900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7901 fi
   7902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7903 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7905 	CFLAGS="$xorg_testset_save_CFLAGS"
   7906 fi
   7907 
   7908 found="no"
   7909 
   7910 	if test $found = "no" ; then
   7911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7913 		fi
   7914 
   7915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7917 		fi
   7918 
   7919 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7920 
   7921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7922 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   7923 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7924 		if eval test \${$cacheid+y}
   7925 then :
   7926   printf %s "(cached) " >&6
   7927 else $as_nop
   7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7929 /* end confdefs.h.  */
   7930 int i;
   7931 int
   7932 main (void)
   7933 {
   7934 
   7935   ;
   7936   return 0;
   7937 }
   7938 _ACEOF
   7939 if ac_fn_c_try_link "$LINENO"
   7940 then :
   7941   eval $cacheid=yes
   7942 else $as_nop
   7943   eval $cacheid=no
   7944 fi
   7945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7946     conftest$ac_exeext conftest.$ac_ext
   7947 fi
   7948 
   7949 
   7950 		CFLAGS="$xorg_testset_save_CFLAGS"
   7951 
   7952 		eval supported=\$$cacheid
   7953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7954 printf "%s\n" "$supported" >&6; }
   7955 		if test "$supported" = "yes" ; then
   7956 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7957 			found="yes"
   7958 		fi
   7959 	fi
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 xorg_testset_save_CFLAGS="$CFLAGS"
   7976 
   7977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7980 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7981 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7982 then :
   7983   printf %s "(cached) " >&6
   7984 else $as_nop
   7985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7986 /* end confdefs.h.  */
   7987 int i;
   7988 _ACEOF
   7989 if ac_fn_c_try_compile "$LINENO"
   7990 then :
   7991   xorg_cv_cc_flag_unknown_warning_option=yes
   7992 else $as_nop
   7993   xorg_cv_cc_flag_unknown_warning_option=no
   7994 fi
   7995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7996 fi
   7997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7998 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8000 	CFLAGS="$xorg_testset_save_CFLAGS"
   8001 fi
   8002 
   8003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8006 	fi
   8007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8008 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8009 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8010 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8011 then :
   8012   printf %s "(cached) " >&6
   8013 else $as_nop
   8014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8015 /* end confdefs.h.  */
   8016 int i;
   8017 _ACEOF
   8018 if ac_fn_c_try_compile "$LINENO"
   8019 then :
   8020   xorg_cv_cc_flag_unused_command_line_argument=yes
   8021 else $as_nop
   8022   xorg_cv_cc_flag_unused_command_line_argument=no
   8023 fi
   8024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8025 fi
   8026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8029 	CFLAGS="$xorg_testset_save_CFLAGS"
   8030 fi
   8031 
   8032 found="no"
   8033 
   8034 	if test $found = "no" ; then
   8035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8037 		fi
   8038 
   8039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8041 		fi
   8042 
   8043 		CFLAGS="$CFLAGS -Werror=return-type"
   8044 
   8045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8046 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8047 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8048 		if eval test \${$cacheid+y}
   8049 then :
   8050   printf %s "(cached) " >&6
   8051 else $as_nop
   8052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8053 /* end confdefs.h.  */
   8054 int i;
   8055 int
   8056 main (void)
   8057 {
   8058 
   8059   ;
   8060   return 0;
   8061 }
   8062 _ACEOF
   8063 if ac_fn_c_try_link "$LINENO"
   8064 then :
   8065   eval $cacheid=yes
   8066 else $as_nop
   8067   eval $cacheid=no
   8068 fi
   8069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8070     conftest$ac_exeext conftest.$ac_ext
   8071 fi
   8072 
   8073 
   8074 		CFLAGS="$xorg_testset_save_CFLAGS"
   8075 
   8076 		eval supported=\$$cacheid
   8077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8078 printf "%s\n" "$supported" >&6; }
   8079 		if test "$supported" = "yes" ; then
   8080 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8081 			found="yes"
   8082 		fi
   8083 	fi
   8084 
   8085 	if test $found = "no" ; then
   8086 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8088 		fi
   8089 
   8090 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8092 		fi
   8093 
   8094 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8095 
   8096 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8097 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8098 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8099 		if eval test \${$cacheid+y}
   8100 then :
   8101   printf %s "(cached) " >&6
   8102 else $as_nop
   8103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8104 /* end confdefs.h.  */
   8105 int i;
   8106 int
   8107 main (void)
   8108 {
   8109 
   8110   ;
   8111   return 0;
   8112 }
   8113 _ACEOF
   8114 if ac_fn_c_try_link "$LINENO"
   8115 then :
   8116   eval $cacheid=yes
   8117 else $as_nop
   8118   eval $cacheid=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8121     conftest$ac_exeext conftest.$ac_ext
   8122 fi
   8123 
   8124 
   8125 		CFLAGS="$xorg_testset_save_CFLAGS"
   8126 
   8127 		eval supported=\$$cacheid
   8128 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8129 printf "%s\n" "$supported" >&6; }
   8130 		if test "$supported" = "yes" ; then
   8131 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8132 			found="yes"
   8133 		fi
   8134 	fi
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 xorg_testset_save_CFLAGS="$CFLAGS"
   8151 
   8152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8155 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8156 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8157 then :
   8158   printf %s "(cached) " >&6
   8159 else $as_nop
   8160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8161 /* end confdefs.h.  */
   8162 int i;
   8163 _ACEOF
   8164 if ac_fn_c_try_compile "$LINENO"
   8165 then :
   8166   xorg_cv_cc_flag_unknown_warning_option=yes
   8167 else $as_nop
   8168   xorg_cv_cc_flag_unknown_warning_option=no
   8169 fi
   8170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8171 fi
   8172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8173 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8175 	CFLAGS="$xorg_testset_save_CFLAGS"
   8176 fi
   8177 
   8178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8181 	fi
   8182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8183 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8184 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8185 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8186 then :
   8187   printf %s "(cached) " >&6
   8188 else $as_nop
   8189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8190 /* end confdefs.h.  */
   8191 int i;
   8192 _ACEOF
   8193 if ac_fn_c_try_compile "$LINENO"
   8194 then :
   8195   xorg_cv_cc_flag_unused_command_line_argument=yes
   8196 else $as_nop
   8197   xorg_cv_cc_flag_unused_command_line_argument=no
   8198 fi
   8199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8200 fi
   8201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8202 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8204 	CFLAGS="$xorg_testset_save_CFLAGS"
   8205 fi
   8206 
   8207 found="no"
   8208 
   8209 	if test $found = "no" ; then
   8210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8212 		fi
   8213 
   8214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8216 		fi
   8217 
   8218 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8219 
   8220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8221 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8222 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8223 		if eval test \${$cacheid+y}
   8224 then :
   8225   printf %s "(cached) " >&6
   8226 else $as_nop
   8227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8228 /* end confdefs.h.  */
   8229 int i;
   8230 int
   8231 main (void)
   8232 {
   8233 
   8234   ;
   8235   return 0;
   8236 }
   8237 _ACEOF
   8238 if ac_fn_c_try_link "$LINENO"
   8239 then :
   8240   eval $cacheid=yes
   8241 else $as_nop
   8242   eval $cacheid=no
   8243 fi
   8244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8245     conftest$ac_exeext conftest.$ac_ext
   8246 fi
   8247 
   8248 
   8249 		CFLAGS="$xorg_testset_save_CFLAGS"
   8250 
   8251 		eval supported=\$$cacheid
   8252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8253 printf "%s\n" "$supported" >&6; }
   8254 		if test "$supported" = "yes" ; then
   8255 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8256 			found="yes"
   8257 		fi
   8258 	fi
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265 
   8266 
   8267 
   8268 
   8269 
   8270 
   8271 
   8272 
   8273 
   8274 xorg_testset_save_CFLAGS="$CFLAGS"
   8275 
   8276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8279 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8280 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8281 then :
   8282   printf %s "(cached) " >&6
   8283 else $as_nop
   8284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8285 /* end confdefs.h.  */
   8286 int i;
   8287 _ACEOF
   8288 if ac_fn_c_try_compile "$LINENO"
   8289 then :
   8290   xorg_cv_cc_flag_unknown_warning_option=yes
   8291 else $as_nop
   8292   xorg_cv_cc_flag_unknown_warning_option=no
   8293 fi
   8294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8295 fi
   8296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8297 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8299 	CFLAGS="$xorg_testset_save_CFLAGS"
   8300 fi
   8301 
   8302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8305 	fi
   8306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8307 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8308 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8309 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8310 then :
   8311   printf %s "(cached) " >&6
   8312 else $as_nop
   8313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8314 /* end confdefs.h.  */
   8315 int i;
   8316 _ACEOF
   8317 if ac_fn_c_try_compile "$LINENO"
   8318 then :
   8319   xorg_cv_cc_flag_unused_command_line_argument=yes
   8320 else $as_nop
   8321   xorg_cv_cc_flag_unused_command_line_argument=no
   8322 fi
   8323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8324 fi
   8325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8326 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8328 	CFLAGS="$xorg_testset_save_CFLAGS"
   8329 fi
   8330 
   8331 found="no"
   8332 
   8333 	if test $found = "no" ; then
   8334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8336 		fi
   8337 
   8338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8340 		fi
   8341 
   8342 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8343 
   8344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8345 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8346 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8347 		if eval test \${$cacheid+y}
   8348 then :
   8349   printf %s "(cached) " >&6
   8350 else $as_nop
   8351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8352 /* end confdefs.h.  */
   8353 int i;
   8354 int
   8355 main (void)
   8356 {
   8357 
   8358   ;
   8359   return 0;
   8360 }
   8361 _ACEOF
   8362 if ac_fn_c_try_link "$LINENO"
   8363 then :
   8364   eval $cacheid=yes
   8365 else $as_nop
   8366   eval $cacheid=no
   8367 fi
   8368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8369     conftest$ac_exeext conftest.$ac_ext
   8370 fi
   8371 
   8372 
   8373 		CFLAGS="$xorg_testset_save_CFLAGS"
   8374 
   8375 		eval supported=\$$cacheid
   8376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8377 printf "%s\n" "$supported" >&6; }
   8378 		if test "$supported" = "yes" ; then
   8379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8380 			found="yes"
   8381 		fi
   8382 	fi
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 xorg_testset_save_CFLAGS="$CFLAGS"
   8399 
   8400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8402 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8403 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8404 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8405 then :
   8406   printf %s "(cached) " >&6
   8407 else $as_nop
   8408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8409 /* end confdefs.h.  */
   8410 int i;
   8411 _ACEOF
   8412 if ac_fn_c_try_compile "$LINENO"
   8413 then :
   8414   xorg_cv_cc_flag_unknown_warning_option=yes
   8415 else $as_nop
   8416   xorg_cv_cc_flag_unknown_warning_option=no
   8417 fi
   8418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8419 fi
   8420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8421 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8423 	CFLAGS="$xorg_testset_save_CFLAGS"
   8424 fi
   8425 
   8426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8429 	fi
   8430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8431 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8432 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8433 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8434 then :
   8435   printf %s "(cached) " >&6
   8436 else $as_nop
   8437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8438 /* end confdefs.h.  */
   8439 int i;
   8440 _ACEOF
   8441 if ac_fn_c_try_compile "$LINENO"
   8442 then :
   8443   xorg_cv_cc_flag_unused_command_line_argument=yes
   8444 else $as_nop
   8445   xorg_cv_cc_flag_unused_command_line_argument=no
   8446 fi
   8447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8448 fi
   8449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8450 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8452 	CFLAGS="$xorg_testset_save_CFLAGS"
   8453 fi
   8454 
   8455 found="no"
   8456 
   8457 	if test $found = "no" ; then
   8458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8460 		fi
   8461 
   8462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8464 		fi
   8465 
   8466 		CFLAGS="$CFLAGS -Werror=write-strings"
   8467 
   8468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8469 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8470 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8471 		if eval test \${$cacheid+y}
   8472 then :
   8473   printf %s "(cached) " >&6
   8474 else $as_nop
   8475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8476 /* end confdefs.h.  */
   8477 int i;
   8478 int
   8479 main (void)
   8480 {
   8481 
   8482   ;
   8483   return 0;
   8484 }
   8485 _ACEOF
   8486 if ac_fn_c_try_link "$LINENO"
   8487 then :
   8488   eval $cacheid=yes
   8489 else $as_nop
   8490   eval $cacheid=no
   8491 fi
   8492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8493     conftest$ac_exeext conftest.$ac_ext
   8494 fi
   8495 
   8496 
   8497 		CFLAGS="$xorg_testset_save_CFLAGS"
   8498 
   8499 		eval supported=\$$cacheid
   8500 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8501 printf "%s\n" "$supported" >&6; }
   8502 		if test "$supported" = "yes" ; then
   8503 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8504 			found="yes"
   8505 		fi
   8506 	fi
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522 xorg_testset_save_CFLAGS="$CFLAGS"
   8523 
   8524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8527 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8528 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8529 then :
   8530   printf %s "(cached) " >&6
   8531 else $as_nop
   8532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8533 /* end confdefs.h.  */
   8534 int i;
   8535 _ACEOF
   8536 if ac_fn_c_try_compile "$LINENO"
   8537 then :
   8538   xorg_cv_cc_flag_unknown_warning_option=yes
   8539 else $as_nop
   8540   xorg_cv_cc_flag_unknown_warning_option=no
   8541 fi
   8542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8543 fi
   8544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8545 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8547 	CFLAGS="$xorg_testset_save_CFLAGS"
   8548 fi
   8549 
   8550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8553 	fi
   8554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8555 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8556 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8557 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8558 then :
   8559   printf %s "(cached) " >&6
   8560 else $as_nop
   8561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8562 /* end confdefs.h.  */
   8563 int i;
   8564 _ACEOF
   8565 if ac_fn_c_try_compile "$LINENO"
   8566 then :
   8567   xorg_cv_cc_flag_unused_command_line_argument=yes
   8568 else $as_nop
   8569   xorg_cv_cc_flag_unused_command_line_argument=no
   8570 fi
   8571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8572 fi
   8573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8574 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8576 	CFLAGS="$xorg_testset_save_CFLAGS"
   8577 fi
   8578 
   8579 found="no"
   8580 
   8581 	if test $found = "no" ; then
   8582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8584 		fi
   8585 
   8586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8588 		fi
   8589 
   8590 		CFLAGS="$CFLAGS -Werror=address"
   8591 
   8592 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8593 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8594 		cacheid=xorg_cv_cc_flag__Werror_address
   8595 		if eval test \${$cacheid+y}
   8596 then :
   8597   printf %s "(cached) " >&6
   8598 else $as_nop
   8599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8600 /* end confdefs.h.  */
   8601 int i;
   8602 int
   8603 main (void)
   8604 {
   8605 
   8606   ;
   8607   return 0;
   8608 }
   8609 _ACEOF
   8610 if ac_fn_c_try_link "$LINENO"
   8611 then :
   8612   eval $cacheid=yes
   8613 else $as_nop
   8614   eval $cacheid=no
   8615 fi
   8616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8617     conftest$ac_exeext conftest.$ac_ext
   8618 fi
   8619 
   8620 
   8621 		CFLAGS="$xorg_testset_save_CFLAGS"
   8622 
   8623 		eval supported=\$$cacheid
   8624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8625 printf "%s\n" "$supported" >&6; }
   8626 		if test "$supported" = "yes" ; then
   8627 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8628 			found="yes"
   8629 		fi
   8630 	fi
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 xorg_testset_save_CFLAGS="$CFLAGS"
   8647 
   8648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8651 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8652 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8653 then :
   8654   printf %s "(cached) " >&6
   8655 else $as_nop
   8656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8657 /* end confdefs.h.  */
   8658 int i;
   8659 _ACEOF
   8660 if ac_fn_c_try_compile "$LINENO"
   8661 then :
   8662   xorg_cv_cc_flag_unknown_warning_option=yes
   8663 else $as_nop
   8664   xorg_cv_cc_flag_unknown_warning_option=no
   8665 fi
   8666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8667 fi
   8668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8669 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8671 	CFLAGS="$xorg_testset_save_CFLAGS"
   8672 fi
   8673 
   8674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8677 	fi
   8678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8680 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8681 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8682 then :
   8683   printf %s "(cached) " >&6
   8684 else $as_nop
   8685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8686 /* end confdefs.h.  */
   8687 int i;
   8688 _ACEOF
   8689 if ac_fn_c_try_compile "$LINENO"
   8690 then :
   8691   xorg_cv_cc_flag_unused_command_line_argument=yes
   8692 else $as_nop
   8693   xorg_cv_cc_flag_unused_command_line_argument=no
   8694 fi
   8695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8696 fi
   8697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8698 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8700 	CFLAGS="$xorg_testset_save_CFLAGS"
   8701 fi
   8702 
   8703 found="no"
   8704 
   8705 	if test $found = "no" ; then
   8706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8708 		fi
   8709 
   8710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8712 		fi
   8713 
   8714 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8715 
   8716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8717 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8718 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8719 		if eval test \${$cacheid+y}
   8720 then :
   8721   printf %s "(cached) " >&6
   8722 else $as_nop
   8723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8724 /* end confdefs.h.  */
   8725 int i;
   8726 int
   8727 main (void)
   8728 {
   8729 
   8730   ;
   8731   return 0;
   8732 }
   8733 _ACEOF
   8734 if ac_fn_c_try_link "$LINENO"
   8735 then :
   8736   eval $cacheid=yes
   8737 else $as_nop
   8738   eval $cacheid=no
   8739 fi
   8740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8741     conftest$ac_exeext conftest.$ac_ext
   8742 fi
   8743 
   8744 
   8745 		CFLAGS="$xorg_testset_save_CFLAGS"
   8746 
   8747 		eval supported=\$$cacheid
   8748 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8749 printf "%s\n" "$supported" >&6; }
   8750 		if test "$supported" = "yes" ; then
   8751 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8752 			found="yes"
   8753 		fi
   8754 	fi
   8755 
   8756 	if test $found = "no" ; then
   8757 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8758 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8759 		fi
   8760 
   8761 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8762 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8763 		fi
   8764 
   8765 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8766 
   8767 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8768 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8769 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8770 		if eval test \${$cacheid+y}
   8771 then :
   8772   printf %s "(cached) " >&6
   8773 else $as_nop
   8774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8775 /* end confdefs.h.  */
   8776 int i;
   8777 int
   8778 main (void)
   8779 {
   8780 
   8781   ;
   8782   return 0;
   8783 }
   8784 _ACEOF
   8785 if ac_fn_c_try_link "$LINENO"
   8786 then :
   8787   eval $cacheid=yes
   8788 else $as_nop
   8789   eval $cacheid=no
   8790 fi
   8791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8792     conftest$ac_exeext conftest.$ac_ext
   8793 fi
   8794 
   8795 
   8796 		CFLAGS="$xorg_testset_save_CFLAGS"
   8797 
   8798 		eval supported=\$$cacheid
   8799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8800 printf "%s\n" "$supported" >&6; }
   8801 		if test "$supported" = "yes" ; then
   8802 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8803 			found="yes"
   8804 		fi
   8805 	fi
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 xorg_testset_save_CFLAGS="$CFLAGS"
   8822 
   8823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8826 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8827 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8828 then :
   8829   printf %s "(cached) " >&6
   8830 else $as_nop
   8831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8832 /* end confdefs.h.  */
   8833 int i;
   8834 _ACEOF
   8835 if ac_fn_c_try_compile "$LINENO"
   8836 then :
   8837   xorg_cv_cc_flag_unknown_warning_option=yes
   8838 else $as_nop
   8839   xorg_cv_cc_flag_unknown_warning_option=no
   8840 fi
   8841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8842 fi
   8843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8844 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8846 	CFLAGS="$xorg_testset_save_CFLAGS"
   8847 fi
   8848 
   8849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8852 	fi
   8853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8854 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8855 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8856 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8857 then :
   8858   printf %s "(cached) " >&6
   8859 else $as_nop
   8860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8861 /* end confdefs.h.  */
   8862 int i;
   8863 _ACEOF
   8864 if ac_fn_c_try_compile "$LINENO"
   8865 then :
   8866   xorg_cv_cc_flag_unused_command_line_argument=yes
   8867 else $as_nop
   8868   xorg_cv_cc_flag_unused_command_line_argument=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8871 fi
   8872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8873 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8875 	CFLAGS="$xorg_testset_save_CFLAGS"
   8876 fi
   8877 
   8878 found="no"
   8879 
   8880 	if test $found = "no" ; then
   8881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8883 		fi
   8884 
   8885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8887 		fi
   8888 
   8889 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8890 
   8891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8892 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8893 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8894 		if eval test \${$cacheid+y}
   8895 then :
   8896   printf %s "(cached) " >&6
   8897 else $as_nop
   8898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8899 /* end confdefs.h.  */
   8900 int i;
   8901 int
   8902 main (void)
   8903 {
   8904 
   8905   ;
   8906   return 0;
   8907 }
   8908 _ACEOF
   8909 if ac_fn_c_try_link "$LINENO"
   8910 then :
   8911   eval $cacheid=yes
   8912 else $as_nop
   8913   eval $cacheid=no
   8914 fi
   8915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8916     conftest$ac_exeext conftest.$ac_ext
   8917 fi
   8918 
   8919 
   8920 		CFLAGS="$xorg_testset_save_CFLAGS"
   8921 
   8922 		eval supported=\$$cacheid
   8923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8924 printf "%s\n" "$supported" >&6; }
   8925 		if test "$supported" = "yes" ; then
   8926 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8927 			found="yes"
   8928 		fi
   8929 	fi
   8930 
   8931  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8932 else
   8933 { 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
   8934 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;}
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 xorg_testset_save_CFLAGS="$CFLAGS"
   8949 
   8950 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8951 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8953 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8954 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8955 then :
   8956   printf %s "(cached) " >&6
   8957 else $as_nop
   8958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8959 /* end confdefs.h.  */
   8960 int i;
   8961 _ACEOF
   8962 if ac_fn_c_try_compile "$LINENO"
   8963 then :
   8964   xorg_cv_cc_flag_unknown_warning_option=yes
   8965 else $as_nop
   8966   xorg_cv_cc_flag_unknown_warning_option=no
   8967 fi
   8968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8969 fi
   8970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8971 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8972 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8973 	CFLAGS="$xorg_testset_save_CFLAGS"
   8974 fi
   8975 
   8976 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8977 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8978 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8979 	fi
   8980 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8981 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8982 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8983 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8984 then :
   8985   printf %s "(cached) " >&6
   8986 else $as_nop
   8987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8988 /* end confdefs.h.  */
   8989 int i;
   8990 _ACEOF
   8991 if ac_fn_c_try_compile "$LINENO"
   8992 then :
   8993   xorg_cv_cc_flag_unused_command_line_argument=yes
   8994 else $as_nop
   8995   xorg_cv_cc_flag_unused_command_line_argument=no
   8996 fi
   8997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8998 fi
   8999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9000 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9002 	CFLAGS="$xorg_testset_save_CFLAGS"
   9003 fi
   9004 
   9005 found="no"
   9006 
   9007 	if test $found = "no" ; then
   9008 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9010 		fi
   9011 
   9012 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9014 		fi
   9015 
   9016 		CFLAGS="$CFLAGS -Wimplicit"
   9017 
   9018 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9019 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9020 		cacheid=xorg_cv_cc_flag__Wimplicit
   9021 		if eval test \${$cacheid+y}
   9022 then :
   9023   printf %s "(cached) " >&6
   9024 else $as_nop
   9025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9026 /* end confdefs.h.  */
   9027 int i;
   9028 int
   9029 main (void)
   9030 {
   9031 
   9032   ;
   9033   return 0;
   9034 }
   9035 _ACEOF
   9036 if ac_fn_c_try_link "$LINENO"
   9037 then :
   9038   eval $cacheid=yes
   9039 else $as_nop
   9040   eval $cacheid=no
   9041 fi
   9042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9043     conftest$ac_exeext conftest.$ac_ext
   9044 fi
   9045 
   9046 
   9047 		CFLAGS="$xorg_testset_save_CFLAGS"
   9048 
   9049 		eval supported=\$$cacheid
   9050 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9051 printf "%s\n" "$supported" >&6; }
   9052 		if test "$supported" = "yes" ; then
   9053 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9054 			found="yes"
   9055 		fi
   9056 	fi
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 xorg_testset_save_CFLAGS="$CFLAGS"
   9073 
   9074 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9075 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9076 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9077 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9078 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9079 then :
   9080   printf %s "(cached) " >&6
   9081 else $as_nop
   9082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9083 /* end confdefs.h.  */
   9084 int i;
   9085 _ACEOF
   9086 if ac_fn_c_try_compile "$LINENO"
   9087 then :
   9088   xorg_cv_cc_flag_unknown_warning_option=yes
   9089 else $as_nop
   9090   xorg_cv_cc_flag_unknown_warning_option=no
   9091 fi
   9092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9093 fi
   9094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9095 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9097 	CFLAGS="$xorg_testset_save_CFLAGS"
   9098 fi
   9099 
   9100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9103 	fi
   9104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9106 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9107 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9108 then :
   9109   printf %s "(cached) " >&6
   9110 else $as_nop
   9111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9112 /* end confdefs.h.  */
   9113 int i;
   9114 _ACEOF
   9115 if ac_fn_c_try_compile "$LINENO"
   9116 then :
   9117   xorg_cv_cc_flag_unused_command_line_argument=yes
   9118 else $as_nop
   9119   xorg_cv_cc_flag_unused_command_line_argument=no
   9120 fi
   9121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9122 fi
   9123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9124 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9126 	CFLAGS="$xorg_testset_save_CFLAGS"
   9127 fi
   9128 
   9129 found="no"
   9130 
   9131 	if test $found = "no" ; then
   9132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9134 		fi
   9135 
   9136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9138 		fi
   9139 
   9140 		CFLAGS="$CFLAGS -Wnonnull"
   9141 
   9142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9143 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9144 		cacheid=xorg_cv_cc_flag__Wnonnull
   9145 		if eval test \${$cacheid+y}
   9146 then :
   9147   printf %s "(cached) " >&6
   9148 else $as_nop
   9149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9150 /* end confdefs.h.  */
   9151 int i;
   9152 int
   9153 main (void)
   9154 {
   9155 
   9156   ;
   9157   return 0;
   9158 }
   9159 _ACEOF
   9160 if ac_fn_c_try_link "$LINENO"
   9161 then :
   9162   eval $cacheid=yes
   9163 else $as_nop
   9164   eval $cacheid=no
   9165 fi
   9166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9167     conftest$ac_exeext conftest.$ac_ext
   9168 fi
   9169 
   9170 
   9171 		CFLAGS="$xorg_testset_save_CFLAGS"
   9172 
   9173 		eval supported=\$$cacheid
   9174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9175 printf "%s\n" "$supported" >&6; }
   9176 		if test "$supported" = "yes" ; then
   9177 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9178 			found="yes"
   9179 		fi
   9180 	fi
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 xorg_testset_save_CFLAGS="$CFLAGS"
   9197 
   9198 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9199 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9200 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9201 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9202 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9203 then :
   9204   printf %s "(cached) " >&6
   9205 else $as_nop
   9206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9207 /* end confdefs.h.  */
   9208 int i;
   9209 _ACEOF
   9210 if ac_fn_c_try_compile "$LINENO"
   9211 then :
   9212   xorg_cv_cc_flag_unknown_warning_option=yes
   9213 else $as_nop
   9214   xorg_cv_cc_flag_unknown_warning_option=no
   9215 fi
   9216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9217 fi
   9218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9219 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9221 	CFLAGS="$xorg_testset_save_CFLAGS"
   9222 fi
   9223 
   9224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9227 	fi
   9228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9230 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9231 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9232 then :
   9233   printf %s "(cached) " >&6
   9234 else $as_nop
   9235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9236 /* end confdefs.h.  */
   9237 int i;
   9238 _ACEOF
   9239 if ac_fn_c_try_compile "$LINENO"
   9240 then :
   9241   xorg_cv_cc_flag_unused_command_line_argument=yes
   9242 else $as_nop
   9243   xorg_cv_cc_flag_unused_command_line_argument=no
   9244 fi
   9245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9246 fi
   9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9248 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9250 	CFLAGS="$xorg_testset_save_CFLAGS"
   9251 fi
   9252 
   9253 found="no"
   9254 
   9255 	if test $found = "no" ; then
   9256 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9258 		fi
   9259 
   9260 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9262 		fi
   9263 
   9264 		CFLAGS="$CFLAGS -Winit-self"
   9265 
   9266 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9267 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9268 		cacheid=xorg_cv_cc_flag__Winit_self
   9269 		if eval test \${$cacheid+y}
   9270 then :
   9271   printf %s "(cached) " >&6
   9272 else $as_nop
   9273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9274 /* end confdefs.h.  */
   9275 int i;
   9276 int
   9277 main (void)
   9278 {
   9279 
   9280   ;
   9281   return 0;
   9282 }
   9283 _ACEOF
   9284 if ac_fn_c_try_link "$LINENO"
   9285 then :
   9286   eval $cacheid=yes
   9287 else $as_nop
   9288   eval $cacheid=no
   9289 fi
   9290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9291     conftest$ac_exeext conftest.$ac_ext
   9292 fi
   9293 
   9294 
   9295 		CFLAGS="$xorg_testset_save_CFLAGS"
   9296 
   9297 		eval supported=\$$cacheid
   9298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9299 printf "%s\n" "$supported" >&6; }
   9300 		if test "$supported" = "yes" ; then
   9301 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9302 			found="yes"
   9303 		fi
   9304 	fi
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 xorg_testset_save_CFLAGS="$CFLAGS"
   9321 
   9322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9324 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9325 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9326 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9327 then :
   9328   printf %s "(cached) " >&6
   9329 else $as_nop
   9330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9331 /* end confdefs.h.  */
   9332 int i;
   9333 _ACEOF
   9334 if ac_fn_c_try_compile "$LINENO"
   9335 then :
   9336   xorg_cv_cc_flag_unknown_warning_option=yes
   9337 else $as_nop
   9338   xorg_cv_cc_flag_unknown_warning_option=no
   9339 fi
   9340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9341 fi
   9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9343 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9345 	CFLAGS="$xorg_testset_save_CFLAGS"
   9346 fi
   9347 
   9348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9351 	fi
   9352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9354 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9355 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9356 then :
   9357   printf %s "(cached) " >&6
   9358 else $as_nop
   9359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9360 /* end confdefs.h.  */
   9361 int i;
   9362 _ACEOF
   9363 if ac_fn_c_try_compile "$LINENO"
   9364 then :
   9365   xorg_cv_cc_flag_unused_command_line_argument=yes
   9366 else $as_nop
   9367   xorg_cv_cc_flag_unused_command_line_argument=no
   9368 fi
   9369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9370 fi
   9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9372 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9374 	CFLAGS="$xorg_testset_save_CFLAGS"
   9375 fi
   9376 
   9377 found="no"
   9378 
   9379 	if test $found = "no" ; then
   9380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9382 		fi
   9383 
   9384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9386 		fi
   9387 
   9388 		CFLAGS="$CFLAGS -Wmain"
   9389 
   9390 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9391 printf %s "checking if $CC supports -Wmain... " >&6; }
   9392 		cacheid=xorg_cv_cc_flag__Wmain
   9393 		if eval test \${$cacheid+y}
   9394 then :
   9395   printf %s "(cached) " >&6
   9396 else $as_nop
   9397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9398 /* end confdefs.h.  */
   9399 int i;
   9400 int
   9401 main (void)
   9402 {
   9403 
   9404   ;
   9405   return 0;
   9406 }
   9407 _ACEOF
   9408 if ac_fn_c_try_link "$LINENO"
   9409 then :
   9410   eval $cacheid=yes
   9411 else $as_nop
   9412   eval $cacheid=no
   9413 fi
   9414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9415     conftest$ac_exeext conftest.$ac_ext
   9416 fi
   9417 
   9418 
   9419 		CFLAGS="$xorg_testset_save_CFLAGS"
   9420 
   9421 		eval supported=\$$cacheid
   9422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9423 printf "%s\n" "$supported" >&6; }
   9424 		if test "$supported" = "yes" ; then
   9425 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9426 			found="yes"
   9427 		fi
   9428 	fi
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 xorg_testset_save_CFLAGS="$CFLAGS"
   9445 
   9446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9449 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9450 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9451 then :
   9452   printf %s "(cached) " >&6
   9453 else $as_nop
   9454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9455 /* end confdefs.h.  */
   9456 int i;
   9457 _ACEOF
   9458 if ac_fn_c_try_compile "$LINENO"
   9459 then :
   9460   xorg_cv_cc_flag_unknown_warning_option=yes
   9461 else $as_nop
   9462   xorg_cv_cc_flag_unknown_warning_option=no
   9463 fi
   9464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9465 fi
   9466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9467 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9469 	CFLAGS="$xorg_testset_save_CFLAGS"
   9470 fi
   9471 
   9472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9475 	fi
   9476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9478 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9479 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9480 then :
   9481   printf %s "(cached) " >&6
   9482 else $as_nop
   9483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9484 /* end confdefs.h.  */
   9485 int i;
   9486 _ACEOF
   9487 if ac_fn_c_try_compile "$LINENO"
   9488 then :
   9489   xorg_cv_cc_flag_unused_command_line_argument=yes
   9490 else $as_nop
   9491   xorg_cv_cc_flag_unused_command_line_argument=no
   9492 fi
   9493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9494 fi
   9495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9496 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9498 	CFLAGS="$xorg_testset_save_CFLAGS"
   9499 fi
   9500 
   9501 found="no"
   9502 
   9503 	if test $found = "no" ; then
   9504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9506 		fi
   9507 
   9508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9510 		fi
   9511 
   9512 		CFLAGS="$CFLAGS -Wmissing-braces"
   9513 
   9514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9515 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9516 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9517 		if eval test \${$cacheid+y}
   9518 then :
   9519   printf %s "(cached) " >&6
   9520 else $as_nop
   9521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9522 /* end confdefs.h.  */
   9523 int i;
   9524 int
   9525 main (void)
   9526 {
   9527 
   9528   ;
   9529   return 0;
   9530 }
   9531 _ACEOF
   9532 if ac_fn_c_try_link "$LINENO"
   9533 then :
   9534   eval $cacheid=yes
   9535 else $as_nop
   9536   eval $cacheid=no
   9537 fi
   9538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9539     conftest$ac_exeext conftest.$ac_ext
   9540 fi
   9541 
   9542 
   9543 		CFLAGS="$xorg_testset_save_CFLAGS"
   9544 
   9545 		eval supported=\$$cacheid
   9546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9547 printf "%s\n" "$supported" >&6; }
   9548 		if test "$supported" = "yes" ; then
   9549 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9550 			found="yes"
   9551 		fi
   9552 	fi
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 xorg_testset_save_CFLAGS="$CFLAGS"
   9569 
   9570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9572 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9573 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9574 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9575 then :
   9576   printf %s "(cached) " >&6
   9577 else $as_nop
   9578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9579 /* end confdefs.h.  */
   9580 int i;
   9581 _ACEOF
   9582 if ac_fn_c_try_compile "$LINENO"
   9583 then :
   9584   xorg_cv_cc_flag_unknown_warning_option=yes
   9585 else $as_nop
   9586   xorg_cv_cc_flag_unknown_warning_option=no
   9587 fi
   9588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9589 fi
   9590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9591 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9593 	CFLAGS="$xorg_testset_save_CFLAGS"
   9594 fi
   9595 
   9596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9599 	fi
   9600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9601 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9602 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9603 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9604 then :
   9605   printf %s "(cached) " >&6
   9606 else $as_nop
   9607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9608 /* end confdefs.h.  */
   9609 int i;
   9610 _ACEOF
   9611 if ac_fn_c_try_compile "$LINENO"
   9612 then :
   9613   xorg_cv_cc_flag_unused_command_line_argument=yes
   9614 else $as_nop
   9615   xorg_cv_cc_flag_unused_command_line_argument=no
   9616 fi
   9617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9618 fi
   9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9620 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9622 	CFLAGS="$xorg_testset_save_CFLAGS"
   9623 fi
   9624 
   9625 found="no"
   9626 
   9627 	if test $found = "no" ; then
   9628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9630 		fi
   9631 
   9632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9634 		fi
   9635 
   9636 		CFLAGS="$CFLAGS -Wsequence-point"
   9637 
   9638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9639 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9640 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9641 		if eval test \${$cacheid+y}
   9642 then :
   9643   printf %s "(cached) " >&6
   9644 else $as_nop
   9645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9646 /* end confdefs.h.  */
   9647 int i;
   9648 int
   9649 main (void)
   9650 {
   9651 
   9652   ;
   9653   return 0;
   9654 }
   9655 _ACEOF
   9656 if ac_fn_c_try_link "$LINENO"
   9657 then :
   9658   eval $cacheid=yes
   9659 else $as_nop
   9660   eval $cacheid=no
   9661 fi
   9662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9663     conftest$ac_exeext conftest.$ac_ext
   9664 fi
   9665 
   9666 
   9667 		CFLAGS="$xorg_testset_save_CFLAGS"
   9668 
   9669 		eval supported=\$$cacheid
   9670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9671 printf "%s\n" "$supported" >&6; }
   9672 		if test "$supported" = "yes" ; then
   9673 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9674 			found="yes"
   9675 		fi
   9676 	fi
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 xorg_testset_save_CFLAGS="$CFLAGS"
   9693 
   9694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9697 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9698 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9699 then :
   9700   printf %s "(cached) " >&6
   9701 else $as_nop
   9702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9703 /* end confdefs.h.  */
   9704 int i;
   9705 _ACEOF
   9706 if ac_fn_c_try_compile "$LINENO"
   9707 then :
   9708   xorg_cv_cc_flag_unknown_warning_option=yes
   9709 else $as_nop
   9710   xorg_cv_cc_flag_unknown_warning_option=no
   9711 fi
   9712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9713 fi
   9714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9715 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9717 	CFLAGS="$xorg_testset_save_CFLAGS"
   9718 fi
   9719 
   9720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9723 	fi
   9724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9725 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9726 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9727 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9728 then :
   9729   printf %s "(cached) " >&6
   9730 else $as_nop
   9731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9732 /* end confdefs.h.  */
   9733 int i;
   9734 _ACEOF
   9735 if ac_fn_c_try_compile "$LINENO"
   9736 then :
   9737   xorg_cv_cc_flag_unused_command_line_argument=yes
   9738 else $as_nop
   9739   xorg_cv_cc_flag_unused_command_line_argument=no
   9740 fi
   9741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9742 fi
   9743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9744 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9746 	CFLAGS="$xorg_testset_save_CFLAGS"
   9747 fi
   9748 
   9749 found="no"
   9750 
   9751 	if test $found = "no" ; then
   9752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9754 		fi
   9755 
   9756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9758 		fi
   9759 
   9760 		CFLAGS="$CFLAGS -Wreturn-type"
   9761 
   9762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9763 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   9764 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9765 		if eval test \${$cacheid+y}
   9766 then :
   9767   printf %s "(cached) " >&6
   9768 else $as_nop
   9769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9770 /* end confdefs.h.  */
   9771 int i;
   9772 int
   9773 main (void)
   9774 {
   9775 
   9776   ;
   9777   return 0;
   9778 }
   9779 _ACEOF
   9780 if ac_fn_c_try_link "$LINENO"
   9781 then :
   9782   eval $cacheid=yes
   9783 else $as_nop
   9784   eval $cacheid=no
   9785 fi
   9786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9787     conftest$ac_exeext conftest.$ac_ext
   9788 fi
   9789 
   9790 
   9791 		CFLAGS="$xorg_testset_save_CFLAGS"
   9792 
   9793 		eval supported=\$$cacheid
   9794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9795 printf "%s\n" "$supported" >&6; }
   9796 		if test "$supported" = "yes" ; then
   9797 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9798 			found="yes"
   9799 		fi
   9800 	fi
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 xorg_testset_save_CFLAGS="$CFLAGS"
   9817 
   9818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9820 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9821 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9822 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9823 then :
   9824   printf %s "(cached) " >&6
   9825 else $as_nop
   9826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9827 /* end confdefs.h.  */
   9828 int i;
   9829 _ACEOF
   9830 if ac_fn_c_try_compile "$LINENO"
   9831 then :
   9832   xorg_cv_cc_flag_unknown_warning_option=yes
   9833 else $as_nop
   9834   xorg_cv_cc_flag_unknown_warning_option=no
   9835 fi
   9836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9837 fi
   9838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9839 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9841 	CFLAGS="$xorg_testset_save_CFLAGS"
   9842 fi
   9843 
   9844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9847 	fi
   9848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9850 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9851 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9852 then :
   9853   printf %s "(cached) " >&6
   9854 else $as_nop
   9855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9856 /* end confdefs.h.  */
   9857 int i;
   9858 _ACEOF
   9859 if ac_fn_c_try_compile "$LINENO"
   9860 then :
   9861   xorg_cv_cc_flag_unused_command_line_argument=yes
   9862 else $as_nop
   9863   xorg_cv_cc_flag_unused_command_line_argument=no
   9864 fi
   9865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9866 fi
   9867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9868 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9870 	CFLAGS="$xorg_testset_save_CFLAGS"
   9871 fi
   9872 
   9873 found="no"
   9874 
   9875 	if test $found = "no" ; then
   9876 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9878 		fi
   9879 
   9880 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9882 		fi
   9883 
   9884 		CFLAGS="$CFLAGS -Wtrigraphs"
   9885 
   9886 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9887 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   9888 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9889 		if eval test \${$cacheid+y}
   9890 then :
   9891   printf %s "(cached) " >&6
   9892 else $as_nop
   9893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9894 /* end confdefs.h.  */
   9895 int i;
   9896 int
   9897 main (void)
   9898 {
   9899 
   9900   ;
   9901   return 0;
   9902 }
   9903 _ACEOF
   9904 if ac_fn_c_try_link "$LINENO"
   9905 then :
   9906   eval $cacheid=yes
   9907 else $as_nop
   9908   eval $cacheid=no
   9909 fi
   9910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9911     conftest$ac_exeext conftest.$ac_ext
   9912 fi
   9913 
   9914 
   9915 		CFLAGS="$xorg_testset_save_CFLAGS"
   9916 
   9917 		eval supported=\$$cacheid
   9918 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9919 printf "%s\n" "$supported" >&6; }
   9920 		if test "$supported" = "yes" ; then
   9921 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9922 			found="yes"
   9923 		fi
   9924 	fi
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 xorg_testset_save_CFLAGS="$CFLAGS"
   9941 
   9942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9944 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9945 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9946 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9947 then :
   9948   printf %s "(cached) " >&6
   9949 else $as_nop
   9950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9951 /* end confdefs.h.  */
   9952 int i;
   9953 _ACEOF
   9954 if ac_fn_c_try_compile "$LINENO"
   9955 then :
   9956   xorg_cv_cc_flag_unknown_warning_option=yes
   9957 else $as_nop
   9958   xorg_cv_cc_flag_unknown_warning_option=no
   9959 fi
   9960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9961 fi
   9962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9963 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9965 	CFLAGS="$xorg_testset_save_CFLAGS"
   9966 fi
   9967 
   9968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9971 	fi
   9972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9974 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9975 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9976 then :
   9977   printf %s "(cached) " >&6
   9978 else $as_nop
   9979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9980 /* end confdefs.h.  */
   9981 int i;
   9982 _ACEOF
   9983 if ac_fn_c_try_compile "$LINENO"
   9984 then :
   9985   xorg_cv_cc_flag_unused_command_line_argument=yes
   9986 else $as_nop
   9987   xorg_cv_cc_flag_unused_command_line_argument=no
   9988 fi
   9989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   9990 fi
   9991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9992 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9994 	CFLAGS="$xorg_testset_save_CFLAGS"
   9995 fi
   9996 
   9997 found="no"
   9998 
   9999 	if test $found = "no" ; then
   10000 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10002 		fi
   10003 
   10004 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10006 		fi
   10007 
   10008 		CFLAGS="$CFLAGS -Warray-bounds"
   10009 
   10010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10011 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10012 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10013 		if eval test \${$cacheid+y}
   10014 then :
   10015   printf %s "(cached) " >&6
   10016 else $as_nop
   10017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10018 /* end confdefs.h.  */
   10019 int i;
   10020 int
   10021 main (void)
   10022 {
   10023 
   10024   ;
   10025   return 0;
   10026 }
   10027 _ACEOF
   10028 if ac_fn_c_try_link "$LINENO"
   10029 then :
   10030   eval $cacheid=yes
   10031 else $as_nop
   10032   eval $cacheid=no
   10033 fi
   10034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10035     conftest$ac_exeext conftest.$ac_ext
   10036 fi
   10037 
   10038 
   10039 		CFLAGS="$xorg_testset_save_CFLAGS"
   10040 
   10041 		eval supported=\$$cacheid
   10042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10043 printf "%s\n" "$supported" >&6; }
   10044 		if test "$supported" = "yes" ; then
   10045 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10046 			found="yes"
   10047 		fi
   10048 	fi
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 xorg_testset_save_CFLAGS="$CFLAGS"
   10065 
   10066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10068 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10069 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10070 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10071 then :
   10072   printf %s "(cached) " >&6
   10073 else $as_nop
   10074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10075 /* end confdefs.h.  */
   10076 int i;
   10077 _ACEOF
   10078 if ac_fn_c_try_compile "$LINENO"
   10079 then :
   10080   xorg_cv_cc_flag_unknown_warning_option=yes
   10081 else $as_nop
   10082   xorg_cv_cc_flag_unknown_warning_option=no
   10083 fi
   10084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10085 fi
   10086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10087 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10088 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10089 	CFLAGS="$xorg_testset_save_CFLAGS"
   10090 fi
   10091 
   10092 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10093 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10094 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10095 	fi
   10096 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10097 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10098 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10099 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10100 then :
   10101   printf %s "(cached) " >&6
   10102 else $as_nop
   10103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10104 /* end confdefs.h.  */
   10105 int i;
   10106 _ACEOF
   10107 if ac_fn_c_try_compile "$LINENO"
   10108 then :
   10109   xorg_cv_cc_flag_unused_command_line_argument=yes
   10110 else $as_nop
   10111   xorg_cv_cc_flag_unused_command_line_argument=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10114 fi
   10115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10116 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10118 	CFLAGS="$xorg_testset_save_CFLAGS"
   10119 fi
   10120 
   10121 found="no"
   10122 
   10123 	if test $found = "no" ; then
   10124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10126 		fi
   10127 
   10128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10130 		fi
   10131 
   10132 		CFLAGS="$CFLAGS -Wwrite-strings"
   10133 
   10134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10135 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10136 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10137 		if eval test \${$cacheid+y}
   10138 then :
   10139   printf %s "(cached) " >&6
   10140 else $as_nop
   10141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10142 /* end confdefs.h.  */
   10143 int i;
   10144 int
   10145 main (void)
   10146 {
   10147 
   10148   ;
   10149   return 0;
   10150 }
   10151 _ACEOF
   10152 if ac_fn_c_try_link "$LINENO"
   10153 then :
   10154   eval $cacheid=yes
   10155 else $as_nop
   10156   eval $cacheid=no
   10157 fi
   10158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10159     conftest$ac_exeext conftest.$ac_ext
   10160 fi
   10161 
   10162 
   10163 		CFLAGS="$xorg_testset_save_CFLAGS"
   10164 
   10165 		eval supported=\$$cacheid
   10166 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10167 printf "%s\n" "$supported" >&6; }
   10168 		if test "$supported" = "yes" ; then
   10169 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10170 			found="yes"
   10171 		fi
   10172 	fi
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 xorg_testset_save_CFLAGS="$CFLAGS"
   10189 
   10190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10191 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10192 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10193 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10194 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10195 then :
   10196   printf %s "(cached) " >&6
   10197 else $as_nop
   10198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10199 /* end confdefs.h.  */
   10200 int i;
   10201 _ACEOF
   10202 if ac_fn_c_try_compile "$LINENO"
   10203 then :
   10204   xorg_cv_cc_flag_unknown_warning_option=yes
   10205 else $as_nop
   10206   xorg_cv_cc_flag_unknown_warning_option=no
   10207 fi
   10208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10209 fi
   10210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10211 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10213 	CFLAGS="$xorg_testset_save_CFLAGS"
   10214 fi
   10215 
   10216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10219 	fi
   10220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10222 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10223 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10224 then :
   10225   printf %s "(cached) " >&6
   10226 else $as_nop
   10227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10228 /* end confdefs.h.  */
   10229 int i;
   10230 _ACEOF
   10231 if ac_fn_c_try_compile "$LINENO"
   10232 then :
   10233   xorg_cv_cc_flag_unused_command_line_argument=yes
   10234 else $as_nop
   10235   xorg_cv_cc_flag_unused_command_line_argument=no
   10236 fi
   10237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10238 fi
   10239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10240 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10242 	CFLAGS="$xorg_testset_save_CFLAGS"
   10243 fi
   10244 
   10245 found="no"
   10246 
   10247 	if test $found = "no" ; then
   10248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10250 		fi
   10251 
   10252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10254 		fi
   10255 
   10256 		CFLAGS="$CFLAGS -Waddress"
   10257 
   10258 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10259 printf %s "checking if $CC supports -Waddress... " >&6; }
   10260 		cacheid=xorg_cv_cc_flag__Waddress
   10261 		if eval test \${$cacheid+y}
   10262 then :
   10263   printf %s "(cached) " >&6
   10264 else $as_nop
   10265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10266 /* end confdefs.h.  */
   10267 int i;
   10268 int
   10269 main (void)
   10270 {
   10271 
   10272   ;
   10273   return 0;
   10274 }
   10275 _ACEOF
   10276 if ac_fn_c_try_link "$LINENO"
   10277 then :
   10278   eval $cacheid=yes
   10279 else $as_nop
   10280   eval $cacheid=no
   10281 fi
   10282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10283     conftest$ac_exeext conftest.$ac_ext
   10284 fi
   10285 
   10286 
   10287 		CFLAGS="$xorg_testset_save_CFLAGS"
   10288 
   10289 		eval supported=\$$cacheid
   10290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10291 printf "%s\n" "$supported" >&6; }
   10292 		if test "$supported" = "yes" ; then
   10293 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10294 			found="yes"
   10295 		fi
   10296 	fi
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 xorg_testset_save_CFLAGS="$CFLAGS"
   10313 
   10314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10317 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10318 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10319 then :
   10320   printf %s "(cached) " >&6
   10321 else $as_nop
   10322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10323 /* end confdefs.h.  */
   10324 int i;
   10325 _ACEOF
   10326 if ac_fn_c_try_compile "$LINENO"
   10327 then :
   10328   xorg_cv_cc_flag_unknown_warning_option=yes
   10329 else $as_nop
   10330   xorg_cv_cc_flag_unknown_warning_option=no
   10331 fi
   10332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10333 fi
   10334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10335 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10337 	CFLAGS="$xorg_testset_save_CFLAGS"
   10338 fi
   10339 
   10340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10343 	fi
   10344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10346 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10347 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10348 then :
   10349   printf %s "(cached) " >&6
   10350 else $as_nop
   10351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10352 /* end confdefs.h.  */
   10353 int i;
   10354 _ACEOF
   10355 if ac_fn_c_try_compile "$LINENO"
   10356 then :
   10357   xorg_cv_cc_flag_unused_command_line_argument=yes
   10358 else $as_nop
   10359   xorg_cv_cc_flag_unused_command_line_argument=no
   10360 fi
   10361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10362 fi
   10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10364 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10366 	CFLAGS="$xorg_testset_save_CFLAGS"
   10367 fi
   10368 
   10369 found="no"
   10370 
   10371 	if test $found = "no" ; then
   10372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10374 		fi
   10375 
   10376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10378 		fi
   10379 
   10380 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10381 
   10382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10383 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10384 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10385 		if eval test \${$cacheid+y}
   10386 then :
   10387   printf %s "(cached) " >&6
   10388 else $as_nop
   10389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10390 /* end confdefs.h.  */
   10391 int i;
   10392 int
   10393 main (void)
   10394 {
   10395 
   10396   ;
   10397   return 0;
   10398 }
   10399 _ACEOF
   10400 if ac_fn_c_try_link "$LINENO"
   10401 then :
   10402   eval $cacheid=yes
   10403 else $as_nop
   10404   eval $cacheid=no
   10405 fi
   10406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10407     conftest$ac_exeext conftest.$ac_ext
   10408 fi
   10409 
   10410 
   10411 		CFLAGS="$xorg_testset_save_CFLAGS"
   10412 
   10413 		eval supported=\$$cacheid
   10414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10415 printf "%s\n" "$supported" >&6; }
   10416 		if test "$supported" = "yes" ; then
   10417 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10418 			found="yes"
   10419 		fi
   10420 	fi
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 xorg_testset_save_CFLAGS="$CFLAGS"
   10437 
   10438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10441 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10442 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10443 then :
   10444   printf %s "(cached) " >&6
   10445 else $as_nop
   10446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10447 /* end confdefs.h.  */
   10448 int i;
   10449 _ACEOF
   10450 if ac_fn_c_try_compile "$LINENO"
   10451 then :
   10452   xorg_cv_cc_flag_unknown_warning_option=yes
   10453 else $as_nop
   10454   xorg_cv_cc_flag_unknown_warning_option=no
   10455 fi
   10456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10457 fi
   10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10459 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10461 	CFLAGS="$xorg_testset_save_CFLAGS"
   10462 fi
   10463 
   10464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10467 	fi
   10468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10470 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10471 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10472 then :
   10473   printf %s "(cached) " >&6
   10474 else $as_nop
   10475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10476 /* end confdefs.h.  */
   10477 int i;
   10478 _ACEOF
   10479 if ac_fn_c_try_compile "$LINENO"
   10480 then :
   10481   xorg_cv_cc_flag_unused_command_line_argument=yes
   10482 else $as_nop
   10483   xorg_cv_cc_flag_unused_command_line_argument=no
   10484 fi
   10485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10486 fi
   10487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10488 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10490 	CFLAGS="$xorg_testset_save_CFLAGS"
   10491 fi
   10492 
   10493 found="no"
   10494 
   10495 	if test $found = "no" ; then
   10496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10498 		fi
   10499 
   10500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10502 		fi
   10503 
   10504 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10505 
   10506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10507 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10508 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10509 		if eval test \${$cacheid+y}
   10510 then :
   10511   printf %s "(cached) " >&6
   10512 else $as_nop
   10513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10514 /* end confdefs.h.  */
   10515 int i;
   10516 int
   10517 main (void)
   10518 {
   10519 
   10520   ;
   10521   return 0;
   10522 }
   10523 _ACEOF
   10524 if ac_fn_c_try_link "$LINENO"
   10525 then :
   10526   eval $cacheid=yes
   10527 else $as_nop
   10528   eval $cacheid=no
   10529 fi
   10530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10531     conftest$ac_exeext conftest.$ac_ext
   10532 fi
   10533 
   10534 
   10535 		CFLAGS="$xorg_testset_save_CFLAGS"
   10536 
   10537 		eval supported=\$$cacheid
   10538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10539 printf "%s\n" "$supported" >&6; }
   10540 		if test "$supported" = "yes" ; then
   10541 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10542 			found="yes"
   10543 		fi
   10544 	fi
   10545 
   10546 
   10547 fi
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 		CWARNFLAGS="$BASE_CFLAGS"
   10556 		if  test "x$GCC" = xyes ; then
   10557 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10558 		fi
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 # Check whether --enable-strict-compilation was given.
   10568 if test ${enable_strict_compilation+y}
   10569 then :
   10570   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10571 else $as_nop
   10572   STRICT_COMPILE=no
   10573 fi
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 STRICT_CFLAGS=""
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 xorg_testset_save_CFLAGS="$CFLAGS"
   10595 
   10596 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10597 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10598 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10599 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10600 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10601 then :
   10602   printf %s "(cached) " >&6
   10603 else $as_nop
   10604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10605 /* end confdefs.h.  */
   10606 int i;
   10607 _ACEOF
   10608 if ac_fn_c_try_compile "$LINENO"
   10609 then :
   10610   xorg_cv_cc_flag_unknown_warning_option=yes
   10611 else $as_nop
   10612   xorg_cv_cc_flag_unknown_warning_option=no
   10613 fi
   10614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10615 fi
   10616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10617 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10619 	CFLAGS="$xorg_testset_save_CFLAGS"
   10620 fi
   10621 
   10622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10625 	fi
   10626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10627 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10628 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10629 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10630 then :
   10631   printf %s "(cached) " >&6
   10632 else $as_nop
   10633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10634 /* end confdefs.h.  */
   10635 int i;
   10636 _ACEOF
   10637 if ac_fn_c_try_compile "$LINENO"
   10638 then :
   10639   xorg_cv_cc_flag_unused_command_line_argument=yes
   10640 else $as_nop
   10641   xorg_cv_cc_flag_unused_command_line_argument=no
   10642 fi
   10643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10644 fi
   10645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10646 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10648 	CFLAGS="$xorg_testset_save_CFLAGS"
   10649 fi
   10650 
   10651 found="no"
   10652 
   10653 	if test $found = "no" ; then
   10654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10656 		fi
   10657 
   10658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10660 		fi
   10661 
   10662 		CFLAGS="$CFLAGS -pedantic"
   10663 
   10664 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10665 printf %s "checking if $CC supports -pedantic... " >&6; }
   10666 		cacheid=xorg_cv_cc_flag__pedantic
   10667 		if eval test \${$cacheid+y}
   10668 then :
   10669   printf %s "(cached) " >&6
   10670 else $as_nop
   10671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10672 /* end confdefs.h.  */
   10673 int i;
   10674 int
   10675 main (void)
   10676 {
   10677 
   10678   ;
   10679   return 0;
   10680 }
   10681 _ACEOF
   10682 if ac_fn_c_try_link "$LINENO"
   10683 then :
   10684   eval $cacheid=yes
   10685 else $as_nop
   10686   eval $cacheid=no
   10687 fi
   10688 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10689     conftest$ac_exeext conftest.$ac_ext
   10690 fi
   10691 
   10692 
   10693 		CFLAGS="$xorg_testset_save_CFLAGS"
   10694 
   10695 		eval supported=\$$cacheid
   10696 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10697 printf "%s\n" "$supported" >&6; }
   10698 		if test "$supported" = "yes" ; then
   10699 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10700 			found="yes"
   10701 		fi
   10702 	fi
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 xorg_testset_save_CFLAGS="$CFLAGS"
   10719 
   10720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10723 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10724 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10725 then :
   10726   printf %s "(cached) " >&6
   10727 else $as_nop
   10728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10729 /* end confdefs.h.  */
   10730 int i;
   10731 _ACEOF
   10732 if ac_fn_c_try_compile "$LINENO"
   10733 then :
   10734   xorg_cv_cc_flag_unknown_warning_option=yes
   10735 else $as_nop
   10736   xorg_cv_cc_flag_unknown_warning_option=no
   10737 fi
   10738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10739 fi
   10740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10741 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10743 	CFLAGS="$xorg_testset_save_CFLAGS"
   10744 fi
   10745 
   10746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10749 	fi
   10750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10752 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10753 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10754 then :
   10755   printf %s "(cached) " >&6
   10756 else $as_nop
   10757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10758 /* end confdefs.h.  */
   10759 int i;
   10760 _ACEOF
   10761 if ac_fn_c_try_compile "$LINENO"
   10762 then :
   10763   xorg_cv_cc_flag_unused_command_line_argument=yes
   10764 else $as_nop
   10765   xorg_cv_cc_flag_unused_command_line_argument=no
   10766 fi
   10767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10768 fi
   10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10770 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10772 	CFLAGS="$xorg_testset_save_CFLAGS"
   10773 fi
   10774 
   10775 found="no"
   10776 
   10777 	if test $found = "no" ; then
   10778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10780 		fi
   10781 
   10782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10784 		fi
   10785 
   10786 		CFLAGS="$CFLAGS -Werror"
   10787 
   10788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10789 printf %s "checking if $CC supports -Werror... " >&6; }
   10790 		cacheid=xorg_cv_cc_flag__Werror
   10791 		if eval test \${$cacheid+y}
   10792 then :
   10793   printf %s "(cached) " >&6
   10794 else $as_nop
   10795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10796 /* end confdefs.h.  */
   10797 int i;
   10798 int
   10799 main (void)
   10800 {
   10801 
   10802   ;
   10803   return 0;
   10804 }
   10805 _ACEOF
   10806 if ac_fn_c_try_link "$LINENO"
   10807 then :
   10808   eval $cacheid=yes
   10809 else $as_nop
   10810   eval $cacheid=no
   10811 fi
   10812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10813     conftest$ac_exeext conftest.$ac_ext
   10814 fi
   10815 
   10816 
   10817 		CFLAGS="$xorg_testset_save_CFLAGS"
   10818 
   10819 		eval supported=\$$cacheid
   10820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10821 printf "%s\n" "$supported" >&6; }
   10822 		if test "$supported" = "yes" ; then
   10823 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10824 			found="yes"
   10825 		fi
   10826 	fi
   10827 
   10828 	if test $found = "no" ; then
   10829 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10830 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10831 		fi
   10832 
   10833 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10834 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10835 		fi
   10836 
   10837 		CFLAGS="$CFLAGS -errwarn"
   10838 
   10839 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10840 printf %s "checking if $CC supports -errwarn... " >&6; }
   10841 		cacheid=xorg_cv_cc_flag__errwarn
   10842 		if eval test \${$cacheid+y}
   10843 then :
   10844   printf %s "(cached) " >&6
   10845 else $as_nop
   10846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10847 /* end confdefs.h.  */
   10848 int i;
   10849 int
   10850 main (void)
   10851 {
   10852 
   10853   ;
   10854   return 0;
   10855 }
   10856 _ACEOF
   10857 if ac_fn_c_try_link "$LINENO"
   10858 then :
   10859   eval $cacheid=yes
   10860 else $as_nop
   10861   eval $cacheid=no
   10862 fi
   10863 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10864     conftest$ac_exeext conftest.$ac_ext
   10865 fi
   10866 
   10867 
   10868 		CFLAGS="$xorg_testset_save_CFLAGS"
   10869 
   10870 		eval supported=\$$cacheid
   10871 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10872 printf "%s\n" "$supported" >&6; }
   10873 		if test "$supported" = "yes" ; then
   10874 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10875 			found="yes"
   10876 		fi
   10877 	fi
   10878 
   10879 
   10880 
   10881 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10882 # activate it with -Werror, so we add it here explicitly.
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 xorg_testset_save_CFLAGS="$CFLAGS"
   10897 
   10898 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10899 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10900 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10901 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10902 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10903 then :
   10904   printf %s "(cached) " >&6
   10905 else $as_nop
   10906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10907 /* end confdefs.h.  */
   10908 int i;
   10909 _ACEOF
   10910 if ac_fn_c_try_compile "$LINENO"
   10911 then :
   10912   xorg_cv_cc_flag_unknown_warning_option=yes
   10913 else $as_nop
   10914   xorg_cv_cc_flag_unknown_warning_option=no
   10915 fi
   10916 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10917 fi
   10918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10919 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10920 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10921 	CFLAGS="$xorg_testset_save_CFLAGS"
   10922 fi
   10923 
   10924 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10925 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10926 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10927 	fi
   10928 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10930 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10931 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10932 then :
   10933   printf %s "(cached) " >&6
   10934 else $as_nop
   10935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10936 /* end confdefs.h.  */
   10937 int i;
   10938 _ACEOF
   10939 if ac_fn_c_try_compile "$LINENO"
   10940 then :
   10941   xorg_cv_cc_flag_unused_command_line_argument=yes
   10942 else $as_nop
   10943   xorg_cv_cc_flag_unused_command_line_argument=no
   10944 fi
   10945 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   10946 fi
   10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10948 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10949 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10950 	CFLAGS="$xorg_testset_save_CFLAGS"
   10951 fi
   10952 
   10953 found="no"
   10954 
   10955 	if test $found = "no" ; then
   10956 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10957 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10958 		fi
   10959 
   10960 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10961 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10962 		fi
   10963 
   10964 		CFLAGS="$CFLAGS -Werror=attributes"
   10965 
   10966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10967 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   10968 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10969 		if eval test \${$cacheid+y}
   10970 then :
   10971   printf %s "(cached) " >&6
   10972 else $as_nop
   10973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10974 /* end confdefs.h.  */
   10975 int i;
   10976 int
   10977 main (void)
   10978 {
   10979 
   10980   ;
   10981   return 0;
   10982 }
   10983 _ACEOF
   10984 if ac_fn_c_try_link "$LINENO"
   10985 then :
   10986   eval $cacheid=yes
   10987 else $as_nop
   10988   eval $cacheid=no
   10989 fi
   10990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10991     conftest$ac_exeext conftest.$ac_ext
   10992 fi
   10993 
   10994 
   10995 		CFLAGS="$xorg_testset_save_CFLAGS"
   10996 
   10997 		eval supported=\$$cacheid
   10998 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10999 printf "%s\n" "$supported" >&6; }
   11000 		if test "$supported" = "yes" ; then
   11001 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11002 			found="yes"
   11003 		fi
   11004 	fi
   11005 
   11006 
   11007 
   11008 if test "x$STRICT_COMPILE" = "xyes"; then
   11009     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11010     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11011 fi
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 cat >>confdefs.h <<_ACEOF
   11019 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11020 _ACEOF
   11021 
   11022 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11023 	if test "x$PVM" = "x"; then
   11024 		PVM="0"
   11025 	fi
   11026 
   11027 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11028 
   11029 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11030 	if test "x$PVP" = "x"; then
   11031 		PVP="0"
   11032 	fi
   11033 
   11034 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11035 
   11036 
   11037 
   11038 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11039 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11040 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11041 touch \$(top_srcdir)/ChangeLog; \
   11042 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11043 
   11044 
   11045 
   11046 
   11047 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11048 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11049 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11050 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11051 touch \$(top_srcdir)/INSTALL; \
   11052 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 case $host_os in
   11060     solaris*)
   11061         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11062         # check for a man page file found in later versions that use
   11063         # traditional section numbers instead
   11064         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11065 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11066 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11067 then :
   11068   printf %s "(cached) " >&6
   11069 else $as_nop
   11070   test "$cross_compiling" = yes &&
   11071   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11072 if test -r "/usr/share/man/man7/attributes.7"; then
   11073   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11074 else
   11075   ac_cv_file__usr_share_man_man7_attributes_7=no
   11076 fi
   11077 fi
   11078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11079 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11080 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11081 then :
   11082   SYSV_MAN_SECTIONS=false
   11083 else $as_nop
   11084   SYSV_MAN_SECTIONS=true
   11085 fi
   11086 
   11087         ;;
   11088     *) SYSV_MAN_SECTIONS=false ;;
   11089 esac
   11090 
   11091 if test x$APP_MAN_SUFFIX = x    ; then
   11092     APP_MAN_SUFFIX=1
   11093 fi
   11094 if test x$APP_MAN_DIR = x    ; then
   11095     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11096 fi
   11097 
   11098 if test x$LIB_MAN_SUFFIX = x    ; then
   11099     LIB_MAN_SUFFIX=3
   11100 fi
   11101 if test x$LIB_MAN_DIR = x    ; then
   11102     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11103 fi
   11104 
   11105 if test x$FILE_MAN_SUFFIX = x    ; then
   11106     case $SYSV_MAN_SECTIONS in
   11107 	true)				FILE_MAN_SUFFIX=4  ;;
   11108 	*)				FILE_MAN_SUFFIX=5  ;;
   11109     esac
   11110 fi
   11111 if test x$FILE_MAN_DIR = x    ; then
   11112     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11113 fi
   11114 
   11115 if test x$MISC_MAN_SUFFIX = x    ; then
   11116     case $SYSV_MAN_SECTIONS in
   11117 	true)				MISC_MAN_SUFFIX=5  ;;
   11118 	*)				MISC_MAN_SUFFIX=7  ;;
   11119     esac
   11120 fi
   11121 if test x$MISC_MAN_DIR = x    ; then
   11122     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11123 fi
   11124 
   11125 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11126     case $SYSV_MAN_SECTIONS in
   11127 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11128 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11129     esac
   11130 fi
   11131 if test x$DRIVER_MAN_DIR = x    ; then
   11132     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11133 fi
   11134 
   11135 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11136     case $SYSV_MAN_SECTIONS in
   11137 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11138 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11139     esac
   11140 fi
   11141 if test x$ADMIN_MAN_DIR = x    ; then
   11142     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11143 fi
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 XORG_MAN_PAGE="X Version 11"
   11160 
   11161 MAN_SUBSTS="\
   11162 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11163 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11164 	-e 's|__xservername__|Xorg|g' \
   11165 	-e 's|__xconfigfile__|xorg.conf|g' \
   11166 	-e 's|__projectroot__|\$(prefix)|g' \
   11167 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11168 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11169 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11170 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11171 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11172 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11173 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11174 
   11175 
   11176 
   11177 # Check whether --enable-silent-rules was given.
   11178 if test ${enable_silent_rules+y}
   11179 then :
   11180   enableval=$enable_silent_rules;
   11181 fi
   11182 
   11183 case $enable_silent_rules in # (((
   11184   yes) AM_DEFAULT_VERBOSITY=0;;
   11185    no) AM_DEFAULT_VERBOSITY=1;;
   11186     *) AM_DEFAULT_VERBOSITY=0;;
   11187 esac
   11188 am_make=${MAKE-make}
   11189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   11190 printf %s "checking whether $am_make supports nested variables... " >&6; }
   11191 if test ${am_cv_make_support_nested_variables+y}
   11192 then :
   11193   printf %s "(cached) " >&6
   11194 else $as_nop
   11195   if printf "%s\n" 'TRUE=$(BAR$(V))
   11196 BAR0=false
   11197 BAR1=true
   11198 V=1
   11199 am__doit:
   11200 	@$(TRUE)
   11201 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   11202   am_cv_make_support_nested_variables=yes
   11203 else
   11204   am_cv_make_support_nested_variables=no
   11205 fi
   11206 fi
   11207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   11208 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   11209 if test $am_cv_make_support_nested_variables = yes; then
   11210     AM_V='$(V)'
   11211   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11212 else
   11213   AM_V=$AM_DEFAULT_VERBOSITY
   11214   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11215 fi
   11216 AM_BACKSLASH='\'
   11217 
   11218 
   11219 
   11220 # Checks for programs.
   11221 # Check whether --enable-static was given.
   11222 if test ${enable_static+y}
   11223 then :
   11224   enableval=$enable_static; p=${PACKAGE-default}
   11225     case $enableval in
   11226     yes) enable_static=yes ;;
   11227     no) enable_static=no ;;
   11228     *)
   11229      enable_static=no
   11230       # Look at the argument we got.  We use all the common list separators.
   11231       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   11232       for pkg in $enableval; do
   11233 	IFS=$lt_save_ifs
   11234 	if test "X$pkg" = "X$p"; then
   11235 	  enable_static=yes
   11236 	fi
   11237       done
   11238       IFS=$lt_save_ifs
   11239       ;;
   11240     esac
   11241 else $as_nop
   11242   enable_static=no
   11243 fi
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 case `pwd` in
   11254   *\ * | *\	*)
   11255     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   11256 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   11257 esac
   11258 
   11259 
   11260 
   11261 macro_version='2.4.7'
   11262 macro_revision='2.4.7'
   11263 
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 ltmain=$ac_aux_dir/ltmain.sh
   11278 
   11279 # Backslashify metacharacters that are still active within
   11280 # double-quoted strings.
   11281 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   11282 
   11283 # Same as above, but do not quote variable references.
   11284 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   11285 
   11286 # Sed substitution to delay expansion of an escaped shell variable in a
   11287 # double_quote_subst'ed string.
   11288 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   11289 
   11290 # Sed substitution to delay expansion of an escaped single quote.
   11291 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   11292 
   11293 # Sed substitution to avoid accidental globbing in evaled expressions
   11294 no_glob_subst='s/\*/\\\*/g'
   11295 
   11296 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11297 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   11298 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   11299 
   11300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   11301 printf %s "checking how to print strings... " >&6; }
   11302 # Test print first, because it will be a builtin if present.
   11303 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   11304    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   11305   ECHO='print -r --'
   11306 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   11307   ECHO='printf %s\n'
   11308 else
   11309   # Use this function as a fallback that always works.
   11310   func_fallback_echo ()
   11311   {
   11312     eval 'cat <<_LTECHO_EOF
   11313 $1
   11314 _LTECHO_EOF'
   11315   }
   11316   ECHO='func_fallback_echo'
   11317 fi
   11318 
   11319 # func_echo_all arg...
   11320 # Invoke $ECHO with all args, space-separated.
   11321 func_echo_all ()
   11322 {
   11323     $ECHO ""
   11324 }
   11325 
   11326 case $ECHO in
   11327   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   11328 printf "%s\n" "printf" >&6; } ;;
   11329   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   11330 printf "%s\n" "print -r" >&6; } ;;
   11331   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   11332 printf "%s\n" "cat" >&6; } ;;
   11333 esac
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11349 printf %s "checking for a sed that does not truncate output... " >&6; }
   11350 if test ${ac_cv_path_SED+y}
   11351 then :
   11352   printf %s "(cached) " >&6
   11353 else $as_nop
   11354             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11355      for ac_i in 1 2 3 4 5 6 7; do
   11356        ac_script="$ac_script$as_nl$ac_script"
   11357      done
   11358      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11359      { ac_script=; unset ac_script;}
   11360      if test -z "$SED"; then
   11361   ac_path_SED_found=false
   11362   # Loop through the user's path and test for each of PROGNAME-LIST
   11363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11364 for as_dir in $PATH
   11365 do
   11366   IFS=$as_save_IFS
   11367   case $as_dir in #(((
   11368     '') as_dir=./ ;;
   11369     */) ;;
   11370     *) as_dir=$as_dir/ ;;
   11371   esac
   11372     for ac_prog in sed gsed
   11373    do
   11374     for ac_exec_ext in '' $ac_executable_extensions; do
   11375       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   11376       as_fn_executable_p "$ac_path_SED" || continue
   11377 # Check for GNU ac_path_SED and select it if it is found.
   11378   # Check for GNU $ac_path_SED
   11379 case `"$ac_path_SED" --version 2>&1` in
   11380 *GNU*)
   11381   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11382 *)
   11383   ac_count=0
   11384   printf %s 0123456789 >"conftest.in"
   11385   while :
   11386   do
   11387     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11388     mv "conftest.tmp" "conftest.in"
   11389     cp "conftest.in" "conftest.nl"
   11390     printf "%s\n" '' >> "conftest.nl"
   11391     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11392     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11393     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11394     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11395       # Best one so far, save it but keep looking for a better one
   11396       ac_cv_path_SED="$ac_path_SED"
   11397       ac_path_SED_max=$ac_count
   11398     fi
   11399     # 10*(2^10) chars as input seems more than enough
   11400     test $ac_count -gt 10 && break
   11401   done
   11402   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11403 esac
   11404 
   11405       $ac_path_SED_found && break 3
   11406     done
   11407   done
   11408   done
   11409 IFS=$as_save_IFS
   11410   if test -z "$ac_cv_path_SED"; then
   11411     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11412   fi
   11413 else
   11414   ac_cv_path_SED=$SED
   11415 fi
   11416 
   11417 fi
   11418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11419 printf "%s\n" "$ac_cv_path_SED" >&6; }
   11420  SED="$ac_cv_path_SED"
   11421   rm -f conftest.sed
   11422 
   11423 test -z "$SED" && SED=sed
   11424 Xsed="$SED -e 1s/^X//"
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   11437 printf %s "checking for grep that handles long lines and -e... " >&6; }
   11438 if test ${ac_cv_path_GREP+y}
   11439 then :
   11440   printf %s "(cached) " >&6
   11441 else $as_nop
   11442   if test -z "$GREP"; then
   11443   ac_path_GREP_found=false
   11444   # Loop through the user's path and test for each of PROGNAME-LIST
   11445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11446 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11447 do
   11448   IFS=$as_save_IFS
   11449   case $as_dir in #(((
   11450     '') as_dir=./ ;;
   11451     */) ;;
   11452     *) as_dir=$as_dir/ ;;
   11453   esac
   11454     for ac_prog in grep ggrep
   11455    do
   11456     for ac_exec_ext in '' $ac_executable_extensions; do
   11457       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   11458       as_fn_executable_p "$ac_path_GREP" || continue
   11459 # Check for GNU ac_path_GREP and select it if it is found.
   11460   # Check for GNU $ac_path_GREP
   11461 case `"$ac_path_GREP" --version 2>&1` in
   11462 *GNU*)
   11463   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   11464 *)
   11465   ac_count=0
   11466   printf %s 0123456789 >"conftest.in"
   11467   while :
   11468   do
   11469     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11470     mv "conftest.tmp" "conftest.in"
   11471     cp "conftest.in" "conftest.nl"
   11472     printf "%s\n" 'GREP' >> "conftest.nl"
   11473     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11474     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11475     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11476     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   11477       # Best one so far, save it but keep looking for a better one
   11478       ac_cv_path_GREP="$ac_path_GREP"
   11479       ac_path_GREP_max=$ac_count
   11480     fi
   11481     # 10*(2^10) chars as input seems more than enough
   11482     test $ac_count -gt 10 && break
   11483   done
   11484   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11485 esac
   11486 
   11487       $ac_path_GREP_found && break 3
   11488     done
   11489   done
   11490   done
   11491 IFS=$as_save_IFS
   11492   if test -z "$ac_cv_path_GREP"; then
   11493     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11494   fi
   11495 else
   11496   ac_cv_path_GREP=$GREP
   11497 fi
   11498 
   11499 fi
   11500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   11501 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   11502  GREP="$ac_cv_path_GREP"
   11503 
   11504 
   11505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   11506 printf %s "checking for egrep... " >&6; }
   11507 if test ${ac_cv_path_EGREP+y}
   11508 then :
   11509   printf %s "(cached) " >&6
   11510 else $as_nop
   11511   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   11512    then ac_cv_path_EGREP="$GREP -E"
   11513    else
   11514      if test -z "$EGREP"; then
   11515   ac_path_EGREP_found=false
   11516   # Loop through the user's path and test for each of PROGNAME-LIST
   11517   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11519 do
   11520   IFS=$as_save_IFS
   11521   case $as_dir in #(((
   11522     '') as_dir=./ ;;
   11523     */) ;;
   11524     *) as_dir=$as_dir/ ;;
   11525   esac
   11526     for ac_prog in egrep
   11527    do
   11528     for ac_exec_ext in '' $ac_executable_extensions; do
   11529       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   11530       as_fn_executable_p "$ac_path_EGREP" || continue
   11531 # Check for GNU ac_path_EGREP and select it if it is found.
   11532   # Check for GNU $ac_path_EGREP
   11533 case `"$ac_path_EGREP" --version 2>&1` in
   11534 *GNU*)
   11535   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   11536 *)
   11537   ac_count=0
   11538   printf %s 0123456789 >"conftest.in"
   11539   while :
   11540   do
   11541     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11542     mv "conftest.tmp" "conftest.in"
   11543     cp "conftest.in" "conftest.nl"
   11544     printf "%s\n" 'EGREP' >> "conftest.nl"
   11545     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11546     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11547     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11548     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   11549       # Best one so far, save it but keep looking for a better one
   11550       ac_cv_path_EGREP="$ac_path_EGREP"
   11551       ac_path_EGREP_max=$ac_count
   11552     fi
   11553     # 10*(2^10) chars as input seems more than enough
   11554     test $ac_count -gt 10 && break
   11555   done
   11556   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11557 esac
   11558 
   11559       $ac_path_EGREP_found && break 3
   11560     done
   11561   done
   11562   done
   11563 IFS=$as_save_IFS
   11564   if test -z "$ac_cv_path_EGREP"; then
   11565     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11566   fi
   11567 else
   11568   ac_cv_path_EGREP=$EGREP
   11569 fi
   11570 
   11571    fi
   11572 fi
   11573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   11574 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   11575  EGREP="$ac_cv_path_EGREP"
   11576 
   11577 
   11578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11579 printf %s "checking for fgrep... " >&6; }
   11580 if test ${ac_cv_path_FGREP+y}
   11581 then :
   11582   printf %s "(cached) " >&6
   11583 else $as_nop
   11584   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11585    then ac_cv_path_FGREP="$GREP -F"
   11586    else
   11587      if test -z "$FGREP"; then
   11588   ac_path_FGREP_found=false
   11589   # Loop through the user's path and test for each of PROGNAME-LIST
   11590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11591 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11592 do
   11593   IFS=$as_save_IFS
   11594   case $as_dir in #(((
   11595     '') as_dir=./ ;;
   11596     */) ;;
   11597     *) as_dir=$as_dir/ ;;
   11598   esac
   11599     for ac_prog in fgrep
   11600    do
   11601     for ac_exec_ext in '' $ac_executable_extensions; do
   11602       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   11603       as_fn_executable_p "$ac_path_FGREP" || continue
   11604 # Check for GNU ac_path_FGREP and select it if it is found.
   11605   # Check for GNU $ac_path_FGREP
   11606 case `"$ac_path_FGREP" --version 2>&1` in
   11607 *GNU*)
   11608   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11609 *)
   11610   ac_count=0
   11611   printf %s 0123456789 >"conftest.in"
   11612   while :
   11613   do
   11614     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11615     mv "conftest.tmp" "conftest.in"
   11616     cp "conftest.in" "conftest.nl"
   11617     printf "%s\n" 'FGREP' >> "conftest.nl"
   11618     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11619     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11620     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11621     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11622       # Best one so far, save it but keep looking for a better one
   11623       ac_cv_path_FGREP="$ac_path_FGREP"
   11624       ac_path_FGREP_max=$ac_count
   11625     fi
   11626     # 10*(2^10) chars as input seems more than enough
   11627     test $ac_count -gt 10 && break
   11628   done
   11629   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11630 esac
   11631 
   11632       $ac_path_FGREP_found && break 3
   11633     done
   11634   done
   11635   done
   11636 IFS=$as_save_IFS
   11637   if test -z "$ac_cv_path_FGREP"; then
   11638     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11639   fi
   11640 else
   11641   ac_cv_path_FGREP=$FGREP
   11642 fi
   11643 
   11644    fi
   11645 fi
   11646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11647 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   11648  FGREP="$ac_cv_path_FGREP"
   11649 
   11650 
   11651 test -z "$GREP" && GREP=grep
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 # Check whether --with-gnu-ld was given.
   11672 if test ${with_gnu_ld+y}
   11673 then :
   11674   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11675 else $as_nop
   11676   with_gnu_ld=no
   11677 fi
   11678 
   11679 ac_prog=ld
   11680 if test yes = "$GCC"; then
   11681   # Check if gcc -print-prog-name=ld gives a path.
   11682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11683 printf %s "checking for ld used by $CC... " >&6; }
   11684   case $host in
   11685   *-*-mingw*)
   11686     # gcc leaves a trailing carriage return, which upsets mingw
   11687     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11688   *)
   11689     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11690   esac
   11691   case $ac_prog in
   11692     # Accept absolute paths.
   11693     [\\/]* | ?:[\\/]*)
   11694       re_direlt='/[^/][^/]*/\.\./'
   11695       # Canonicalize the pathname of ld
   11696       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11697       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11698 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11699       done
   11700       test -z "$LD" && LD=$ac_prog
   11701       ;;
   11702   "")
   11703     # If it fails, then pretend we aren't using GCC.
   11704     ac_prog=ld
   11705     ;;
   11706   *)
   11707     # If it is relative, then search for the first ld in PATH.
   11708     with_gnu_ld=unknown
   11709     ;;
   11710   esac
   11711 elif test yes = "$with_gnu_ld"; then
   11712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11713 printf %s "checking for GNU ld... " >&6; }
   11714 else
   11715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11716 printf %s "checking for non-GNU ld... " >&6; }
   11717 fi
   11718 if test ${lt_cv_path_LD+y}
   11719 then :
   11720   printf %s "(cached) " >&6
   11721 else $as_nop
   11722   if test -z "$LD"; then
   11723   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11724   for ac_dir in $PATH; do
   11725     IFS=$lt_save_ifs
   11726     test -z "$ac_dir" && ac_dir=.
   11727     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11728       lt_cv_path_LD=$ac_dir/$ac_prog
   11729       # Check to see if the program is GNU ld.  I'd rather use --version,
   11730       # but apparently some variants of GNU ld only accept -v.
   11731       # Break only if it was the GNU/non-GNU ld that we prefer.
   11732       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11733       *GNU* | *'with BFD'*)
   11734 	test no != "$with_gnu_ld" && break
   11735 	;;
   11736       *)
   11737 	test yes != "$with_gnu_ld" && break
   11738 	;;
   11739       esac
   11740     fi
   11741   done
   11742   IFS=$lt_save_ifs
   11743 else
   11744   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11745 fi
   11746 fi
   11747 
   11748 LD=$lt_cv_path_LD
   11749 if test -n "$LD"; then
   11750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11751 printf "%s\n" "$LD" >&6; }
   11752 else
   11753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11754 printf "%s\n" "no" >&6; }
   11755 fi
   11756 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11758 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   11759 if test ${lt_cv_prog_gnu_ld+y}
   11760 then :
   11761   printf %s "(cached) " >&6
   11762 else $as_nop
   11763   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11764 case `$LD -v 2>&1 </dev/null` in
   11765 *GNU* | *'with BFD'*)
   11766   lt_cv_prog_gnu_ld=yes
   11767   ;;
   11768 *)
   11769   lt_cv_prog_gnu_ld=no
   11770   ;;
   11771 esac
   11772 fi
   11773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11774 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   11775 with_gnu_ld=$lt_cv_prog_gnu_ld
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11786 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11787 if test ${lt_cv_path_NM+y}
   11788 then :
   11789   printf %s "(cached) " >&6
   11790 else $as_nop
   11791   if test -n "$NM"; then
   11792   # Let the user override the test.
   11793   lt_cv_path_NM=$NM
   11794 else
   11795   lt_nm_to_check=${ac_tool_prefix}nm
   11796   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11797     lt_nm_to_check="$lt_nm_to_check nm"
   11798   fi
   11799   for lt_tmp_nm in $lt_nm_to_check; do
   11800     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11801     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11802       IFS=$lt_save_ifs
   11803       test -z "$ac_dir" && ac_dir=.
   11804       tmp_nm=$ac_dir/$lt_tmp_nm
   11805       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11806 	# Check to see if the nm accepts a BSD-compat flag.
   11807 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11808 	#   nm: unknown option "B" ignored
   11809 	# Tru64's nm complains that /dev/null is an invalid object file
   11810 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11811 	case $build_os in
   11812 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11813 	*) lt_bad_file=/dev/null ;;
   11814 	esac
   11815 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   11816 	*$lt_bad_file* | *'Invalid file or object type'*)
   11817 	  lt_cv_path_NM="$tmp_nm -B"
   11818 	  break 2
   11819 	  ;;
   11820 	*)
   11821 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   11822 	  */dev/null*)
   11823 	    lt_cv_path_NM="$tmp_nm -p"
   11824 	    break 2
   11825 	    ;;
   11826 	  *)
   11827 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11828 	    continue # so that we can try to find one that supports BSD flags
   11829 	    ;;
   11830 	  esac
   11831 	  ;;
   11832 	esac
   11833       fi
   11834     done
   11835     IFS=$lt_save_ifs
   11836   done
   11837   : ${lt_cv_path_NM=no}
   11838 fi
   11839 fi
   11840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11841 printf "%s\n" "$lt_cv_path_NM" >&6; }
   11842 if test no != "$lt_cv_path_NM"; then
   11843   NM=$lt_cv_path_NM
   11844 else
   11845   # Didn't find any BSD compatible name lister, look for dumpbin.
   11846   if test -n "$DUMPBIN"; then :
   11847     # Let the user override the test.
   11848   else
   11849     if test -n "$ac_tool_prefix"; then
   11850   for ac_prog in dumpbin "link -dump"
   11851   do
   11852     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11853 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11855 printf %s "checking for $ac_word... " >&6; }
   11856 if test ${ac_cv_prog_DUMPBIN+y}
   11857 then :
   11858   printf %s "(cached) " >&6
   11859 else $as_nop
   11860   if test -n "$DUMPBIN"; then
   11861   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11862 else
   11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11864 for as_dir in $PATH
   11865 do
   11866   IFS=$as_save_IFS
   11867   case $as_dir in #(((
   11868     '') as_dir=./ ;;
   11869     */) ;;
   11870     *) as_dir=$as_dir/ ;;
   11871   esac
   11872     for ac_exec_ext in '' $ac_executable_extensions; do
   11873   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11874     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11875     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11876     break 2
   11877   fi
   11878 done
   11879   done
   11880 IFS=$as_save_IFS
   11881 
   11882 fi
   11883 fi
   11884 DUMPBIN=$ac_cv_prog_DUMPBIN
   11885 if test -n "$DUMPBIN"; then
   11886   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11887 printf "%s\n" "$DUMPBIN" >&6; }
   11888 else
   11889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11890 printf "%s\n" "no" >&6; }
   11891 fi
   11892 
   11893 
   11894     test -n "$DUMPBIN" && break
   11895   done
   11896 fi
   11897 if test -z "$DUMPBIN"; then
   11898   ac_ct_DUMPBIN=$DUMPBIN
   11899   for ac_prog in dumpbin "link -dump"
   11900 do
   11901   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11902 set dummy $ac_prog; ac_word=$2
   11903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11904 printf %s "checking for $ac_word... " >&6; }
   11905 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   11906 then :
   11907   printf %s "(cached) " >&6
   11908 else $as_nop
   11909   if test -n "$ac_ct_DUMPBIN"; then
   11910   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11911 else
   11912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11913 for as_dir in $PATH
   11914 do
   11915   IFS=$as_save_IFS
   11916   case $as_dir in #(((
   11917     '') as_dir=./ ;;
   11918     */) ;;
   11919     *) as_dir=$as_dir/ ;;
   11920   esac
   11921     for ac_exec_ext in '' $ac_executable_extensions; do
   11922   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   11923     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11924     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   11925     break 2
   11926   fi
   11927 done
   11928   done
   11929 IFS=$as_save_IFS
   11930 
   11931 fi
   11932 fi
   11933 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11934 if test -n "$ac_ct_DUMPBIN"; then
   11935   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11936 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   11937 else
   11938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11939 printf "%s\n" "no" >&6; }
   11940 fi
   11941 
   11942 
   11943   test -n "$ac_ct_DUMPBIN" && break
   11944 done
   11945 
   11946   if test "x$ac_ct_DUMPBIN" = x; then
   11947     DUMPBIN=":"
   11948   else
   11949     case $cross_compiling:$ac_tool_warned in
   11950 yes:)
   11951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11952 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11953 ac_tool_warned=yes ;;
   11954 esac
   11955     DUMPBIN=$ac_ct_DUMPBIN
   11956   fi
   11957 fi
   11958 
   11959     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   11960     *COFF*)
   11961       DUMPBIN="$DUMPBIN -symbols -headers"
   11962       ;;
   11963     *)
   11964       DUMPBIN=:
   11965       ;;
   11966     esac
   11967   fi
   11968 
   11969   if test : != "$DUMPBIN"; then
   11970     NM=$DUMPBIN
   11971   fi
   11972 fi
   11973 test -z "$NM" && NM=nm
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11981 printf %s "checking the name lister ($NM) interface... " >&6; }
   11982 if test ${lt_cv_nm_interface+y}
   11983 then :
   11984   printf %s "(cached) " >&6
   11985 else $as_nop
   11986   lt_cv_nm_interface="BSD nm"
   11987   echo "int some_variable = 0;" > conftest.$ac_ext
   11988   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11989   (eval "$ac_compile" 2>conftest.err)
   11990   cat conftest.err >&5
   11991   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11992   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11993   cat conftest.err >&5
   11994   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11995   cat conftest.out >&5
   11996   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11997     lt_cv_nm_interface="MS dumpbin"
   11998   fi
   11999   rm -f conftest*
   12000 fi
   12001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   12002 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   12003 
   12004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   12005 printf %s "checking whether ln -s works... " >&6; }
   12006 LN_S=$as_ln_s
   12007 if test "$LN_S" = "ln -s"; then
   12008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12009 printf "%s\n" "yes" >&6; }
   12010 else
   12011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   12012 printf "%s\n" "no, using $LN_S" >&6; }
   12013 fi
   12014 
   12015 # find the maximum length of command line arguments
   12016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   12017 printf %s "checking the maximum length of command line arguments... " >&6; }
   12018 if test ${lt_cv_sys_max_cmd_len+y}
   12019 then :
   12020   printf %s "(cached) " >&6
   12021 else $as_nop
   12022     i=0
   12023   teststring=ABCD
   12024 
   12025   case $build_os in
   12026   msdosdjgpp*)
   12027     # On DJGPP, this test can blow up pretty badly due to problems in libc
   12028     # (any single argument exceeding 2000 bytes causes a buffer overrun
   12029     # during glob expansion).  Even if it were fixed, the result of this
   12030     # check would be larger than it should be.
   12031     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   12032     ;;
   12033 
   12034   gnu*)
   12035     # Under GNU Hurd, this test is not required because there is
   12036     # no limit to the length of command line arguments.
   12037     # Libtool will interpret -1 as no limit whatsoever
   12038     lt_cv_sys_max_cmd_len=-1;
   12039     ;;
   12040 
   12041   cygwin* | mingw* | cegcc*)
   12042     # On Win9x/ME, this test blows up -- it succeeds, but takes
   12043     # about 5 minutes as the teststring grows exponentially.
   12044     # Worse, since 9x/ME are not pre-emptively multitasking,
   12045     # you end up with a "frozen" computer, even though with patience
   12046     # the test eventually succeeds (with a max line length of 256k).
   12047     # Instead, let's just punt: use the minimum linelength reported by
   12048     # all of the supported platforms: 8192 (on NT/2K/XP).
   12049     lt_cv_sys_max_cmd_len=8192;
   12050     ;;
   12051 
   12052   mint*)
   12053     # On MiNT this can take a long time and run out of memory.
   12054     lt_cv_sys_max_cmd_len=8192;
   12055     ;;
   12056 
   12057   amigaos*)
   12058     # On AmigaOS with pdksh, this test takes hours, literally.
   12059     # So we just punt and use a minimum line length of 8192.
   12060     lt_cv_sys_max_cmd_len=8192;
   12061     ;;
   12062 
   12063   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   12064     # This has been around since 386BSD, at least.  Likely further.
   12065     if test -x /sbin/sysctl; then
   12066       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   12067     elif test -x /usr/sbin/sysctl; then
   12068       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   12069     else
   12070       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   12071     fi
   12072     # And add a safety zone
   12073     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12074     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12075     ;;
   12076 
   12077   interix*)
   12078     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   12079     lt_cv_sys_max_cmd_len=196608
   12080     ;;
   12081 
   12082   os2*)
   12083     # The test takes a long time on OS/2.
   12084     lt_cv_sys_max_cmd_len=8192
   12085     ;;
   12086 
   12087   osf*)
   12088     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   12089     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   12090     # nice to cause kernel panics so lets avoid the loop below.
   12091     # First set a reasonable default.
   12092     lt_cv_sys_max_cmd_len=16384
   12093     #
   12094     if test -x /sbin/sysconfig; then
   12095       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   12096         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   12097       esac
   12098     fi
   12099     ;;
   12100   sco3.2v5*)
   12101     lt_cv_sys_max_cmd_len=102400
   12102     ;;
   12103   sysv5* | sco5v6* | sysv4.2uw2*)
   12104     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   12105     if test -n "$kargmax"; then
   12106       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   12107     else
   12108       lt_cv_sys_max_cmd_len=32768
   12109     fi
   12110     ;;
   12111   *)
   12112     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   12113     if test -n "$lt_cv_sys_max_cmd_len" && \
   12114        test undefined != "$lt_cv_sys_max_cmd_len"; then
   12115       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   12116       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   12117     else
   12118       # Make teststring a little bigger before we do anything with it.
   12119       # a 1K string should be a reasonable start.
   12120       for i in 1 2 3 4 5 6 7 8; do
   12121         teststring=$teststring$teststring
   12122       done
   12123       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   12124       # If test is not a shell built-in, we'll probably end up computing a
   12125       # maximum length that is only half of the actual maximum length, but
   12126       # we can't tell.
   12127       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   12128 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   12129 	      test 17 != "$i" # 1/2 MB should be enough
   12130       do
   12131         i=`expr $i + 1`
   12132         teststring=$teststring$teststring
   12133       done
   12134       # Only check the string length outside the loop.
   12135       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   12136       teststring=
   12137       # Add a significant safety factor because C++ compilers can tack on
   12138       # massive amounts of additional arguments before passing them to the
   12139       # linker.  It appears as though 1/2 is a usable value.
   12140       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   12141     fi
   12142     ;;
   12143   esac
   12144 
   12145 fi
   12146 
   12147 if test -n "$lt_cv_sys_max_cmd_len"; then
   12148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   12149 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   12150 else
   12151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   12152 printf "%s\n" "none" >&6; }
   12153 fi
   12154 max_cmd_len=$lt_cv_sys_max_cmd_len
   12155 
   12156 
   12157 
   12158 
   12159 
   12160 
   12161 : ${CP="cp -f"}
   12162 : ${MV="mv -f"}
   12163 : ${RM="rm -f"}
   12164 
   12165 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   12166   lt_unset=unset
   12167 else
   12168   lt_unset=false
   12169 fi
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 # test EBCDIC or ASCII
   12176 case `echo X|tr X '\101'` in
   12177  A) # ASCII based system
   12178     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   12179   lt_SP2NL='tr \040 \012'
   12180   lt_NL2SP='tr \015\012 \040\040'
   12181   ;;
   12182  *) # EBCDIC based system
   12183   lt_SP2NL='tr \100 \n'
   12184   lt_NL2SP='tr \r\n \100\100'
   12185   ;;
   12186 esac
   12187 
   12188 
   12189 
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   12197 printf %s "checking how to convert $build file names to $host format... " >&6; }
   12198 if test ${lt_cv_to_host_file_cmd+y}
   12199 then :
   12200   printf %s "(cached) " >&6
   12201 else $as_nop
   12202   case $host in
   12203   *-*-mingw* )
   12204     case $build in
   12205       *-*-mingw* ) # actually msys
   12206         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   12207         ;;
   12208       *-*-cygwin* )
   12209         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   12210         ;;
   12211       * ) # otherwise, assume *nix
   12212         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   12213         ;;
   12214     esac
   12215     ;;
   12216   *-*-cygwin* )
   12217     case $build in
   12218       *-*-mingw* ) # actually msys
   12219         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   12220         ;;
   12221       *-*-cygwin* )
   12222         lt_cv_to_host_file_cmd=func_convert_file_noop
   12223         ;;
   12224       * ) # otherwise, assume *nix
   12225         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   12226         ;;
   12227     esac
   12228     ;;
   12229   * ) # unhandled hosts (and "normal" native builds)
   12230     lt_cv_to_host_file_cmd=func_convert_file_noop
   12231     ;;
   12232 esac
   12233 
   12234 fi
   12235 
   12236 to_host_file_cmd=$lt_cv_to_host_file_cmd
   12237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   12238 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   12245 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   12246 if test ${lt_cv_to_tool_file_cmd+y}
   12247 then :
   12248   printf %s "(cached) " >&6
   12249 else $as_nop
   12250   #assume ordinary cross tools, or native build.
   12251 lt_cv_to_tool_file_cmd=func_convert_file_noop
   12252 case $host in
   12253   *-*-mingw* )
   12254     case $build in
   12255       *-*-mingw* ) # actually msys
   12256         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   12257         ;;
   12258     esac
   12259     ;;
   12260 esac
   12261 
   12262 fi
   12263 
   12264 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   12266 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   12273 printf %s "checking for $LD option to reload object files... " >&6; }
   12274 if test ${lt_cv_ld_reload_flag+y}
   12275 then :
   12276   printf %s "(cached) " >&6
   12277 else $as_nop
   12278   lt_cv_ld_reload_flag='-r'
   12279 fi
   12280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   12281 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   12282 reload_flag=$lt_cv_ld_reload_flag
   12283 case $reload_flag in
   12284 "" | " "*) ;;
   12285 *) reload_flag=" $reload_flag" ;;
   12286 esac
   12287 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12288 case $host_os in
   12289   cygwin* | mingw* | pw32* | cegcc*)
   12290     if test yes != "$GCC"; then
   12291       reload_cmds=false
   12292     fi
   12293     ;;
   12294   darwin*)
   12295     if test yes = "$GCC"; then
   12296       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   12297     else
   12298       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   12299     fi
   12300     ;;
   12301 esac
   12302 
   12303 
   12304 
   12305 
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 if test -n "$ac_tool_prefix"; then
   12312   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   12313 set dummy ${ac_tool_prefix}file; ac_word=$2
   12314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12315 printf %s "checking for $ac_word... " >&6; }
   12316 if test ${ac_cv_prog_FILECMD+y}
   12317 then :
   12318   printf %s "(cached) " >&6
   12319 else $as_nop
   12320   if test -n "$FILECMD"; then
   12321   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   12322 else
   12323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12324 for as_dir in $PATH
   12325 do
   12326   IFS=$as_save_IFS
   12327   case $as_dir in #(((
   12328     '') as_dir=./ ;;
   12329     */) ;;
   12330     *) as_dir=$as_dir/ ;;
   12331   esac
   12332     for ac_exec_ext in '' $ac_executable_extensions; do
   12333   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12334     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   12335     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12336     break 2
   12337   fi
   12338 done
   12339   done
   12340 IFS=$as_save_IFS
   12341 
   12342 fi
   12343 fi
   12344 FILECMD=$ac_cv_prog_FILECMD
   12345 if test -n "$FILECMD"; then
   12346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   12347 printf "%s\n" "$FILECMD" >&6; }
   12348 else
   12349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12350 printf "%s\n" "no" >&6; }
   12351 fi
   12352 
   12353 
   12354 fi
   12355 if test -z "$ac_cv_prog_FILECMD"; then
   12356   ac_ct_FILECMD=$FILECMD
   12357   # Extract the first word of "file", so it can be a program name with args.
   12358 set dummy file; ac_word=$2
   12359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12360 printf %s "checking for $ac_word... " >&6; }
   12361 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   12362 then :
   12363   printf %s "(cached) " >&6
   12364 else $as_nop
   12365   if test -n "$ac_ct_FILECMD"; then
   12366   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   12367 else
   12368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12369 for as_dir in $PATH
   12370 do
   12371   IFS=$as_save_IFS
   12372   case $as_dir in #(((
   12373     '') as_dir=./ ;;
   12374     */) ;;
   12375     *) as_dir=$as_dir/ ;;
   12376   esac
   12377     for ac_exec_ext in '' $ac_executable_extensions; do
   12378   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12379     ac_cv_prog_ac_ct_FILECMD="file"
   12380     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12381     break 2
   12382   fi
   12383 done
   12384   done
   12385 IFS=$as_save_IFS
   12386 
   12387 fi
   12388 fi
   12389 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   12390 if test -n "$ac_ct_FILECMD"; then
   12391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   12392 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   12393 else
   12394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12395 printf "%s\n" "no" >&6; }
   12396 fi
   12397 
   12398   if test "x$ac_ct_FILECMD" = x; then
   12399     FILECMD=":"
   12400   else
   12401     case $cross_compiling:$ac_tool_warned in
   12402 yes:)
   12403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12404 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12405 ac_tool_warned=yes ;;
   12406 esac
   12407     FILECMD=$ac_ct_FILECMD
   12408   fi
   12409 else
   12410   FILECMD="$ac_cv_prog_FILECMD"
   12411 fi
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 if test -n "$ac_tool_prefix"; then
   12420   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   12421 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   12422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12423 printf %s "checking for $ac_word... " >&6; }
   12424 if test ${ac_cv_prog_OBJDUMP+y}
   12425 then :
   12426   printf %s "(cached) " >&6
   12427 else $as_nop
   12428   if test -n "$OBJDUMP"; then
   12429   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   12430 else
   12431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12432 for as_dir in $PATH
   12433 do
   12434   IFS=$as_save_IFS
   12435   case $as_dir in #(((
   12436     '') as_dir=./ ;;
   12437     */) ;;
   12438     *) as_dir=$as_dir/ ;;
   12439   esac
   12440     for ac_exec_ext in '' $ac_executable_extensions; do
   12441   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12442     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   12443     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12444     break 2
   12445   fi
   12446 done
   12447   done
   12448 IFS=$as_save_IFS
   12449 
   12450 fi
   12451 fi
   12452 OBJDUMP=$ac_cv_prog_OBJDUMP
   12453 if test -n "$OBJDUMP"; then
   12454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   12455 printf "%s\n" "$OBJDUMP" >&6; }
   12456 else
   12457   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12458 printf "%s\n" "no" >&6; }
   12459 fi
   12460 
   12461 
   12462 fi
   12463 if test -z "$ac_cv_prog_OBJDUMP"; then
   12464   ac_ct_OBJDUMP=$OBJDUMP
   12465   # Extract the first word of "objdump", so it can be a program name with args.
   12466 set dummy objdump; ac_word=$2
   12467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12468 printf %s "checking for $ac_word... " >&6; }
   12469 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   12470 then :
   12471   printf %s "(cached) " >&6
   12472 else $as_nop
   12473   if test -n "$ac_ct_OBJDUMP"; then
   12474   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   12475 else
   12476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12477 for as_dir in $PATH
   12478 do
   12479   IFS=$as_save_IFS
   12480   case $as_dir in #(((
   12481     '') as_dir=./ ;;
   12482     */) ;;
   12483     *) as_dir=$as_dir/ ;;
   12484   esac
   12485     for ac_exec_ext in '' $ac_executable_extensions; do
   12486   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12487     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   12488     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12489     break 2
   12490   fi
   12491 done
   12492   done
   12493 IFS=$as_save_IFS
   12494 
   12495 fi
   12496 fi
   12497 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   12498 if test -n "$ac_ct_OBJDUMP"; then
   12499   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   12500 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   12501 else
   12502   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12503 printf "%s\n" "no" >&6; }
   12504 fi
   12505 
   12506   if test "x$ac_ct_OBJDUMP" = x; then
   12507     OBJDUMP="false"
   12508   else
   12509     case $cross_compiling:$ac_tool_warned in
   12510 yes:)
   12511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12512 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12513 ac_tool_warned=yes ;;
   12514 esac
   12515     OBJDUMP=$ac_ct_OBJDUMP
   12516   fi
   12517 else
   12518   OBJDUMP="$ac_cv_prog_OBJDUMP"
   12519 fi
   12520 
   12521 test -z "$OBJDUMP" && OBJDUMP=objdump
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 
   12528 
   12529 
   12530 
   12531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   12532 printf %s "checking how to recognize dependent libraries... " >&6; }
   12533 if test ${lt_cv_deplibs_check_method+y}
   12534 then :
   12535   printf %s "(cached) " >&6
   12536 else $as_nop
   12537   lt_cv_file_magic_cmd='$MAGIC_CMD'
   12538 lt_cv_file_magic_test_file=
   12539 lt_cv_deplibs_check_method='unknown'
   12540 # Need to set the preceding variable on all platforms that support
   12541 # interlibrary dependencies.
   12542 # 'none' -- dependencies not supported.
   12543 # 'unknown' -- same as none, but documents that we really don't know.
   12544 # 'pass_all' -- all dependencies passed with no checks.
   12545 # 'test_compile' -- check by making test program.
   12546 # 'file_magic [[regex]]' -- check by looking for files in library path
   12547 # that responds to the $file_magic_cmd with a given extended regex.
   12548 # If you have 'file' or equivalent on your system and you're not sure
   12549 # whether 'pass_all' will *always* work, you probably want this one.
   12550 
   12551 case $host_os in
   12552 aix[4-9]*)
   12553   lt_cv_deplibs_check_method=pass_all
   12554   ;;
   12555 
   12556 beos*)
   12557   lt_cv_deplibs_check_method=pass_all
   12558   ;;
   12559 
   12560 bsdi[45]*)
   12561   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   12562   lt_cv_file_magic_cmd='$FILECMD -L'
   12563   lt_cv_file_magic_test_file=/shlib/libc.so
   12564   ;;
   12565 
   12566 cygwin*)
   12567   # func_win32_libid is a shell function defined in ltmain.sh
   12568   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12569   lt_cv_file_magic_cmd='func_win32_libid'
   12570   ;;
   12571 
   12572 mingw* | pw32*)
   12573   # Base MSYS/MinGW do not provide the 'file' command needed by
   12574   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   12575   # unless we find 'file', for example because we are cross-compiling.
   12576   if ( file / ) >/dev/null 2>&1; then
   12577     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   12578     lt_cv_file_magic_cmd='func_win32_libid'
   12579   else
   12580     # Keep this pattern in sync with the one in func_win32_libid.
   12581     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   12582     lt_cv_file_magic_cmd='$OBJDUMP -f'
   12583   fi
   12584   ;;
   12585 
   12586 cegcc*)
   12587   # use the weaker test based on 'objdump'. See mingw*.
   12588   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   12589   lt_cv_file_magic_cmd='$OBJDUMP -f'
   12590   ;;
   12591 
   12592 darwin* | rhapsody*)
   12593   lt_cv_deplibs_check_method=pass_all
   12594   ;;
   12595 
   12596 freebsd* | dragonfly* | midnightbsd*)
   12597   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12598     case $host_cpu in
   12599     i*86 )
   12600       # Not sure whether the presence of OpenBSD here was a mistake.
   12601       # Let's accept both of them until this is cleared up.
   12602       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   12603       lt_cv_file_magic_cmd=$FILECMD
   12604       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   12605       ;;
   12606     esac
   12607   else
   12608     lt_cv_deplibs_check_method=pass_all
   12609   fi
   12610   ;;
   12611 
   12612 haiku*)
   12613   lt_cv_deplibs_check_method=pass_all
   12614   ;;
   12615 
   12616 hpux10.20* | hpux11*)
   12617   lt_cv_file_magic_cmd=$FILECMD
   12618   case $host_cpu in
   12619   ia64*)
   12620     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   12621     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   12622     ;;
   12623   hppa*64*)
   12624     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]'
   12625     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   12626     ;;
   12627   *)
   12628     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   12629     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12630     ;;
   12631   esac
   12632   ;;
   12633 
   12634 interix[3-9]*)
   12635   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12636   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12637   ;;
   12638 
   12639 irix5* | irix6* | nonstopux*)
   12640   case $LD in
   12641   *-32|*"-32 ") libmagic=32-bit;;
   12642   *-n32|*"-n32 ") libmagic=N32;;
   12643   *-64|*"-64 ") libmagic=64-bit;;
   12644   *) libmagic=never-match;;
   12645   esac
   12646   lt_cv_deplibs_check_method=pass_all
   12647   ;;
   12648 
   12649 # This must be glibc/ELF.
   12650 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12651   lt_cv_deplibs_check_method=pass_all
   12652   ;;
   12653 
   12654 netbsd*)
   12655   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12656     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12657   else
   12658     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12659   fi
   12660   ;;
   12661 
   12662 newos6*)
   12663   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12664   lt_cv_file_magic_cmd=$FILECMD
   12665   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12666   ;;
   12667 
   12668 *nto* | *qnx*)
   12669   lt_cv_deplibs_check_method=pass_all
   12670   ;;
   12671 
   12672 openbsd* | bitrig*)
   12673   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12674     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12675   else
   12676     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12677   fi
   12678   ;;
   12679 
   12680 osf3* | osf4* | osf5*)
   12681   lt_cv_deplibs_check_method=pass_all
   12682   ;;
   12683 
   12684 rdos*)
   12685   lt_cv_deplibs_check_method=pass_all
   12686   ;;
   12687 
   12688 solaris*)
   12689   lt_cv_deplibs_check_method=pass_all
   12690   ;;
   12691 
   12692 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12693   lt_cv_deplibs_check_method=pass_all
   12694   ;;
   12695 
   12696 sysv4 | sysv4.3*)
   12697   case $host_vendor in
   12698   motorola)
   12699     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]'
   12700     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12701     ;;
   12702   ncr)
   12703     lt_cv_deplibs_check_method=pass_all
   12704     ;;
   12705   sequent)
   12706     lt_cv_file_magic_cmd='/bin/file'
   12707     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12708     ;;
   12709   sni)
   12710     lt_cv_file_magic_cmd='/bin/file'
   12711     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12712     lt_cv_file_magic_test_file=/lib/libc.so
   12713     ;;
   12714   siemens)
   12715     lt_cv_deplibs_check_method=pass_all
   12716     ;;
   12717   pc)
   12718     lt_cv_deplibs_check_method=pass_all
   12719     ;;
   12720   esac
   12721   ;;
   12722 
   12723 tpf*)
   12724   lt_cv_deplibs_check_method=pass_all
   12725   ;;
   12726 os2*)
   12727   lt_cv_deplibs_check_method=pass_all
   12728   ;;
   12729 esac
   12730 
   12731 fi
   12732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12733 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   12734 
   12735 file_magic_glob=
   12736 want_nocaseglob=no
   12737 if test "$build" = "$host"; then
   12738   case $host_os in
   12739   mingw* | pw32*)
   12740     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12741       want_nocaseglob=yes
   12742     else
   12743       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12744     fi
   12745     ;;
   12746   esac
   12747 fi
   12748 
   12749 file_magic_cmd=$lt_cv_file_magic_cmd
   12750 deplibs_check_method=$lt_cv_deplibs_check_method
   12751 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 if test -n "$ac_tool_prefix"; then
   12775   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12776 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12778 printf %s "checking for $ac_word... " >&6; }
   12779 if test ${ac_cv_prog_DLLTOOL+y}
   12780 then :
   12781   printf %s "(cached) " >&6
   12782 else $as_nop
   12783   if test -n "$DLLTOOL"; then
   12784   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12785 else
   12786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12787 for as_dir in $PATH
   12788 do
   12789   IFS=$as_save_IFS
   12790   case $as_dir in #(((
   12791     '') as_dir=./ ;;
   12792     */) ;;
   12793     *) as_dir=$as_dir/ ;;
   12794   esac
   12795     for ac_exec_ext in '' $ac_executable_extensions; do
   12796   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12797     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12798     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12799     break 2
   12800   fi
   12801 done
   12802   done
   12803 IFS=$as_save_IFS
   12804 
   12805 fi
   12806 fi
   12807 DLLTOOL=$ac_cv_prog_DLLTOOL
   12808 if test -n "$DLLTOOL"; then
   12809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12810 printf "%s\n" "$DLLTOOL" >&6; }
   12811 else
   12812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12813 printf "%s\n" "no" >&6; }
   12814 fi
   12815 
   12816 
   12817 fi
   12818 if test -z "$ac_cv_prog_DLLTOOL"; then
   12819   ac_ct_DLLTOOL=$DLLTOOL
   12820   # Extract the first word of "dlltool", so it can be a program name with args.
   12821 set dummy dlltool; ac_word=$2
   12822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12823 printf %s "checking for $ac_word... " >&6; }
   12824 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   12825 then :
   12826   printf %s "(cached) " >&6
   12827 else $as_nop
   12828   if test -n "$ac_ct_DLLTOOL"; then
   12829   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12830 else
   12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12832 for as_dir in $PATH
   12833 do
   12834   IFS=$as_save_IFS
   12835   case $as_dir in #(((
   12836     '') as_dir=./ ;;
   12837     */) ;;
   12838     *) as_dir=$as_dir/ ;;
   12839   esac
   12840     for ac_exec_ext in '' $ac_executable_extensions; do
   12841   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12842     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12843     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12844     break 2
   12845   fi
   12846 done
   12847   done
   12848 IFS=$as_save_IFS
   12849 
   12850 fi
   12851 fi
   12852 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12853 if test -n "$ac_ct_DLLTOOL"; then
   12854   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12855 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   12856 else
   12857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12858 printf "%s\n" "no" >&6; }
   12859 fi
   12860 
   12861   if test "x$ac_ct_DLLTOOL" = x; then
   12862     DLLTOOL="false"
   12863   else
   12864     case $cross_compiling:$ac_tool_warned in
   12865 yes:)
   12866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12867 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12868 ac_tool_warned=yes ;;
   12869 esac
   12870     DLLTOOL=$ac_ct_DLLTOOL
   12871   fi
   12872 else
   12873   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12874 fi
   12875 
   12876 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12888 printf %s "checking how to associate runtime and link libraries... " >&6; }
   12889 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   12890 then :
   12891   printf %s "(cached) " >&6
   12892 else $as_nop
   12893   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12894 
   12895 case $host_os in
   12896 cygwin* | mingw* | pw32* | cegcc*)
   12897   # two different shell functions defined in ltmain.sh;
   12898   # decide which one to use based on capabilities of $DLLTOOL
   12899   case `$DLLTOOL --help 2>&1` in
   12900   *--identify-strict*)
   12901     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12902     ;;
   12903   *)
   12904     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12905     ;;
   12906   esac
   12907   ;;
   12908 *)
   12909   # fallback: assume linklib IS sharedlib
   12910   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12911   ;;
   12912 esac
   12913 
   12914 fi
   12915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12916 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12917 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12918 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 if test -n "$ac_tool_prefix"; then
   12927   for ac_prog in ar
   12928   do
   12929     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12930 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12932 printf %s "checking for $ac_word... " >&6; }
   12933 if test ${ac_cv_prog_AR+y}
   12934 then :
   12935   printf %s "(cached) " >&6
   12936 else $as_nop
   12937   if test -n "$AR"; then
   12938   ac_cv_prog_AR="$AR" # Let the user override the test.
   12939 else
   12940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12941 for as_dir in $PATH
   12942 do
   12943   IFS=$as_save_IFS
   12944   case $as_dir in #(((
   12945     '') as_dir=./ ;;
   12946     */) ;;
   12947     *) as_dir=$as_dir/ ;;
   12948   esac
   12949     for ac_exec_ext in '' $ac_executable_extensions; do
   12950   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12951     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12952     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12953     break 2
   12954   fi
   12955 done
   12956   done
   12957 IFS=$as_save_IFS
   12958 
   12959 fi
   12960 fi
   12961 AR=$ac_cv_prog_AR
   12962 if test -n "$AR"; then
   12963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12964 printf "%s\n" "$AR" >&6; }
   12965 else
   12966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12967 printf "%s\n" "no" >&6; }
   12968 fi
   12969 
   12970 
   12971     test -n "$AR" && break
   12972   done
   12973 fi
   12974 if test -z "$AR"; then
   12975   ac_ct_AR=$AR
   12976   for ac_prog in ar
   12977 do
   12978   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12979 set dummy $ac_prog; ac_word=$2
   12980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12981 printf %s "checking for $ac_word... " >&6; }
   12982 if test ${ac_cv_prog_ac_ct_AR+y}
   12983 then :
   12984   printf %s "(cached) " >&6
   12985 else $as_nop
   12986   if test -n "$ac_ct_AR"; then
   12987   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12988 else
   12989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12990 for as_dir in $PATH
   12991 do
   12992   IFS=$as_save_IFS
   12993   case $as_dir in #(((
   12994     '') as_dir=./ ;;
   12995     */) ;;
   12996     *) as_dir=$as_dir/ ;;
   12997   esac
   12998     for ac_exec_ext in '' $ac_executable_extensions; do
   12999   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13000     ac_cv_prog_ac_ct_AR="$ac_prog"
   13001     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13002     break 2
   13003   fi
   13004 done
   13005   done
   13006 IFS=$as_save_IFS
   13007 
   13008 fi
   13009 fi
   13010 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   13011 if test -n "$ac_ct_AR"; then
   13012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   13013 printf "%s\n" "$ac_ct_AR" >&6; }
   13014 else
   13015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13016 printf "%s\n" "no" >&6; }
   13017 fi
   13018 
   13019 
   13020   test -n "$ac_ct_AR" && break
   13021 done
   13022 
   13023   if test "x$ac_ct_AR" = x; then
   13024     AR="false"
   13025   else
   13026     case $cross_compiling:$ac_tool_warned in
   13027 yes:)
   13028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13029 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13030 ac_tool_warned=yes ;;
   13031 esac
   13032     AR=$ac_ct_AR
   13033   fi
   13034 fi
   13035 
   13036 : ${AR=ar}
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   13044 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   13045 # higher priority because thats what people were doing historically (setting
   13046 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   13047 # variable obsoleted/removed.
   13048 
   13049 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   13050 lt_ar_flags=$AR_FLAGS
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   13058 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   13066 printf %s "checking for archiver @FILE support... " >&6; }
   13067 if test ${lt_cv_ar_at_file+y}
   13068 then :
   13069   printf %s "(cached) " >&6
   13070 else $as_nop
   13071   lt_cv_ar_at_file=no
   13072    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13073 /* end confdefs.h.  */
   13074 
   13075 int
   13076 main (void)
   13077 {
   13078 
   13079   ;
   13080   return 0;
   13081 }
   13082 _ACEOF
   13083 if ac_fn_c_try_compile "$LINENO"
   13084 then :
   13085   echo conftest.$ac_objext > conftest.lst
   13086       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   13087       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13088   (eval $lt_ar_try) 2>&5
   13089   ac_status=$?
   13090   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13091   test $ac_status = 0; }
   13092       if test 0 -eq "$ac_status"; then
   13093 	# Ensure the archiver fails upon bogus file names.
   13094 	rm -f conftest.$ac_objext libconftest.a
   13095 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   13096   (eval $lt_ar_try) 2>&5
   13097   ac_status=$?
   13098   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13099   test $ac_status = 0; }
   13100 	if test 0 -ne "$ac_status"; then
   13101           lt_cv_ar_at_file=@
   13102         fi
   13103       fi
   13104       rm -f conftest.* libconftest.a
   13105 
   13106 fi
   13107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13108 
   13109 fi
   13110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   13111 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   13112 
   13113 if test no = "$lt_cv_ar_at_file"; then
   13114   archiver_list_spec=
   13115 else
   13116   archiver_list_spec=$lt_cv_ar_at_file
   13117 fi
   13118 
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 if test -n "$ac_tool_prefix"; then
   13126   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   13127 set dummy ${ac_tool_prefix}strip; ac_word=$2
   13128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13129 printf %s "checking for $ac_word... " >&6; }
   13130 if test ${ac_cv_prog_STRIP+y}
   13131 then :
   13132   printf %s "(cached) " >&6
   13133 else $as_nop
   13134   if test -n "$STRIP"; then
   13135   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   13136 else
   13137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13138 for as_dir in $PATH
   13139 do
   13140   IFS=$as_save_IFS
   13141   case $as_dir in #(((
   13142     '') as_dir=./ ;;
   13143     */) ;;
   13144     *) as_dir=$as_dir/ ;;
   13145   esac
   13146     for ac_exec_ext in '' $ac_executable_extensions; do
   13147   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13148     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   13149     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13150     break 2
   13151   fi
   13152 done
   13153   done
   13154 IFS=$as_save_IFS
   13155 
   13156 fi
   13157 fi
   13158 STRIP=$ac_cv_prog_STRIP
   13159 if test -n "$STRIP"; then
   13160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   13161 printf "%s\n" "$STRIP" >&6; }
   13162 else
   13163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13164 printf "%s\n" "no" >&6; }
   13165 fi
   13166 
   13167 
   13168 fi
   13169 if test -z "$ac_cv_prog_STRIP"; then
   13170   ac_ct_STRIP=$STRIP
   13171   # Extract the first word of "strip", so it can be a program name with args.
   13172 set dummy strip; ac_word=$2
   13173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13174 printf %s "checking for $ac_word... " >&6; }
   13175 if test ${ac_cv_prog_ac_ct_STRIP+y}
   13176 then :
   13177   printf %s "(cached) " >&6
   13178 else $as_nop
   13179   if test -n "$ac_ct_STRIP"; then
   13180   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   13181 else
   13182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13183 for as_dir in $PATH
   13184 do
   13185   IFS=$as_save_IFS
   13186   case $as_dir in #(((
   13187     '') as_dir=./ ;;
   13188     */) ;;
   13189     *) as_dir=$as_dir/ ;;
   13190   esac
   13191     for ac_exec_ext in '' $ac_executable_extensions; do
   13192   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13193     ac_cv_prog_ac_ct_STRIP="strip"
   13194     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13195     break 2
   13196   fi
   13197 done
   13198   done
   13199 IFS=$as_save_IFS
   13200 
   13201 fi
   13202 fi
   13203 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   13204 if test -n "$ac_ct_STRIP"; then
   13205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   13206 printf "%s\n" "$ac_ct_STRIP" >&6; }
   13207 else
   13208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13209 printf "%s\n" "no" >&6; }
   13210 fi
   13211 
   13212   if test "x$ac_ct_STRIP" = x; then
   13213     STRIP=":"
   13214   else
   13215     case $cross_compiling:$ac_tool_warned in
   13216 yes:)
   13217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13219 ac_tool_warned=yes ;;
   13220 esac
   13221     STRIP=$ac_ct_STRIP
   13222   fi
   13223 else
   13224   STRIP="$ac_cv_prog_STRIP"
   13225 fi
   13226 
   13227 test -z "$STRIP" && STRIP=:
   13228 
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 if test -n "$ac_tool_prefix"; then
   13235   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   13236 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   13237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13238 printf %s "checking for $ac_word... " >&6; }
   13239 if test ${ac_cv_prog_RANLIB+y}
   13240 then :
   13241   printf %s "(cached) " >&6
   13242 else $as_nop
   13243   if test -n "$RANLIB"; then
   13244   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   13245 else
   13246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13247 for as_dir in $PATH
   13248 do
   13249   IFS=$as_save_IFS
   13250   case $as_dir in #(((
   13251     '') as_dir=./ ;;
   13252     */) ;;
   13253     *) as_dir=$as_dir/ ;;
   13254   esac
   13255     for ac_exec_ext in '' $ac_executable_extensions; do
   13256   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13257     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   13258     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13259     break 2
   13260   fi
   13261 done
   13262   done
   13263 IFS=$as_save_IFS
   13264 
   13265 fi
   13266 fi
   13267 RANLIB=$ac_cv_prog_RANLIB
   13268 if test -n "$RANLIB"; then
   13269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   13270 printf "%s\n" "$RANLIB" >&6; }
   13271 else
   13272   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13273 printf "%s\n" "no" >&6; }
   13274 fi
   13275 
   13276 
   13277 fi
   13278 if test -z "$ac_cv_prog_RANLIB"; then
   13279   ac_ct_RANLIB=$RANLIB
   13280   # Extract the first word of "ranlib", so it can be a program name with args.
   13281 set dummy ranlib; ac_word=$2
   13282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13283 printf %s "checking for $ac_word... " >&6; }
   13284 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   13285 then :
   13286   printf %s "(cached) " >&6
   13287 else $as_nop
   13288   if test -n "$ac_ct_RANLIB"; then
   13289   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   13290 else
   13291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13292 for as_dir in $PATH
   13293 do
   13294   IFS=$as_save_IFS
   13295   case $as_dir in #(((
   13296     '') as_dir=./ ;;
   13297     */) ;;
   13298     *) as_dir=$as_dir/ ;;
   13299   esac
   13300     for ac_exec_ext in '' $ac_executable_extensions; do
   13301   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13302     ac_cv_prog_ac_ct_RANLIB="ranlib"
   13303     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13304     break 2
   13305   fi
   13306 done
   13307   done
   13308 IFS=$as_save_IFS
   13309 
   13310 fi
   13311 fi
   13312 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   13313 if test -n "$ac_ct_RANLIB"; then
   13314   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   13315 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   13316 else
   13317   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13318 printf "%s\n" "no" >&6; }
   13319 fi
   13320 
   13321   if test "x$ac_ct_RANLIB" = x; then
   13322     RANLIB=":"
   13323   else
   13324     case $cross_compiling:$ac_tool_warned in
   13325 yes:)
   13326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13327 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13328 ac_tool_warned=yes ;;
   13329 esac
   13330     RANLIB=$ac_ct_RANLIB
   13331   fi
   13332 else
   13333   RANLIB="$ac_cv_prog_RANLIB"
   13334 fi
   13335 
   13336 test -z "$RANLIB" && RANLIB=:
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 # Determine commands to create old-style static archives.
   13344 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   13345 old_postinstall_cmds='chmod 644 $oldlib'
   13346 old_postuninstall_cmds=
   13347 
   13348 if test -n "$RANLIB"; then
   13349   case $host_os in
   13350   bitrig* | openbsd*)
   13351     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   13352     ;;
   13353   *)
   13354     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   13355     ;;
   13356   esac
   13357   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   13358 fi
   13359 
   13360 case $host_os in
   13361   darwin*)
   13362     lock_old_archive_extraction=yes ;;
   13363   *)
   13364     lock_old_archive_extraction=no ;;
   13365 esac
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 # If no C compiler was specified, use CC.
   13406 LTCC=${LTCC-"$CC"}
   13407 
   13408 # If no C compiler flags were specified, use CFLAGS.
   13409 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13410 
   13411 # Allow CC to be a program name with arguments.
   13412 compiler=$CC
   13413 
   13414 
   13415 # Check for command to grab the raw symbol name followed by C symbol from nm.
   13416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   13417 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   13418 if test ${lt_cv_sys_global_symbol_pipe+y}
   13419 then :
   13420   printf %s "(cached) " >&6
   13421 else $as_nop
   13422 
   13423 # These are sane defaults that work on at least a few old systems.
   13424 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   13425 
   13426 # Character class describing NM global symbol codes.
   13427 symcode='[BCDEGRST]'
   13428 
   13429 # Regexp to match symbols that can be accessed directly from C.
   13430 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   13431 
   13432 # Define system-specific variables.
   13433 case $host_os in
   13434 aix*)
   13435   symcode='[BCDT]'
   13436   ;;
   13437 cygwin* | mingw* | pw32* | cegcc*)
   13438   symcode='[ABCDGISTW]'
   13439   ;;
   13440 hpux*)
   13441   if test ia64 = "$host_cpu"; then
   13442     symcode='[ABCDEGRST]'
   13443   fi
   13444   ;;
   13445 irix* | nonstopux*)
   13446   symcode='[BCDEGRST]'
   13447   ;;
   13448 osf*)
   13449   symcode='[BCDEGQRST]'
   13450   ;;
   13451 solaris*)
   13452   symcode='[BDRT]'
   13453   ;;
   13454 sco3.2v5*)
   13455   symcode='[DT]'
   13456   ;;
   13457 sysv4.2uw2*)
   13458   symcode='[DT]'
   13459   ;;
   13460 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   13461   symcode='[ABDT]'
   13462   ;;
   13463 sysv4)
   13464   symcode='[DFNSTU]'
   13465   ;;
   13466 esac
   13467 
   13468 # If we're using GNU nm, then use its standard symbol codes.
   13469 case `$NM -V 2>&1` in
   13470 *GNU* | *'with BFD'*)
   13471   symcode='[ABCDGIRSTW]' ;;
   13472 esac
   13473 
   13474 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13475   # Gets list of data symbols to import.
   13476   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   13477   # Adjust the below global symbol transforms to fixup imported variables.
   13478   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   13479   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   13480   lt_c_name_lib_hook="\
   13481   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   13482   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   13483 else
   13484   # Disable hooks by default.
   13485   lt_cv_sys_global_symbol_to_import=
   13486   lt_cdecl_hook=
   13487   lt_c_name_hook=
   13488   lt_c_name_lib_hook=
   13489 fi
   13490 
   13491 # Transform an extracted symbol line into a proper C declaration.
   13492 # Some systems (esp. on ia64) link data and code symbols differently,
   13493 # so use this general approach.
   13494 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   13495 $lt_cdecl_hook\
   13496 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   13497 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   13498 
   13499 # Transform an extracted symbol line into symbol name and symbol address
   13500 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   13501 $lt_c_name_hook\
   13502 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13503 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   13504 
   13505 # Transform an extracted symbol line into symbol name with lib prefix and
   13506 # symbol address.
   13507 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   13508 $lt_c_name_lib_hook\
   13509 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   13510 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   13511 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   13512 
   13513 # Handle CRLF in mingw tool chain
   13514 opt_cr=
   13515 case $build_os in
   13516 mingw*)
   13517   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   13518   ;;
   13519 esac
   13520 
   13521 # Try without a prefix underscore, then with it.
   13522 for ac_symprfx in "" "_"; do
   13523 
   13524   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   13525   symxfrm="\\1 $ac_symprfx\\2 \\2"
   13526 
   13527   # Write the raw and C identifiers.
   13528   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13529     # Fake it for dumpbin and say T for any non-static function,
   13530     # D for any global variable and I for any imported variable.
   13531     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   13532     # which start with @ or ?.
   13533     lt_cv_sys_global_symbol_pipe="$AWK '"\
   13534 "     {last_section=section; section=\$ 3};"\
   13535 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   13536 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   13537 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   13538 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   13539 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   13540 "     \$ 0!~/External *\|/{next};"\
   13541 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   13542 "     {if(hide[section]) next};"\
   13543 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   13544 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   13545 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   13546 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   13547 "     ' prfx=^$ac_symprfx"
   13548   else
   13549     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   13550   fi
   13551   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   13552 
   13553   # Check to see that the pipe works correctly.
   13554   pipe_works=no
   13555 
   13556   rm -f conftest*
   13557   cat > conftest.$ac_ext <<_LT_EOF
   13558 #ifdef __cplusplus
   13559 extern "C" {
   13560 #endif
   13561 char nm_test_var;
   13562 void nm_test_func(void);
   13563 void nm_test_func(void){}
   13564 #ifdef __cplusplus
   13565 }
   13566 #endif
   13567 int main(){nm_test_var='a';nm_test_func();return(0);}
   13568 _LT_EOF
   13569 
   13570   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13571   (eval $ac_compile) 2>&5
   13572   ac_status=$?
   13573   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13574   test $ac_status = 0; }; then
   13575     # Now try to grab the symbols.
   13576     nlist=conftest.nm
   13577     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   13578   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   13579   ac_status=$?
   13580   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13581   test $ac_status = 0; } && test -s "$nlist"; then
   13582       # Try sorting and uniquifying the output.
   13583       if sort "$nlist" | uniq > "$nlist"T; then
   13584 	mv -f "$nlist"T "$nlist"
   13585       else
   13586 	rm -f "$nlist"T
   13587       fi
   13588 
   13589       # Make sure that we snagged all the symbols we need.
   13590       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   13591 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   13592 	  cat <<_LT_EOF > conftest.$ac_ext
   13593 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   13594 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   13595 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   13596    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   13597 # define LT_DLSYM_CONST
   13598 #elif defined __osf__
   13599 /* This system does not cope well with relocations in const data.  */
   13600 # define LT_DLSYM_CONST
   13601 #else
   13602 # define LT_DLSYM_CONST const
   13603 #endif
   13604 
   13605 #ifdef __cplusplus
   13606 extern "C" {
   13607 #endif
   13608 
   13609 _LT_EOF
   13610 	  # Now generate the symbol file.
   13611 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   13612 
   13613 	  cat <<_LT_EOF >> conftest.$ac_ext
   13614 
   13615 /* The mapping between symbol names and symbols.  */
   13616 LT_DLSYM_CONST struct {
   13617   const char *name;
   13618   void       *address;
   13619 }
   13620 lt__PROGRAM__LTX_preloaded_symbols[] =
   13621 {
   13622   { "@PROGRAM@", (void *) 0 },
   13623 _LT_EOF
   13624 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   13625 	  cat <<\_LT_EOF >> conftest.$ac_ext
   13626   {0, (void *) 0}
   13627 };
   13628 
   13629 /* This works around a problem in FreeBSD linker */
   13630 #ifdef FREEBSD_WORKAROUND
   13631 static const void *lt_preloaded_setup() {
   13632   return lt__PROGRAM__LTX_preloaded_symbols;
   13633 }
   13634 #endif
   13635 
   13636 #ifdef __cplusplus
   13637 }
   13638 #endif
   13639 _LT_EOF
   13640 	  # Now try linking the two files.
   13641 	  mv conftest.$ac_objext conftstm.$ac_objext
   13642 	  lt_globsym_save_LIBS=$LIBS
   13643 	  lt_globsym_save_CFLAGS=$CFLAGS
   13644 	  LIBS=conftstm.$ac_objext
   13645 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   13646 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13647   (eval $ac_link) 2>&5
   13648   ac_status=$?
   13649   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13650   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   13651 	    pipe_works=yes
   13652 	  fi
   13653 	  LIBS=$lt_globsym_save_LIBS
   13654 	  CFLAGS=$lt_globsym_save_CFLAGS
   13655 	else
   13656 	  echo "cannot find nm_test_func in $nlist" >&5
   13657 	fi
   13658       else
   13659 	echo "cannot find nm_test_var in $nlist" >&5
   13660       fi
   13661     else
   13662       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   13663     fi
   13664   else
   13665     echo "$progname: failed program was:" >&5
   13666     cat conftest.$ac_ext >&5
   13667   fi
   13668   rm -rf conftest* conftst*
   13669 
   13670   # Do not use the global_symbol_pipe unless it works.
   13671   if test yes = "$pipe_works"; then
   13672     break
   13673   else
   13674     lt_cv_sys_global_symbol_pipe=
   13675   fi
   13676 done
   13677 
   13678 fi
   13679 
   13680 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   13681   lt_cv_sys_global_symbol_to_cdecl=
   13682 fi
   13683 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   13684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   13685 printf "%s\n" "failed" >&6; }
   13686 else
   13687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   13688 printf "%s\n" "ok" >&6; }
   13689 fi
   13690 
   13691 # Response file support.
   13692 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13693   nm_file_list_spec='@'
   13694 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13695   nm_file_list_spec='@'
   13696 fi
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13735 printf %s "checking for sysroot... " >&6; }
   13736 
   13737 # Check whether --with-sysroot was given.
   13738 if test ${with_sysroot+y}
   13739 then :
   13740   withval=$with_sysroot;
   13741 else $as_nop
   13742   with_sysroot=no
   13743 fi
   13744 
   13745 
   13746 lt_sysroot=
   13747 case $with_sysroot in #(
   13748  yes)
   13749    if test yes = "$GCC"; then
   13750      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13751    fi
   13752    ;; #(
   13753  /*)
   13754    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   13755    ;; #(
   13756  no|'')
   13757    ;; #(
   13758  *)
   13759    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13760 printf "%s\n" "$with_sysroot" >&6; }
   13761    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13762    ;;
   13763 esac
   13764 
   13765  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13766 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13773 printf %s "checking for a working dd... " >&6; }
   13774 if test ${ac_cv_path_lt_DD+y}
   13775 then :
   13776   printf %s "(cached) " >&6
   13777 else $as_nop
   13778   printf 0123456789abcdef0123456789abcdef >conftest.i
   13779 cat conftest.i conftest.i >conftest2.i
   13780 : ${lt_DD:=$DD}
   13781 if test -z "$lt_DD"; then
   13782   ac_path_lt_DD_found=false
   13783   # Loop through the user's path and test for each of PROGNAME-LIST
   13784   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13785 for as_dir in $PATH
   13786 do
   13787   IFS=$as_save_IFS
   13788   case $as_dir in #(((
   13789     '') as_dir=./ ;;
   13790     */) ;;
   13791     *) as_dir=$as_dir/ ;;
   13792   esac
   13793     for ac_prog in dd
   13794    do
   13795     for ac_exec_ext in '' $ac_executable_extensions; do
   13796       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   13797       as_fn_executable_p "$ac_path_lt_DD" || continue
   13798 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13799   cmp -s conftest.i conftest.out \
   13800   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13801 fi
   13802       $ac_path_lt_DD_found && break 3
   13803     done
   13804   done
   13805   done
   13806 IFS=$as_save_IFS
   13807   if test -z "$ac_cv_path_lt_DD"; then
   13808     :
   13809   fi
   13810 else
   13811   ac_cv_path_lt_DD=$lt_DD
   13812 fi
   13813 
   13814 rm -f conftest.i conftest2.i conftest.out
   13815 fi
   13816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13817 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   13818 
   13819 
   13820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13821 printf %s "checking how to truncate binary pipes... " >&6; }
   13822 if test ${lt_cv_truncate_bin+y}
   13823 then :
   13824   printf %s "(cached) " >&6
   13825 else $as_nop
   13826   printf 0123456789abcdef0123456789abcdef >conftest.i
   13827 cat conftest.i conftest.i >conftest2.i
   13828 lt_cv_truncate_bin=
   13829 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13830   cmp -s conftest.i conftest.out \
   13831   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13832 fi
   13833 rm -f conftest.i conftest2.i conftest.out
   13834 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13835 fi
   13836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13837 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13846 func_cc_basename ()
   13847 {
   13848     for cc_temp in $*""; do
   13849       case $cc_temp in
   13850         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13851         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13852         \-*) ;;
   13853         *) break;;
   13854       esac
   13855     done
   13856     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13857 }
   13858 
   13859 # Check whether --enable-libtool-lock was given.
   13860 if test ${enable_libtool_lock+y}
   13861 then :
   13862   enableval=$enable_libtool_lock;
   13863 fi
   13864 
   13865 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13866 
   13867 # Some flags need to be propagated to the compiler or linker for good
   13868 # libtool support.
   13869 case $host in
   13870 ia64-*-hpux*)
   13871   # Find out what ABI is being produced by ac_compile, and set mode
   13872   # options accordingly.
   13873   echo 'int i;' > conftest.$ac_ext
   13874   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13875   (eval $ac_compile) 2>&5
   13876   ac_status=$?
   13877   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13878   test $ac_status = 0; }; then
   13879     case `$FILECMD conftest.$ac_objext` in
   13880       *ELF-32*)
   13881 	HPUX_IA64_MODE=32
   13882 	;;
   13883       *ELF-64*)
   13884 	HPUX_IA64_MODE=64
   13885 	;;
   13886     esac
   13887   fi
   13888   rm -rf conftest*
   13889   ;;
   13890 *-*-irix6*)
   13891   # Find out what ABI is being produced by ac_compile, and set linker
   13892   # options accordingly.
   13893   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13894   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13895   (eval $ac_compile) 2>&5
   13896   ac_status=$?
   13897   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13898   test $ac_status = 0; }; then
   13899     if test yes = "$lt_cv_prog_gnu_ld"; then
   13900       case `$FILECMD conftest.$ac_objext` in
   13901 	*32-bit*)
   13902 	  LD="${LD-ld} -melf32bsmip"
   13903 	  ;;
   13904 	*N32*)
   13905 	  LD="${LD-ld} -melf32bmipn32"
   13906 	  ;;
   13907 	*64-bit*)
   13908 	  LD="${LD-ld} -melf64bmip"
   13909 	;;
   13910       esac
   13911     else
   13912       case `$FILECMD conftest.$ac_objext` in
   13913 	*32-bit*)
   13914 	  LD="${LD-ld} -32"
   13915 	  ;;
   13916 	*N32*)
   13917 	  LD="${LD-ld} -n32"
   13918 	  ;;
   13919 	*64-bit*)
   13920 	  LD="${LD-ld} -64"
   13921 	  ;;
   13922       esac
   13923     fi
   13924   fi
   13925   rm -rf conftest*
   13926   ;;
   13927 
   13928 mips64*-*linux*)
   13929   # Find out what ABI is being produced by ac_compile, and set linker
   13930   # options accordingly.
   13931   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13932   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13933   (eval $ac_compile) 2>&5
   13934   ac_status=$?
   13935   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13936   test $ac_status = 0; }; then
   13937     emul=elf
   13938     case `$FILECMD conftest.$ac_objext` in
   13939       *32-bit*)
   13940 	emul="${emul}32"
   13941 	;;
   13942       *64-bit*)
   13943 	emul="${emul}64"
   13944 	;;
   13945     esac
   13946     case `$FILECMD conftest.$ac_objext` in
   13947       *MSB*)
   13948 	emul="${emul}btsmip"
   13949 	;;
   13950       *LSB*)
   13951 	emul="${emul}ltsmip"
   13952 	;;
   13953     esac
   13954     case `$FILECMD conftest.$ac_objext` in
   13955       *N32*)
   13956 	emul="${emul}n32"
   13957 	;;
   13958     esac
   13959     LD="${LD-ld} -m $emul"
   13960   fi
   13961   rm -rf conftest*
   13962   ;;
   13963 
   13964 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13965 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13966   # Find out what ABI is being produced by ac_compile, and set linker
   13967   # options accordingly.  Note that the listed cases only cover the
   13968   # situations where additional linker options are needed (such as when
   13969   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13970   # vice versa); the common cases where no linker options are needed do
   13971   # not appear in the list.
   13972   echo 'int i;' > conftest.$ac_ext
   13973   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13974   (eval $ac_compile) 2>&5
   13975   ac_status=$?
   13976   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13977   test $ac_status = 0; }; then
   13978     case `$FILECMD conftest.o` in
   13979       *32-bit*)
   13980 	case $host in
   13981 	  x86_64-*kfreebsd*-gnu)
   13982 	    LD="${LD-ld} -m elf_i386_fbsd"
   13983 	    ;;
   13984 	  x86_64-*linux*)
   13985 	    case `$FILECMD conftest.o` in
   13986 	      *x86-64*)
   13987 		LD="${LD-ld} -m elf32_x86_64"
   13988 		;;
   13989 	      *)
   13990 		LD="${LD-ld} -m elf_i386"
   13991 		;;
   13992 	    esac
   13993 	    ;;
   13994 	  powerpc64le-*linux*)
   13995 	    LD="${LD-ld} -m elf32lppclinux"
   13996 	    ;;
   13997 	  powerpc64-*linux*)
   13998 	    LD="${LD-ld} -m elf32ppclinux"
   13999 	    ;;
   14000 	  s390x-*linux*)
   14001 	    LD="${LD-ld} -m elf_s390"
   14002 	    ;;
   14003 	  sparc64-*linux*)
   14004 	    LD="${LD-ld} -m elf32_sparc"
   14005 	    ;;
   14006 	esac
   14007 	;;
   14008       *64-bit*)
   14009 	case $host in
   14010 	  x86_64-*kfreebsd*-gnu)
   14011 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   14012 	    ;;
   14013 	  x86_64-*linux*)
   14014 	    LD="${LD-ld} -m elf_x86_64"
   14015 	    ;;
   14016 	  powerpcle-*linux*)
   14017 	    LD="${LD-ld} -m elf64lppc"
   14018 	    ;;
   14019 	  powerpc-*linux*)
   14020 	    LD="${LD-ld} -m elf64ppc"
   14021 	    ;;
   14022 	  s390*-*linux*|s390*-*tpf*)
   14023 	    LD="${LD-ld} -m elf64_s390"
   14024 	    ;;
   14025 	  sparc*-*linux*)
   14026 	    LD="${LD-ld} -m elf64_sparc"
   14027 	    ;;
   14028 	esac
   14029 	;;
   14030     esac
   14031   fi
   14032   rm -rf conftest*
   14033   ;;
   14034 
   14035 *-*-sco3.2v5*)
   14036   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   14037   SAVE_CFLAGS=$CFLAGS
   14038   CFLAGS="$CFLAGS -belf"
   14039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   14040 printf %s "checking whether the C compiler needs -belf... " >&6; }
   14041 if test ${lt_cv_cc_needs_belf+y}
   14042 then :
   14043   printf %s "(cached) " >&6
   14044 else $as_nop
   14045   ac_ext=c
   14046 ac_cpp='$CPP $CPPFLAGS'
   14047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14050 
   14051      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14052 /* end confdefs.h.  */
   14053 
   14054 int
   14055 main (void)
   14056 {
   14057 
   14058   ;
   14059   return 0;
   14060 }
   14061 _ACEOF
   14062 if ac_fn_c_try_link "$LINENO"
   14063 then :
   14064   lt_cv_cc_needs_belf=yes
   14065 else $as_nop
   14066   lt_cv_cc_needs_belf=no
   14067 fi
   14068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14069     conftest$ac_exeext conftest.$ac_ext
   14070      ac_ext=c
   14071 ac_cpp='$CPP $CPPFLAGS'
   14072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14075 
   14076 fi
   14077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   14078 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   14079   if test yes != "$lt_cv_cc_needs_belf"; then
   14080     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   14081     CFLAGS=$SAVE_CFLAGS
   14082   fi
   14083   ;;
   14084 *-*solaris*)
   14085   # Find out what ABI is being produced by ac_compile, and set linker
   14086   # options accordingly.
   14087   echo 'int i;' > conftest.$ac_ext
   14088   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14089   (eval $ac_compile) 2>&5
   14090   ac_status=$?
   14091   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14092   test $ac_status = 0; }; then
   14093     case `$FILECMD conftest.o` in
   14094     *64-bit*)
   14095       case $lt_cv_prog_gnu_ld in
   14096       yes*)
   14097         case $host in
   14098         i?86-*-solaris*|x86_64-*-solaris*)
   14099           LD="${LD-ld} -m elf_x86_64"
   14100           ;;
   14101         sparc*-*-solaris*)
   14102           LD="${LD-ld} -m elf64_sparc"
   14103           ;;
   14104         esac
   14105         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   14106         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   14107           LD=${LD-ld}_sol2
   14108         fi
   14109         ;;
   14110       *)
   14111 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   14112 	  LD="${LD-ld} -64"
   14113 	fi
   14114 	;;
   14115       esac
   14116       ;;
   14117     esac
   14118   fi
   14119   rm -rf conftest*
   14120   ;;
   14121 esac
   14122 
   14123 need_locks=$enable_libtool_lock
   14124 
   14125 if test -n "$ac_tool_prefix"; then
   14126   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   14127 set dummy ${ac_tool_prefix}mt; ac_word=$2
   14128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14129 printf %s "checking for $ac_word... " >&6; }
   14130 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   14131 then :
   14132   printf %s "(cached) " >&6
   14133 else $as_nop
   14134   if test -n "$MANIFEST_TOOL"; then
   14135   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   14136 else
   14137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14138 for as_dir in $PATH
   14139 do
   14140   IFS=$as_save_IFS
   14141   case $as_dir in #(((
   14142     '') as_dir=./ ;;
   14143     */) ;;
   14144     *) as_dir=$as_dir/ ;;
   14145   esac
   14146     for ac_exec_ext in '' $ac_executable_extensions; do
   14147   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14148     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   14149     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14150     break 2
   14151   fi
   14152 done
   14153   done
   14154 IFS=$as_save_IFS
   14155 
   14156 fi
   14157 fi
   14158 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   14159 if test -n "$MANIFEST_TOOL"; then
   14160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   14161 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   14162 else
   14163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14164 printf "%s\n" "no" >&6; }
   14165 fi
   14166 
   14167 
   14168 fi
   14169 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   14170   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   14171   # Extract the first word of "mt", so it can be a program name with args.
   14172 set dummy mt; ac_word=$2
   14173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14174 printf %s "checking for $ac_word... " >&6; }
   14175 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   14176 then :
   14177   printf %s "(cached) " >&6
   14178 else $as_nop
   14179   if test -n "$ac_ct_MANIFEST_TOOL"; then
   14180   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   14181 else
   14182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14183 for as_dir in $PATH
   14184 do
   14185   IFS=$as_save_IFS
   14186   case $as_dir in #(((
   14187     '') as_dir=./ ;;
   14188     */) ;;
   14189     *) as_dir=$as_dir/ ;;
   14190   esac
   14191     for ac_exec_ext in '' $ac_executable_extensions; do
   14192   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14193     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   14194     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14195     break 2
   14196   fi
   14197 done
   14198   done
   14199 IFS=$as_save_IFS
   14200 
   14201 fi
   14202 fi
   14203 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   14204 if test -n "$ac_ct_MANIFEST_TOOL"; then
   14205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   14206 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   14207 else
   14208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14209 printf "%s\n" "no" >&6; }
   14210 fi
   14211 
   14212   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   14213     MANIFEST_TOOL=":"
   14214   else
   14215     case $cross_compiling:$ac_tool_warned in
   14216 yes:)
   14217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14219 ac_tool_warned=yes ;;
   14220 esac
   14221     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   14222   fi
   14223 else
   14224   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   14225 fi
   14226 
   14227 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   14229 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   14230 if test ${lt_cv_path_mainfest_tool+y}
   14231 then :
   14232   printf %s "(cached) " >&6
   14233 else $as_nop
   14234   lt_cv_path_mainfest_tool=no
   14235   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   14236   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   14237   cat conftest.err >&5
   14238   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   14239     lt_cv_path_mainfest_tool=yes
   14240   fi
   14241   rm -f conftest*
   14242 fi
   14243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   14244 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   14245 if test yes != "$lt_cv_path_mainfest_tool"; then
   14246   MANIFEST_TOOL=:
   14247 fi
   14248 
   14249 
   14250 
   14251 
   14252 
   14253 
   14254   case $host_os in
   14255     rhapsody* | darwin*)
   14256     if test -n "$ac_tool_prefix"; then
   14257   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   14258 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   14259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14260 printf %s "checking for $ac_word... " >&6; }
   14261 if test ${ac_cv_prog_DSYMUTIL+y}
   14262 then :
   14263   printf %s "(cached) " >&6
   14264 else $as_nop
   14265   if test -n "$DSYMUTIL"; then
   14266   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14267 else
   14268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14269 for as_dir in $PATH
   14270 do
   14271   IFS=$as_save_IFS
   14272   case $as_dir in #(((
   14273     '') as_dir=./ ;;
   14274     */) ;;
   14275     *) as_dir=$as_dir/ ;;
   14276   esac
   14277     for ac_exec_ext in '' $ac_executable_extensions; do
   14278   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14279     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   14280     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14281     break 2
   14282   fi
   14283 done
   14284   done
   14285 IFS=$as_save_IFS
   14286 
   14287 fi
   14288 fi
   14289 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14290 if test -n "$DSYMUTIL"; then
   14291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14292 printf "%s\n" "$DSYMUTIL" >&6; }
   14293 else
   14294   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14295 printf "%s\n" "no" >&6; }
   14296 fi
   14297 
   14298 
   14299 fi
   14300 if test -z "$ac_cv_prog_DSYMUTIL"; then
   14301   ac_ct_DSYMUTIL=$DSYMUTIL
   14302   # Extract the first word of "dsymutil", so it can be a program name with args.
   14303 set dummy dsymutil; ac_word=$2
   14304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14305 printf %s "checking for $ac_word... " >&6; }
   14306 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   14307 then :
   14308   printf %s "(cached) " >&6
   14309 else $as_nop
   14310   if test -n "$ac_ct_DSYMUTIL"; then
   14311   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   14312 else
   14313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14314 for as_dir in $PATH
   14315 do
   14316   IFS=$as_save_IFS
   14317   case $as_dir in #(((
   14318     '') as_dir=./ ;;
   14319     */) ;;
   14320     *) as_dir=$as_dir/ ;;
   14321   esac
   14322     for ac_exec_ext in '' $ac_executable_extensions; do
   14323   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14324     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   14325     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14326     break 2
   14327   fi
   14328 done
   14329   done
   14330 IFS=$as_save_IFS
   14331 
   14332 fi
   14333 fi
   14334 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   14335 if test -n "$ac_ct_DSYMUTIL"; then
   14336   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   14337 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   14338 else
   14339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14340 printf "%s\n" "no" >&6; }
   14341 fi
   14342 
   14343   if test "x$ac_ct_DSYMUTIL" = x; then
   14344     DSYMUTIL=":"
   14345   else
   14346     case $cross_compiling:$ac_tool_warned in
   14347 yes:)
   14348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14349 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14350 ac_tool_warned=yes ;;
   14351 esac
   14352     DSYMUTIL=$ac_ct_DSYMUTIL
   14353   fi
   14354 else
   14355   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   14356 fi
   14357 
   14358     if test -n "$ac_tool_prefix"; then
   14359   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   14360 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   14361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14362 printf %s "checking for $ac_word... " >&6; }
   14363 if test ${ac_cv_prog_NMEDIT+y}
   14364 then :
   14365   printf %s "(cached) " >&6
   14366 else $as_nop
   14367   if test -n "$NMEDIT"; then
   14368   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   14369 else
   14370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14371 for as_dir in $PATH
   14372 do
   14373   IFS=$as_save_IFS
   14374   case $as_dir in #(((
   14375     '') as_dir=./ ;;
   14376     */) ;;
   14377     *) as_dir=$as_dir/ ;;
   14378   esac
   14379     for ac_exec_ext in '' $ac_executable_extensions; do
   14380   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14381     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   14382     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14383     break 2
   14384   fi
   14385 done
   14386   done
   14387 IFS=$as_save_IFS
   14388 
   14389 fi
   14390 fi
   14391 NMEDIT=$ac_cv_prog_NMEDIT
   14392 if test -n "$NMEDIT"; then
   14393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   14394 printf "%s\n" "$NMEDIT" >&6; }
   14395 else
   14396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14397 printf "%s\n" "no" >&6; }
   14398 fi
   14399 
   14400 
   14401 fi
   14402 if test -z "$ac_cv_prog_NMEDIT"; then
   14403   ac_ct_NMEDIT=$NMEDIT
   14404   # Extract the first word of "nmedit", so it can be a program name with args.
   14405 set dummy nmedit; ac_word=$2
   14406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14407 printf %s "checking for $ac_word... " >&6; }
   14408 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   14409 then :
   14410   printf %s "(cached) " >&6
   14411 else $as_nop
   14412   if test -n "$ac_ct_NMEDIT"; then
   14413   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   14414 else
   14415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14416 for as_dir in $PATH
   14417 do
   14418   IFS=$as_save_IFS
   14419   case $as_dir in #(((
   14420     '') as_dir=./ ;;
   14421     */) ;;
   14422     *) as_dir=$as_dir/ ;;
   14423   esac
   14424     for ac_exec_ext in '' $ac_executable_extensions; do
   14425   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14426     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   14427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14428     break 2
   14429   fi
   14430 done
   14431   done
   14432 IFS=$as_save_IFS
   14433 
   14434 fi
   14435 fi
   14436 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   14437 if test -n "$ac_ct_NMEDIT"; then
   14438   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   14439 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   14440 else
   14441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14442 printf "%s\n" "no" >&6; }
   14443 fi
   14444 
   14445   if test "x$ac_ct_NMEDIT" = x; then
   14446     NMEDIT=":"
   14447   else
   14448     case $cross_compiling:$ac_tool_warned in
   14449 yes:)
   14450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14451 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14452 ac_tool_warned=yes ;;
   14453 esac
   14454     NMEDIT=$ac_ct_NMEDIT
   14455   fi
   14456 else
   14457   NMEDIT="$ac_cv_prog_NMEDIT"
   14458 fi
   14459 
   14460     if test -n "$ac_tool_prefix"; then
   14461   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   14462 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   14463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14464 printf %s "checking for $ac_word... " >&6; }
   14465 if test ${ac_cv_prog_LIPO+y}
   14466 then :
   14467   printf %s "(cached) " >&6
   14468 else $as_nop
   14469   if test -n "$LIPO"; then
   14470   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   14471 else
   14472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14473 for as_dir in $PATH
   14474 do
   14475   IFS=$as_save_IFS
   14476   case $as_dir in #(((
   14477     '') as_dir=./ ;;
   14478     */) ;;
   14479     *) as_dir=$as_dir/ ;;
   14480   esac
   14481     for ac_exec_ext in '' $ac_executable_extensions; do
   14482   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14483     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   14484     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14485     break 2
   14486   fi
   14487 done
   14488   done
   14489 IFS=$as_save_IFS
   14490 
   14491 fi
   14492 fi
   14493 LIPO=$ac_cv_prog_LIPO
   14494 if test -n "$LIPO"; then
   14495   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   14496 printf "%s\n" "$LIPO" >&6; }
   14497 else
   14498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14499 printf "%s\n" "no" >&6; }
   14500 fi
   14501 
   14502 
   14503 fi
   14504 if test -z "$ac_cv_prog_LIPO"; then
   14505   ac_ct_LIPO=$LIPO
   14506   # Extract the first word of "lipo", so it can be a program name with args.
   14507 set dummy lipo; ac_word=$2
   14508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14509 printf %s "checking for $ac_word... " >&6; }
   14510 if test ${ac_cv_prog_ac_ct_LIPO+y}
   14511 then :
   14512   printf %s "(cached) " >&6
   14513 else $as_nop
   14514   if test -n "$ac_ct_LIPO"; then
   14515   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   14516 else
   14517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14518 for as_dir in $PATH
   14519 do
   14520   IFS=$as_save_IFS
   14521   case $as_dir in #(((
   14522     '') as_dir=./ ;;
   14523     */) ;;
   14524     *) as_dir=$as_dir/ ;;
   14525   esac
   14526     for ac_exec_ext in '' $ac_executable_extensions; do
   14527   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14528     ac_cv_prog_ac_ct_LIPO="lipo"
   14529     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14530     break 2
   14531   fi
   14532 done
   14533   done
   14534 IFS=$as_save_IFS
   14535 
   14536 fi
   14537 fi
   14538 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   14539 if test -n "$ac_ct_LIPO"; then
   14540   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   14541 printf "%s\n" "$ac_ct_LIPO" >&6; }
   14542 else
   14543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14544 printf "%s\n" "no" >&6; }
   14545 fi
   14546 
   14547   if test "x$ac_ct_LIPO" = x; then
   14548     LIPO=":"
   14549   else
   14550     case $cross_compiling:$ac_tool_warned in
   14551 yes:)
   14552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14553 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14554 ac_tool_warned=yes ;;
   14555 esac
   14556     LIPO=$ac_ct_LIPO
   14557   fi
   14558 else
   14559   LIPO="$ac_cv_prog_LIPO"
   14560 fi
   14561 
   14562     if test -n "$ac_tool_prefix"; then
   14563   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   14564 set dummy ${ac_tool_prefix}otool; ac_word=$2
   14565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14566 printf %s "checking for $ac_word... " >&6; }
   14567 if test ${ac_cv_prog_OTOOL+y}
   14568 then :
   14569   printf %s "(cached) " >&6
   14570 else $as_nop
   14571   if test -n "$OTOOL"; then
   14572   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   14573 else
   14574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14575 for as_dir in $PATH
   14576 do
   14577   IFS=$as_save_IFS
   14578   case $as_dir in #(((
   14579     '') as_dir=./ ;;
   14580     */) ;;
   14581     *) as_dir=$as_dir/ ;;
   14582   esac
   14583     for ac_exec_ext in '' $ac_executable_extensions; do
   14584   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14585     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   14586     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14587     break 2
   14588   fi
   14589 done
   14590   done
   14591 IFS=$as_save_IFS
   14592 
   14593 fi
   14594 fi
   14595 OTOOL=$ac_cv_prog_OTOOL
   14596 if test -n "$OTOOL"; then
   14597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   14598 printf "%s\n" "$OTOOL" >&6; }
   14599 else
   14600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14601 printf "%s\n" "no" >&6; }
   14602 fi
   14603 
   14604 
   14605 fi
   14606 if test -z "$ac_cv_prog_OTOOL"; then
   14607   ac_ct_OTOOL=$OTOOL
   14608   # Extract the first word of "otool", so it can be a program name with args.
   14609 set dummy otool; ac_word=$2
   14610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14611 printf %s "checking for $ac_word... " >&6; }
   14612 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   14613 then :
   14614   printf %s "(cached) " >&6
   14615 else $as_nop
   14616   if test -n "$ac_ct_OTOOL"; then
   14617   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   14618 else
   14619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14620 for as_dir in $PATH
   14621 do
   14622   IFS=$as_save_IFS
   14623   case $as_dir in #(((
   14624     '') as_dir=./ ;;
   14625     */) ;;
   14626     *) as_dir=$as_dir/ ;;
   14627   esac
   14628     for ac_exec_ext in '' $ac_executable_extensions; do
   14629   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14630     ac_cv_prog_ac_ct_OTOOL="otool"
   14631     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14632     break 2
   14633   fi
   14634 done
   14635   done
   14636 IFS=$as_save_IFS
   14637 
   14638 fi
   14639 fi
   14640 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   14641 if test -n "$ac_ct_OTOOL"; then
   14642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   14643 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   14644 else
   14645   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14646 printf "%s\n" "no" >&6; }
   14647 fi
   14648 
   14649   if test "x$ac_ct_OTOOL" = x; then
   14650     OTOOL=":"
   14651   else
   14652     case $cross_compiling:$ac_tool_warned in
   14653 yes:)
   14654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14655 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14656 ac_tool_warned=yes ;;
   14657 esac
   14658     OTOOL=$ac_ct_OTOOL
   14659   fi
   14660 else
   14661   OTOOL="$ac_cv_prog_OTOOL"
   14662 fi
   14663 
   14664     if test -n "$ac_tool_prefix"; then
   14665   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   14666 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   14667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14668 printf %s "checking for $ac_word... " >&6; }
   14669 if test ${ac_cv_prog_OTOOL64+y}
   14670 then :
   14671   printf %s "(cached) " >&6
   14672 else $as_nop
   14673   if test -n "$OTOOL64"; then
   14674   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   14675 else
   14676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14677 for as_dir in $PATH
   14678 do
   14679   IFS=$as_save_IFS
   14680   case $as_dir in #(((
   14681     '') as_dir=./ ;;
   14682     */) ;;
   14683     *) as_dir=$as_dir/ ;;
   14684   esac
   14685     for ac_exec_ext in '' $ac_executable_extensions; do
   14686   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14687     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   14688     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14689     break 2
   14690   fi
   14691 done
   14692   done
   14693 IFS=$as_save_IFS
   14694 
   14695 fi
   14696 fi
   14697 OTOOL64=$ac_cv_prog_OTOOL64
   14698 if test -n "$OTOOL64"; then
   14699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   14700 printf "%s\n" "$OTOOL64" >&6; }
   14701 else
   14702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14703 printf "%s\n" "no" >&6; }
   14704 fi
   14705 
   14706 
   14707 fi
   14708 if test -z "$ac_cv_prog_OTOOL64"; then
   14709   ac_ct_OTOOL64=$OTOOL64
   14710   # Extract the first word of "otool64", so it can be a program name with args.
   14711 set dummy otool64; ac_word=$2
   14712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14713 printf %s "checking for $ac_word... " >&6; }
   14714 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   14715 then :
   14716   printf %s "(cached) " >&6
   14717 else $as_nop
   14718   if test -n "$ac_ct_OTOOL64"; then
   14719   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   14720 else
   14721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14722 for as_dir in $PATH
   14723 do
   14724   IFS=$as_save_IFS
   14725   case $as_dir in #(((
   14726     '') as_dir=./ ;;
   14727     */) ;;
   14728     *) as_dir=$as_dir/ ;;
   14729   esac
   14730     for ac_exec_ext in '' $ac_executable_extensions; do
   14731   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14732     ac_cv_prog_ac_ct_OTOOL64="otool64"
   14733     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14734     break 2
   14735   fi
   14736 done
   14737   done
   14738 IFS=$as_save_IFS
   14739 
   14740 fi
   14741 fi
   14742 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   14743 if test -n "$ac_ct_OTOOL64"; then
   14744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   14745 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   14746 else
   14747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14748 printf "%s\n" "no" >&6; }
   14749 fi
   14750 
   14751   if test "x$ac_ct_OTOOL64" = x; then
   14752     OTOOL64=":"
   14753   else
   14754     case $cross_compiling:$ac_tool_warned in
   14755 yes:)
   14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14757 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14758 ac_tool_warned=yes ;;
   14759 esac
   14760     OTOOL64=$ac_ct_OTOOL64
   14761   fi
   14762 else
   14763   OTOOL64="$ac_cv_prog_OTOOL64"
   14764 fi
   14765 
   14766 
   14767 
   14768 
   14769 
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14793 printf %s "checking for -single_module linker flag... " >&6; }
   14794 if test ${lt_cv_apple_cc_single_mod+y}
   14795 then :
   14796   printf %s "(cached) " >&6
   14797 else $as_nop
   14798   lt_cv_apple_cc_single_mod=no
   14799       if test -z "$LT_MULTI_MODULE"; then
   14800 	# By default we will add the -single_module flag. You can override
   14801 	# by either setting the environment variable LT_MULTI_MODULE
   14802 	# non-empty at configure time, or by adding -multi_module to the
   14803 	# link flags.
   14804 	rm -rf libconftest.dylib*
   14805 	echo "int foo(void){return 1;}" > conftest.c
   14806 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14807 -dynamiclib -Wl,-single_module conftest.c" >&5
   14808 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14809 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14810         _lt_result=$?
   14811 	# If there is a non-empty error log, and "single_module"
   14812 	# appears in it, assume the flag caused a linker warning
   14813         if test -s conftest.err && $GREP single_module conftest.err; then
   14814 	  cat conftest.err >&5
   14815 	# Otherwise, if the output was created with a 0 exit code from
   14816 	# the compiler, it worked.
   14817 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14818 	  lt_cv_apple_cc_single_mod=yes
   14819 	else
   14820 	  cat conftest.err >&5
   14821 	fi
   14822 	rm -rf libconftest.dylib*
   14823 	rm -f conftest.*
   14824       fi
   14825 fi
   14826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14827 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   14828 
   14829     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14830 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   14831 if test ${lt_cv_ld_exported_symbols_list+y}
   14832 then :
   14833   printf %s "(cached) " >&6
   14834 else $as_nop
   14835   lt_cv_ld_exported_symbols_list=no
   14836       save_LDFLAGS=$LDFLAGS
   14837       echo "_main" > conftest.sym
   14838       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14840 /* end confdefs.h.  */
   14841 
   14842 int
   14843 main (void)
   14844 {
   14845 
   14846   ;
   14847   return 0;
   14848 }
   14849 _ACEOF
   14850 if ac_fn_c_try_link "$LINENO"
   14851 then :
   14852   lt_cv_ld_exported_symbols_list=yes
   14853 else $as_nop
   14854   lt_cv_ld_exported_symbols_list=no
   14855 fi
   14856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14857     conftest$ac_exeext conftest.$ac_ext
   14858 	LDFLAGS=$save_LDFLAGS
   14859 
   14860 fi
   14861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14862 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   14863 
   14864     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14865 printf %s "checking for -force_load linker flag... " >&6; }
   14866 if test ${lt_cv_ld_force_load+y}
   14867 then :
   14868   printf %s "(cached) " >&6
   14869 else $as_nop
   14870   lt_cv_ld_force_load=no
   14871       cat > conftest.c << _LT_EOF
   14872 int forced_loaded() { return 2;}
   14873 _LT_EOF
   14874       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14875       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14876       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   14877       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   14878       echo "$RANLIB libconftest.a" >&5
   14879       $RANLIB libconftest.a 2>&5
   14880       cat > conftest.c << _LT_EOF
   14881 int main() { return 0;}
   14882 _LT_EOF
   14883       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14884       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14885       _lt_result=$?
   14886       if test -s conftest.err && $GREP force_load conftest.err; then
   14887 	cat conftest.err >&5
   14888       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14889 	lt_cv_ld_force_load=yes
   14890       else
   14891 	cat conftest.err >&5
   14892       fi
   14893         rm -f conftest.err libconftest.a conftest conftest.c
   14894         rm -rf conftest.dSYM
   14895 
   14896 fi
   14897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14898 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   14899     case $host_os in
   14900     rhapsody* | darwin1.[012])
   14901       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14902     darwin1.*)
   14903       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14904     darwin*)
   14905       case $MACOSX_DEPLOYMENT_TARGET,$host in
   14906         10.[012],*|,*powerpc*-darwin[5-8]*)
   14907           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14908         *)
   14909           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14910       esac
   14911     ;;
   14912   esac
   14913     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14914       _lt_dar_single_mod='$single_module'
   14915     fi
   14916     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14917       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14918     else
   14919       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14920     fi
   14921     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14922       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14923     else
   14924       _lt_dsymutil=
   14925     fi
   14926     ;;
   14927   esac
   14928 
   14929 # func_munge_path_list VARIABLE PATH
   14930 # -----------------------------------
   14931 # VARIABLE is name of variable containing _space_ separated list of
   14932 # directories to be munged by the contents of PATH, which is string
   14933 # having a format:
   14934 # "DIR[:DIR]:"
   14935 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14936 # ":DIR[:DIR]"
   14937 #       string "DIR[ DIR]" will be appended to VARIABLE
   14938 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14939 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14940 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14941 # "DIR[:DIR]"
   14942 #       VARIABLE will be replaced by "DIR[ DIR]"
   14943 func_munge_path_list ()
   14944 {
   14945     case x$2 in
   14946     x)
   14947         ;;
   14948     *:)
   14949         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14950         ;;
   14951     x:*)
   14952         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14953         ;;
   14954     *::*)
   14955         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14956         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14957         ;;
   14958     *)
   14959         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14960         ;;
   14961     esac
   14962 }
   14963 
   14964 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14965 "
   14966 if test "x$ac_cv_header_dlfcn_h" = xyes
   14967 then :
   14968   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   14969 
   14970 fi
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 # Set options
   14977 
   14978 
   14979 
   14980         enable_dlopen=no
   14981 
   14982 
   14983   enable_win32_dll=no
   14984 
   14985 
   14986             # Check whether --enable-shared was given.
   14987 if test ${enable_shared+y}
   14988 then :
   14989   enableval=$enable_shared; p=${PACKAGE-default}
   14990     case $enableval in
   14991     yes) enable_shared=yes ;;
   14992     no) enable_shared=no ;;
   14993     *)
   14994       enable_shared=no
   14995       # Look at the argument we got.  We use all the common list separators.
   14996       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14997       for pkg in $enableval; do
   14998 	IFS=$lt_save_ifs
   14999 	if test "X$pkg" = "X$p"; then
   15000 	  enable_shared=yes
   15001 	fi
   15002       done
   15003       IFS=$lt_save_ifs
   15004       ;;
   15005     esac
   15006 else $as_nop
   15007   enable_shared=yes
   15008 fi
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017 
   15018 
   15019 
   15020 # Check whether --with-pic was given.
   15021 if test ${with_pic+y}
   15022 then :
   15023   withval=$with_pic; lt_p=${PACKAGE-default}
   15024     case $withval in
   15025     yes|no) pic_mode=$withval ;;
   15026     *)
   15027       pic_mode=default
   15028       # Look at the argument we got.  We use all the common list separators.
   15029       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15030       for lt_pkg in $withval; do
   15031 	IFS=$lt_save_ifs
   15032 	if test "X$lt_pkg" = "X$lt_p"; then
   15033 	  pic_mode=yes
   15034 	fi
   15035       done
   15036       IFS=$lt_save_ifs
   15037       ;;
   15038     esac
   15039 else $as_nop
   15040   pic_mode=default
   15041 fi
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 
   15048 
   15049 
   15050   # Check whether --enable-fast-install was given.
   15051 if test ${enable_fast_install+y}
   15052 then :
   15053   enableval=$enable_fast_install; p=${PACKAGE-default}
   15054     case $enableval in
   15055     yes) enable_fast_install=yes ;;
   15056     no) enable_fast_install=no ;;
   15057     *)
   15058       enable_fast_install=no
   15059       # Look at the argument we got.  We use all the common list separators.
   15060       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   15061       for pkg in $enableval; do
   15062 	IFS=$lt_save_ifs
   15063 	if test "X$pkg" = "X$p"; then
   15064 	  enable_fast_install=yes
   15065 	fi
   15066       done
   15067       IFS=$lt_save_ifs
   15068       ;;
   15069     esac
   15070 else $as_nop
   15071   enable_fast_install=yes
   15072 fi
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081   shared_archive_member_spec=
   15082 case $host,$enable_shared in
   15083 power*-*-aix[5-9]*,yes)
   15084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   15085 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   15086 
   15087 # Check whether --with-aix-soname was given.
   15088 if test ${with_aix_soname+y}
   15089 then :
   15090   withval=$with_aix_soname; case $withval in
   15091     aix|svr4|both)
   15092       ;;
   15093     *)
   15094       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   15095       ;;
   15096     esac
   15097     lt_cv_with_aix_soname=$with_aix_soname
   15098 else $as_nop
   15099   if test ${lt_cv_with_aix_soname+y}
   15100 then :
   15101   printf %s "(cached) " >&6
   15102 else $as_nop
   15103   lt_cv_with_aix_soname=aix
   15104 fi
   15105 
   15106     with_aix_soname=$lt_cv_with_aix_soname
   15107 fi
   15108 
   15109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   15110 printf "%s\n" "$with_aix_soname" >&6; }
   15111   if test aix != "$with_aix_soname"; then
   15112     # For the AIX way of multilib, we name the shared archive member
   15113     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   15114     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   15115     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   15116     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   15117     if test 64 = "${OBJECT_MODE-32}"; then
   15118       shared_archive_member_spec=shr_64
   15119     else
   15120       shared_archive_member_spec=shr
   15121     fi
   15122   fi
   15123   ;;
   15124 *)
   15125   with_aix_soname=aix
   15126   ;;
   15127 esac
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 # This can be used to rebuild libtool when needed
   15139 LIBTOOL_DEPS=$ltmain
   15140 
   15141 # Always use our own libtool.
   15142 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 test -z "$LN_S" && LN_S="ln -s"
   15174 
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 if test -n "${ZSH_VERSION+set}"; then
   15189    setopt NO_GLOB_SUBST
   15190 fi
   15191 
   15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   15193 printf %s "checking for objdir... " >&6; }
   15194 if test ${lt_cv_objdir+y}
   15195 then :
   15196   printf %s "(cached) " >&6
   15197 else $as_nop
   15198   rm -f .libs 2>/dev/null
   15199 mkdir .libs 2>/dev/null
   15200 if test -d .libs; then
   15201   lt_cv_objdir=.libs
   15202 else
   15203   # MS-DOS does not allow filenames that begin with a dot.
   15204   lt_cv_objdir=_libs
   15205 fi
   15206 rmdir .libs 2>/dev/null
   15207 fi
   15208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   15209 printf "%s\n" "$lt_cv_objdir" >&6; }
   15210 objdir=$lt_cv_objdir
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   15217 
   15218 
   15219 
   15220 
   15221 case $host_os in
   15222 aix3*)
   15223   # AIX sometimes has problems with the GCC collect2 program.  For some
   15224   # reason, if we set the COLLECT_NAMES environment variable, the problems
   15225   # vanish in a puff of smoke.
   15226   if test set != "${COLLECT_NAMES+set}"; then
   15227     COLLECT_NAMES=
   15228     export COLLECT_NAMES
   15229   fi
   15230   ;;
   15231 esac
   15232 
   15233 # Global variables:
   15234 ofile=libtool
   15235 can_build_shared=yes
   15236 
   15237 # All known linkers require a '.a' archive for static linking (except MSVC and
   15238 # ICC, which need '.lib').
   15239 libext=a
   15240 
   15241 with_gnu_ld=$lt_cv_prog_gnu_ld
   15242 
   15243 old_CC=$CC
   15244 old_CFLAGS=$CFLAGS
   15245 
   15246 # Set sane defaults for various variables
   15247 test -z "$CC" && CC=cc
   15248 test -z "$LTCC" && LTCC=$CC
   15249 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   15250 test -z "$LD" && LD=ld
   15251 test -z "$ac_objext" && ac_objext=o
   15252 
   15253 func_cc_basename $compiler
   15254 cc_basename=$func_cc_basename_result
   15255 
   15256 
   15257 # Only perform the check for file, if the check method requires it
   15258 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   15259 case $deplibs_check_method in
   15260 file_magic*)
   15261   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   15262     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   15263 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   15264 if test ${lt_cv_path_MAGIC_CMD+y}
   15265 then :
   15266   printf %s "(cached) " >&6
   15267 else $as_nop
   15268   case $MAGIC_CMD in
   15269 [\\/*] |  ?:[\\/]*)
   15270   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15271   ;;
   15272 *)
   15273   lt_save_MAGIC_CMD=$MAGIC_CMD
   15274   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15275   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15276   for ac_dir in $ac_dummy; do
   15277     IFS=$lt_save_ifs
   15278     test -z "$ac_dir" && ac_dir=.
   15279     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   15280       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   15281       if test -n "$file_magic_test_file"; then
   15282 	case $deplibs_check_method in
   15283 	"file_magic "*)
   15284 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15285 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15286 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15287 	    $EGREP "$file_magic_regex" > /dev/null; then
   15288 	    :
   15289 	  else
   15290 	    cat <<_LT_EOF 1>&2
   15291 
   15292 *** Warning: the command libtool uses to detect shared libraries,
   15293 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15294 *** The result is that libtool may fail to recognize shared libraries
   15295 *** as such.  This will affect the creation of libtool libraries that
   15296 *** depend on shared libraries, but programs linked with such libtool
   15297 *** libraries will work regardless of this problem.  Nevertheless, you
   15298 *** may want to report the problem to your system manager and/or to
   15299 *** bug-libtool@gnu.org
   15300 
   15301 _LT_EOF
   15302 	  fi ;;
   15303 	esac
   15304       fi
   15305       break
   15306     fi
   15307   done
   15308   IFS=$lt_save_ifs
   15309   MAGIC_CMD=$lt_save_MAGIC_CMD
   15310   ;;
   15311 esac
   15312 fi
   15313 
   15314 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15315 if test -n "$MAGIC_CMD"; then
   15316   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15317 printf "%s\n" "$MAGIC_CMD" >&6; }
   15318 else
   15319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15320 printf "%s\n" "no" >&6; }
   15321 fi
   15322 
   15323 
   15324 
   15325 
   15326 
   15327 if test -z "$lt_cv_path_MAGIC_CMD"; then
   15328   if test -n "$ac_tool_prefix"; then
   15329     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   15330 printf %s "checking for file... " >&6; }
   15331 if test ${lt_cv_path_MAGIC_CMD+y}
   15332 then :
   15333   printf %s "(cached) " >&6
   15334 else $as_nop
   15335   case $MAGIC_CMD in
   15336 [\\/*] |  ?:[\\/]*)
   15337   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   15338   ;;
   15339 *)
   15340   lt_save_MAGIC_CMD=$MAGIC_CMD
   15341   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   15342   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   15343   for ac_dir in $ac_dummy; do
   15344     IFS=$lt_save_ifs
   15345     test -z "$ac_dir" && ac_dir=.
   15346     if test -f "$ac_dir/file"; then
   15347       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   15348       if test -n "$file_magic_test_file"; then
   15349 	case $deplibs_check_method in
   15350 	"file_magic "*)
   15351 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   15352 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15353 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   15354 	    $EGREP "$file_magic_regex" > /dev/null; then
   15355 	    :
   15356 	  else
   15357 	    cat <<_LT_EOF 1>&2
   15358 
   15359 *** Warning: the command libtool uses to detect shared libraries,
   15360 *** $file_magic_cmd, produces output that libtool cannot recognize.
   15361 *** The result is that libtool may fail to recognize shared libraries
   15362 *** as such.  This will affect the creation of libtool libraries that
   15363 *** depend on shared libraries, but programs linked with such libtool
   15364 *** libraries will work regardless of this problem.  Nevertheless, you
   15365 *** may want to report the problem to your system manager and/or to
   15366 *** bug-libtool@gnu.org
   15367 
   15368 _LT_EOF
   15369 	  fi ;;
   15370 	esac
   15371       fi
   15372       break
   15373     fi
   15374   done
   15375   IFS=$lt_save_ifs
   15376   MAGIC_CMD=$lt_save_MAGIC_CMD
   15377   ;;
   15378 esac
   15379 fi
   15380 
   15381 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   15382 if test -n "$MAGIC_CMD"; then
   15383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   15384 printf "%s\n" "$MAGIC_CMD" >&6; }
   15385 else
   15386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15387 printf "%s\n" "no" >&6; }
   15388 fi
   15389 
   15390 
   15391   else
   15392     MAGIC_CMD=:
   15393   fi
   15394 fi
   15395 
   15396   fi
   15397   ;;
   15398 esac
   15399 
   15400 # Use C for the default configuration in the libtool script
   15401 
   15402 lt_save_CC=$CC
   15403 ac_ext=c
   15404 ac_cpp='$CPP $CPPFLAGS'
   15405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15408 
   15409 
   15410 # Source file extension for C test sources.
   15411 ac_ext=c
   15412 
   15413 # Object file extension for compiled C test sources.
   15414 objext=o
   15415 objext=$objext
   15416 
   15417 # Code to be used in simple compile tests
   15418 lt_simple_compile_test_code="int some_variable = 0;"
   15419 
   15420 # Code to be used in simple link tests
   15421 lt_simple_link_test_code='int main(){return(0);}'
   15422 
   15423 
   15424 
   15425 
   15426 
   15427 
   15428 
   15429 # If no C compiler was specified, use CC.
   15430 LTCC=${LTCC-"$CC"}
   15431 
   15432 # If no C compiler flags were specified, use CFLAGS.
   15433 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   15434 
   15435 # Allow CC to be a program name with arguments.
   15436 compiler=$CC
   15437 
   15438 # Save the default compiler, since it gets overwritten when the other
   15439 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   15440 compiler_DEFAULT=$CC
   15441 
   15442 # save warnings/boilerplate of simple test code
   15443 ac_outfile=conftest.$ac_objext
   15444 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   15445 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15446 _lt_compiler_boilerplate=`cat conftest.err`
   15447 $RM conftest*
   15448 
   15449 ac_outfile=conftest.$ac_objext
   15450 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   15451 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   15452 _lt_linker_boilerplate=`cat conftest.err`
   15453 $RM -r conftest*
   15454 
   15455 
   15456 if test -n "$compiler"; then
   15457 
   15458 lt_prog_compiler_no_builtin_flag=
   15459 
   15460 if test yes = "$GCC"; then
   15461   case $cc_basename in
   15462   nvcc*)
   15463     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   15464   *)
   15465     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   15466   esac
   15467 
   15468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   15469 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   15470 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   15471 then :
   15472   printf %s "(cached) " >&6
   15473 else $as_nop
   15474   lt_cv_prog_compiler_rtti_exceptions=no
   15475    ac_outfile=conftest.$ac_objext
   15476    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15477    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   15478    # Insert the option either (1) after the last *FLAGS variable, or
   15479    # (2) before a word containing "conftest.", or (3) at the end.
   15480    # Note that $ac_compile itself does not contain backslashes and begins
   15481    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15482    # The option is referenced via a variable to avoid confusing sed.
   15483    lt_compile=`echo "$ac_compile" | $SED \
   15484    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15485    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15486    -e 's:$: $lt_compiler_flag:'`
   15487    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15488    (eval "$lt_compile" 2>conftest.err)
   15489    ac_status=$?
   15490    cat conftest.err >&5
   15491    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15492    if (exit $ac_status) && test -s "$ac_outfile"; then
   15493      # The compiler can only warn and ignore the option if not recognized
   15494      # So say no if there are warnings other than the usual output.
   15495      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15496      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15497      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15498        lt_cv_prog_compiler_rtti_exceptions=yes
   15499      fi
   15500    fi
   15501    $RM conftest*
   15502 
   15503 fi
   15504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   15505 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   15506 
   15507 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   15508     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   15509 else
   15510     :
   15511 fi
   15512 
   15513 fi
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520   lt_prog_compiler_wl=
   15521 lt_prog_compiler_pic=
   15522 lt_prog_compiler_static=
   15523 
   15524 
   15525   if test yes = "$GCC"; then
   15526     lt_prog_compiler_wl='-Wl,'
   15527     lt_prog_compiler_static='-static'
   15528 
   15529     case $host_os in
   15530       aix*)
   15531       # All AIX code is PIC.
   15532       if test ia64 = "$host_cpu"; then
   15533 	# AIX 5 now supports IA64 processor
   15534 	lt_prog_compiler_static='-Bstatic'
   15535       fi
   15536       lt_prog_compiler_pic='-fPIC'
   15537       ;;
   15538 
   15539     amigaos*)
   15540       case $host_cpu in
   15541       powerpc)
   15542             # see comment about AmigaOS4 .so support
   15543             lt_prog_compiler_pic='-fPIC'
   15544         ;;
   15545       m68k)
   15546             # FIXME: we need at least 68020 code to build shared libraries, but
   15547             # adding the '-m68020' flag to GCC prevents building anything better,
   15548             # like '-m68040'.
   15549             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   15550         ;;
   15551       esac
   15552       ;;
   15553 
   15554     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   15555       # PIC is the default for these OSes.
   15556       ;;
   15557 
   15558     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15559       # This hack is so that the source file can tell whether it is being
   15560       # built for inclusion in a dll (and should export symbols for example).
   15561       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   15562       # (--disable-auto-import) libraries
   15563       lt_prog_compiler_pic='-DDLL_EXPORT'
   15564       case $host_os in
   15565       os2*)
   15566 	lt_prog_compiler_static='$wl-static'
   15567 	;;
   15568       esac
   15569       ;;
   15570 
   15571     darwin* | rhapsody*)
   15572       # PIC is the default on this platform
   15573       # Common symbols not allowed in MH_DYLIB files
   15574       lt_prog_compiler_pic='-fno-common'
   15575       ;;
   15576 
   15577     haiku*)
   15578       # PIC is the default for Haiku.
   15579       # The "-static" flag exists, but is broken.
   15580       lt_prog_compiler_static=
   15581       ;;
   15582 
   15583     hpux*)
   15584       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   15585       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   15586       # sets the default TLS model and affects inlining.
   15587       case $host_cpu in
   15588       hppa*64*)
   15589 	# +Z the default
   15590 	;;
   15591       *)
   15592 	lt_prog_compiler_pic='-fPIC'
   15593 	;;
   15594       esac
   15595       ;;
   15596 
   15597     interix[3-9]*)
   15598       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   15599       # Instead, we relocate shared libraries at runtime.
   15600       ;;
   15601 
   15602     msdosdjgpp*)
   15603       # Just because we use GCC doesn't mean we suddenly get shared libraries
   15604       # on systems that don't support them.
   15605       lt_prog_compiler_can_build_shared=no
   15606       enable_shared=no
   15607       ;;
   15608 
   15609     *nto* | *qnx*)
   15610       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15611       # it will coredump.
   15612       lt_prog_compiler_pic='-fPIC -shared'
   15613       ;;
   15614 
   15615     sysv4*MP*)
   15616       if test -d /usr/nec; then
   15617 	lt_prog_compiler_pic=-Kconform_pic
   15618       fi
   15619       ;;
   15620 
   15621     *)
   15622       lt_prog_compiler_pic='-fPIC'
   15623       ;;
   15624     esac
   15625 
   15626     case $cc_basename in
   15627     nvcc*) # Cuda Compiler Driver 2.2
   15628       lt_prog_compiler_wl='-Xlinker '
   15629       if test -n "$lt_prog_compiler_pic"; then
   15630         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   15631       fi
   15632       ;;
   15633     esac
   15634   else
   15635     # PORTME Check for flag to pass linker flags through the system compiler.
   15636     case $host_os in
   15637     aix*)
   15638       lt_prog_compiler_wl='-Wl,'
   15639       if test ia64 = "$host_cpu"; then
   15640 	# AIX 5 now supports IA64 processor
   15641 	lt_prog_compiler_static='-Bstatic'
   15642       else
   15643 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   15644       fi
   15645       ;;
   15646 
   15647     darwin* | rhapsody*)
   15648       # PIC is the default on this platform
   15649       # Common symbols not allowed in MH_DYLIB files
   15650       lt_prog_compiler_pic='-fno-common'
   15651       case $cc_basename in
   15652       nagfor*)
   15653         # NAG Fortran compiler
   15654         lt_prog_compiler_wl='-Wl,-Wl,,'
   15655         lt_prog_compiler_pic='-PIC'
   15656         lt_prog_compiler_static='-Bstatic'
   15657         ;;
   15658       esac
   15659       ;;
   15660 
   15661     mingw* | cygwin* | pw32* | os2* | cegcc*)
   15662       # This hack is so that the source file can tell whether it is being
   15663       # built for inclusion in a dll (and should export symbols for example).
   15664       lt_prog_compiler_pic='-DDLL_EXPORT'
   15665       case $host_os in
   15666       os2*)
   15667 	lt_prog_compiler_static='$wl-static'
   15668 	;;
   15669       esac
   15670       ;;
   15671 
   15672     hpux9* | hpux10* | hpux11*)
   15673       lt_prog_compiler_wl='-Wl,'
   15674       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   15675       # not for PA HP-UX.
   15676       case $host_cpu in
   15677       hppa*64*|ia64*)
   15678 	# +Z the default
   15679 	;;
   15680       *)
   15681 	lt_prog_compiler_pic='+Z'
   15682 	;;
   15683       esac
   15684       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   15685       lt_prog_compiler_static='$wl-a ${wl}archive'
   15686       ;;
   15687 
   15688     irix5* | irix6* | nonstopux*)
   15689       lt_prog_compiler_wl='-Wl,'
   15690       # PIC (with -KPIC) is the default.
   15691       lt_prog_compiler_static='-non_shared'
   15692       ;;
   15693 
   15694     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   15695       case $cc_basename in
   15696       # old Intel for x86_64, which still supported -KPIC.
   15697       ecc*)
   15698 	lt_prog_compiler_wl='-Wl,'
   15699 	lt_prog_compiler_pic='-KPIC'
   15700 	lt_prog_compiler_static='-static'
   15701         ;;
   15702       # icc used to be incompatible with GCC.
   15703       # ICC 10 doesn't accept -KPIC any more.
   15704       icc* | ifort*)
   15705 	lt_prog_compiler_wl='-Wl,'
   15706 	lt_prog_compiler_pic='-fPIC'
   15707 	lt_prog_compiler_static='-static'
   15708         ;;
   15709       # Lahey Fortran 8.1.
   15710       lf95*)
   15711 	lt_prog_compiler_wl='-Wl,'
   15712 	lt_prog_compiler_pic='--shared'
   15713 	lt_prog_compiler_static='--static'
   15714 	;;
   15715       nagfor*)
   15716 	# NAG Fortran compiler
   15717 	lt_prog_compiler_wl='-Wl,-Wl,,'
   15718 	lt_prog_compiler_pic='-PIC'
   15719 	lt_prog_compiler_static='-Bstatic'
   15720 	;;
   15721       tcc*)
   15722 	# Fabrice Bellard et al's Tiny C Compiler
   15723 	lt_prog_compiler_wl='-Wl,'
   15724 	lt_prog_compiler_pic='-fPIC'
   15725 	lt_prog_compiler_static='-static'
   15726 	;;
   15727       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   15728         # Portland Group compilers (*not* the Pentium gcc compiler,
   15729 	# which looks to be a dead project)
   15730 	lt_prog_compiler_wl='-Wl,'
   15731 	lt_prog_compiler_pic='-fpic'
   15732 	lt_prog_compiler_static='-Bstatic'
   15733         ;;
   15734       ccc*)
   15735         lt_prog_compiler_wl='-Wl,'
   15736         # All Alpha code is PIC.
   15737         lt_prog_compiler_static='-non_shared'
   15738         ;;
   15739       xl* | bgxl* | bgf* | mpixl*)
   15740 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   15741 	lt_prog_compiler_wl='-Wl,'
   15742 	lt_prog_compiler_pic='-qpic'
   15743 	lt_prog_compiler_static='-qstaticlink'
   15744 	;;
   15745       *)
   15746 	case `$CC -V 2>&1 | $SED 5q` in
   15747 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   15748 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   15749 	  lt_prog_compiler_pic='-KPIC'
   15750 	  lt_prog_compiler_static='-Bstatic'
   15751 	  lt_prog_compiler_wl=''
   15752 	  ;;
   15753 	*Sun\ F* | *Sun*Fortran*)
   15754 	  lt_prog_compiler_pic='-KPIC'
   15755 	  lt_prog_compiler_static='-Bstatic'
   15756 	  lt_prog_compiler_wl='-Qoption ld '
   15757 	  ;;
   15758 	*Sun\ C*)
   15759 	  # Sun C 5.9
   15760 	  lt_prog_compiler_pic='-KPIC'
   15761 	  lt_prog_compiler_static='-Bstatic'
   15762 	  lt_prog_compiler_wl='-Wl,'
   15763 	  ;;
   15764         *Intel*\ [CF]*Compiler*)
   15765 	  lt_prog_compiler_wl='-Wl,'
   15766 	  lt_prog_compiler_pic='-fPIC'
   15767 	  lt_prog_compiler_static='-static'
   15768 	  ;;
   15769 	*Portland\ Group*)
   15770 	  lt_prog_compiler_wl='-Wl,'
   15771 	  lt_prog_compiler_pic='-fpic'
   15772 	  lt_prog_compiler_static='-Bstatic'
   15773 	  ;;
   15774 	esac
   15775 	;;
   15776       esac
   15777       ;;
   15778 
   15779     newsos6)
   15780       lt_prog_compiler_pic='-KPIC'
   15781       lt_prog_compiler_static='-Bstatic'
   15782       ;;
   15783 
   15784     *nto* | *qnx*)
   15785       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15786       # it will coredump.
   15787       lt_prog_compiler_pic='-fPIC -shared'
   15788       ;;
   15789 
   15790     osf3* | osf4* | osf5*)
   15791       lt_prog_compiler_wl='-Wl,'
   15792       # All OSF/1 code is PIC.
   15793       lt_prog_compiler_static='-non_shared'
   15794       ;;
   15795 
   15796     rdos*)
   15797       lt_prog_compiler_static='-non_shared'
   15798       ;;
   15799 
   15800     solaris*)
   15801       lt_prog_compiler_pic='-KPIC'
   15802       lt_prog_compiler_static='-Bstatic'
   15803       case $cc_basename in
   15804       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15805 	lt_prog_compiler_wl='-Qoption ld ';;
   15806       *)
   15807 	lt_prog_compiler_wl='-Wl,';;
   15808       esac
   15809       ;;
   15810 
   15811     sunos4*)
   15812       lt_prog_compiler_wl='-Qoption ld '
   15813       lt_prog_compiler_pic='-PIC'
   15814       lt_prog_compiler_static='-Bstatic'
   15815       ;;
   15816 
   15817     sysv4 | sysv4.2uw2* | sysv4.3*)
   15818       lt_prog_compiler_wl='-Wl,'
   15819       lt_prog_compiler_pic='-KPIC'
   15820       lt_prog_compiler_static='-Bstatic'
   15821       ;;
   15822 
   15823     sysv4*MP*)
   15824       if test -d /usr/nec; then
   15825 	lt_prog_compiler_pic='-Kconform_pic'
   15826 	lt_prog_compiler_static='-Bstatic'
   15827       fi
   15828       ;;
   15829 
   15830     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15831       lt_prog_compiler_wl='-Wl,'
   15832       lt_prog_compiler_pic='-KPIC'
   15833       lt_prog_compiler_static='-Bstatic'
   15834       ;;
   15835 
   15836     unicos*)
   15837       lt_prog_compiler_wl='-Wl,'
   15838       lt_prog_compiler_can_build_shared=no
   15839       ;;
   15840 
   15841     uts4*)
   15842       lt_prog_compiler_pic='-pic'
   15843       lt_prog_compiler_static='-Bstatic'
   15844       ;;
   15845 
   15846     *)
   15847       lt_prog_compiler_can_build_shared=no
   15848       ;;
   15849     esac
   15850   fi
   15851 
   15852 case $host_os in
   15853   # For platforms that do not support PIC, -DPIC is meaningless:
   15854   *djgpp*)
   15855     lt_prog_compiler_pic=
   15856     ;;
   15857   *)
   15858     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15859     ;;
   15860 esac
   15861 
   15862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15863 printf %s "checking for $compiler option to produce PIC... " >&6; }
   15864 if test ${lt_cv_prog_compiler_pic+y}
   15865 then :
   15866   printf %s "(cached) " >&6
   15867 else $as_nop
   15868   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15869 fi
   15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15871 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   15872 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15873 
   15874 #
   15875 # Check to make sure the PIC flag actually works.
   15876 #
   15877 if test -n "$lt_prog_compiler_pic"; then
   15878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15879 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15880 if test ${lt_cv_prog_compiler_pic_works+y}
   15881 then :
   15882   printf %s "(cached) " >&6
   15883 else $as_nop
   15884   lt_cv_prog_compiler_pic_works=no
   15885    ac_outfile=conftest.$ac_objext
   15886    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15887    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15888    # Insert the option either (1) after the last *FLAGS variable, or
   15889    # (2) before a word containing "conftest.", or (3) at the end.
   15890    # Note that $ac_compile itself does not contain backslashes and begins
   15891    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15892    # The option is referenced via a variable to avoid confusing sed.
   15893    lt_compile=`echo "$ac_compile" | $SED \
   15894    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15895    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15896    -e 's:$: $lt_compiler_flag:'`
   15897    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15898    (eval "$lt_compile" 2>conftest.err)
   15899    ac_status=$?
   15900    cat conftest.err >&5
   15901    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15902    if (exit $ac_status) && test -s "$ac_outfile"; then
   15903      # The compiler can only warn and ignore the option if not recognized
   15904      # So say no if there are warnings other than the usual output.
   15905      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15906      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15907      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15908        lt_cv_prog_compiler_pic_works=yes
   15909      fi
   15910    fi
   15911    $RM conftest*
   15912 
   15913 fi
   15914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15915 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   15916 
   15917 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15918     case $lt_prog_compiler_pic in
   15919      "" | " "*) ;;
   15920      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15921      esac
   15922 else
   15923     lt_prog_compiler_pic=
   15924      lt_prog_compiler_can_build_shared=no
   15925 fi
   15926 
   15927 fi
   15928 
   15929 
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939 #
   15940 # Check to make sure the static flag actually works.
   15941 #
   15942 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15944 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15945 if test ${lt_cv_prog_compiler_static_works+y}
   15946 then :
   15947   printf %s "(cached) " >&6
   15948 else $as_nop
   15949   lt_cv_prog_compiler_static_works=no
   15950    save_LDFLAGS=$LDFLAGS
   15951    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15952    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15953    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15954      # The linker can only warn and ignore the option if not recognized
   15955      # So say no if there are warnings
   15956      if test -s conftest.err; then
   15957        # Append any errors to the config.log.
   15958        cat conftest.err 1>&5
   15959        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15960        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15961        if diff conftest.exp conftest.er2 >/dev/null; then
   15962          lt_cv_prog_compiler_static_works=yes
   15963        fi
   15964      else
   15965        lt_cv_prog_compiler_static_works=yes
   15966      fi
   15967    fi
   15968    $RM -r conftest*
   15969    LDFLAGS=$save_LDFLAGS
   15970 
   15971 fi
   15972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15973 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   15974 
   15975 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15976     :
   15977 else
   15978     lt_prog_compiler_static=
   15979 fi
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15988 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15989 if test ${lt_cv_prog_compiler_c_o+y}
   15990 then :
   15991   printf %s "(cached) " >&6
   15992 else $as_nop
   15993   lt_cv_prog_compiler_c_o=no
   15994    $RM -r conftest 2>/dev/null
   15995    mkdir conftest
   15996    cd conftest
   15997    mkdir out
   15998    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15999 
   16000    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16001    # Insert the option either (1) after the last *FLAGS variable, or
   16002    # (2) before a word containing "conftest.", or (3) at the end.
   16003    # Note that $ac_compile itself does not contain backslashes and begins
   16004    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16005    lt_compile=`echo "$ac_compile" | $SED \
   16006    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16007    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16008    -e 's:$: $lt_compiler_flag:'`
   16009    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16010    (eval "$lt_compile" 2>out/conftest.err)
   16011    ac_status=$?
   16012    cat out/conftest.err >&5
   16013    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16014    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16015    then
   16016      # The compiler can only warn and ignore the option if not recognized
   16017      # So say no if there are warnings
   16018      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16019      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16020      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16021        lt_cv_prog_compiler_c_o=yes
   16022      fi
   16023    fi
   16024    chmod u+w . 2>&5
   16025    $RM conftest*
   16026    # SGI C++ compiler will create directory out/ii_files/ for
   16027    # template instantiation
   16028    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16029    $RM out/* && rmdir out
   16030    cd ..
   16031    $RM -r conftest
   16032    $RM conftest*
   16033 
   16034 fi
   16035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16036 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   16044 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   16045 if test ${lt_cv_prog_compiler_c_o+y}
   16046 then :
   16047   printf %s "(cached) " >&6
   16048 else $as_nop
   16049   lt_cv_prog_compiler_c_o=no
   16050    $RM -r conftest 2>/dev/null
   16051    mkdir conftest
   16052    cd conftest
   16053    mkdir out
   16054    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16055 
   16056    lt_compiler_flag="-o out/conftest2.$ac_objext"
   16057    # Insert the option either (1) after the last *FLAGS variable, or
   16058    # (2) before a word containing "conftest.", or (3) at the end.
   16059    # Note that $ac_compile itself does not contain backslashes and begins
   16060    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16061    lt_compile=`echo "$ac_compile" | $SED \
   16062    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16063    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16064    -e 's:$: $lt_compiler_flag:'`
   16065    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   16066    (eval "$lt_compile" 2>out/conftest.err)
   16067    ac_status=$?
   16068    cat out/conftest.err >&5
   16069    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16070    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   16071    then
   16072      # The compiler can only warn and ignore the option if not recognized
   16073      # So say no if there are warnings
   16074      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   16075      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   16076      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   16077        lt_cv_prog_compiler_c_o=yes
   16078      fi
   16079    fi
   16080    chmod u+w . 2>&5
   16081    $RM conftest*
   16082    # SGI C++ compiler will create directory out/ii_files/ for
   16083    # template instantiation
   16084    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   16085    $RM out/* && rmdir out
   16086    cd ..
   16087    $RM -r conftest
   16088    $RM conftest*
   16089 
   16090 fi
   16091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   16092 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   16093 
   16094 
   16095 
   16096 
   16097 hard_links=nottested
   16098 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   16099   # do not overwrite the value of need_locks provided by the user
   16100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   16101 printf %s "checking if we can lock with hard links... " >&6; }
   16102   hard_links=yes
   16103   $RM conftest*
   16104   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16105   touch conftest.a
   16106   ln conftest.a conftest.b 2>&5 || hard_links=no
   16107   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   16108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   16109 printf "%s\n" "$hard_links" >&6; }
   16110   if test no = "$hard_links"; then
   16111     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   16112 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   16113     need_locks=warn
   16114   fi
   16115 else
   16116   need_locks=no
   16117 fi
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   16125 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   16126 
   16127   runpath_var=
   16128   allow_undefined_flag=
   16129   always_export_symbols=no
   16130   archive_cmds=
   16131   archive_expsym_cmds=
   16132   compiler_needs_object=no
   16133   enable_shared_with_static_runtimes=no
   16134   export_dynamic_flag_spec=
   16135   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   16136   hardcode_automatic=no
   16137   hardcode_direct=no
   16138   hardcode_direct_absolute=no
   16139   hardcode_libdir_flag_spec=
   16140   hardcode_libdir_separator=
   16141   hardcode_minus_L=no
   16142   hardcode_shlibpath_var=unsupported
   16143   inherit_rpath=no
   16144   link_all_deplibs=unknown
   16145   module_cmds=
   16146   module_expsym_cmds=
   16147   old_archive_from_new_cmds=
   16148   old_archive_from_expsyms_cmds=
   16149   thread_safe_flag_spec=
   16150   whole_archive_flag_spec=
   16151   # include_expsyms should be a list of space-separated symbols to be *always*
   16152   # included in the symbol list
   16153   include_expsyms=
   16154   # exclude_expsyms can be an extended regexp of symbols to exclude
   16155   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   16156   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   16157   # as well as any symbol that contains 'd'.
   16158   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   16159   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   16160   # platforms (ab)use it in PIC code, but their linkers get confused if
   16161   # the symbol is explicitly referenced.  Since portable code cannot
   16162   # rely on this symbol name, it's probably fine to never include it in
   16163   # preloaded symbol tables.
   16164   # Exclude shared library initialization/finalization symbols.
   16165   extract_expsyms_cmds=
   16166 
   16167   case $host_os in
   16168   cygwin* | mingw* | pw32* | cegcc*)
   16169     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   16170     # When not using gcc, we currently assume that we are using
   16171     # Microsoft Visual C++ or Intel C++ Compiler.
   16172     if test yes != "$GCC"; then
   16173       with_gnu_ld=no
   16174     fi
   16175     ;;
   16176   interix*)
   16177     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   16178     with_gnu_ld=yes
   16179     ;;
   16180   openbsd* | bitrig*)
   16181     with_gnu_ld=no
   16182     ;;
   16183   esac
   16184 
   16185   ld_shlibs=yes
   16186 
   16187   # On some targets, GNU ld is compatible enough with the native linker
   16188   # that we're better off using the native interface for both.
   16189   lt_use_gnu_ld_interface=no
   16190   if test yes = "$with_gnu_ld"; then
   16191     case $host_os in
   16192       aix*)
   16193 	# The AIX port of GNU ld has always aspired to compatibility
   16194 	# with the native linker.  However, as the warning in the GNU ld
   16195 	# block says, versions before 2.19.5* couldn't really create working
   16196 	# shared libraries, regardless of the interface used.
   16197 	case `$LD -v 2>&1` in
   16198 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   16199 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   16200 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   16201 	  *)
   16202 	    lt_use_gnu_ld_interface=yes
   16203 	    ;;
   16204 	esac
   16205 	;;
   16206       *)
   16207 	lt_use_gnu_ld_interface=yes
   16208 	;;
   16209     esac
   16210   fi
   16211 
   16212   if test yes = "$lt_use_gnu_ld_interface"; then
   16213     # If archive_cmds runs LD, not CC, wlarc should be empty
   16214     wlarc='$wl'
   16215 
   16216     # Set some defaults for GNU ld with shared library support. These
   16217     # are reset later if shared libraries are not supported. Putting them
   16218     # here allows them to be overridden if necessary.
   16219     runpath_var=LD_RUN_PATH
   16220     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16221     export_dynamic_flag_spec='$wl--export-dynamic'
   16222     # ancient GNU ld didn't support --whole-archive et. al.
   16223     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   16224       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   16225     else
   16226       whole_archive_flag_spec=
   16227     fi
   16228     supports_anon_versioning=no
   16229     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   16230       *GNU\ gold*) supports_anon_versioning=yes ;;
   16231       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   16232       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   16233       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   16234       *\ 2.11.*) ;; # other 2.11 versions
   16235       *) supports_anon_versioning=yes ;;
   16236     esac
   16237 
   16238     # See if GNU ld supports shared libraries.
   16239     case $host_os in
   16240     aix[3-9]*)
   16241       # On AIX/PPC, the GNU linker is very broken
   16242       if test ia64 != "$host_cpu"; then
   16243 	ld_shlibs=no
   16244 	cat <<_LT_EOF 1>&2
   16245 
   16246 *** Warning: the GNU linker, at least up to release 2.19, is reported
   16247 *** to be unable to reliably create shared libraries on AIX.
   16248 *** Therefore, libtool is disabling shared libraries support.  If you
   16249 *** really care for shared libraries, you may want to install binutils
   16250 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   16251 *** You will then need to restart the configuration process.
   16252 
   16253 _LT_EOF
   16254       fi
   16255       ;;
   16256 
   16257     amigaos*)
   16258       case $host_cpu in
   16259       powerpc)
   16260             # see comment about AmigaOS4 .so support
   16261             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16262             archive_expsym_cmds=''
   16263         ;;
   16264       m68k)
   16265             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)'
   16266             hardcode_libdir_flag_spec='-L$libdir'
   16267             hardcode_minus_L=yes
   16268         ;;
   16269       esac
   16270       ;;
   16271 
   16272     beos*)
   16273       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16274 	allow_undefined_flag=unsupported
   16275 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   16276 	# support --undefined.  This deserves some investigation.  FIXME
   16277 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16278       else
   16279 	ld_shlibs=no
   16280       fi
   16281       ;;
   16282 
   16283     cygwin* | mingw* | pw32* | cegcc*)
   16284       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   16285       # as there is no search path for DLLs.
   16286       hardcode_libdir_flag_spec='-L$libdir'
   16287       export_dynamic_flag_spec='$wl--export-all-symbols'
   16288       allow_undefined_flag=unsupported
   16289       always_export_symbols=no
   16290       enable_shared_with_static_runtimes=yes
   16291       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'
   16292       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   16293 
   16294       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   16295         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16296 	# If the export-symbols file already is a .def file, use it as
   16297 	# is; otherwise, prepend EXPORTS...
   16298 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16299           cp $export_symbols $output_objdir/$soname.def;
   16300         else
   16301           echo EXPORTS > $output_objdir/$soname.def;
   16302           cat $export_symbols >> $output_objdir/$soname.def;
   16303         fi~
   16304         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   16305       else
   16306 	ld_shlibs=no
   16307       fi
   16308       ;;
   16309 
   16310     haiku*)
   16311       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16312       link_all_deplibs=yes
   16313       ;;
   16314 
   16315     os2*)
   16316       hardcode_libdir_flag_spec='-L$libdir'
   16317       hardcode_minus_L=yes
   16318       allow_undefined_flag=unsupported
   16319       shrext_cmds=.dll
   16320       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16321 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16322 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16323 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16324 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16325 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16326 	emximp -o $lib $output_objdir/$libname.def'
   16327       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16328 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16329 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16330 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16331 	prefix_cmds="$SED"~
   16332 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16333 	  prefix_cmds="$prefix_cmds -e 1d";
   16334 	fi~
   16335 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16336 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16337 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16338 	emximp -o $lib $output_objdir/$libname.def'
   16339       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16340       enable_shared_with_static_runtimes=yes
   16341       file_list_spec='@'
   16342       ;;
   16343 
   16344     interix[3-9]*)
   16345       hardcode_direct=no
   16346       hardcode_shlibpath_var=no
   16347       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16348       export_dynamic_flag_spec='$wl-E'
   16349       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   16350       # Instead, shared libraries are loaded at an image base (0x10000000 by
   16351       # default) and relocated if they conflict, which is a slow very memory
   16352       # consuming and fragmenting process.  To avoid this, we pick a random,
   16353       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   16354       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   16355       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   16356       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'
   16357       ;;
   16358 
   16359     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   16360       tmp_diet=no
   16361       if test linux-dietlibc = "$host_os"; then
   16362 	case $cc_basename in
   16363 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   16364 	esac
   16365       fi
   16366       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   16367 	 && test no = "$tmp_diet"
   16368       then
   16369 	tmp_addflag=' $pic_flag'
   16370 	tmp_sharedflag='-shared'
   16371 	case $cc_basename,$host_cpu in
   16372         pgcc*)				# Portland Group C compiler
   16373 	  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'
   16374 	  tmp_addflag=' $pic_flag'
   16375 	  ;;
   16376 	pgf77* | pgf90* | pgf95* | pgfortran*)
   16377 					# Portland Group f77 and f90 compilers
   16378 	  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'
   16379 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   16380 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   16381 	  tmp_addflag=' -i_dynamic' ;;
   16382 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   16383 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   16384 	ifc* | ifort*)			# Intel Fortran compiler
   16385 	  tmp_addflag=' -nofor_main' ;;
   16386 	lf95*)				# Lahey Fortran 8.1
   16387 	  whole_archive_flag_spec=
   16388 	  tmp_sharedflag='--shared' ;;
   16389         nagfor*)                        # NAGFOR 5.3
   16390           tmp_sharedflag='-Wl,-shared' ;;
   16391 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   16392 	  tmp_sharedflag='-qmkshrobj'
   16393 	  tmp_addflag= ;;
   16394 	nvcc*)	# Cuda Compiler Driver 2.2
   16395 	  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'
   16396 	  compiler_needs_object=yes
   16397 	  ;;
   16398 	esac
   16399 	case `$CC -V 2>&1 | $SED 5q` in
   16400 	*Sun\ C*)			# Sun C 5.9
   16401 	  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'
   16402 	  compiler_needs_object=yes
   16403 	  tmp_sharedflag='-G' ;;
   16404 	*Sun\ F*)			# Sun Fortran 8.3
   16405 	  tmp_sharedflag='-G' ;;
   16406 	esac
   16407 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16408 
   16409         if test yes = "$supports_anon_versioning"; then
   16410           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16411             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16412             echo "local: *; };" >> $output_objdir/$libname.ver~
   16413             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   16414         fi
   16415 
   16416 	case $cc_basename in
   16417 	tcc*)
   16418 	  export_dynamic_flag_spec='-rdynamic'
   16419 	  ;;
   16420 	xlf* | bgf* | bgxlf* | mpixlf*)
   16421 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   16422 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   16423 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16424 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   16425 	  if test yes = "$supports_anon_versioning"; then
   16426 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   16427               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   16428               echo "local: *; };" >> $output_objdir/$libname.ver~
   16429               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   16430 	  fi
   16431 	  ;;
   16432 	esac
   16433       else
   16434         ld_shlibs=no
   16435       fi
   16436       ;;
   16437 
   16438     netbsd*)
   16439       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16440 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   16441 	wlarc=
   16442       else
   16443 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16444 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16445       fi
   16446       ;;
   16447 
   16448     solaris*)
   16449       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   16450 	ld_shlibs=no
   16451 	cat <<_LT_EOF 1>&2
   16452 
   16453 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   16454 *** create shared libraries on Solaris systems.  Therefore, libtool
   16455 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16456 *** binutils to release 2.9.1 or newer.  Another option is to modify
   16457 *** your PATH or compiler configuration so that the native linker is
   16458 *** used, and then restart.
   16459 
   16460 _LT_EOF
   16461       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16462 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16463 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16464       else
   16465 	ld_shlibs=no
   16466       fi
   16467       ;;
   16468 
   16469     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   16470       case `$LD -v 2>&1` in
   16471         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   16472 	ld_shlibs=no
   16473 	cat <<_LT_EOF 1>&2
   16474 
   16475 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   16476 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   16477 *** is disabling shared libraries support.  We urge you to upgrade GNU
   16478 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   16479 *** your PATH or compiler configuration so that the native linker is
   16480 *** used, and then restart.
   16481 
   16482 _LT_EOF
   16483 	;;
   16484 	*)
   16485 	  # For security reasons, it is highly recommended that you always
   16486 	  # use absolute paths for naming shared libraries, and exclude the
   16487 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   16488 	  # requires that you compile everything twice, which is a pain.
   16489 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16490 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16491 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16492 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16493 	  else
   16494 	    ld_shlibs=no
   16495 	  fi
   16496 	;;
   16497       esac
   16498       ;;
   16499 
   16500     sunos4*)
   16501       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16502       wlarc=
   16503       hardcode_direct=yes
   16504       hardcode_shlibpath_var=no
   16505       ;;
   16506 
   16507     *)
   16508       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   16509 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16510 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   16511       else
   16512 	ld_shlibs=no
   16513       fi
   16514       ;;
   16515     esac
   16516 
   16517     if test no = "$ld_shlibs"; then
   16518       runpath_var=
   16519       hardcode_libdir_flag_spec=
   16520       export_dynamic_flag_spec=
   16521       whole_archive_flag_spec=
   16522     fi
   16523   else
   16524     # PORTME fill in a description of your system's linker (not GNU ld)
   16525     case $host_os in
   16526     aix3*)
   16527       allow_undefined_flag=unsupported
   16528       always_export_symbols=yes
   16529       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'
   16530       # Note: this linker hardcodes the directories in LIBPATH if there
   16531       # are no directories specified by -L.
   16532       hardcode_minus_L=yes
   16533       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   16534 	# Neither direct hardcoding nor static linking is supported with a
   16535 	# broken collect2.
   16536 	hardcode_direct=unsupported
   16537       fi
   16538       ;;
   16539 
   16540     aix[4-9]*)
   16541       if test ia64 = "$host_cpu"; then
   16542 	# On IA64, the linker does run time linking by default, so we don't
   16543 	# have to do anything special.
   16544 	aix_use_runtimelinking=no
   16545 	exp_sym_flag='-Bexport'
   16546 	no_entry_flag=
   16547       else
   16548 	# If we're using GNU nm, then we don't want the "-C" option.
   16549 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   16550 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   16551 	# weak defined symbols like other global defined symbols, whereas
   16552 	# GNU nm marks them as "W".
   16553 	# While the 'weak' keyword is ignored in the Export File, we need
   16554 	# it in the Import File for the 'aix-soname' feature, so we have
   16555 	# to replace the "-B" option with "-P" for AIX nm.
   16556 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   16557 	  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'
   16558 	else
   16559 	  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'
   16560 	fi
   16561 	aix_use_runtimelinking=no
   16562 
   16563 	# Test if we are trying to use run time linking or normal
   16564 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   16565 	# have runtime linking enabled, and use it for executables.
   16566 	# For shared libraries, we enable/disable runtime linking
   16567 	# depending on the kind of the shared library created -
   16568 	# when "with_aix_soname,aix_use_runtimelinking" is:
   16569 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   16570 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   16571 	#            lib.a           static archive
   16572 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   16573 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   16574 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   16575 	#            lib.a(lib.so.V) shared, rtl:no
   16576 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   16577 	#            lib.a           static archive
   16578 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   16579 	  for ld_flag in $LDFLAGS; do
   16580 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   16581 	    aix_use_runtimelinking=yes
   16582 	    break
   16583 	  fi
   16584 	  done
   16585 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   16586 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   16587 	    # so we don't have lib.a shared libs to link our executables.
   16588 	    # We have to force runtime linking in this case.
   16589 	    aix_use_runtimelinking=yes
   16590 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   16591 	  fi
   16592 	  ;;
   16593 	esac
   16594 
   16595 	exp_sym_flag='-bexport'
   16596 	no_entry_flag='-bnoentry'
   16597       fi
   16598 
   16599       # When large executables or shared objects are built, AIX ld can
   16600       # have problems creating the table of contents.  If linking a library
   16601       # or program results in "error TOC overflow" add -mminimal-toc to
   16602       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   16603       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   16604 
   16605       archive_cmds=''
   16606       hardcode_direct=yes
   16607       hardcode_direct_absolute=yes
   16608       hardcode_libdir_separator=':'
   16609       link_all_deplibs=yes
   16610       file_list_spec='$wl-f,'
   16611       case $with_aix_soname,$aix_use_runtimelinking in
   16612       aix,*) ;; # traditional, no import file
   16613       svr4,* | *,yes) # use import file
   16614 	# The Import File defines what to hardcode.
   16615 	hardcode_direct=no
   16616 	hardcode_direct_absolute=no
   16617 	;;
   16618       esac
   16619 
   16620       if test yes = "$GCC"; then
   16621 	case $host_os in aix4.[012]|aix4.[012].*)
   16622 	# We only want to do this on AIX 4.2 and lower, the check
   16623 	# below for broken collect2 doesn't work under 4.3+
   16624 	  collect2name=`$CC -print-prog-name=collect2`
   16625 	  if test -f "$collect2name" &&
   16626 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   16627 	  then
   16628 	  # We have reworked collect2
   16629 	  :
   16630 	  else
   16631 	  # We have old collect2
   16632 	  hardcode_direct=unsupported
   16633 	  # It fails to find uninstalled libraries when the uninstalled
   16634 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   16635 	  # to unsupported forces relinking
   16636 	  hardcode_minus_L=yes
   16637 	  hardcode_libdir_flag_spec='-L$libdir'
   16638 	  hardcode_libdir_separator=
   16639 	  fi
   16640 	  ;;
   16641 	esac
   16642 	shared_flag='-shared'
   16643 	if test yes = "$aix_use_runtimelinking"; then
   16644 	  shared_flag="$shared_flag "'$wl-G'
   16645 	fi
   16646 	# Need to ensure runtime linking is disabled for the traditional
   16647 	# shared library, or the linker may eventually find shared libraries
   16648 	# /with/ Import File - we do not want to mix them.
   16649 	shared_flag_aix='-shared'
   16650 	shared_flag_svr4='-shared $wl-G'
   16651       else
   16652 	# not using gcc
   16653 	if test ia64 = "$host_cpu"; then
   16654 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   16655 	# chokes on -Wl,-G. The following line is correct:
   16656 	  shared_flag='-G'
   16657 	else
   16658 	  if test yes = "$aix_use_runtimelinking"; then
   16659 	    shared_flag='$wl-G'
   16660 	  else
   16661 	    shared_flag='$wl-bM:SRE'
   16662 	  fi
   16663 	  shared_flag_aix='$wl-bM:SRE'
   16664 	  shared_flag_svr4='$wl-G'
   16665 	fi
   16666       fi
   16667 
   16668       export_dynamic_flag_spec='$wl-bexpall'
   16669       # It seems that -bexpall does not export symbols beginning with
   16670       # underscore (_), so it is better to generate a list of symbols to export.
   16671       always_export_symbols=yes
   16672       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   16673 	# Warning - without using the other runtime loading flags (-brtl),
   16674 	# -berok will link without error, but may produce a broken library.
   16675 	allow_undefined_flag='-berok'
   16676         # Determine the default libpath from the value encoded in an
   16677         # empty executable.
   16678         if test set = "${lt_cv_aix_libpath+set}"; then
   16679   aix_libpath=$lt_cv_aix_libpath
   16680 else
   16681   if test ${lt_cv_aix_libpath_+y}
   16682 then :
   16683   printf %s "(cached) " >&6
   16684 else $as_nop
   16685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16686 /* end confdefs.h.  */
   16687 
   16688 int
   16689 main (void)
   16690 {
   16691 
   16692   ;
   16693   return 0;
   16694 }
   16695 _ACEOF
   16696 if ac_fn_c_try_link "$LINENO"
   16697 then :
   16698 
   16699   lt_aix_libpath_sed='
   16700       /Import File Strings/,/^$/ {
   16701 	  /^0/ {
   16702 	      s/^0  *\([^ ]*\) *$/\1/
   16703 	      p
   16704 	  }
   16705       }'
   16706   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16707   # Check for a 64-bit object if we didn't find anything.
   16708   if test -z "$lt_cv_aix_libpath_"; then
   16709     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16710   fi
   16711 fi
   16712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16713     conftest$ac_exeext conftest.$ac_ext
   16714   if test -z "$lt_cv_aix_libpath_"; then
   16715     lt_cv_aix_libpath_=/usr/lib:/lib
   16716   fi
   16717 
   16718 fi
   16719 
   16720   aix_libpath=$lt_cv_aix_libpath_
   16721 fi
   16722 
   16723         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16724         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
   16725       else
   16726 	if test ia64 = "$host_cpu"; then
   16727 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   16728 	  allow_undefined_flag="-z nodefs"
   16729 	  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"
   16730 	else
   16731 	 # Determine the default libpath from the value encoded in an
   16732 	 # empty executable.
   16733 	 if test set = "${lt_cv_aix_libpath+set}"; then
   16734   aix_libpath=$lt_cv_aix_libpath
   16735 else
   16736   if test ${lt_cv_aix_libpath_+y}
   16737 then :
   16738   printf %s "(cached) " >&6
   16739 else $as_nop
   16740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16741 /* end confdefs.h.  */
   16742 
   16743 int
   16744 main (void)
   16745 {
   16746 
   16747   ;
   16748   return 0;
   16749 }
   16750 _ACEOF
   16751 if ac_fn_c_try_link "$LINENO"
   16752 then :
   16753 
   16754   lt_aix_libpath_sed='
   16755       /Import File Strings/,/^$/ {
   16756 	  /^0/ {
   16757 	      s/^0  *\([^ ]*\) *$/\1/
   16758 	      p
   16759 	  }
   16760       }'
   16761   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16762   # Check for a 64-bit object if we didn't find anything.
   16763   if test -z "$lt_cv_aix_libpath_"; then
   16764     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   16765   fi
   16766 fi
   16767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16768     conftest$ac_exeext conftest.$ac_ext
   16769   if test -z "$lt_cv_aix_libpath_"; then
   16770     lt_cv_aix_libpath_=/usr/lib:/lib
   16771   fi
   16772 
   16773 fi
   16774 
   16775   aix_libpath=$lt_cv_aix_libpath_
   16776 fi
   16777 
   16778 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16779 	  # Warning - without using the other run time loading flags,
   16780 	  # -berok will link without error, but may produce a broken library.
   16781 	  no_undefined_flag=' $wl-bernotok'
   16782 	  allow_undefined_flag=' $wl-berok'
   16783 	  if test yes = "$with_gnu_ld"; then
   16784 	    # We only use this code for GNU lds that support --whole-archive.
   16785 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16786 	  else
   16787 	    # Exported symbols can be pulled into shared objects from archives
   16788 	    whole_archive_flag_spec='$convenience'
   16789 	  fi
   16790 	  archive_cmds_need_lc=yes
   16791 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16792 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16793 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16794 	  if test svr4 != "$with_aix_soname"; then
   16795 	    # This is similar to how AIX traditionally builds its shared libraries.
   16796 	    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'
   16797 	  fi
   16798 	  if test aix != "$with_aix_soname"; then
   16799 	    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'
   16800 	  else
   16801 	    # used by -dlpreopen to get the symbols
   16802 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16803 	  fi
   16804 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16805 	fi
   16806       fi
   16807       ;;
   16808 
   16809     amigaos*)
   16810       case $host_cpu in
   16811       powerpc)
   16812             # see comment about AmigaOS4 .so support
   16813             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16814             archive_expsym_cmds=''
   16815         ;;
   16816       m68k)
   16817             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)'
   16818             hardcode_libdir_flag_spec='-L$libdir'
   16819             hardcode_minus_L=yes
   16820         ;;
   16821       esac
   16822       ;;
   16823 
   16824     bsdi[45]*)
   16825       export_dynamic_flag_spec=-rdynamic
   16826       ;;
   16827 
   16828     cygwin* | mingw* | pw32* | cegcc*)
   16829       # When not using gcc, we currently assume that we are using
   16830       # Microsoft Visual C++ or Intel C++ Compiler.
   16831       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16832       # no search path for DLLs.
   16833       case $cc_basename in
   16834       cl* | icl*)
   16835 	# Native MSVC or ICC
   16836 	hardcode_libdir_flag_spec=' '
   16837 	allow_undefined_flag=unsupported
   16838 	always_export_symbols=yes
   16839 	file_list_spec='@'
   16840 	# Tell ltmain to make .lib files, not .a files.
   16841 	libext=lib
   16842 	# Tell ltmain to make .dll files, not .so files.
   16843 	shrext_cmds=.dll
   16844 	# FIXME: Setting linknames here is a bad hack.
   16845 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16846 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16847             cp "$export_symbols" "$output_objdir/$soname.def";
   16848             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16849           else
   16850             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16851           fi~
   16852           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16853           linknames='
   16854 	# The linker will not automatically build a static lib if we build a DLL.
   16855 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16856 	enable_shared_with_static_runtimes=yes
   16857 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16858 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16859 	# Don't use ranlib
   16860 	old_postinstall_cmds='chmod 644 $oldlib'
   16861 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16862           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16863           case $lt_outputfile in
   16864             *.exe|*.EXE) ;;
   16865             *)
   16866               lt_outputfile=$lt_outputfile.exe
   16867               lt_tool_outputfile=$lt_tool_outputfile.exe
   16868               ;;
   16869           esac~
   16870           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16871             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16872             $RM "$lt_outputfile.manifest";
   16873           fi'
   16874 	;;
   16875       *)
   16876 	# Assume MSVC and ICC wrapper
   16877 	hardcode_libdir_flag_spec=' '
   16878 	allow_undefined_flag=unsupported
   16879 	# Tell ltmain to make .lib files, not .a files.
   16880 	libext=lib
   16881 	# Tell ltmain to make .dll files, not .so files.
   16882 	shrext_cmds=.dll
   16883 	# FIXME: Setting linknames here is a bad hack.
   16884 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16885 	# The linker will automatically build a .lib file if we build a DLL.
   16886 	old_archive_from_new_cmds='true'
   16887 	# FIXME: Should let the user specify the lib program.
   16888 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16889 	enable_shared_with_static_runtimes=yes
   16890 	;;
   16891       esac
   16892       ;;
   16893 
   16894     darwin* | rhapsody*)
   16895 
   16896 
   16897   archive_cmds_need_lc=no
   16898   hardcode_direct=no
   16899   hardcode_automatic=yes
   16900   hardcode_shlibpath_var=unsupported
   16901   if test yes = "$lt_cv_ld_force_load"; then
   16902     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\"`'
   16903 
   16904   else
   16905     whole_archive_flag_spec=''
   16906   fi
   16907   link_all_deplibs=yes
   16908   allow_undefined_flag=$_lt_dar_allow_undefined
   16909   case $cc_basename in
   16910      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16911      *) _lt_dar_can_shared=$GCC ;;
   16912   esac
   16913   if test yes = "$_lt_dar_can_shared"; then
   16914     output_verbose_link_cmd=func_echo_all
   16915     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16916     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16917     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"
   16918     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"
   16919 
   16920   else
   16921   ld_shlibs=no
   16922   fi
   16923 
   16924       ;;
   16925 
   16926     dgux*)
   16927       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16928       hardcode_libdir_flag_spec='-L$libdir'
   16929       hardcode_shlibpath_var=no
   16930       ;;
   16931 
   16932     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16933     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16934     # does not break anything, and helps significantly (at the cost of a little
   16935     # extra space).
   16936     freebsd2.2*)
   16937       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16938       hardcode_libdir_flag_spec='-R$libdir'
   16939       hardcode_direct=yes
   16940       hardcode_shlibpath_var=no
   16941       ;;
   16942 
   16943     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16944     freebsd2.*)
   16945       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16946       hardcode_direct=yes
   16947       hardcode_minus_L=yes
   16948       hardcode_shlibpath_var=no
   16949       ;;
   16950 
   16951     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16952     freebsd* | dragonfly* | midnightbsd*)
   16953       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16954       hardcode_libdir_flag_spec='-R$libdir'
   16955       hardcode_direct=yes
   16956       hardcode_shlibpath_var=no
   16957       ;;
   16958 
   16959     hpux9*)
   16960       if test yes = "$GCC"; then
   16961 	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'
   16962       else
   16963 	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'
   16964       fi
   16965       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16966       hardcode_libdir_separator=:
   16967       hardcode_direct=yes
   16968 
   16969       # hardcode_minus_L: Not really in the search PATH,
   16970       # but as the default location of the library.
   16971       hardcode_minus_L=yes
   16972       export_dynamic_flag_spec='$wl-E'
   16973       ;;
   16974 
   16975     hpux10*)
   16976       if test yes,no = "$GCC,$with_gnu_ld"; then
   16977 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16978       else
   16979 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16980       fi
   16981       if test no = "$with_gnu_ld"; then
   16982 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16983 	hardcode_libdir_separator=:
   16984 	hardcode_direct=yes
   16985 	hardcode_direct_absolute=yes
   16986 	export_dynamic_flag_spec='$wl-E'
   16987 	# hardcode_minus_L: Not really in the search PATH,
   16988 	# but as the default location of the library.
   16989 	hardcode_minus_L=yes
   16990       fi
   16991       ;;
   16992 
   16993     hpux11*)
   16994       if test yes,no = "$GCC,$with_gnu_ld"; then
   16995 	case $host_cpu in
   16996 	hppa*64*)
   16997 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16998 	  ;;
   16999 	ia64*)
   17000 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17001 	  ;;
   17002 	*)
   17003 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17004 	  ;;
   17005 	esac
   17006       else
   17007 	case $host_cpu in
   17008 	hppa*64*)
   17009 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17010 	  ;;
   17011 	ia64*)
   17012 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   17013 	  ;;
   17014 	*)
   17015 
   17016 	  # Older versions of the 11.00 compiler do not understand -b yet
   17017 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   17018 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   17019 printf %s "checking if $CC understands -b... " >&6; }
   17020 if test ${lt_cv_prog_compiler__b+y}
   17021 then :
   17022   printf %s "(cached) " >&6
   17023 else $as_nop
   17024   lt_cv_prog_compiler__b=no
   17025    save_LDFLAGS=$LDFLAGS
   17026    LDFLAGS="$LDFLAGS -b"
   17027    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17028    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17029      # The linker can only warn and ignore the option if not recognized
   17030      # So say no if there are warnings
   17031      if test -s conftest.err; then
   17032        # Append any errors to the config.log.
   17033        cat conftest.err 1>&5
   17034        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   17035        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17036        if diff conftest.exp conftest.er2 >/dev/null; then
   17037          lt_cv_prog_compiler__b=yes
   17038        fi
   17039      else
   17040        lt_cv_prog_compiler__b=yes
   17041      fi
   17042    fi
   17043    $RM -r conftest*
   17044    LDFLAGS=$save_LDFLAGS
   17045 
   17046 fi
   17047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   17048 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   17049 
   17050 if test yes = "$lt_cv_prog_compiler__b"; then
   17051     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   17052 else
   17053     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   17054 fi
   17055 
   17056 	  ;;
   17057 	esac
   17058       fi
   17059       if test no = "$with_gnu_ld"; then
   17060 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   17061 	hardcode_libdir_separator=:
   17062 
   17063 	case $host_cpu in
   17064 	hppa*64*|ia64*)
   17065 	  hardcode_direct=no
   17066 	  hardcode_shlibpath_var=no
   17067 	  ;;
   17068 	*)
   17069 	  hardcode_direct=yes
   17070 	  hardcode_direct_absolute=yes
   17071 	  export_dynamic_flag_spec='$wl-E'
   17072 
   17073 	  # hardcode_minus_L: Not really in the search PATH,
   17074 	  # but as the default location of the library.
   17075 	  hardcode_minus_L=yes
   17076 	  ;;
   17077 	esac
   17078       fi
   17079       ;;
   17080 
   17081     irix5* | irix6* | nonstopux*)
   17082       if test yes = "$GCC"; then
   17083 	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'
   17084 	# Try to use the -exported_symbol ld option, if it does not
   17085 	# work, assume that -exports_file does not work either and
   17086 	# implicitly export all symbols.
   17087 	# This should be the same for all languages, so no per-tag cache variable.
   17088 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   17089 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   17090 if test ${lt_cv_irix_exported_symbol+y}
   17091 then :
   17092   printf %s "(cached) " >&6
   17093 else $as_nop
   17094   save_LDFLAGS=$LDFLAGS
   17095 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   17096 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17097 /* end confdefs.h.  */
   17098 int foo (void) { return 0; }
   17099 _ACEOF
   17100 if ac_fn_c_try_link "$LINENO"
   17101 then :
   17102   lt_cv_irix_exported_symbol=yes
   17103 else $as_nop
   17104   lt_cv_irix_exported_symbol=no
   17105 fi
   17106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17107     conftest$ac_exeext conftest.$ac_ext
   17108            LDFLAGS=$save_LDFLAGS
   17109 fi
   17110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   17111 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   17112 	if test yes = "$lt_cv_irix_exported_symbol"; then
   17113           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'
   17114 	fi
   17115       else
   17116 	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'
   17117 	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'
   17118       fi
   17119       archive_cmds_need_lc='no'
   17120       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17121       hardcode_libdir_separator=:
   17122       inherit_rpath=yes
   17123       link_all_deplibs=yes
   17124       ;;
   17125 
   17126     linux*)
   17127       case $cc_basename in
   17128       tcc*)
   17129 	# Fabrice Bellard et al's Tiny C Compiler
   17130 	ld_shlibs=yes
   17131 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17132 	;;
   17133       esac
   17134       ;;
   17135 
   17136     netbsd*)
   17137       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17138 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   17139       else
   17140 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   17141       fi
   17142       hardcode_libdir_flag_spec='-R$libdir'
   17143       hardcode_direct=yes
   17144       hardcode_shlibpath_var=no
   17145       ;;
   17146 
   17147     newsos6)
   17148       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17149       hardcode_direct=yes
   17150       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17151       hardcode_libdir_separator=:
   17152       hardcode_shlibpath_var=no
   17153       ;;
   17154 
   17155     *nto* | *qnx*)
   17156       ;;
   17157 
   17158     openbsd* | bitrig*)
   17159       if test -f /usr/libexec/ld.so; then
   17160 	hardcode_direct=yes
   17161 	hardcode_shlibpath_var=no
   17162 	hardcode_direct_absolute=yes
   17163 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17164 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17165 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   17166 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17167 	  export_dynamic_flag_spec='$wl-E'
   17168 	else
   17169 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   17170 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   17171 	fi
   17172       else
   17173 	ld_shlibs=no
   17174       fi
   17175       ;;
   17176 
   17177     os2*)
   17178       hardcode_libdir_flag_spec='-L$libdir'
   17179       hardcode_minus_L=yes
   17180       allow_undefined_flag=unsupported
   17181       shrext_cmds=.dll
   17182       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17183 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17184 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17185 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17186 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   17187 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17188 	emximp -o $lib $output_objdir/$libname.def'
   17189       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   17190 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   17191 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   17192 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   17193 	prefix_cmds="$SED"~
   17194 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   17195 	  prefix_cmds="$prefix_cmds -e 1d";
   17196 	fi~
   17197 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   17198 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   17199 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   17200 	emximp -o $lib $output_objdir/$libname.def'
   17201       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   17202       enable_shared_with_static_runtimes=yes
   17203       file_list_spec='@'
   17204       ;;
   17205 
   17206     osf3*)
   17207       if test yes = "$GCC"; then
   17208 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17209 	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'
   17210       else
   17211 	allow_undefined_flag=' -expect_unresolved \*'
   17212 	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'
   17213       fi
   17214       archive_cmds_need_lc='no'
   17215       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17216       hardcode_libdir_separator=:
   17217       ;;
   17218 
   17219     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   17220       if test yes = "$GCC"; then
   17221 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   17222 	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'
   17223 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   17224       else
   17225 	allow_undefined_flag=' -expect_unresolved \*'
   17226 	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'
   17227 	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~
   17228           $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'
   17229 
   17230 	# Both c and cxx compiler support -rpath directly
   17231 	hardcode_libdir_flag_spec='-rpath $libdir'
   17232       fi
   17233       archive_cmds_need_lc='no'
   17234       hardcode_libdir_separator=:
   17235       ;;
   17236 
   17237     solaris*)
   17238       no_undefined_flag=' -z defs'
   17239       if test yes = "$GCC"; then
   17240 	wlarc='$wl'
   17241 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   17242 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17243           $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'
   17244       else
   17245 	case `$CC -V 2>&1` in
   17246 	*"Compilers 5.0"*)
   17247 	  wlarc=''
   17248 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17249 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17250             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   17251 	  ;;
   17252 	*)
   17253 	  wlarc='$wl'
   17254 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17255 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   17256             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   17257 	  ;;
   17258 	esac
   17259       fi
   17260       hardcode_libdir_flag_spec='-R$libdir'
   17261       hardcode_shlibpath_var=no
   17262       case $host_os in
   17263       solaris2.[0-5] | solaris2.[0-5].*) ;;
   17264       *)
   17265 	# The compiler driver will combine and reorder linker options,
   17266 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   17267 	# but is careful enough not to reorder.
   17268 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   17269 	if test yes = "$GCC"; then
   17270 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   17271 	else
   17272 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   17273 	fi
   17274 	;;
   17275       esac
   17276       link_all_deplibs=yes
   17277       ;;
   17278 
   17279     sunos4*)
   17280       if test sequent = "$host_vendor"; then
   17281 	# Use $CC to link under sequent, because it throws in some extra .o
   17282 	# files that make .init and .fini sections work.
   17283 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   17284       else
   17285 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   17286       fi
   17287       hardcode_libdir_flag_spec='-L$libdir'
   17288       hardcode_direct=yes
   17289       hardcode_minus_L=yes
   17290       hardcode_shlibpath_var=no
   17291       ;;
   17292 
   17293     sysv4)
   17294       case $host_vendor in
   17295 	sni)
   17296 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17297 	  hardcode_direct=yes # is this really true???
   17298 	;;
   17299 	siemens)
   17300 	  ## LD is ld it makes a PLAMLIB
   17301 	  ## CC just makes a GrossModule.
   17302 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   17303 	  reload_cmds='$CC -r -o $output$reload_objs'
   17304 	  hardcode_direct=no
   17305         ;;
   17306 	motorola)
   17307 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17308 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   17309 	;;
   17310       esac
   17311       runpath_var='LD_RUN_PATH'
   17312       hardcode_shlibpath_var=no
   17313       ;;
   17314 
   17315     sysv4.3*)
   17316       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17317       hardcode_shlibpath_var=no
   17318       export_dynamic_flag_spec='-Bexport'
   17319       ;;
   17320 
   17321     sysv4*MP*)
   17322       if test -d /usr/nec; then
   17323 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17324 	hardcode_shlibpath_var=no
   17325 	runpath_var=LD_RUN_PATH
   17326 	hardcode_runpath_var=yes
   17327 	ld_shlibs=yes
   17328       fi
   17329       ;;
   17330 
   17331     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   17332       no_undefined_flag='$wl-z,text'
   17333       archive_cmds_need_lc=no
   17334       hardcode_shlibpath_var=no
   17335       runpath_var='LD_RUN_PATH'
   17336 
   17337       if test yes = "$GCC"; then
   17338 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17339 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17340       else
   17341 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17342 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17343       fi
   17344       ;;
   17345 
   17346     sysv5* | sco3.2v5* | sco5v6*)
   17347       # Note: We CANNOT use -z defs as we might desire, because we do not
   17348       # link with -lc, and that would cause any symbols used from libc to
   17349       # always be unresolved, which means just about no library would
   17350       # ever link correctly.  If we're not using GNU ld we use -z text
   17351       # though, which does catch some bad symbols but isn't as heavy-handed
   17352       # as -z defs.
   17353       no_undefined_flag='$wl-z,text'
   17354       allow_undefined_flag='$wl-z,nodefs'
   17355       archive_cmds_need_lc=no
   17356       hardcode_shlibpath_var=no
   17357       hardcode_libdir_flag_spec='$wl-R,$libdir'
   17358       hardcode_libdir_separator=':'
   17359       link_all_deplibs=yes
   17360       export_dynamic_flag_spec='$wl-Bexport'
   17361       runpath_var='LD_RUN_PATH'
   17362 
   17363       if test yes = "$GCC"; then
   17364 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17365 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17366       else
   17367 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17368 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   17369       fi
   17370       ;;
   17371 
   17372     uts4*)
   17373       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   17374       hardcode_libdir_flag_spec='-L$libdir'
   17375       hardcode_shlibpath_var=no
   17376       ;;
   17377 
   17378     *)
   17379       ld_shlibs=no
   17380       ;;
   17381     esac
   17382 
   17383     if test sni = "$host_vendor"; then
   17384       case $host in
   17385       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   17386 	export_dynamic_flag_spec='$wl-Blargedynsym'
   17387 	;;
   17388       esac
   17389     fi
   17390   fi
   17391 
   17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   17393 printf "%s\n" "$ld_shlibs" >&6; }
   17394 test no = "$ld_shlibs" && can_build_shared=no
   17395 
   17396 with_gnu_ld=$with_gnu_ld
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 
   17412 #
   17413 # Do we need to explicitly link libc?
   17414 #
   17415 case "x$archive_cmds_need_lc" in
   17416 x|xyes)
   17417   # Assume -lc should be added
   17418   archive_cmds_need_lc=yes
   17419 
   17420   if test yes,yes = "$GCC,$enable_shared"; then
   17421     case $archive_cmds in
   17422     *'~'*)
   17423       # FIXME: we may have to deal with multi-command sequences.
   17424       ;;
   17425     '$CC '*)
   17426       # Test whether the compiler implicitly links with -lc since on some
   17427       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   17428       # to ld, don't add -lc before -lgcc.
   17429       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   17430 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   17431 if test ${lt_cv_archive_cmds_need_lc+y}
   17432 then :
   17433   printf %s "(cached) " >&6
   17434 else $as_nop
   17435   $RM conftest*
   17436 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17437 
   17438 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   17439   (eval $ac_compile) 2>&5
   17440   ac_status=$?
   17441   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17442   test $ac_status = 0; } 2>conftest.err; then
   17443 	  soname=conftest
   17444 	  lib=conftest
   17445 	  libobjs=conftest.$ac_objext
   17446 	  deplibs=
   17447 	  wl=$lt_prog_compiler_wl
   17448 	  pic_flag=$lt_prog_compiler_pic
   17449 	  compiler_flags=-v
   17450 	  linker_flags=-v
   17451 	  verstring=
   17452 	  output_objdir=.
   17453 	  libname=conftest
   17454 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   17455 	  allow_undefined_flag=
   17456 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   17457   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   17458   ac_status=$?
   17459   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17460   test $ac_status = 0; }
   17461 	  then
   17462 	    lt_cv_archive_cmds_need_lc=no
   17463 	  else
   17464 	    lt_cv_archive_cmds_need_lc=yes
   17465 	  fi
   17466 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   17467 	else
   17468 	  cat conftest.err 1>&5
   17469 	fi
   17470 	$RM conftest*
   17471 
   17472 fi
   17473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   17474 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   17475       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   17476       ;;
   17477     esac
   17478   fi
   17479   ;;
   17480 esac
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 
   17494 
   17495 
   17496 
   17497 
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 
   17507 
   17508 
   17509 
   17510 
   17511 
   17512 
   17513 
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 
   17592 
   17593 
   17594 
   17595 
   17596 
   17597 
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 
   17605 
   17606 
   17607 
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   17634 printf %s "checking dynamic linker characteristics... " >&6; }
   17635 
   17636 if test yes = "$GCC"; then
   17637   case $host_os in
   17638     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   17639     *) lt_awk_arg='/^libraries:/' ;;
   17640   esac
   17641   case $host_os in
   17642     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   17643     *) lt_sed_strip_eq='s|=/|/|g' ;;
   17644   esac
   17645   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   17646   case $lt_search_path_spec in
   17647   *\;*)
   17648     # if the path contains ";" then we assume it to be the separator
   17649     # otherwise default to the standard path separator (i.e. ":") - it is
   17650     # assumed that no part of a normal pathname contains ";" but that should
   17651     # okay in the real world where ";" in dirpaths is itself problematic.
   17652     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   17653     ;;
   17654   *)
   17655     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   17656     ;;
   17657   esac
   17658   # Ok, now we have the path, separated by spaces, we can step through it
   17659   # and add multilib dir if necessary...
   17660   lt_tmp_lt_search_path_spec=
   17661   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   17662   # ...but if some path component already ends with the multilib dir we assume
   17663   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   17664   case "$lt_multi_os_dir; $lt_search_path_spec " in
   17665   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   17666     lt_multi_os_dir=
   17667     ;;
   17668   esac
   17669   for lt_sys_path in $lt_search_path_spec; do
   17670     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   17671       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   17672     elif test -n "$lt_multi_os_dir"; then
   17673       test -d "$lt_sys_path" && \
   17674 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   17675     fi
   17676   done
   17677   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   17678 BEGIN {RS = " "; FS = "/|\n";} {
   17679   lt_foo = "";
   17680   lt_count = 0;
   17681   for (lt_i = NF; lt_i > 0; lt_i--) {
   17682     if ($lt_i != "" && $lt_i != ".") {
   17683       if ($lt_i == "..") {
   17684         lt_count++;
   17685       } else {
   17686         if (lt_count == 0) {
   17687           lt_foo = "/" $lt_i lt_foo;
   17688         } else {
   17689           lt_count--;
   17690         }
   17691       }
   17692     }
   17693   }
   17694   if (lt_foo != "") { lt_freq[lt_foo]++; }
   17695   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   17696 }'`
   17697   # AWK program above erroneously prepends '/' to C:/dos/paths
   17698   # for these hosts.
   17699   case $host_os in
   17700     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   17701       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   17702   esac
   17703   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   17704 else
   17705   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17706 fi
   17707 library_names_spec=
   17708 libname_spec='lib$name'
   17709 soname_spec=
   17710 shrext_cmds=.so
   17711 postinstall_cmds=
   17712 postuninstall_cmds=
   17713 finish_cmds=
   17714 finish_eval=
   17715 shlibpath_var=
   17716 shlibpath_overrides_runpath=unknown
   17717 version_type=none
   17718 dynamic_linker="$host_os ld.so"
   17719 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   17720 need_lib_prefix=unknown
   17721 hardcode_into_libs=no
   17722 
   17723 # when you set need_version to no, make sure it does not cause -set_version
   17724 # flags to be left without arguments
   17725 need_version=unknown
   17726 
   17727 
   17728 
   17729 case $host_os in
   17730 aix3*)
   17731   version_type=linux # correct to gnu/linux during the next big refactor
   17732   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   17733   shlibpath_var=LIBPATH
   17734 
   17735   # AIX 3 has no versioning support, so we append a major version to the name.
   17736   soname_spec='$libname$release$shared_ext$major'
   17737   ;;
   17738 
   17739 aix[4-9]*)
   17740   version_type=linux # correct to gnu/linux during the next big refactor
   17741   need_lib_prefix=no
   17742   need_version=no
   17743   hardcode_into_libs=yes
   17744   if test ia64 = "$host_cpu"; then
   17745     # AIX 5 supports IA64
   17746     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   17747     shlibpath_var=LD_LIBRARY_PATH
   17748   else
   17749     # With GCC up to 2.95.x, collect2 would create an import file
   17750     # for dependence libraries.  The import file would start with
   17751     # the line '#! .'.  This would cause the generated library to
   17752     # depend on '.', always an invalid library.  This was fixed in
   17753     # development snapshots of GCC prior to 3.0.
   17754     case $host_os in
   17755       aix4 | aix4.[01] | aix4.[01].*)
   17756       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   17757 	   echo ' yes '
   17758 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   17759 	:
   17760       else
   17761 	can_build_shared=no
   17762       fi
   17763       ;;
   17764     esac
   17765     # Using Import Files as archive members, it is possible to support
   17766     # filename-based versioning of shared library archives on AIX. While
   17767     # this would work for both with and without runtime linking, it will
   17768     # prevent static linking of such archives. So we do filename-based
   17769     # shared library versioning with .so extension only, which is used
   17770     # when both runtime linking and shared linking is enabled.
   17771     # Unfortunately, runtime linking may impact performance, so we do
   17772     # not want this to be the default eventually. Also, we use the
   17773     # versioned .so libs for executables only if there is the -brtl
   17774     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   17775     # To allow for filename-based versioning support, we need to create
   17776     # libNAME.so.V as an archive file, containing:
   17777     # *) an Import File, referring to the versioned filename of the
   17778     #    archive as well as the shared archive member, telling the
   17779     #    bitwidth (32 or 64) of that shared object, and providing the
   17780     #    list of exported symbols of that shared object, eventually
   17781     #    decorated with the 'weak' keyword
   17782     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17783     #    it being seen by the linker.
   17784     # At run time we better use the real file rather than another symlink,
   17785     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17786 
   17787     case $with_aix_soname,$aix_use_runtimelinking in
   17788     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17789     # soname into executable. Probably we can add versioning support to
   17790     # collect2, so additional links can be useful in future.
   17791     aix,yes) # traditional libtool
   17792       dynamic_linker='AIX unversionable lib.so'
   17793       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17794       # instead of lib<name>.a to let people know that these are not
   17795       # typical AIX shared libraries.
   17796       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17797       ;;
   17798     aix,no) # traditional AIX only
   17799       dynamic_linker='AIX lib.a(lib.so.V)'
   17800       # We preserve .a as extension for shared libraries through AIX4.2
   17801       # and later when we are not doing run time linking.
   17802       library_names_spec='$libname$release.a $libname.a'
   17803       soname_spec='$libname$release$shared_ext$major'
   17804       ;;
   17805     svr4,*) # full svr4 only
   17806       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17807       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17808       # We do not specify a path in Import Files, so LIBPATH fires.
   17809       shlibpath_overrides_runpath=yes
   17810       ;;
   17811     *,yes) # both, prefer svr4
   17812       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17813       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17814       # unpreferred sharedlib libNAME.a needs extra handling
   17815       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"'
   17816       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"'
   17817       # We do not specify a path in Import Files, so LIBPATH fires.
   17818       shlibpath_overrides_runpath=yes
   17819       ;;
   17820     *,no) # both, prefer aix
   17821       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17822       library_names_spec='$libname$release.a $libname.a'
   17823       soname_spec='$libname$release$shared_ext$major'
   17824       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17825       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)'
   17826       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"'
   17827       ;;
   17828     esac
   17829     shlibpath_var=LIBPATH
   17830   fi
   17831   ;;
   17832 
   17833 amigaos*)
   17834   case $host_cpu in
   17835   powerpc)
   17836     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17837     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17838     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17839     ;;
   17840   m68k)
   17841     library_names_spec='$libname.ixlibrary $libname.a'
   17842     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17843     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'
   17844     ;;
   17845   esac
   17846   ;;
   17847 
   17848 beos*)
   17849   library_names_spec='$libname$shared_ext'
   17850   dynamic_linker="$host_os ld.so"
   17851   shlibpath_var=LIBRARY_PATH
   17852   ;;
   17853 
   17854 bsdi[45]*)
   17855   version_type=linux # correct to gnu/linux during the next big refactor
   17856   need_version=no
   17857   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17858   soname_spec='$libname$release$shared_ext$major'
   17859   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17860   shlibpath_var=LD_LIBRARY_PATH
   17861   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17862   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17863   # the default ld.so.conf also contains /usr/contrib/lib and
   17864   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17865   # libtool to hard-code these into programs
   17866   ;;
   17867 
   17868 cygwin* | mingw* | pw32* | cegcc*)
   17869   version_type=windows
   17870   shrext_cmds=.dll
   17871   need_version=no
   17872   need_lib_prefix=no
   17873 
   17874   case $GCC,$cc_basename in
   17875   yes,*)
   17876     # gcc
   17877     library_names_spec='$libname.dll.a'
   17878     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17879     postinstall_cmds='base_file=`basename \$file`~
   17880       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17881       dldir=$destdir/`dirname \$dlpath`~
   17882       test -d \$dldir || mkdir -p \$dldir~
   17883       $install_prog $dir/$dlname \$dldir/$dlname~
   17884       chmod a+x \$dldir/$dlname~
   17885       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17886         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17887       fi'
   17888     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17889       dlpath=$dir/\$dldll~
   17890        $RM \$dlpath'
   17891     shlibpath_overrides_runpath=yes
   17892 
   17893     case $host_os in
   17894     cygwin*)
   17895       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17896       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17897 
   17898       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17899       ;;
   17900     mingw* | cegcc*)
   17901       # MinGW DLLs use traditional 'lib' prefix
   17902       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17903       ;;
   17904     pw32*)
   17905       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17906       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17907       ;;
   17908     esac
   17909     dynamic_linker='Win32 ld.exe'
   17910     ;;
   17911 
   17912   *,cl* | *,icl*)
   17913     # Native MSVC or ICC
   17914     libname_spec='$name'
   17915     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17916     library_names_spec='$libname.dll.lib'
   17917 
   17918     case $build_os in
   17919     mingw*)
   17920       sys_lib_search_path_spec=
   17921       lt_save_ifs=$IFS
   17922       IFS=';'
   17923       for lt_path in $LIB
   17924       do
   17925         IFS=$lt_save_ifs
   17926         # Let DOS variable expansion print the short 8.3 style file name.
   17927         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17928         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17929       done
   17930       IFS=$lt_save_ifs
   17931       # Convert to MSYS style.
   17932       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17933       ;;
   17934     cygwin*)
   17935       # Convert to unix form, then to dos form, then back to unix form
   17936       # but this time dos style (no spaces!) so that the unix form looks
   17937       # like /cygdrive/c/PROGRA~1:/cygdr...
   17938       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17939       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17940       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17941       ;;
   17942     *)
   17943       sys_lib_search_path_spec=$LIB
   17944       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17945         # It is most probably a Windows format PATH.
   17946         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17947       else
   17948         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17949       fi
   17950       # FIXME: find the short name or the path components, as spaces are
   17951       # common. (e.g. "Program Files" -> "PROGRA~1")
   17952       ;;
   17953     esac
   17954 
   17955     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17956     postinstall_cmds='base_file=`basename \$file`~
   17957       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17958       dldir=$destdir/`dirname \$dlpath`~
   17959       test -d \$dldir || mkdir -p \$dldir~
   17960       $install_prog $dir/$dlname \$dldir/$dlname'
   17961     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17962       dlpath=$dir/\$dldll~
   17963        $RM \$dlpath'
   17964     shlibpath_overrides_runpath=yes
   17965     dynamic_linker='Win32 link.exe'
   17966     ;;
   17967 
   17968   *)
   17969     # Assume MSVC and ICC wrapper
   17970     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17971     dynamic_linker='Win32 ld.exe'
   17972     ;;
   17973   esac
   17974   # FIXME: first we should search . and the directory the executable is in
   17975   shlibpath_var=PATH
   17976   ;;
   17977 
   17978 darwin* | rhapsody*)
   17979   dynamic_linker="$host_os dyld"
   17980   version_type=darwin
   17981   need_lib_prefix=no
   17982   need_version=no
   17983   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17984   soname_spec='$libname$release$major$shared_ext'
   17985   shlibpath_overrides_runpath=yes
   17986   shlibpath_var=DYLD_LIBRARY_PATH
   17987   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17988 
   17989   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17990   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17991   ;;
   17992 
   17993 dgux*)
   17994   version_type=linux # correct to gnu/linux during the next big refactor
   17995   need_lib_prefix=no
   17996   need_version=no
   17997   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17998   soname_spec='$libname$release$shared_ext$major'
   17999   shlibpath_var=LD_LIBRARY_PATH
   18000   ;;
   18001 
   18002 freebsd* | dragonfly* | midnightbsd*)
   18003   # DragonFly does not have aout.  When/if they implement a new
   18004   # versioning mechanism, adjust this.
   18005   if test -x /usr/bin/objformat; then
   18006     objformat=`/usr/bin/objformat`
   18007   else
   18008     case $host_os in
   18009     freebsd[23].*) objformat=aout ;;
   18010     *) objformat=elf ;;
   18011     esac
   18012   fi
   18013   version_type=freebsd-$objformat
   18014   case $version_type in
   18015     freebsd-elf*)
   18016       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18017       soname_spec='$libname$release$shared_ext$major'
   18018       need_version=no
   18019       need_lib_prefix=no
   18020       ;;
   18021     freebsd-*)
   18022       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18023       need_version=yes
   18024       ;;
   18025   esac
   18026   shlibpath_var=LD_LIBRARY_PATH
   18027   case $host_os in
   18028   freebsd2.*)
   18029     shlibpath_overrides_runpath=yes
   18030     ;;
   18031   freebsd3.[01]* | freebsdelf3.[01]*)
   18032     shlibpath_overrides_runpath=yes
   18033     hardcode_into_libs=yes
   18034     ;;
   18035   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18036   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18037     shlibpath_overrides_runpath=no
   18038     hardcode_into_libs=yes
   18039     ;;
   18040   *) # from 4.6 on, and DragonFly
   18041     shlibpath_overrides_runpath=yes
   18042     hardcode_into_libs=yes
   18043     ;;
   18044   esac
   18045   ;;
   18046 
   18047 haiku*)
   18048   version_type=linux # correct to gnu/linux during the next big refactor
   18049   need_lib_prefix=no
   18050   need_version=no
   18051   dynamic_linker="$host_os runtime_loader"
   18052   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18053   soname_spec='$libname$release$shared_ext$major'
   18054   shlibpath_var=LIBRARY_PATH
   18055   shlibpath_overrides_runpath=no
   18056   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   18057   hardcode_into_libs=yes
   18058   ;;
   18059 
   18060 hpux9* | hpux10* | hpux11*)
   18061   # Give a soname corresponding to the major version so that dld.sl refuses to
   18062   # link against other versions.
   18063   version_type=sunos
   18064   need_lib_prefix=no
   18065   need_version=no
   18066   case $host_cpu in
   18067   ia64*)
   18068     shrext_cmds='.so'
   18069     hardcode_into_libs=yes
   18070     dynamic_linker="$host_os dld.so"
   18071     shlibpath_var=LD_LIBRARY_PATH
   18072     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18073     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18074     soname_spec='$libname$release$shared_ext$major'
   18075     if test 32 = "$HPUX_IA64_MODE"; then
   18076       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18077       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   18078     else
   18079       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18080       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   18081     fi
   18082     ;;
   18083   hppa*64*)
   18084     shrext_cmds='.sl'
   18085     hardcode_into_libs=yes
   18086     dynamic_linker="$host_os dld.sl"
   18087     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18088     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18089     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18090     soname_spec='$libname$release$shared_ext$major'
   18091     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18092     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18093     ;;
   18094   *)
   18095     shrext_cmds='.sl'
   18096     dynamic_linker="$host_os dld.sl"
   18097     shlibpath_var=SHLIB_PATH
   18098     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18099     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18100     soname_spec='$libname$release$shared_ext$major'
   18101     ;;
   18102   esac
   18103   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   18104   postinstall_cmds='chmod 555 $lib'
   18105   # or fails outright, so override atomically:
   18106   install_override_mode=555
   18107   ;;
   18108 
   18109 interix[3-9]*)
   18110   version_type=linux # correct to gnu/linux during the next big refactor
   18111   need_lib_prefix=no
   18112   need_version=no
   18113   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18114   soname_spec='$libname$release$shared_ext$major'
   18115   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18116   shlibpath_var=LD_LIBRARY_PATH
   18117   shlibpath_overrides_runpath=no
   18118   hardcode_into_libs=yes
   18119   ;;
   18120 
   18121 irix5* | irix6* | nonstopux*)
   18122   case $host_os in
   18123     nonstopux*) version_type=nonstopux ;;
   18124     *)
   18125 	if test yes = "$lt_cv_prog_gnu_ld"; then
   18126 		version_type=linux # correct to gnu/linux during the next big refactor
   18127 	else
   18128 		version_type=irix
   18129 	fi ;;
   18130   esac
   18131   need_lib_prefix=no
   18132   need_version=no
   18133   soname_spec='$libname$release$shared_ext$major'
   18134   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   18135   case $host_os in
   18136   irix5* | nonstopux*)
   18137     libsuff= shlibsuff=
   18138     ;;
   18139   *)
   18140     case $LD in # libtool.m4 will add one of these switches to LD
   18141     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18142       libsuff= shlibsuff= libmagic=32-bit;;
   18143     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18144       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18145     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18146       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18147     *) libsuff= shlibsuff= libmagic=never-match;;
   18148     esac
   18149     ;;
   18150   esac
   18151   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18152   shlibpath_overrides_runpath=no
   18153   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   18154   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   18155   hardcode_into_libs=yes
   18156   ;;
   18157 
   18158 # No shared lib support for Linux oldld, aout, or coff.
   18159 linux*oldld* | linux*aout* | linux*coff*)
   18160   dynamic_linker=no
   18161   ;;
   18162 
   18163 linux*android*)
   18164   version_type=none # Android doesn't support versioned libraries.
   18165   need_lib_prefix=no
   18166   need_version=no
   18167   library_names_spec='$libname$release$shared_ext'
   18168   soname_spec='$libname$release$shared_ext'
   18169   finish_cmds=
   18170   shlibpath_var=LD_LIBRARY_PATH
   18171   shlibpath_overrides_runpath=yes
   18172 
   18173   # This implies no fast_install, which is unacceptable.
   18174   # Some rework will be needed to allow for fast_install
   18175   # before this can be enabled.
   18176   hardcode_into_libs=yes
   18177 
   18178   dynamic_linker='Android linker'
   18179   # Don't embed -rpath directories since the linker doesn't support them.
   18180   hardcode_libdir_flag_spec='-L$libdir'
   18181   ;;
   18182 
   18183 # This must be glibc/ELF.
   18184 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   18185   version_type=linux # correct to gnu/linux during the next big refactor
   18186   need_lib_prefix=no
   18187   need_version=no
   18188   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18189   soname_spec='$libname$release$shared_ext$major'
   18190   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18191   shlibpath_var=LD_LIBRARY_PATH
   18192   shlibpath_overrides_runpath=no
   18193 
   18194   # Some binutils ld are patched to set DT_RUNPATH
   18195   if test ${lt_cv_shlibpath_overrides_runpath+y}
   18196 then :
   18197   printf %s "(cached) " >&6
   18198 else $as_nop
   18199   lt_cv_shlibpath_overrides_runpath=no
   18200     save_LDFLAGS=$LDFLAGS
   18201     save_libdir=$libdir
   18202     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   18203 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   18204     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18205 /* end confdefs.h.  */
   18206 
   18207 int
   18208 main (void)
   18209 {
   18210 
   18211   ;
   18212   return 0;
   18213 }
   18214 _ACEOF
   18215 if ac_fn_c_try_link "$LINENO"
   18216 then :
   18217   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   18218 then :
   18219   lt_cv_shlibpath_overrides_runpath=yes
   18220 fi
   18221 fi
   18222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18223     conftest$ac_exeext conftest.$ac_ext
   18224     LDFLAGS=$save_LDFLAGS
   18225     libdir=$save_libdir
   18226 
   18227 fi
   18228 
   18229   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   18230 
   18231   # This implies no fast_install, which is unacceptable.
   18232   # Some rework will be needed to allow for fast_install
   18233   # before this can be enabled.
   18234   hardcode_into_libs=yes
   18235 
   18236   # Ideally, we could use ldconfig to report *all* directores which are
   18237   # searched for libraries, however this is still not possible.  Aside from not
   18238   # being certain /sbin/ldconfig is available, command
   18239   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   18240   # even though it is searched at run-time.  Try to do the best guess by
   18241   # appending ld.so.conf contents (and includes) to the search path.
   18242   if test -f /etc/ld.so.conf; then
   18243     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' ' '`
   18244     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18245   fi
   18246 
   18247   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18248   # powerpc, because MkLinux only supported shared libraries with the
   18249   # GNU dynamic linker.  Since this was broken with cross compilers,
   18250   # most powerpc-linux boxes support dynamic linking these days and
   18251   # people can always --disable-shared, the test was removed, and we
   18252   # assume the GNU/Linux dynamic linker is in use.
   18253   dynamic_linker='GNU/Linux ld.so'
   18254   ;;
   18255 
   18256 netbsd*)
   18257   version_type=sunos
   18258   need_lib_prefix=no
   18259   need_version=no
   18260   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   18261     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18262     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18263     dynamic_linker='NetBSD (a.out) ld.so'
   18264   else
   18265     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18266     soname_spec='$libname$release$shared_ext$major'
   18267     dynamic_linker='NetBSD ld.elf_so'
   18268   fi
   18269   shlibpath_var=LD_LIBRARY_PATH
   18270   shlibpath_overrides_runpath=yes
   18271   hardcode_into_libs=yes
   18272   ;;
   18273 
   18274 newsos6)
   18275   version_type=linux # correct to gnu/linux during the next big refactor
   18276   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18277   shlibpath_var=LD_LIBRARY_PATH
   18278   shlibpath_overrides_runpath=yes
   18279   ;;
   18280 
   18281 *nto* | *qnx*)
   18282   version_type=qnx
   18283   need_lib_prefix=no
   18284   need_version=no
   18285   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18286   soname_spec='$libname$release$shared_ext$major'
   18287   shlibpath_var=LD_LIBRARY_PATH
   18288   shlibpath_overrides_runpath=no
   18289   hardcode_into_libs=yes
   18290   dynamic_linker='ldqnx.so'
   18291   ;;
   18292 
   18293 openbsd* | bitrig*)
   18294   version_type=sunos
   18295   sys_lib_dlsearch_path_spec=/usr/lib
   18296   need_lib_prefix=no
   18297   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   18298     need_version=no
   18299   else
   18300     need_version=yes
   18301   fi
   18302   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18303   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18304   shlibpath_var=LD_LIBRARY_PATH
   18305   shlibpath_overrides_runpath=yes
   18306   ;;
   18307 
   18308 os2*)
   18309   libname_spec='$name'
   18310   version_type=windows
   18311   shrext_cmds=.dll
   18312   need_version=no
   18313   need_lib_prefix=no
   18314   # OS/2 can only load a DLL with a base name of 8 characters or less.
   18315   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   18316     v=$($ECHO $release$versuffix | tr -d .-);
   18317     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   18318     $ECHO $n$v`$shared_ext'
   18319   library_names_spec='${libname}_dll.$libext'
   18320   dynamic_linker='OS/2 ld.exe'
   18321   shlibpath_var=BEGINLIBPATH
   18322   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   18323   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18324   postinstall_cmds='base_file=`basename \$file`~
   18325     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   18326     dldir=$destdir/`dirname \$dlpath`~
   18327     test -d \$dldir || mkdir -p \$dldir~
   18328     $install_prog $dir/$dlname \$dldir/$dlname~
   18329     chmod a+x \$dldir/$dlname~
   18330     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   18331       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   18332     fi'
   18333   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   18334     dlpath=$dir/\$dldll~
   18335     $RM \$dlpath'
   18336   ;;
   18337 
   18338 osf3* | osf4* | osf5*)
   18339   version_type=osf
   18340   need_lib_prefix=no
   18341   need_version=no
   18342   soname_spec='$libname$release$shared_ext$major'
   18343   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18344   shlibpath_var=LD_LIBRARY_PATH
   18345   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18346   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18347   ;;
   18348 
   18349 rdos*)
   18350   dynamic_linker=no
   18351   ;;
   18352 
   18353 solaris*)
   18354   version_type=linux # correct to gnu/linux during the next big refactor
   18355   need_lib_prefix=no
   18356   need_version=no
   18357   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18358   soname_spec='$libname$release$shared_ext$major'
   18359   shlibpath_var=LD_LIBRARY_PATH
   18360   shlibpath_overrides_runpath=yes
   18361   hardcode_into_libs=yes
   18362   # ldd complains unless libraries are executable
   18363   postinstall_cmds='chmod +x $lib'
   18364   ;;
   18365 
   18366 sunos4*)
   18367   version_type=sunos
   18368   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   18369   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18370   shlibpath_var=LD_LIBRARY_PATH
   18371   shlibpath_overrides_runpath=yes
   18372   if test yes = "$with_gnu_ld"; then
   18373     need_lib_prefix=no
   18374   fi
   18375   need_version=yes
   18376   ;;
   18377 
   18378 sysv4 | sysv4.3*)
   18379   version_type=linux # correct to gnu/linux during the next big refactor
   18380   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18381   soname_spec='$libname$release$shared_ext$major'
   18382   shlibpath_var=LD_LIBRARY_PATH
   18383   case $host_vendor in
   18384     sni)
   18385       shlibpath_overrides_runpath=no
   18386       need_lib_prefix=no
   18387       runpath_var=LD_RUN_PATH
   18388       ;;
   18389     siemens)
   18390       need_lib_prefix=no
   18391       ;;
   18392     motorola)
   18393       need_lib_prefix=no
   18394       need_version=no
   18395       shlibpath_overrides_runpath=no
   18396       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18397       ;;
   18398   esac
   18399   ;;
   18400 
   18401 sysv4*MP*)
   18402   if test -d /usr/nec; then
   18403     version_type=linux # correct to gnu/linux during the next big refactor
   18404     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   18405     soname_spec='$libname$shared_ext.$major'
   18406     shlibpath_var=LD_LIBRARY_PATH
   18407   fi
   18408   ;;
   18409 
   18410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18411   version_type=sco
   18412   need_lib_prefix=no
   18413   need_version=no
   18414   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   18415   soname_spec='$libname$release$shared_ext$major'
   18416   shlibpath_var=LD_LIBRARY_PATH
   18417   shlibpath_overrides_runpath=yes
   18418   hardcode_into_libs=yes
   18419   if test yes = "$with_gnu_ld"; then
   18420     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18421   else
   18422     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18423     case $host_os in
   18424       sco3.2v5*)
   18425         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18426 	;;
   18427     esac
   18428   fi
   18429   sys_lib_dlsearch_path_spec='/usr/lib'
   18430   ;;
   18431 
   18432 tpf*)
   18433   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   18434   version_type=linux # correct to gnu/linux during the next big refactor
   18435   need_lib_prefix=no
   18436   need_version=no
   18437   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18438   shlibpath_var=LD_LIBRARY_PATH
   18439   shlibpath_overrides_runpath=no
   18440   hardcode_into_libs=yes
   18441   ;;
   18442 
   18443 uts4*)
   18444   version_type=linux # correct to gnu/linux during the next big refactor
   18445   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   18446   soname_spec='$libname$release$shared_ext$major'
   18447   shlibpath_var=LD_LIBRARY_PATH
   18448   ;;
   18449 
   18450 *)
   18451   dynamic_linker=no
   18452   ;;
   18453 esac
   18454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   18455 printf "%s\n" "$dynamic_linker" >&6; }
   18456 test no = "$dynamic_linker" && can_build_shared=no
   18457 
   18458 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   18459 if test yes = "$GCC"; then
   18460   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   18461 fi
   18462 
   18463 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   18464   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   18465 fi
   18466 
   18467 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   18468   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   18469 fi
   18470 
   18471 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   18472 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   18473 
   18474 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   18475 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   18476 
   18477 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   18478 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   18479 
   18480 
   18481 
   18482 
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 
   18489 
   18490 
   18491 
   18492 
   18493 
   18494 
   18495 
   18496 
   18497 
   18498 
   18499 
   18500 
   18501 
   18502 
   18503 
   18504 
   18505 
   18506 
   18507 
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 
   18523 
   18524 
   18525 
   18526 
   18527 
   18528 
   18529 
   18530 
   18531 
   18532 
   18533 
   18534 
   18535 
   18536 
   18537 
   18538 
   18539 
   18540 
   18541 
   18542 
   18543 
   18544 
   18545 
   18546 
   18547 
   18548 
   18549 
   18550 
   18551 
   18552 
   18553 
   18554 
   18555 
   18556 
   18557 
   18558 
   18559 
   18560 
   18561 
   18562 
   18563 
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   18577 printf %s "checking how to hardcode library paths into programs... " >&6; }
   18578 hardcode_action=
   18579 if test -n "$hardcode_libdir_flag_spec" ||
   18580    test -n "$runpath_var" ||
   18581    test yes = "$hardcode_automatic"; then
   18582 
   18583   # We can hardcode non-existent directories.
   18584   if test no != "$hardcode_direct" &&
   18585      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   18586      # have to relink, otherwise we might link with an installed library
   18587      # when we should be linking with a yet-to-be-installed one
   18588      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   18589      test no != "$hardcode_minus_L"; then
   18590     # Linking always hardcodes the temporary library directory.
   18591     hardcode_action=relink
   18592   else
   18593     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   18594     hardcode_action=immediate
   18595   fi
   18596 else
   18597   # We cannot hardcode anything, or else we can only hardcode existing
   18598   # directories.
   18599   hardcode_action=unsupported
   18600 fi
   18601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   18602 printf "%s\n" "$hardcode_action" >&6; }
   18603 
   18604 if test relink = "$hardcode_action" ||
   18605    test yes = "$inherit_rpath"; then
   18606   # Fast installation is not supported
   18607   enable_fast_install=no
   18608 elif test yes = "$shlibpath_overrides_runpath" ||
   18609      test no = "$enable_shared"; then
   18610   # Fast installation is not necessary
   18611   enable_fast_install=needless
   18612 fi
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619   if test yes != "$enable_dlopen"; then
   18620   enable_dlopen=unknown
   18621   enable_dlopen_self=unknown
   18622   enable_dlopen_self_static=unknown
   18623 else
   18624   lt_cv_dlopen=no
   18625   lt_cv_dlopen_libs=
   18626 
   18627   case $host_os in
   18628   beos*)
   18629     lt_cv_dlopen=load_add_on
   18630     lt_cv_dlopen_libs=
   18631     lt_cv_dlopen_self=yes
   18632     ;;
   18633 
   18634   mingw* | pw32* | cegcc*)
   18635     lt_cv_dlopen=LoadLibrary
   18636     lt_cv_dlopen_libs=
   18637     ;;
   18638 
   18639   cygwin*)
   18640     lt_cv_dlopen=dlopen
   18641     lt_cv_dlopen_libs=
   18642     ;;
   18643 
   18644   darwin*)
   18645     # if libdl is installed we need to link against it
   18646     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18647 printf %s "checking for dlopen in -ldl... " >&6; }
   18648 if test ${ac_cv_lib_dl_dlopen+y}
   18649 then :
   18650   printf %s "(cached) " >&6
   18651 else $as_nop
   18652   ac_check_lib_save_LIBS=$LIBS
   18653 LIBS="-ldl  $LIBS"
   18654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18655 /* end confdefs.h.  */
   18656 
   18657 /* Override any GCC internal prototype to avoid an error.
   18658    Use char because int might match the return type of a GCC
   18659    builtin and then its argument prototype would still apply.  */
   18660 char dlopen ();
   18661 int
   18662 main (void)
   18663 {
   18664 return dlopen ();
   18665   ;
   18666   return 0;
   18667 }
   18668 _ACEOF
   18669 if ac_fn_c_try_link "$LINENO"
   18670 then :
   18671   ac_cv_lib_dl_dlopen=yes
   18672 else $as_nop
   18673   ac_cv_lib_dl_dlopen=no
   18674 fi
   18675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18676     conftest$ac_exeext conftest.$ac_ext
   18677 LIBS=$ac_check_lib_save_LIBS
   18678 fi
   18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18680 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18681 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18682 then :
   18683   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18684 else $as_nop
   18685 
   18686     lt_cv_dlopen=dyld
   18687     lt_cv_dlopen_libs=
   18688     lt_cv_dlopen_self=yes
   18689 
   18690 fi
   18691 
   18692     ;;
   18693 
   18694   tpf*)
   18695     # Don't try to run any link tests for TPF.  We know it's impossible
   18696     # because TPF is a cross-compiler, and we know how we open DSOs.
   18697     lt_cv_dlopen=dlopen
   18698     lt_cv_dlopen_libs=
   18699     lt_cv_dlopen_self=no
   18700     ;;
   18701 
   18702   *)
   18703     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   18704 if test "x$ac_cv_func_shl_load" = xyes
   18705 then :
   18706   lt_cv_dlopen=shl_load
   18707 else $as_nop
   18708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   18709 printf %s "checking for shl_load in -ldld... " >&6; }
   18710 if test ${ac_cv_lib_dld_shl_load+y}
   18711 then :
   18712   printf %s "(cached) " >&6
   18713 else $as_nop
   18714   ac_check_lib_save_LIBS=$LIBS
   18715 LIBS="-ldld  $LIBS"
   18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18717 /* end confdefs.h.  */
   18718 
   18719 /* Override any GCC internal prototype to avoid an error.
   18720    Use char because int might match the return type of a GCC
   18721    builtin and then its argument prototype would still apply.  */
   18722 char shl_load ();
   18723 int
   18724 main (void)
   18725 {
   18726 return shl_load ();
   18727   ;
   18728   return 0;
   18729 }
   18730 _ACEOF
   18731 if ac_fn_c_try_link "$LINENO"
   18732 then :
   18733   ac_cv_lib_dld_shl_load=yes
   18734 else $as_nop
   18735   ac_cv_lib_dld_shl_load=no
   18736 fi
   18737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18738     conftest$ac_exeext conftest.$ac_ext
   18739 LIBS=$ac_check_lib_save_LIBS
   18740 fi
   18741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   18742 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   18743 if test "x$ac_cv_lib_dld_shl_load" = xyes
   18744 then :
   18745   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   18746 else $as_nop
   18747   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   18748 if test "x$ac_cv_func_dlopen" = xyes
   18749 then :
   18750   lt_cv_dlopen=dlopen
   18751 else $as_nop
   18752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   18753 printf %s "checking for dlopen in -ldl... " >&6; }
   18754 if test ${ac_cv_lib_dl_dlopen+y}
   18755 then :
   18756   printf %s "(cached) " >&6
   18757 else $as_nop
   18758   ac_check_lib_save_LIBS=$LIBS
   18759 LIBS="-ldl  $LIBS"
   18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18761 /* end confdefs.h.  */
   18762 
   18763 /* Override any GCC internal prototype to avoid an error.
   18764    Use char because int might match the return type of a GCC
   18765    builtin and then its argument prototype would still apply.  */
   18766 char dlopen ();
   18767 int
   18768 main (void)
   18769 {
   18770 return dlopen ();
   18771   ;
   18772   return 0;
   18773 }
   18774 _ACEOF
   18775 if ac_fn_c_try_link "$LINENO"
   18776 then :
   18777   ac_cv_lib_dl_dlopen=yes
   18778 else $as_nop
   18779   ac_cv_lib_dl_dlopen=no
   18780 fi
   18781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18782     conftest$ac_exeext conftest.$ac_ext
   18783 LIBS=$ac_check_lib_save_LIBS
   18784 fi
   18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18786 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   18787 if test "x$ac_cv_lib_dl_dlopen" = xyes
   18788 then :
   18789   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18790 else $as_nop
   18791   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18792 printf %s "checking for dlopen in -lsvld... " >&6; }
   18793 if test ${ac_cv_lib_svld_dlopen+y}
   18794 then :
   18795   printf %s "(cached) " >&6
   18796 else $as_nop
   18797   ac_check_lib_save_LIBS=$LIBS
   18798 LIBS="-lsvld  $LIBS"
   18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18800 /* end confdefs.h.  */
   18801 
   18802 /* Override any GCC internal prototype to avoid an error.
   18803    Use char because int might match the return type of a GCC
   18804    builtin and then its argument prototype would still apply.  */
   18805 char dlopen ();
   18806 int
   18807 main (void)
   18808 {
   18809 return dlopen ();
   18810   ;
   18811   return 0;
   18812 }
   18813 _ACEOF
   18814 if ac_fn_c_try_link "$LINENO"
   18815 then :
   18816   ac_cv_lib_svld_dlopen=yes
   18817 else $as_nop
   18818   ac_cv_lib_svld_dlopen=no
   18819 fi
   18820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18821     conftest$ac_exeext conftest.$ac_ext
   18822 LIBS=$ac_check_lib_save_LIBS
   18823 fi
   18824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18825 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   18826 if test "x$ac_cv_lib_svld_dlopen" = xyes
   18827 then :
   18828   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18829 else $as_nop
   18830   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18831 printf %s "checking for dld_link in -ldld... " >&6; }
   18832 if test ${ac_cv_lib_dld_dld_link+y}
   18833 then :
   18834   printf %s "(cached) " >&6
   18835 else $as_nop
   18836   ac_check_lib_save_LIBS=$LIBS
   18837 LIBS="-ldld  $LIBS"
   18838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18839 /* end confdefs.h.  */
   18840 
   18841 /* Override any GCC internal prototype to avoid an error.
   18842    Use char because int might match the return type of a GCC
   18843    builtin and then its argument prototype would still apply.  */
   18844 char dld_link ();
   18845 int
   18846 main (void)
   18847 {
   18848 return dld_link ();
   18849   ;
   18850   return 0;
   18851 }
   18852 _ACEOF
   18853 if ac_fn_c_try_link "$LINENO"
   18854 then :
   18855   ac_cv_lib_dld_dld_link=yes
   18856 else $as_nop
   18857   ac_cv_lib_dld_dld_link=no
   18858 fi
   18859 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18860     conftest$ac_exeext conftest.$ac_ext
   18861 LIBS=$ac_check_lib_save_LIBS
   18862 fi
   18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18864 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   18865 if test "x$ac_cv_lib_dld_dld_link" = xyes
   18866 then :
   18867   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18868 fi
   18869 
   18870 
   18871 fi
   18872 
   18873 
   18874 fi
   18875 
   18876 
   18877 fi
   18878 
   18879 
   18880 fi
   18881 
   18882 
   18883 fi
   18884 
   18885     ;;
   18886   esac
   18887 
   18888   if test no = "$lt_cv_dlopen"; then
   18889     enable_dlopen=no
   18890   else
   18891     enable_dlopen=yes
   18892   fi
   18893 
   18894   case $lt_cv_dlopen in
   18895   dlopen)
   18896     save_CPPFLAGS=$CPPFLAGS
   18897     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18898 
   18899     save_LDFLAGS=$LDFLAGS
   18900     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18901 
   18902     save_LIBS=$LIBS
   18903     LIBS="$lt_cv_dlopen_libs $LIBS"
   18904 
   18905     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18906 printf %s "checking whether a program can dlopen itself... " >&6; }
   18907 if test ${lt_cv_dlopen_self+y}
   18908 then :
   18909   printf %s "(cached) " >&6
   18910 else $as_nop
   18911   	  if test yes = "$cross_compiling"; then :
   18912   lt_cv_dlopen_self=cross
   18913 else
   18914   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18915   lt_status=$lt_dlunknown
   18916   cat > conftest.$ac_ext <<_LT_EOF
   18917 #line $LINENO "configure"
   18918 #include "confdefs.h"
   18919 
   18920 #if HAVE_DLFCN_H
   18921 #include <dlfcn.h>
   18922 #endif
   18923 
   18924 #include <stdio.h>
   18925 
   18926 #ifdef RTLD_GLOBAL
   18927 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18928 #else
   18929 #  ifdef DL_GLOBAL
   18930 #    define LT_DLGLOBAL		DL_GLOBAL
   18931 #  else
   18932 #    define LT_DLGLOBAL		0
   18933 #  endif
   18934 #endif
   18935 
   18936 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18937    find out it does not work in some platform. */
   18938 #ifndef LT_DLLAZY_OR_NOW
   18939 #  ifdef RTLD_LAZY
   18940 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18941 #  else
   18942 #    ifdef DL_LAZY
   18943 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18944 #    else
   18945 #      ifdef RTLD_NOW
   18946 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18947 #      else
   18948 #        ifdef DL_NOW
   18949 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18950 #        else
   18951 #          define LT_DLLAZY_OR_NOW	0
   18952 #        endif
   18953 #      endif
   18954 #    endif
   18955 #  endif
   18956 #endif
   18957 
   18958 /* When -fvisibility=hidden is used, assume the code has been annotated
   18959    correspondingly for the symbols needed.  */
   18960 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18961 int fnord () __attribute__((visibility("default")));
   18962 #endif
   18963 
   18964 int fnord () { return 42; }
   18965 int main ()
   18966 {
   18967   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18968   int status = $lt_dlunknown;
   18969 
   18970   if (self)
   18971     {
   18972       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18973       else
   18974         {
   18975 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18976           else puts (dlerror ());
   18977 	}
   18978       /* dlclose (self); */
   18979     }
   18980   else
   18981     puts (dlerror ());
   18982 
   18983   return status;
   18984 }
   18985 _LT_EOF
   18986   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18987   (eval $ac_link) 2>&5
   18988   ac_status=$?
   18989   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18990   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18991     (./conftest; exit; ) >&5 2>/dev/null
   18992     lt_status=$?
   18993     case x$lt_status in
   18994       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18995       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18996       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18997     esac
   18998   else :
   18999     # compilation failed
   19000     lt_cv_dlopen_self=no
   19001   fi
   19002 fi
   19003 rm -fr conftest*
   19004 
   19005 
   19006 fi
   19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   19008 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   19009 
   19010     if test yes = "$lt_cv_dlopen_self"; then
   19011       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   19012       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   19013 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   19014 if test ${lt_cv_dlopen_self_static+y}
   19015 then :
   19016   printf %s "(cached) " >&6
   19017 else $as_nop
   19018   	  if test yes = "$cross_compiling"; then :
   19019   lt_cv_dlopen_self_static=cross
   19020 else
   19021   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   19022   lt_status=$lt_dlunknown
   19023   cat > conftest.$ac_ext <<_LT_EOF
   19024 #line $LINENO "configure"
   19025 #include "confdefs.h"
   19026 
   19027 #if HAVE_DLFCN_H
   19028 #include <dlfcn.h>
   19029 #endif
   19030 
   19031 #include <stdio.h>
   19032 
   19033 #ifdef RTLD_GLOBAL
   19034 #  define LT_DLGLOBAL		RTLD_GLOBAL
   19035 #else
   19036 #  ifdef DL_GLOBAL
   19037 #    define LT_DLGLOBAL		DL_GLOBAL
   19038 #  else
   19039 #    define LT_DLGLOBAL		0
   19040 #  endif
   19041 #endif
   19042 
   19043 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   19044    find out it does not work in some platform. */
   19045 #ifndef LT_DLLAZY_OR_NOW
   19046 #  ifdef RTLD_LAZY
   19047 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   19048 #  else
   19049 #    ifdef DL_LAZY
   19050 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   19051 #    else
   19052 #      ifdef RTLD_NOW
   19053 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   19054 #      else
   19055 #        ifdef DL_NOW
   19056 #          define LT_DLLAZY_OR_NOW	DL_NOW
   19057 #        else
   19058 #          define LT_DLLAZY_OR_NOW	0
   19059 #        endif
   19060 #      endif
   19061 #    endif
   19062 #  endif
   19063 #endif
   19064 
   19065 /* When -fvisibility=hidden is used, assume the code has been annotated
   19066    correspondingly for the symbols needed.  */
   19067 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   19068 int fnord () __attribute__((visibility("default")));
   19069 #endif
   19070 
   19071 int fnord () { return 42; }
   19072 int main ()
   19073 {
   19074   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   19075   int status = $lt_dlunknown;
   19076 
   19077   if (self)
   19078     {
   19079       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   19080       else
   19081         {
   19082 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   19083           else puts (dlerror ());
   19084 	}
   19085       /* dlclose (self); */
   19086     }
   19087   else
   19088     puts (dlerror ());
   19089 
   19090   return status;
   19091 }
   19092 _LT_EOF
   19093   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   19094   (eval $ac_link) 2>&5
   19095   ac_status=$?
   19096   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19097   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   19098     (./conftest; exit; ) >&5 2>/dev/null
   19099     lt_status=$?
   19100     case x$lt_status in
   19101       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   19102       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   19103       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   19104     esac
   19105   else :
   19106     # compilation failed
   19107     lt_cv_dlopen_self_static=no
   19108   fi
   19109 fi
   19110 rm -fr conftest*
   19111 
   19112 
   19113 fi
   19114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   19115 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   19116     fi
   19117 
   19118     CPPFLAGS=$save_CPPFLAGS
   19119     LDFLAGS=$save_LDFLAGS
   19120     LIBS=$save_LIBS
   19121     ;;
   19122   esac
   19123 
   19124   case $lt_cv_dlopen_self in
   19125   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   19126   *) enable_dlopen_self=unknown ;;
   19127   esac
   19128 
   19129   case $lt_cv_dlopen_self_static in
   19130   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   19131   *) enable_dlopen_self_static=unknown ;;
   19132   esac
   19133 fi
   19134 
   19135 
   19136 
   19137 
   19138 
   19139 
   19140 
   19141 
   19142 
   19143 
   19144 
   19145 
   19146 
   19147 
   19148 
   19149 
   19150 
   19151 striplib=
   19152 old_striplib=
   19153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   19154 printf %s "checking whether stripping libraries is possible... " >&6; }
   19155 if test -z "$STRIP"; then
   19156   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19157 printf "%s\n" "no" >&6; }
   19158 else
   19159   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   19160     old_striplib="$STRIP --strip-debug"
   19161     striplib="$STRIP --strip-unneeded"
   19162     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19163 printf "%s\n" "yes" >&6; }
   19164   else
   19165     case $host_os in
   19166     darwin*)
   19167       # FIXME - insert some real tests, host_os isn't really good enough
   19168       striplib="$STRIP -x"
   19169       old_striplib="$STRIP -S"
   19170       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19171 printf "%s\n" "yes" >&6; }
   19172       ;;
   19173     freebsd*)
   19174       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   19175         old_striplib="$STRIP --strip-debug"
   19176         striplib="$STRIP --strip-unneeded"
   19177         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19178 printf "%s\n" "yes" >&6; }
   19179       else
   19180         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19181 printf "%s\n" "no" >&6; }
   19182       fi
   19183       ;;
   19184     *)
   19185       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19186 printf "%s\n" "no" >&6; }
   19187       ;;
   19188     esac
   19189   fi
   19190 fi
   19191 
   19192 
   19193 
   19194 
   19195 
   19196 
   19197 
   19198 
   19199 
   19200 
   19201 
   19202 
   19203   # Report what library types will actually be built
   19204   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   19205 printf %s "checking if libtool supports shared libraries... " >&6; }
   19206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   19207 printf "%s\n" "$can_build_shared" >&6; }
   19208 
   19209   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   19210 printf %s "checking whether to build shared libraries... " >&6; }
   19211   test no = "$can_build_shared" && enable_shared=no
   19212 
   19213   # On AIX, shared libraries and static libraries use the same namespace, and
   19214   # are all built from PIC.
   19215   case $host_os in
   19216   aix3*)
   19217     test yes = "$enable_shared" && enable_static=no
   19218     if test -n "$RANLIB"; then
   19219       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   19220       postinstall_cmds='$RANLIB $lib'
   19221     fi
   19222     ;;
   19223 
   19224   aix[4-9]*)
   19225     if test ia64 != "$host_cpu"; then
   19226       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   19227       yes,aix,yes) ;;			# shared object as lib.so file only
   19228       yes,svr4,*) ;;			# shared object as lib.so archive member only
   19229       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   19230       esac
   19231     fi
   19232     ;;
   19233   esac
   19234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   19235 printf "%s\n" "$enable_shared" >&6; }
   19236 
   19237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   19238 printf %s "checking whether to build static libraries... " >&6; }
   19239   # Make sure either enable_shared or enable_static is yes.
   19240   test yes = "$enable_shared" || enable_static=yes
   19241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   19242 printf "%s\n" "$enable_static" >&6; }
   19243 
   19244 
   19245 
   19246 
   19247 fi
   19248 ac_ext=c
   19249 ac_cpp='$CPP $CPPFLAGS'
   19250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19253 
   19254 CC=$lt_save_CC
   19255 
   19256 
   19257 
   19258 
   19259 
   19260 
   19261 
   19262 
   19263 
   19264 
   19265 
   19266 
   19267 
   19268 
   19269 
   19270         ac_config_commands="$ac_config_commands libtool"
   19271 
   19272 
   19273 
   19274 
   19275 # Only expand once:
   19276 
   19277 
   19278 ac_ext=c
   19279 ac_cpp='$CPP $CPPFLAGS'
   19280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19283 if test -n "$ac_tool_prefix"; then
   19284   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   19285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19287 printf %s "checking for $ac_word... " >&6; }
   19288 if test ${ac_cv_prog_CC+y}
   19289 then :
   19290   printf %s "(cached) " >&6
   19291 else $as_nop
   19292   if test -n "$CC"; then
   19293   ac_cv_prog_CC="$CC" # Let the user override the test.
   19294 else
   19295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19296 for as_dir in $PATH
   19297 do
   19298   IFS=$as_save_IFS
   19299   case $as_dir in #(((
   19300     '') as_dir=./ ;;
   19301     */) ;;
   19302     *) as_dir=$as_dir/ ;;
   19303   esac
   19304     for ac_exec_ext in '' $ac_executable_extensions; do
   19305   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19306     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   19307     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19308     break 2
   19309   fi
   19310 done
   19311   done
   19312 IFS=$as_save_IFS
   19313 
   19314 fi
   19315 fi
   19316 CC=$ac_cv_prog_CC
   19317 if test -n "$CC"; then
   19318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   19319 printf "%s\n" "$CC" >&6; }
   19320 else
   19321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19322 printf "%s\n" "no" >&6; }
   19323 fi
   19324 
   19325 
   19326 fi
   19327 if test -z "$ac_cv_prog_CC"; then
   19328   ac_ct_CC=$CC
   19329   # Extract the first word of "gcc", so it can be a program name with args.
   19330 set dummy gcc; ac_word=$2
   19331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19332 printf %s "checking for $ac_word... " >&6; }
   19333 if test ${ac_cv_prog_ac_ct_CC+y}
   19334 then :
   19335   printf %s "(cached) " >&6
   19336 else $as_nop
   19337   if test -n "$ac_ct_CC"; then
   19338   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19339 else
   19340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19341 for as_dir in $PATH
   19342 do
   19343   IFS=$as_save_IFS
   19344   case $as_dir in #(((
   19345     '') as_dir=./ ;;
   19346     */) ;;
   19347     *) as_dir=$as_dir/ ;;
   19348   esac
   19349     for ac_exec_ext in '' $ac_executable_extensions; do
   19350   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19351     ac_cv_prog_ac_ct_CC="gcc"
   19352     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19353     break 2
   19354   fi
   19355 done
   19356   done
   19357 IFS=$as_save_IFS
   19358 
   19359 fi
   19360 fi
   19361 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19362 if test -n "$ac_ct_CC"; then
   19363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   19364 printf "%s\n" "$ac_ct_CC" >&6; }
   19365 else
   19366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19367 printf "%s\n" "no" >&6; }
   19368 fi
   19369 
   19370   if test "x$ac_ct_CC" = x; then
   19371     CC=""
   19372   else
   19373     case $cross_compiling:$ac_tool_warned in
   19374 yes:)
   19375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19376 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19377 ac_tool_warned=yes ;;
   19378 esac
   19379     CC=$ac_ct_CC
   19380   fi
   19381 else
   19382   CC="$ac_cv_prog_CC"
   19383 fi
   19384 
   19385 if test -z "$CC"; then
   19386           if test -n "$ac_tool_prefix"; then
   19387     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   19388 set dummy ${ac_tool_prefix}cc; ac_word=$2
   19389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19390 printf %s "checking for $ac_word... " >&6; }
   19391 if test ${ac_cv_prog_CC+y}
   19392 then :
   19393   printf %s "(cached) " >&6
   19394 else $as_nop
   19395   if test -n "$CC"; then
   19396   ac_cv_prog_CC="$CC" # Let the user override the test.
   19397 else
   19398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19399 for as_dir in $PATH
   19400 do
   19401   IFS=$as_save_IFS
   19402   case $as_dir in #(((
   19403     '') as_dir=./ ;;
   19404     */) ;;
   19405     *) as_dir=$as_dir/ ;;
   19406   esac
   19407     for ac_exec_ext in '' $ac_executable_extensions; do
   19408   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19409     ac_cv_prog_CC="${ac_tool_prefix}cc"
   19410     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19411     break 2
   19412   fi
   19413 done
   19414   done
   19415 IFS=$as_save_IFS
   19416 
   19417 fi
   19418 fi
   19419 CC=$ac_cv_prog_CC
   19420 if test -n "$CC"; then
   19421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   19422 printf "%s\n" "$CC" >&6; }
   19423 else
   19424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19425 printf "%s\n" "no" >&6; }
   19426 fi
   19427 
   19428 
   19429   fi
   19430 fi
   19431 if test -z "$CC"; then
   19432   # Extract the first word of "cc", so it can be a program name with args.
   19433 set dummy cc; ac_word=$2
   19434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19435 printf %s "checking for $ac_word... " >&6; }
   19436 if test ${ac_cv_prog_CC+y}
   19437 then :
   19438   printf %s "(cached) " >&6
   19439 else $as_nop
   19440   if test -n "$CC"; then
   19441   ac_cv_prog_CC="$CC" # Let the user override the test.
   19442 else
   19443   ac_prog_rejected=no
   19444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19445 for as_dir in $PATH
   19446 do
   19447   IFS=$as_save_IFS
   19448   case $as_dir in #(((
   19449     '') as_dir=./ ;;
   19450     */) ;;
   19451     *) as_dir=$as_dir/ ;;
   19452   esac
   19453     for ac_exec_ext in '' $ac_executable_extensions; do
   19454   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19455     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   19456        ac_prog_rejected=yes
   19457        continue
   19458      fi
   19459     ac_cv_prog_CC="cc"
   19460     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19461     break 2
   19462   fi
   19463 done
   19464   done
   19465 IFS=$as_save_IFS
   19466 
   19467 if test $ac_prog_rejected = yes; then
   19468   # We found a bogon in the path, so make sure we never use it.
   19469   set dummy $ac_cv_prog_CC
   19470   shift
   19471   if test $# != 0; then
   19472     # We chose a different compiler from the bogus one.
   19473     # However, it has the same basename, so the bogon will be chosen
   19474     # first if we set CC to just the basename; use the full file name.
   19475     shift
   19476     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   19477   fi
   19478 fi
   19479 fi
   19480 fi
   19481 CC=$ac_cv_prog_CC
   19482 if test -n "$CC"; then
   19483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   19484 printf "%s\n" "$CC" >&6; }
   19485 else
   19486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19487 printf "%s\n" "no" >&6; }
   19488 fi
   19489 
   19490 
   19491 fi
   19492 if test -z "$CC"; then
   19493   if test -n "$ac_tool_prefix"; then
   19494   for ac_prog in cl.exe
   19495   do
   19496     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   19497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19499 printf %s "checking for $ac_word... " >&6; }
   19500 if test ${ac_cv_prog_CC+y}
   19501 then :
   19502   printf %s "(cached) " >&6
   19503 else $as_nop
   19504   if test -n "$CC"; then
   19505   ac_cv_prog_CC="$CC" # Let the user override the test.
   19506 else
   19507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19508 for as_dir in $PATH
   19509 do
   19510   IFS=$as_save_IFS
   19511   case $as_dir in #(((
   19512     '') as_dir=./ ;;
   19513     */) ;;
   19514     *) as_dir=$as_dir/ ;;
   19515   esac
   19516     for ac_exec_ext in '' $ac_executable_extensions; do
   19517   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19518     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   19519     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19520     break 2
   19521   fi
   19522 done
   19523   done
   19524 IFS=$as_save_IFS
   19525 
   19526 fi
   19527 fi
   19528 CC=$ac_cv_prog_CC
   19529 if test -n "$CC"; then
   19530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   19531 printf "%s\n" "$CC" >&6; }
   19532 else
   19533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19534 printf "%s\n" "no" >&6; }
   19535 fi
   19536 
   19537 
   19538     test -n "$CC" && break
   19539   done
   19540 fi
   19541 if test -z "$CC"; then
   19542   ac_ct_CC=$CC
   19543   for ac_prog in cl.exe
   19544 do
   19545   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19546 set dummy $ac_prog; ac_word=$2
   19547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19548 printf %s "checking for $ac_word... " >&6; }
   19549 if test ${ac_cv_prog_ac_ct_CC+y}
   19550 then :
   19551   printf %s "(cached) " >&6
   19552 else $as_nop
   19553   if test -n "$ac_ct_CC"; then
   19554   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19555 else
   19556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19557 for as_dir in $PATH
   19558 do
   19559   IFS=$as_save_IFS
   19560   case $as_dir in #(((
   19561     '') as_dir=./ ;;
   19562     */) ;;
   19563     *) as_dir=$as_dir/ ;;
   19564   esac
   19565     for ac_exec_ext in '' $ac_executable_extensions; do
   19566   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19567     ac_cv_prog_ac_ct_CC="$ac_prog"
   19568     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19569     break 2
   19570   fi
   19571 done
   19572   done
   19573 IFS=$as_save_IFS
   19574 
   19575 fi
   19576 fi
   19577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19578 if test -n "$ac_ct_CC"; then
   19579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   19580 printf "%s\n" "$ac_ct_CC" >&6; }
   19581 else
   19582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19583 printf "%s\n" "no" >&6; }
   19584 fi
   19585 
   19586 
   19587   test -n "$ac_ct_CC" && break
   19588 done
   19589 
   19590   if test "x$ac_ct_CC" = x; then
   19591     CC=""
   19592   else
   19593     case $cross_compiling:$ac_tool_warned in
   19594 yes:)
   19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19596 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19597 ac_tool_warned=yes ;;
   19598 esac
   19599     CC=$ac_ct_CC
   19600   fi
   19601 fi
   19602 
   19603 fi
   19604 if test -z "$CC"; then
   19605   if test -n "$ac_tool_prefix"; then
   19606   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   19607 set dummy ${ac_tool_prefix}clang; ac_word=$2
   19608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19609 printf %s "checking for $ac_word... " >&6; }
   19610 if test ${ac_cv_prog_CC+y}
   19611 then :
   19612   printf %s "(cached) " >&6
   19613 else $as_nop
   19614   if test -n "$CC"; then
   19615   ac_cv_prog_CC="$CC" # Let the user override the test.
   19616 else
   19617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19618 for as_dir in $PATH
   19619 do
   19620   IFS=$as_save_IFS
   19621   case $as_dir in #(((
   19622     '') as_dir=./ ;;
   19623     */) ;;
   19624     *) as_dir=$as_dir/ ;;
   19625   esac
   19626     for ac_exec_ext in '' $ac_executable_extensions; do
   19627   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19628     ac_cv_prog_CC="${ac_tool_prefix}clang"
   19629     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19630     break 2
   19631   fi
   19632 done
   19633   done
   19634 IFS=$as_save_IFS
   19635 
   19636 fi
   19637 fi
   19638 CC=$ac_cv_prog_CC
   19639 if test -n "$CC"; then
   19640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   19641 printf "%s\n" "$CC" >&6; }
   19642 else
   19643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19644 printf "%s\n" "no" >&6; }
   19645 fi
   19646 
   19647 
   19648 fi
   19649 if test -z "$ac_cv_prog_CC"; then
   19650   ac_ct_CC=$CC
   19651   # Extract the first word of "clang", so it can be a program name with args.
   19652 set dummy clang; ac_word=$2
   19653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19654 printf %s "checking for $ac_word... " >&6; }
   19655 if test ${ac_cv_prog_ac_ct_CC+y}
   19656 then :
   19657   printf %s "(cached) " >&6
   19658 else $as_nop
   19659   if test -n "$ac_ct_CC"; then
   19660   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   19661 else
   19662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19663 for as_dir in $PATH
   19664 do
   19665   IFS=$as_save_IFS
   19666   case $as_dir in #(((
   19667     '') as_dir=./ ;;
   19668     */) ;;
   19669     *) as_dir=$as_dir/ ;;
   19670   esac
   19671     for ac_exec_ext in '' $ac_executable_extensions; do
   19672   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19673     ac_cv_prog_ac_ct_CC="clang"
   19674     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19675     break 2
   19676   fi
   19677 done
   19678   done
   19679 IFS=$as_save_IFS
   19680 
   19681 fi
   19682 fi
   19683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   19684 if test -n "$ac_ct_CC"; then
   19685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   19686 printf "%s\n" "$ac_ct_CC" >&6; }
   19687 else
   19688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19689 printf "%s\n" "no" >&6; }
   19690 fi
   19691 
   19692   if test "x$ac_ct_CC" = x; then
   19693     CC=""
   19694   else
   19695     case $cross_compiling:$ac_tool_warned in
   19696 yes:)
   19697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   19698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   19699 ac_tool_warned=yes ;;
   19700 esac
   19701     CC=$ac_ct_CC
   19702   fi
   19703 else
   19704   CC="$ac_cv_prog_CC"
   19705 fi
   19706 
   19707 fi
   19708 
   19709 
   19710 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19711 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19712 as_fn_error $? "no acceptable C compiler found in \$PATH
   19713 See \`config.log' for more details" "$LINENO" 5; }
   19714 
   19715 # Provide some information about the compiler.
   19716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   19717 set X $ac_compile
   19718 ac_compiler=$2
   19719 for ac_option in --version -v -V -qversion -version; do
   19720   { { ac_try="$ac_compiler $ac_option >&5"
   19721 case "(($ac_try" in
   19722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   19723   *) ac_try_echo=$ac_try;;
   19724 esac
   19725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   19726 printf "%s\n" "$ac_try_echo"; } >&5
   19727   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   19728   ac_status=$?
   19729   if test -s conftest.err; then
   19730     sed '10a\
   19731 ... rest of stderr output deleted ...
   19732          10q' conftest.err >conftest.er1
   19733     cat conftest.er1 >&5
   19734   fi
   19735   rm -f conftest.er1 conftest.err
   19736   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19737   test $ac_status = 0; }
   19738 done
   19739 
   19740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   19741 printf %s "checking whether the compiler supports GNU C... " >&6; }
   19742 if test ${ac_cv_c_compiler_gnu+y}
   19743 then :
   19744   printf %s "(cached) " >&6
   19745 else $as_nop
   19746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19747 /* end confdefs.h.  */
   19748 
   19749 int
   19750 main (void)
   19751 {
   19752 #ifndef __GNUC__
   19753        choke me
   19754 #endif
   19755 
   19756   ;
   19757   return 0;
   19758 }
   19759 _ACEOF
   19760 if ac_fn_c_try_compile "$LINENO"
   19761 then :
   19762   ac_compiler_gnu=yes
   19763 else $as_nop
   19764   ac_compiler_gnu=no
   19765 fi
   19766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19767 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   19768 
   19769 fi
   19770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   19771 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   19772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19773 
   19774 if test $ac_compiler_gnu = yes; then
   19775   GCC=yes
   19776 else
   19777   GCC=
   19778 fi
   19779 ac_test_CFLAGS=${CFLAGS+y}
   19780 ac_save_CFLAGS=$CFLAGS
   19781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   19782 printf %s "checking whether $CC accepts -g... " >&6; }
   19783 if test ${ac_cv_prog_cc_g+y}
   19784 then :
   19785   printf %s "(cached) " >&6
   19786 else $as_nop
   19787   ac_save_c_werror_flag=$ac_c_werror_flag
   19788    ac_c_werror_flag=yes
   19789    ac_cv_prog_cc_g=no
   19790    CFLAGS="-g"
   19791    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19792 /* end confdefs.h.  */
   19793 
   19794 int
   19795 main (void)
   19796 {
   19797 
   19798   ;
   19799   return 0;
   19800 }
   19801 _ACEOF
   19802 if ac_fn_c_try_compile "$LINENO"
   19803 then :
   19804   ac_cv_prog_cc_g=yes
   19805 else $as_nop
   19806   CFLAGS=""
   19807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19808 /* end confdefs.h.  */
   19809 
   19810 int
   19811 main (void)
   19812 {
   19813 
   19814   ;
   19815   return 0;
   19816 }
   19817 _ACEOF
   19818 if ac_fn_c_try_compile "$LINENO"
   19819 then :
   19820 
   19821 else $as_nop
   19822   ac_c_werror_flag=$ac_save_c_werror_flag
   19823 	 CFLAGS="-g"
   19824 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19825 /* end confdefs.h.  */
   19826 
   19827 int
   19828 main (void)
   19829 {
   19830 
   19831   ;
   19832   return 0;
   19833 }
   19834 _ACEOF
   19835 if ac_fn_c_try_compile "$LINENO"
   19836 then :
   19837   ac_cv_prog_cc_g=yes
   19838 fi
   19839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19840 fi
   19841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19842 fi
   19843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19844    ac_c_werror_flag=$ac_save_c_werror_flag
   19845 fi
   19846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   19847 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   19848 if test $ac_test_CFLAGS; then
   19849   CFLAGS=$ac_save_CFLAGS
   19850 elif test $ac_cv_prog_cc_g = yes; then
   19851   if test "$GCC" = yes; then
   19852     CFLAGS="-g -O2"
   19853   else
   19854     CFLAGS="-g"
   19855   fi
   19856 else
   19857   if test "$GCC" = yes; then
   19858     CFLAGS="-O2"
   19859   else
   19860     CFLAGS=
   19861   fi
   19862 fi
   19863 ac_prog_cc_stdc=no
   19864 if test x$ac_prog_cc_stdc = xno
   19865 then :
   19866   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   19867 printf %s "checking for $CC option to enable C11 features... " >&6; }
   19868 if test ${ac_cv_prog_cc_c11+y}
   19869 then :
   19870   printf %s "(cached) " >&6
   19871 else $as_nop
   19872   ac_cv_prog_cc_c11=no
   19873 ac_save_CC=$CC
   19874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19875 /* end confdefs.h.  */
   19876 $ac_c_conftest_c11_program
   19877 _ACEOF
   19878 for ac_arg in '' -std=gnu11
   19879 do
   19880   CC="$ac_save_CC $ac_arg"
   19881   if ac_fn_c_try_compile "$LINENO"
   19882 then :
   19883   ac_cv_prog_cc_c11=$ac_arg
   19884 fi
   19885 rm -f core conftest.err conftest.$ac_objext conftest.beam
   19886   test "x$ac_cv_prog_cc_c11" != "xno" && break
   19887 done
   19888 rm -f conftest.$ac_ext
   19889 CC=$ac_save_CC
   19890 fi
   19891 
   19892 if test "x$ac_cv_prog_cc_c11" = xno
   19893 then :
   19894   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   19895 printf "%s\n" "unsupported" >&6; }
   19896 else $as_nop
   19897   if test "x$ac_cv_prog_cc_c11" = x
   19898 then :
   19899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   19900 printf "%s\n" "none needed" >&6; }
   19901 else $as_nop
   19902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   19903 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   19904      CC="$CC $ac_cv_prog_cc_c11"
   19905 fi
   19906   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   19907   ac_prog_cc_stdc=c11
   19908 fi
   19909 fi
   19910 if test x$ac_prog_cc_stdc = xno
   19911 then :
   19912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   19913 printf %s "checking for $CC option to enable C99 features... " >&6; }
   19914 if test ${ac_cv_prog_cc_c99+y}
   19915 then :
   19916   printf %s "(cached) " >&6
   19917 else $as_nop
   19918   ac_cv_prog_cc_c99=no
   19919 ac_save_CC=$CC
   19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19921 /* end confdefs.h.  */
   19922 $ac_c_conftest_c99_program
   19923 _ACEOF
   19924 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   19925 do
   19926   CC="$ac_save_CC $ac_arg"
   19927   if ac_fn_c_try_compile "$LINENO"
   19928 then :
   19929   ac_cv_prog_cc_c99=$ac_arg
   19930 fi
   19931 rm -f core conftest.err conftest.$ac_objext conftest.beam
   19932   test "x$ac_cv_prog_cc_c99" != "xno" && break
   19933 done
   19934 rm -f conftest.$ac_ext
   19935 CC=$ac_save_CC
   19936 fi
   19937 
   19938 if test "x$ac_cv_prog_cc_c99" = xno
   19939 then :
   19940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   19941 printf "%s\n" "unsupported" >&6; }
   19942 else $as_nop
   19943   if test "x$ac_cv_prog_cc_c99" = x
   19944 then :
   19945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   19946 printf "%s\n" "none needed" >&6; }
   19947 else $as_nop
   19948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   19949 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   19950      CC="$CC $ac_cv_prog_cc_c99"
   19951 fi
   19952   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   19953   ac_prog_cc_stdc=c99
   19954 fi
   19955 fi
   19956 if test x$ac_prog_cc_stdc = xno
   19957 then :
   19958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   19959 printf %s "checking for $CC option to enable C89 features... " >&6; }
   19960 if test ${ac_cv_prog_cc_c89+y}
   19961 then :
   19962   printf %s "(cached) " >&6
   19963 else $as_nop
   19964   ac_cv_prog_cc_c89=no
   19965 ac_save_CC=$CC
   19966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19967 /* end confdefs.h.  */
   19968 $ac_c_conftest_c89_program
   19969 _ACEOF
   19970 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   19971 do
   19972   CC="$ac_save_CC $ac_arg"
   19973   if ac_fn_c_try_compile "$LINENO"
   19974 then :
   19975   ac_cv_prog_cc_c89=$ac_arg
   19976 fi
   19977 rm -f core conftest.err conftest.$ac_objext conftest.beam
   19978   test "x$ac_cv_prog_cc_c89" != "xno" && break
   19979 done
   19980 rm -f conftest.$ac_ext
   19981 CC=$ac_save_CC
   19982 fi
   19983 
   19984 if test "x$ac_cv_prog_cc_c89" = xno
   19985 then :
   19986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   19987 printf "%s\n" "unsupported" >&6; }
   19988 else $as_nop
   19989   if test "x$ac_cv_prog_cc_c89" = x
   19990 then :
   19991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   19992 printf "%s\n" "none needed" >&6; }
   19993 else $as_nop
   19994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   19995 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   19996      CC="$CC $ac_cv_prog_cc_c89"
   19997 fi
   19998   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   19999   ac_prog_cc_stdc=c89
   20000 fi
   20001 fi
   20002 
   20003 ac_ext=c
   20004 ac_cpp='$CPP $CPPFLAGS'
   20005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20008 
   20009 
   20010   ac_ext=c
   20011 ac_cpp='$CPP $CPPFLAGS'
   20012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   20016 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   20017 if test ${am_cv_prog_cc_c_o+y}
   20018 then :
   20019   printf %s "(cached) " >&6
   20020 else $as_nop
   20021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20022 /* end confdefs.h.  */
   20023 
   20024 int
   20025 main (void)
   20026 {
   20027 
   20028   ;
   20029   return 0;
   20030 }
   20031 _ACEOF
   20032   # Make sure it works both with $CC and with simple cc.
   20033   # Following AC_PROG_CC_C_O, we do the test twice because some
   20034   # compilers refuse to overwrite an existing .o file with -o,
   20035   # though they will create one.
   20036   am_cv_prog_cc_c_o=yes
   20037   for am_i in 1 2; do
   20038     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   20039    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   20040    ac_status=$?
   20041    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20042    (exit $ac_status); } \
   20043          && test -f conftest2.$ac_objext; then
   20044       : OK
   20045     else
   20046       am_cv_prog_cc_c_o=no
   20047       break
   20048     fi
   20049   done
   20050   rm -f core conftest*
   20051   unset am_i
   20052 fi
   20053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   20054 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   20055 if test "$am_cv_prog_cc_c_o" != yes; then
   20056    # Losing compiler, so override with the script.
   20057    # FIXME: It is wrong to rewrite CC.
   20058    # But if we don't then we get into trouble of one sort or another.
   20059    # A longer-term fix would be to have automake use am__CC in this case,
   20060    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   20061    CC="$am_aux_dir/compile $CC"
   20062 fi
   20063 ac_ext=c
   20064 ac_cpp='$CPP $CPPFLAGS'
   20065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20068 
   20069 
   20070 depcc="$CC"   am_compiler_list=
   20071 
   20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   20073 printf %s "checking dependency style of $depcc... " >&6; }
   20074 if test ${am_cv_CC_dependencies_compiler_type+y}
   20075 then :
   20076   printf %s "(cached) " >&6
   20077 else $as_nop
   20078   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20079   # We make a subdir and do the tests there.  Otherwise we can end up
   20080   # making bogus files that we don't know about and never remove.  For
   20081   # instance it was reported that on HP-UX the gcc test will end up
   20082   # making a dummy file named 'D' -- because '-MD' means "put the output
   20083   # in D".
   20084   rm -rf conftest.dir
   20085   mkdir conftest.dir
   20086   # Copy depcomp to subdir because otherwise we won't find it if we're
   20087   # using a relative directory.
   20088   cp "$am_depcomp" conftest.dir
   20089   cd conftest.dir
   20090   # We will build objects and dependencies in a subdirectory because
   20091   # it helps to detect inapplicable dependency modes.  For instance
   20092   # both Tru64's cc and ICC support -MD to output dependencies as a
   20093   # side effect of compilation, but ICC will put the dependencies in
   20094   # the current directory while Tru64 will put them in the object
   20095   # directory.
   20096   mkdir sub
   20097 
   20098   am_cv_CC_dependencies_compiler_type=none
   20099   if test "$am_compiler_list" = ""; then
   20100      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20101   fi
   20102   am__universal=false
   20103   case " $depcc " in #(
   20104      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20105      esac
   20106 
   20107   for depmode in $am_compiler_list; do
   20108     # Setup a source with many dependencies, because some compilers
   20109     # like to wrap large dependency lists on column 80 (with \), and
   20110     # we should not choose a depcomp mode which is confused by this.
   20111     #
   20112     # We need to recreate these files for each test, as the compiler may
   20113     # overwrite some of them when testing with obscure command lines.
   20114     # This happens at least with the AIX C compiler.
   20115     : > sub/conftest.c
   20116     for i in 1 2 3 4 5 6; do
   20117       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20118       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   20119       # Solaris 10 /bin/sh.
   20120       echo '/* dummy */' > sub/conftst$i.h
   20121     done
   20122     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20123 
   20124     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   20125     # mode.  It turns out that the SunPro C++ compiler does not properly
   20126     # handle '-M -o', and we need to detect this.  Also, some Intel
   20127     # versions had trouble with output in subdirs.
   20128     am__obj=sub/conftest.${OBJEXT-o}
   20129     am__minus_obj="-o $am__obj"
   20130     case $depmode in
   20131     gcc)
   20132       # This depmode causes a compiler race in universal mode.
   20133       test "$am__universal" = false || continue
   20134       ;;
   20135     nosideeffect)
   20136       # After this tag, mechanisms are not by side-effect, so they'll
   20137       # only be used when explicitly requested.
   20138       if test "x$enable_dependency_tracking" = xyes; then
   20139 	continue
   20140       else
   20141 	break
   20142       fi
   20143       ;;
   20144     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   20145       # This compiler won't grok '-c -o', but also, the minuso test has
   20146       # not run yet.  These depmodes are late enough in the game, and
   20147       # so weak that their functioning should not be impacted.
   20148       am__obj=conftest.${OBJEXT-o}
   20149       am__minus_obj=
   20150       ;;
   20151     none) break ;;
   20152     esac
   20153     if depmode=$depmode \
   20154        source=sub/conftest.c object=$am__obj \
   20155        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20156        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20157          >/dev/null 2>conftest.err &&
   20158        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20159        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20160        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20161        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20162       # icc doesn't choke on unknown options, it will just issue warnings
   20163       # or remarks (even with -Werror).  So we grep stderr for any message
   20164       # that says an option was ignored or not supported.
   20165       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20166       #   icc: Command line warning: ignoring option '-M'; no argument required
   20167       # The diagnosis changed in icc 8.0:
   20168       #   icc: Command line remark: option '-MP' not supported
   20169       if (grep 'ignoring option' conftest.err ||
   20170           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20171         am_cv_CC_dependencies_compiler_type=$depmode
   20172         break
   20173       fi
   20174     fi
   20175   done
   20176 
   20177   cd ..
   20178   rm -rf conftest.dir
   20179 else
   20180   am_cv_CC_dependencies_compiler_type=none
   20181 fi
   20182 
   20183 fi
   20184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   20185 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   20186 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20187 
   20188  if
   20189   test "x$enable_dependency_tracking" != xno \
   20190   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20191   am__fastdepCC_TRUE=
   20192   am__fastdepCC_FALSE='#'
   20193 else
   20194   am__fastdepCC_TRUE='#'
   20195   am__fastdepCC_FALSE=
   20196 fi
   20197 
   20198 
   20199 
   20200 
   20201 
   20202 
   20203 # Check whether --with-xorg-module-dir was given.
   20204 if test ${with_xorg_module_dir+y}
   20205 then :
   20206   withval=$with_xorg_module_dir; moduledir="$withval"
   20207 else $as_nop
   20208   moduledir="$libdir/xorg/modules"
   20209 fi
   20210 
   20211 inputdir=${moduledir}/input
   20212 
   20213 
   20214 # Checks for extensions
   20215 
   20216 
   20217 	SAVE_CFLAGS="$CFLAGS"
   20218 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   20219 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20220 /* end confdefs.h.  */
   20221 
   20222 #include "xorg-server.h"
   20223 #if !defined RANDR
   20224 #error RANDR not defined
   20225 #endif
   20226 
   20227 int
   20228 main (void)
   20229 {
   20230 
   20231   ;
   20232   return 0;
   20233 }
   20234 _ACEOF
   20235 if ac_fn_c_try_compile "$LINENO"
   20236 then :
   20237   _EXT_CHECK=yes
   20238 else $as_nop
   20239   _EXT_CHECK=no
   20240 fi
   20241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20242 	CFLAGS="$SAVE_CFLAGS"
   20243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   20244 printf %s "checking if RANDR is defined... " >&6; }
   20245 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20246 printf "%s\n" "$_EXT_CHECK" >&6; }
   20247 	if test "$_EXT_CHECK" != no; then
   20248 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20249 	fi
   20250 
   20251 
   20252 
   20253 	SAVE_CFLAGS="$CFLAGS"
   20254 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   20255 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20256 /* end confdefs.h.  */
   20257 
   20258 #include "xorg-server.h"
   20259 #if !defined XINPUT
   20260 #error XINPUT not defined
   20261 #endif
   20262 
   20263 int
   20264 main (void)
   20265 {
   20266 
   20267   ;
   20268   return 0;
   20269 }
   20270 _ACEOF
   20271 if ac_fn_c_try_compile "$LINENO"
   20272 then :
   20273   _EXT_CHECK=yes
   20274 else $as_nop
   20275   _EXT_CHECK=no
   20276 fi
   20277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20278 	CFLAGS="$SAVE_CFLAGS"
   20279 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XINPUT is defined" >&5
   20280 printf %s "checking if XINPUT is defined... " >&6; }
   20281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   20282 printf "%s\n" "$_EXT_CHECK" >&6; }
   20283 	if test "$_EXT_CHECK" != no; then
   20284 		REQUIRED_MODULES="$REQUIRED_MODULES inputproto"
   20285 	fi
   20286 
   20287 
   20288 # Checks for pkg-config packages
   20289 
   20290 pkg_failed=no
   20291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   20292 printf %s "checking for XORG... " >&6; }
   20293 
   20294 if test -n "$XORG_CFLAGS"; then
   20295     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   20296  elif test -n "$PKG_CONFIG"; then
   20297     if test -n "$PKG_CONFIG" && \
   20298     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.10.0 xproto \$REQUIRED_MODULES\""; } >&5
   20299   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES") 2>&5
   20300   ac_status=$?
   20301   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20302   test $ac_status = 0; }; then
   20303   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES" 2>/dev/null`
   20304 		      test "x$?" != "x0" && pkg_failed=yes
   20305 else
   20306   pkg_failed=yes
   20307 fi
   20308  else
   20309     pkg_failed=untried
   20310 fi
   20311 if test -n "$XORG_LIBS"; then
   20312     pkg_cv_XORG_LIBS="$XORG_LIBS"
   20313  elif test -n "$PKG_CONFIG"; then
   20314     if test -n "$PKG_CONFIG" && \
   20315     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.10.0 xproto \$REQUIRED_MODULES\""; } >&5
   20316   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES") 2>&5
   20317   ac_status=$?
   20318   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20319   test $ac_status = 0; }; then
   20320   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES" 2>/dev/null`
   20321 		      test "x$?" != "x0" && pkg_failed=yes
   20322 else
   20323   pkg_failed=yes
   20324 fi
   20325  else
   20326     pkg_failed=untried
   20327 fi
   20328 
   20329 
   20330 
   20331 if test $pkg_failed = yes; then
   20332    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20333 printf "%s\n" "no" >&6; }
   20334 
   20335 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20336         _pkg_short_errors_supported=yes
   20337 else
   20338         _pkg_short_errors_supported=no
   20339 fi
   20340         if test $_pkg_short_errors_supported = yes; then
   20341 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES" 2>&1`
   20342         else
   20343 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.10.0 xproto $REQUIRED_MODULES" 2>&1`
   20344         fi
   20345 	# Put the nasty error message in config.log where it belongs
   20346 	echo "$XORG_PKG_ERRORS" >&5
   20347 
   20348 	as_fn_error $? "Package requirements (xorg-server >= 1.10.0 xproto $REQUIRED_MODULES) were not met:
   20349 
   20350 $XORG_PKG_ERRORS
   20351 
   20352 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20353 installed software in a non-standard prefix.
   20354 
   20355 Alternatively, you may set the environment variables XORG_CFLAGS
   20356 and XORG_LIBS to avoid the need to call pkg-config.
   20357 See the pkg-config man page for more details." "$LINENO" 5
   20358 elif test $pkg_failed = untried; then
   20359      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20360 printf "%s\n" "no" >&6; }
   20361 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20362 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20363 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20364 is in your PATH or set the PKG_CONFIG environment variable to the full
   20365 path to pkg-config.
   20366 
   20367 Alternatively, you may set the environment variables XORG_CFLAGS
   20368 and XORG_LIBS to avoid the need to call pkg-config.
   20369 See the pkg-config man page for more details.
   20370 
   20371 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20372 See \`config.log' for more details" "$LINENO" 5; }
   20373 else
   20374 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   20375 	XORG_LIBS=$pkg_cv_XORG_LIBS
   20376         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20377 printf "%s\n" "yes" >&6; }
   20378 
   20379 fi
   20380 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   20381 XORG_CFLAGS="$CWARNFLAGS $XORG_CFLAGS"
   20382 
   20383 # Checks for libraries.
   20384 
   20385 # Checks for header files.
   20386 # Autoupdate added the next two lines to ensure that your configure
   20387 # script's behavior did not change.  They are probably safe to remove.
   20388 
   20389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   20390 printf %s "checking for egrep... " >&6; }
   20391 if test ${ac_cv_path_EGREP+y}
   20392 then :
   20393   printf %s "(cached) " >&6
   20394 else $as_nop
   20395   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   20396    then ac_cv_path_EGREP="$GREP -E"
   20397    else
   20398      if test -z "$EGREP"; then
   20399   ac_path_EGREP_found=false
   20400   # Loop through the user's path and test for each of PROGNAME-LIST
   20401   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20402 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   20403 do
   20404   IFS=$as_save_IFS
   20405   case $as_dir in #(((
   20406     '') as_dir=./ ;;
   20407     */) ;;
   20408     *) as_dir=$as_dir/ ;;
   20409   esac
   20410     for ac_prog in egrep
   20411    do
   20412     for ac_exec_ext in '' $ac_executable_extensions; do
   20413       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   20414       as_fn_executable_p "$ac_path_EGREP" || continue
   20415 # Check for GNU ac_path_EGREP and select it if it is found.
   20416   # Check for GNU $ac_path_EGREP
   20417 case `"$ac_path_EGREP" --version 2>&1` in
   20418 *GNU*)
   20419   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   20420 *)
   20421   ac_count=0
   20422   printf %s 0123456789 >"conftest.in"
   20423   while :
   20424   do
   20425     cat "conftest.in" "conftest.in" >"conftest.tmp"
   20426     mv "conftest.tmp" "conftest.in"
   20427     cp "conftest.in" "conftest.nl"
   20428     printf "%s\n" 'EGREP' >> "conftest.nl"
   20429     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   20430     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   20431     as_fn_arith $ac_count + 1 && ac_count=$as_val
   20432     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   20433       # Best one so far, save it but keep looking for a better one
   20434       ac_cv_path_EGREP="$ac_path_EGREP"
   20435       ac_path_EGREP_max=$ac_count
   20436     fi
   20437     # 10*(2^10) chars as input seems more than enough
   20438     test $ac_count -gt 10 && break
   20439   done
   20440   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   20441 esac
   20442 
   20443       $ac_path_EGREP_found && break 3
   20444     done
   20445   done
   20446   done
   20447 IFS=$as_save_IFS
   20448   if test -z "$ac_cv_path_EGREP"; then
   20449     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   20450   fi
   20451 else
   20452   ac_cv_path_EGREP=$EGREP
   20453 fi
   20454 
   20455    fi
   20456 fi
   20457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   20458 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   20459  EGREP="$ac_cv_path_EGREP"
   20460 
   20461 
   20462 
   20463 
   20464 DRIVER_NAME=elographics
   20465 
   20466 
   20467 
   20468 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   20469 
   20470 cat >confcache <<\_ACEOF
   20471 # This file is a shell script that caches the results of configure
   20472 # tests run on this system so they can be shared between configure
   20473 # scripts and configure runs, see configure's option --config-cache.
   20474 # It is not useful on other systems.  If it contains results you don't
   20475 # want to keep, you may remove or edit it.
   20476 #
   20477 # config.status only pays attention to the cache file if you give it
   20478 # the --recheck option to rerun configure.
   20479 #
   20480 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20481 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20482 # following values.
   20483 
   20484 _ACEOF
   20485 
   20486 # The following way of writing the cache mishandles newlines in values,
   20487 # but we know of no workaround that is simple, portable, and efficient.
   20488 # So, we kill variables containing newlines.
   20489 # Ultrix sh set writes to stderr and can't be redirected directly,
   20490 # and sets the high bit in the cache file unless we assign to the vars.
   20491 (
   20492   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20493     eval ac_val=\$$ac_var
   20494     case $ac_val in #(
   20495     *${as_nl}*)
   20496       case $ac_var in #(
   20497       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20498 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20499       esac
   20500       case $ac_var in #(
   20501       _ | IFS | as_nl) ;; #(
   20502       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20503       *) { eval $ac_var=; unset $ac_var;} ;;
   20504       esac ;;
   20505     esac
   20506   done
   20507 
   20508   (set) 2>&1 |
   20509     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20510     *${as_nl}ac_space=\ *)
   20511       # `set' does not quote correctly, so add quotes: double-quote
   20512       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20513       sed -n \
   20514 	"s/'/'\\\\''/g;
   20515 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20516       ;; #(
   20517     *)
   20518       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20519       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20520       ;;
   20521     esac |
   20522     sort
   20523 ) |
   20524   sed '
   20525      /^ac_cv_env_/b end
   20526      t clear
   20527      :clear
   20528      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20529      t end
   20530      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20531      :end' >>confcache
   20532 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20533   if test -w "$cache_file"; then
   20534     if test "x$cache_file" != "x/dev/null"; then
   20535       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20536 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20537       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20538 	cat confcache >"$cache_file"
   20539       else
   20540         case $cache_file in #(
   20541         */* | ?:*)
   20542 	  mv -f confcache "$cache_file"$$ &&
   20543 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20544         *)
   20545 	  mv -f confcache "$cache_file" ;;
   20546 	esac
   20547       fi
   20548     fi
   20549   else
   20550     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20551 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20552   fi
   20553 fi
   20554 rm -f confcache
   20555 
   20556 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20557 # Let make expand exec_prefix.
   20558 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20559 
   20560 DEFS=-DHAVE_CONFIG_H
   20561 
   20562 ac_libobjs=
   20563 ac_ltlibobjs=
   20564 U=
   20565 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20566   # 1. Remove the extension, and $U if already installed.
   20567   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20568   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20569   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20570   #    will be set to the directory where LIBOBJS objects are built.
   20571   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20572   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20573 done
   20574 LIBOBJS=$ac_libobjs
   20575 
   20576 LTLIBOBJS=$ac_ltlibobjs
   20577 
   20578 
   20579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20580 printf %s "checking that generated files are newer than configure... " >&6; }
   20581    if test -n "$am_sleep_pid"; then
   20582      # Hide warnings about reused PIDs.
   20583      wait $am_sleep_pid 2>/dev/null
   20584    fi
   20585    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20586 printf "%s\n" "done" >&6; }
   20587  if test -n "$EXEEXT"; then
   20588   am__EXEEXT_TRUE=
   20589   am__EXEEXT_FALSE='#'
   20590 else
   20591   am__EXEEXT_TRUE='#'
   20592   am__EXEEXT_FALSE=
   20593 fi
   20594 
   20595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20596   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20598 fi
   20599 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20600   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20602 fi
   20603 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20604   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20606 fi
   20607 
   20608 : "${CONFIG_STATUS=./config.status}"
   20609 ac_write_fail=0
   20610 ac_clean_files_save=$ac_clean_files
   20611 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20613 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20614 as_write_fail=0
   20615 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20616 #! $SHELL
   20617 # Generated by $as_me.
   20618 # Run this file to recreate the current configuration.
   20619 # Compiler output produced by configure, useful for debugging
   20620 # configure, is in config.log if it exists.
   20621 
   20622 debug=false
   20623 ac_cs_recheck=false
   20624 ac_cs_silent=false
   20625 
   20626 SHELL=\${CONFIG_SHELL-$SHELL}
   20627 export SHELL
   20628 _ASEOF
   20629 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20630 ## -------------------- ##
   20631 ## M4sh Initialization. ##
   20632 ## -------------------- ##
   20633 
   20634 # Be more Bourne compatible
   20635 DUALCASE=1; export DUALCASE # for MKS sh
   20636 as_nop=:
   20637 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20638 then :
   20639   emulate sh
   20640   NULLCMD=:
   20641   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20642   # is contrary to our usage.  Disable this feature.
   20643   alias -g '${1+"$@"}'='"$@"'
   20644   setopt NO_GLOB_SUBST
   20645 else $as_nop
   20646   case `(set -o) 2>/dev/null` in #(
   20647   *posix*) :
   20648     set -o posix ;; #(
   20649   *) :
   20650      ;;
   20651 esac
   20652 fi
   20653 
   20654 
   20655 
   20656 # Reset variables that may have inherited troublesome values from
   20657 # the environment.
   20658 
   20659 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20660 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20661 # side effect of setting IFS to empty, thus disabling word splitting.)
   20662 # Quoting is to prevent editors from complaining about space-tab.
   20663 as_nl='
   20664 '
   20665 export as_nl
   20666 IFS=" ""	$as_nl"
   20667 
   20668 PS1='$ '
   20669 PS2='> '
   20670 PS4='+ '
   20671 
   20672 # Ensure predictable behavior from utilities with locale-dependent output.
   20673 LC_ALL=C
   20674 export LC_ALL
   20675 LANGUAGE=C
   20676 export LANGUAGE
   20677 
   20678 # We cannot yet rely on "unset" to work, but we need these variables
   20679 # to be unset--not just set to an empty or harmless value--now, to
   20680 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20681 # also avoids known problems related to "unset" and subshell syntax
   20682 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20683 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20684 do eval test \${$as_var+y} \
   20685   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20686 done
   20687 
   20688 # Ensure that fds 0, 1, and 2 are open.
   20689 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20690 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20691 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20692 
   20693 # The user is always right.
   20694 if ${PATH_SEPARATOR+false} :; then
   20695   PATH_SEPARATOR=:
   20696   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20697     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20698       PATH_SEPARATOR=';'
   20699   }
   20700 fi
   20701 
   20702 
   20703 # Find who we are.  Look in the path if we contain no directory separator.
   20704 as_myself=
   20705 case $0 in #((
   20706   *[\\/]* ) as_myself=$0 ;;
   20707   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20708 for as_dir in $PATH
   20709 do
   20710   IFS=$as_save_IFS
   20711   case $as_dir in #(((
   20712     '') as_dir=./ ;;
   20713     */) ;;
   20714     *) as_dir=$as_dir/ ;;
   20715   esac
   20716     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20717   done
   20718 IFS=$as_save_IFS
   20719 
   20720      ;;
   20721 esac
   20722 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20723 # in which case we are not to be found in the path.
   20724 if test "x$as_myself" = x; then
   20725   as_myself=$0
   20726 fi
   20727 if test ! -f "$as_myself"; then
   20728   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20729   exit 1
   20730 fi
   20731 
   20732 
   20733 
   20734 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20735 # ----------------------------------------
   20736 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20737 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20738 # script with STATUS, using 1 if that was 0.
   20739 as_fn_error ()
   20740 {
   20741   as_status=$1; test $as_status -eq 0 && as_status=1
   20742   if test "$4"; then
   20743     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20744     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20745   fi
   20746   printf "%s\n" "$as_me: error: $2" >&2
   20747   as_fn_exit $as_status
   20748 } # as_fn_error
   20749 
   20750 
   20751 
   20752 # as_fn_set_status STATUS
   20753 # -----------------------
   20754 # Set $? to STATUS, without forking.
   20755 as_fn_set_status ()
   20756 {
   20757   return $1
   20758 } # as_fn_set_status
   20759 
   20760 # as_fn_exit STATUS
   20761 # -----------------
   20762 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20763 as_fn_exit ()
   20764 {
   20765   set +e
   20766   as_fn_set_status $1
   20767   exit $1
   20768 } # as_fn_exit
   20769 
   20770 # as_fn_unset VAR
   20771 # ---------------
   20772 # Portably unset VAR.
   20773 as_fn_unset ()
   20774 {
   20775   { eval $1=; unset $1;}
   20776 }
   20777 as_unset=as_fn_unset
   20778 
   20779 # as_fn_append VAR VALUE
   20780 # ----------------------
   20781 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20782 # advantage of any shell optimizations that allow amortized linear growth over
   20783 # repeated appends, instead of the typical quadratic growth present in naive
   20784 # implementations.
   20785 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20786 then :
   20787   eval 'as_fn_append ()
   20788   {
   20789     eval $1+=\$2
   20790   }'
   20791 else $as_nop
   20792   as_fn_append ()
   20793   {
   20794     eval $1=\$$1\$2
   20795   }
   20796 fi # as_fn_append
   20797 
   20798 # as_fn_arith ARG...
   20799 # ------------------
   20800 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20801 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20802 # must be portable across $(()) and expr.
   20803 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20804 then :
   20805   eval 'as_fn_arith ()
   20806   {
   20807     as_val=$(( $* ))
   20808   }'
   20809 else $as_nop
   20810   as_fn_arith ()
   20811   {
   20812     as_val=`expr "$@" || test $? -eq 1`
   20813   }
   20814 fi # as_fn_arith
   20815 
   20816 
   20817 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20818    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20819   as_expr=expr
   20820 else
   20821   as_expr=false
   20822 fi
   20823 
   20824 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20825   as_basename=basename
   20826 else
   20827   as_basename=false
   20828 fi
   20829 
   20830 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20831   as_dirname=dirname
   20832 else
   20833   as_dirname=false
   20834 fi
   20835 
   20836 as_me=`$as_basename -- "$0" ||
   20837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20838 	 X"$0" : 'X\(//\)$' \| \
   20839 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20840 printf "%s\n" X/"$0" |
   20841     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20842 	    s//\1/
   20843 	    q
   20844 	  }
   20845 	  /^X\/\(\/\/\)$/{
   20846 	    s//\1/
   20847 	    q
   20848 	  }
   20849 	  /^X\/\(\/\).*/{
   20850 	    s//\1/
   20851 	    q
   20852 	  }
   20853 	  s/.*/./; q'`
   20854 
   20855 # Avoid depending upon Character Ranges.
   20856 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20859 as_cr_digits='0123456789'
   20860 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20861 
   20862 
   20863 # Determine whether it's possible to make 'echo' print without a newline.
   20864 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20865 # for compatibility with existing Makefiles.
   20866 ECHO_C= ECHO_N= ECHO_T=
   20867 case `echo -n x` in #(((((
   20868 -n*)
   20869   case `echo 'xy\c'` in
   20870   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20871   xy)  ECHO_C='\c';;
   20872   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20873        ECHO_T='	';;
   20874   esac;;
   20875 *)
   20876   ECHO_N='-n';;
   20877 esac
   20878 
   20879 # For backward compatibility with old third-party macros, we provide
   20880 # the shell variables $as_echo and $as_echo_n.  New code should use
   20881 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20882 as_echo='printf %s\n'
   20883 as_echo_n='printf %s'
   20884 
   20885 rm -f conf$$ conf$$.exe conf$$.file
   20886 if test -d conf$$.dir; then
   20887   rm -f conf$$.dir/conf$$.file
   20888 else
   20889   rm -f conf$$.dir
   20890   mkdir conf$$.dir 2>/dev/null
   20891 fi
   20892 if (echo >conf$$.file) 2>/dev/null; then
   20893   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20894     as_ln_s='ln -s'
   20895     # ... but there are two gotchas:
   20896     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20897     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20898     # In both cases, we have to default to `cp -pR'.
   20899     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20900       as_ln_s='cp -pR'
   20901   elif ln conf$$.file conf$$ 2>/dev/null; then
   20902     as_ln_s=ln
   20903   else
   20904     as_ln_s='cp -pR'
   20905   fi
   20906 else
   20907   as_ln_s='cp -pR'
   20908 fi
   20909 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20910 rmdir conf$$.dir 2>/dev/null
   20911 
   20912 
   20913 # as_fn_mkdir_p
   20914 # -------------
   20915 # Create "$as_dir" as a directory, including parents if necessary.
   20916 as_fn_mkdir_p ()
   20917 {
   20918 
   20919   case $as_dir in #(
   20920   -*) as_dir=./$as_dir;;
   20921   esac
   20922   test -d "$as_dir" || eval $as_mkdir_p || {
   20923     as_dirs=
   20924     while :; do
   20925       case $as_dir in #(
   20926       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20927       *) as_qdir=$as_dir;;
   20928       esac
   20929       as_dirs="'$as_qdir' $as_dirs"
   20930       as_dir=`$as_dirname -- "$as_dir" ||
   20931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20932 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20933 	 X"$as_dir" : 'X\(//\)$' \| \
   20934 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20935 printf "%s\n" X"$as_dir" |
   20936     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20937 	    s//\1/
   20938 	    q
   20939 	  }
   20940 	  /^X\(\/\/\)[^/].*/{
   20941 	    s//\1/
   20942 	    q
   20943 	  }
   20944 	  /^X\(\/\/\)$/{
   20945 	    s//\1/
   20946 	    q
   20947 	  }
   20948 	  /^X\(\/\).*/{
   20949 	    s//\1/
   20950 	    q
   20951 	  }
   20952 	  s/.*/./; q'`
   20953       test -d "$as_dir" && break
   20954     done
   20955     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20956   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20957 
   20958 
   20959 } # as_fn_mkdir_p
   20960 if mkdir -p . 2>/dev/null; then
   20961   as_mkdir_p='mkdir -p "$as_dir"'
   20962 else
   20963   test -d ./-p && rmdir ./-p
   20964   as_mkdir_p=false
   20965 fi
   20966 
   20967 
   20968 # as_fn_executable_p FILE
   20969 # -----------------------
   20970 # Test if FILE is an executable regular file.
   20971 as_fn_executable_p ()
   20972 {
   20973   test -f "$1" && test -x "$1"
   20974 } # as_fn_executable_p
   20975 as_test_x='test -x'
   20976 as_executable_p=as_fn_executable_p
   20977 
   20978 # Sed expression to map a string onto a valid CPP name.
   20979 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20980 
   20981 # Sed expression to map a string onto a valid variable name.
   20982 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20983 
   20984 
   20985 exec 6>&1
   20986 ## ----------------------------------- ##
   20987 ## Main body of $CONFIG_STATUS script. ##
   20988 ## ----------------------------------- ##
   20989 _ASEOF
   20990 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20991 
   20992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20993 # Save the log message, to keep $0 and so on meaningful, and to
   20994 # report actual input values of CONFIG_FILES etc. instead of their
   20995 # values after options handling.
   20996 ac_log="
   20997 This file was extended by xf86-input-elographics $as_me 1.4.3, which was
   20998 generated by GNU Autoconf 2.71.  Invocation command line was
   20999 
   21000   CONFIG_FILES    = $CONFIG_FILES
   21001   CONFIG_HEADERS  = $CONFIG_HEADERS
   21002   CONFIG_LINKS    = $CONFIG_LINKS
   21003   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21004   $ $0 $@
   21005 
   21006 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21007 "
   21008 
   21009 _ACEOF
   21010 
   21011 case $ac_config_files in *"
   21012 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21013 esac
   21014 
   21015 case $ac_config_headers in *"
   21016 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21017 esac
   21018 
   21019 
   21020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21021 # Files that config.status was made for.
   21022 config_files="$ac_config_files"
   21023 config_headers="$ac_config_headers"
   21024 config_commands="$ac_config_commands"
   21025 
   21026 _ACEOF
   21027 
   21028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21029 ac_cs_usage="\
   21030 \`$as_me' instantiates files and other configuration actions
   21031 from templates according to the current configuration.  Unless the files
   21032 and actions are specified as TAGs, all are instantiated by default.
   21033 
   21034 Usage: $0 [OPTION]... [TAG]...
   21035 
   21036   -h, --help       print this help, then exit
   21037   -V, --version    print version number and configuration settings, then exit
   21038       --config     print configuration, then exit
   21039   -q, --quiet, --silent
   21040                    do not print progress messages
   21041   -d, --debug      don't remove temporary files
   21042       --recheck    update $as_me by reconfiguring in the same conditions
   21043       --file=FILE[:TEMPLATE]
   21044                    instantiate the configuration file FILE
   21045       --header=FILE[:TEMPLATE]
   21046                    instantiate the configuration header FILE
   21047 
   21048 Configuration files:
   21049 $config_files
   21050 
   21051 Configuration headers:
   21052 $config_headers
   21053 
   21054 Configuration commands:
   21055 $config_commands
   21056 
   21057 Report bugs to <https://gitlab.freedesktop.org/xorg/driver/xf86-input-elographics/-/issues>."
   21058 
   21059 _ACEOF
   21060 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21061 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21063 ac_cs_config='$ac_cs_config_escaped'
   21064 ac_cs_version="\\
   21065 xf86-input-elographics config.status 1.4.3
   21066 configured by $0, generated by GNU Autoconf 2.71,
   21067   with options \\"\$ac_cs_config\\"
   21068 
   21069 Copyright (C) 2021 Free Software Foundation, Inc.
   21070 This config.status script is free software; the Free Software Foundation
   21071 gives unlimited permission to copy, distribute and modify it."
   21072 
   21073 ac_pwd='$ac_pwd'
   21074 srcdir='$srcdir'
   21075 INSTALL='$INSTALL'
   21076 MKDIR_P='$MKDIR_P'
   21077 AWK='$AWK'
   21078 test -n "\$AWK" || AWK=awk
   21079 _ACEOF
   21080 
   21081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21082 # The default lists apply if the user does not specify any file.
   21083 ac_need_defaults=:
   21084 while test $# != 0
   21085 do
   21086   case $1 in
   21087   --*=?*)
   21088     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21089     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21090     ac_shift=:
   21091     ;;
   21092   --*=)
   21093     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21094     ac_optarg=
   21095     ac_shift=:
   21096     ;;
   21097   *)
   21098     ac_option=$1
   21099     ac_optarg=$2
   21100     ac_shift=shift
   21101     ;;
   21102   esac
   21103 
   21104   case $ac_option in
   21105   # Handling of the options.
   21106   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21107     ac_cs_recheck=: ;;
   21108   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21109     printf "%s\n" "$ac_cs_version"; exit ;;
   21110   --config | --confi | --conf | --con | --co | --c )
   21111     printf "%s\n" "$ac_cs_config"; exit ;;
   21112   --debug | --debu | --deb | --de | --d | -d )
   21113     debug=: ;;
   21114   --file | --fil | --fi | --f )
   21115     $ac_shift
   21116     case $ac_optarg in
   21117     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21118     '') as_fn_error $? "missing file argument" ;;
   21119     esac
   21120     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21121     ac_need_defaults=false;;
   21122   --header | --heade | --head | --hea )
   21123     $ac_shift
   21124     case $ac_optarg in
   21125     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21126     esac
   21127     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21128     ac_need_defaults=false;;
   21129   --he | --h)
   21130     # Conflict between --help and --header
   21131     as_fn_error $? "ambiguous option: \`$1'
   21132 Try \`$0 --help' for more information.";;
   21133   --help | --hel | -h )
   21134     printf "%s\n" "$ac_cs_usage"; exit ;;
   21135   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21136   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21137     ac_cs_silent=: ;;
   21138 
   21139   # This is an error.
   21140   -*) as_fn_error $? "unrecognized option: \`$1'
   21141 Try \`$0 --help' for more information." ;;
   21142 
   21143   *) as_fn_append ac_config_targets " $1"
   21144      ac_need_defaults=false ;;
   21145 
   21146   esac
   21147   shift
   21148 done
   21149 
   21150 ac_configure_extra_args=
   21151 
   21152 if $ac_cs_silent; then
   21153   exec 6>/dev/null
   21154   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21155 fi
   21156 
   21157 _ACEOF
   21158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21159 if \$ac_cs_recheck; then
   21160   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21161   shift
   21162   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21163   CONFIG_SHELL='$SHELL'
   21164   export CONFIG_SHELL
   21165   exec "\$@"
   21166 fi
   21167 
   21168 _ACEOF
   21169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21170 exec 5>>config.log
   21171 {
   21172   echo
   21173   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21174 ## Running $as_me. ##
   21175 _ASBOX
   21176   printf "%s\n" "$ac_log"
   21177 } >&5
   21178 
   21179 _ACEOF
   21180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21181 #
   21182 # INIT-COMMANDS
   21183 #
   21184 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21185 
   21186 
   21187 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21188 # if CDPATH is set.
   21189 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21190 
   21191 sed_quote_subst='$sed_quote_subst'
   21192 double_quote_subst='$double_quote_subst'
   21193 delay_variable_subst='$delay_variable_subst'
   21194 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21195 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21196 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21197 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21198 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21199 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21200 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21201 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21202 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21203 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21204 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21205 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21206 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21207 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21208 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21209 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21210 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21211 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21212 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21213 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21214 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21215 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21216 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21217 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21218 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21219 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21220 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21221 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21222 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21223 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21224 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21225 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21226 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21227 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21228 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21229 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21230 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21231 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21232 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21233 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21234 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21235 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21236 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21237 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21238 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21239 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21240 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21241 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21242 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21243 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21244 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21245 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21246 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21247 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21248 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21249 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21250 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21251 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21252 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21253 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21254 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"`'
   21255 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21256 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21257 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21258 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21259 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21260 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21261 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21262 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21263 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21264 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21265 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21266 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21267 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21268 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21269 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21270 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21271 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21272 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21273 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21274 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21275 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21276 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21277 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21278 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21279 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21280 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21281 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21282 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21283 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21284 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21285 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21286 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21287 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21288 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21289 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21290 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21291 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21292 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21293 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21294 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21295 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21296 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21297 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21298 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21299 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21300 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21301 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21302 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21303 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21304 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21305 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21306 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21307 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21308 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21309 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21310 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21311 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21312 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21313 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21314 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21315 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21316 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21317 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21318 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21319 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21320 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21321 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21322 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21323 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21324 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21325 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21326 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21327 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21328 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21329 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21330 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21331 
   21332 LTCC='$LTCC'
   21333 LTCFLAGS='$LTCFLAGS'
   21334 compiler='$compiler_DEFAULT'
   21335 
   21336 # A function that is used when there is no print builtin or printf.
   21337 func_fallback_echo ()
   21338 {
   21339   eval 'cat <<_LTECHO_EOF
   21340 \$1
   21341 _LTECHO_EOF'
   21342 }
   21343 
   21344 # Quote evaled strings.
   21345 for var in SHELL \
   21346 ECHO \
   21347 PATH_SEPARATOR \
   21348 SED \
   21349 GREP \
   21350 EGREP \
   21351 FGREP \
   21352 LD \
   21353 NM \
   21354 LN_S \
   21355 lt_SP2NL \
   21356 lt_NL2SP \
   21357 reload_flag \
   21358 FILECMD \
   21359 OBJDUMP \
   21360 deplibs_check_method \
   21361 file_magic_cmd \
   21362 file_magic_glob \
   21363 want_nocaseglob \
   21364 DLLTOOL \
   21365 sharedlib_from_linklib_cmd \
   21366 AR \
   21367 archiver_list_spec \
   21368 STRIP \
   21369 RANLIB \
   21370 CC \
   21371 CFLAGS \
   21372 compiler \
   21373 lt_cv_sys_global_symbol_pipe \
   21374 lt_cv_sys_global_symbol_to_cdecl \
   21375 lt_cv_sys_global_symbol_to_import \
   21376 lt_cv_sys_global_symbol_to_c_name_address \
   21377 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21378 lt_cv_nm_interface \
   21379 nm_file_list_spec \
   21380 lt_cv_truncate_bin \
   21381 lt_prog_compiler_no_builtin_flag \
   21382 lt_prog_compiler_pic \
   21383 lt_prog_compiler_wl \
   21384 lt_prog_compiler_static \
   21385 lt_cv_prog_compiler_c_o \
   21386 need_locks \
   21387 MANIFEST_TOOL \
   21388 DSYMUTIL \
   21389 NMEDIT \
   21390 LIPO \
   21391 OTOOL \
   21392 OTOOL64 \
   21393 shrext_cmds \
   21394 export_dynamic_flag_spec \
   21395 whole_archive_flag_spec \
   21396 compiler_needs_object \
   21397 with_gnu_ld \
   21398 allow_undefined_flag \
   21399 no_undefined_flag \
   21400 hardcode_libdir_flag_spec \
   21401 hardcode_libdir_separator \
   21402 exclude_expsyms \
   21403 include_expsyms \
   21404 file_list_spec \
   21405 variables_saved_for_relink \
   21406 libname_spec \
   21407 library_names_spec \
   21408 soname_spec \
   21409 install_override_mode \
   21410 finish_eval \
   21411 old_striplib \
   21412 striplib; do
   21413     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21414     *[\\\\\\\`\\"\\\$]*)
   21415       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21416       ;;
   21417     *)
   21418       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21419       ;;
   21420     esac
   21421 done
   21422 
   21423 # Double-quote double-evaled strings.
   21424 for var in reload_cmds \
   21425 old_postinstall_cmds \
   21426 old_postuninstall_cmds \
   21427 old_archive_cmds \
   21428 extract_expsyms_cmds \
   21429 old_archive_from_new_cmds \
   21430 old_archive_from_expsyms_cmds \
   21431 archive_cmds \
   21432 archive_expsym_cmds \
   21433 module_cmds \
   21434 module_expsym_cmds \
   21435 export_symbols_cmds \
   21436 prelink_cmds \
   21437 postlink_cmds \
   21438 postinstall_cmds \
   21439 postuninstall_cmds \
   21440 finish_cmds \
   21441 sys_lib_search_path_spec \
   21442 configure_time_dlsearch_path \
   21443 configure_time_lt_sys_library_path; do
   21444     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21445     *[\\\\\\\`\\"\\\$]*)
   21446       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21447       ;;
   21448     *)
   21449       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21450       ;;
   21451     esac
   21452 done
   21453 
   21454 ac_aux_dir='$ac_aux_dir'
   21455 
   21456 # See if we are running on zsh, and set the options that allow our
   21457 # commands through without removal of \ escapes INIT.
   21458 if test -n "\${ZSH_VERSION+set}"; then
   21459    setopt NO_GLOB_SUBST
   21460 fi
   21461 
   21462 
   21463     PACKAGE='$PACKAGE'
   21464     VERSION='$VERSION'
   21465     RM='$RM'
   21466     ofile='$ofile'
   21467 
   21468 
   21469 
   21470 
   21471 _ACEOF
   21472 
   21473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21474 
   21475 # Handling of arguments.
   21476 for ac_config_target in $ac_config_targets
   21477 do
   21478   case $ac_config_target in
   21479     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21480     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21481     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21482     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21483     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21484     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21485 
   21486   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21487   esac
   21488 done
   21489 
   21490 
   21491 # If the user did not use the arguments to specify the items to instantiate,
   21492 # then the envvar interface is used.  Set only those that are not.
   21493 # We use the long form for the default assignment because of an extremely
   21494 # bizarre bug on SunOS 4.1.3.
   21495 if $ac_need_defaults; then
   21496   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21497   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21498   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21499 fi
   21500 
   21501 # Have a temporary directory for convenience.  Make it in the build tree
   21502 # simply because there is no reason against having it here, and in addition,
   21503 # creating and moving files from /tmp can sometimes cause problems.
   21504 # Hook for its removal unless debugging.
   21505 # Note that there is a small window in which the directory will not be cleaned:
   21506 # after its creation but before its name has been assigned to `$tmp'.
   21507 $debug ||
   21508 {
   21509   tmp= ac_tmp=
   21510   trap 'exit_status=$?
   21511   : "${ac_tmp:=$tmp}"
   21512   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21513 ' 0
   21514   trap 'as_fn_exit 1' 1 2 13 15
   21515 }
   21516 # Create a (secure) tmp directory for tmp files.
   21517 
   21518 {
   21519   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21520   test -d "$tmp"
   21521 }  ||
   21522 {
   21523   tmp=./conf$$-$RANDOM
   21524   (umask 077 && mkdir "$tmp")
   21525 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21526 ac_tmp=$tmp
   21527 
   21528 # Set up the scripts for CONFIG_FILES section.
   21529 # No need to generate them if there are no CONFIG_FILES.
   21530 # This happens for instance with `./config.status config.h'.
   21531 if test -n "$CONFIG_FILES"; then
   21532 
   21533 
   21534 ac_cr=`echo X | tr X '\015'`
   21535 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21536 # But we know of no other shell where ac_cr would be empty at this
   21537 # point, so we can use a bashism as a fallback.
   21538 if test "x$ac_cr" = x; then
   21539   eval ac_cr=\$\'\\r\'
   21540 fi
   21541 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21542 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21543   ac_cs_awk_cr='\\r'
   21544 else
   21545   ac_cs_awk_cr=$ac_cr
   21546 fi
   21547 
   21548 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21549 _ACEOF
   21550 
   21551 
   21552 {
   21553   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21554   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21555   echo "_ACEOF"
   21556 } >conf$$subs.sh ||
   21557   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21558 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21559 ac_delim='%!_!# '
   21560 for ac_last_try in false false false false false :; do
   21561   . ./conf$$subs.sh ||
   21562     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21563 
   21564   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21565   if test $ac_delim_n = $ac_delim_num; then
   21566     break
   21567   elif $ac_last_try; then
   21568     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21569   else
   21570     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21571   fi
   21572 done
   21573 rm -f conf$$subs.sh
   21574 
   21575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21576 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21577 _ACEOF
   21578 sed -n '
   21579 h
   21580 s/^/S["/; s/!.*/"]=/
   21581 p
   21582 g
   21583 s/^[^!]*!//
   21584 :repl
   21585 t repl
   21586 s/'"$ac_delim"'$//
   21587 t delim
   21588 :nl
   21589 h
   21590 s/\(.\{148\}\)..*/\1/
   21591 t more1
   21592 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21593 p
   21594 n
   21595 b repl
   21596 :more1
   21597 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21598 p
   21599 g
   21600 s/.\{148\}//
   21601 t nl
   21602 :delim
   21603 h
   21604 s/\(.\{148\}\)..*/\1/
   21605 t more2
   21606 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21607 p
   21608 b
   21609 :more2
   21610 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21611 p
   21612 g
   21613 s/.\{148\}//
   21614 t delim
   21615 ' <conf$$subs.awk | sed '
   21616 /^[^""]/{
   21617   N
   21618   s/\n//
   21619 }
   21620 ' >>$CONFIG_STATUS || ac_write_fail=1
   21621 rm -f conf$$subs.awk
   21622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21623 _ACAWK
   21624 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21625   for (key in S) S_is_set[key] = 1
   21626   FS = ""
   21627 
   21628 }
   21629 {
   21630   line = $ 0
   21631   nfields = split(line, field, "@")
   21632   substed = 0
   21633   len = length(field[1])
   21634   for (i = 2; i < nfields; i++) {
   21635     key = field[i]
   21636     keylen = length(key)
   21637     if (S_is_set[key]) {
   21638       value = S[key]
   21639       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21640       len += length(value) + length(field[++i])
   21641       substed = 1
   21642     } else
   21643       len += 1 + keylen
   21644   }
   21645 
   21646   print line
   21647 }
   21648 
   21649 _ACAWK
   21650 _ACEOF
   21651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21652 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21653   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21654 else
   21655   cat
   21656 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21657   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21658 _ACEOF
   21659 
   21660 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21661 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21662 # trailing colons and then remove the whole line if VPATH becomes empty
   21663 # (actually we leave an empty line to preserve line numbers).
   21664 if test "x$srcdir" = x.; then
   21665   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21666 h
   21667 s///
   21668 s/^/:/
   21669 s/[	 ]*$/:/
   21670 s/:\$(srcdir):/:/g
   21671 s/:\${srcdir}:/:/g
   21672 s/:@srcdir@:/:/g
   21673 s/^:*//
   21674 s/:*$//
   21675 x
   21676 s/\(=[	 ]*\).*/\1/
   21677 G
   21678 s/\n//
   21679 s/^[^=]*=[	 ]*$//
   21680 }'
   21681 fi
   21682 
   21683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21684 fi # test -n "$CONFIG_FILES"
   21685 
   21686 # Set up the scripts for CONFIG_HEADERS section.
   21687 # No need to generate them if there are no CONFIG_HEADERS.
   21688 # This happens for instance with `./config.status Makefile'.
   21689 if test -n "$CONFIG_HEADERS"; then
   21690 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21691 BEGIN {
   21692 _ACEOF
   21693 
   21694 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21695 # here-document in config.status, that substitutes the proper values into
   21696 # config.h.in to produce config.h.
   21697 
   21698 # Create a delimiter string that does not exist in confdefs.h, to ease
   21699 # handling of long lines.
   21700 ac_delim='%!_!# '
   21701 for ac_last_try in false false :; do
   21702   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21703   if test -z "$ac_tt"; then
   21704     break
   21705   elif $ac_last_try; then
   21706     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21707   else
   21708     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21709   fi
   21710 done
   21711 
   21712 # For the awk script, D is an array of macro values keyed by name,
   21713 # likewise P contains macro parameters if any.  Preserve backslash
   21714 # newline sequences.
   21715 
   21716 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21717 sed -n '
   21718 s/.\{148\}/&'"$ac_delim"'/g
   21719 t rset
   21720 :rset
   21721 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21722 t def
   21723 d
   21724 :def
   21725 s/\\$//
   21726 t bsnl
   21727 s/["\\]/\\&/g
   21728 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21729 D["\1"]=" \3"/p
   21730 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21731 d
   21732 :bsnl
   21733 s/["\\]/\\&/g
   21734 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21735 D["\1"]=" \3\\\\\\n"\\/p
   21736 t cont
   21737 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21738 t cont
   21739 d
   21740 :cont
   21741 n
   21742 s/.\{148\}/&'"$ac_delim"'/g
   21743 t clear
   21744 :clear
   21745 s/\\$//
   21746 t bsnlc
   21747 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21748 d
   21749 :bsnlc
   21750 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21751 b cont
   21752 ' <confdefs.h | sed '
   21753 s/'"$ac_delim"'/"\\\
   21754 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21755 
   21756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21757   for (key in D) D_is_set[key] = 1
   21758   FS = ""
   21759 }
   21760 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21761   line = \$ 0
   21762   split(line, arg, " ")
   21763   if (arg[1] == "#") {
   21764     defundef = arg[2]
   21765     mac1 = arg[3]
   21766   } else {
   21767     defundef = substr(arg[1], 2)
   21768     mac1 = arg[2]
   21769   }
   21770   split(mac1, mac2, "(") #)
   21771   macro = mac2[1]
   21772   prefix = substr(line, 1, index(line, defundef) - 1)
   21773   if (D_is_set[macro]) {
   21774     # Preserve the white space surrounding the "#".
   21775     print prefix "define", macro P[macro] D[macro]
   21776     next
   21777   } else {
   21778     # Replace #undef with comments.  This is necessary, for example,
   21779     # in the case of _POSIX_SOURCE, which is predefined and required
   21780     # on some systems where configure will not decide to define it.
   21781     if (defundef == "undef") {
   21782       print "/*", prefix defundef, macro, "*/"
   21783       next
   21784     }
   21785   }
   21786 }
   21787 { print }
   21788 _ACAWK
   21789 _ACEOF
   21790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21791   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21792 fi # test -n "$CONFIG_HEADERS"
   21793 
   21794 
   21795 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21796 shift
   21797 for ac_tag
   21798 do
   21799   case $ac_tag in
   21800   :[FHLC]) ac_mode=$ac_tag; continue;;
   21801   esac
   21802   case $ac_mode$ac_tag in
   21803   :[FHL]*:*);;
   21804   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21805   :[FH]-) ac_tag=-:-;;
   21806   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21807   esac
   21808   ac_save_IFS=$IFS
   21809   IFS=:
   21810   set x $ac_tag
   21811   IFS=$ac_save_IFS
   21812   shift
   21813   ac_file=$1
   21814   shift
   21815 
   21816   case $ac_mode in
   21817   :L) ac_source=$1;;
   21818   :[FH])
   21819     ac_file_inputs=
   21820     for ac_f
   21821     do
   21822       case $ac_f in
   21823       -) ac_f="$ac_tmp/stdin";;
   21824       *) # Look for the file first in the build tree, then in the source tree
   21825 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21826 	 # because $ac_f cannot contain `:'.
   21827 	 test -f "$ac_f" ||
   21828 	   case $ac_f in
   21829 	   [\\/$]*) false;;
   21830 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21831 	   esac ||
   21832 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21833       esac
   21834       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21835       as_fn_append ac_file_inputs " '$ac_f'"
   21836     done
   21837 
   21838     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21839     # use $as_me), people would be surprised to read:
   21840     #    /* config.h.  Generated by config.status.  */
   21841     configure_input='Generated from '`
   21842 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21843 	`' by configure.'
   21844     if test x"$ac_file" != x-; then
   21845       configure_input="$ac_file.  $configure_input"
   21846       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21847 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21848     fi
   21849     # Neutralize special characters interpreted by sed in replacement strings.
   21850     case $configure_input in #(
   21851     *\&* | *\|* | *\\* )
   21852        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21853        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21854     *) ac_sed_conf_input=$configure_input;;
   21855     esac
   21856 
   21857     case $ac_tag in
   21858     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21859       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21860     esac
   21861     ;;
   21862   esac
   21863 
   21864   ac_dir=`$as_dirname -- "$ac_file" ||
   21865 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21866 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21867 	 X"$ac_file" : 'X\(//\)$' \| \
   21868 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21869 printf "%s\n" X"$ac_file" |
   21870     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21871 	    s//\1/
   21872 	    q
   21873 	  }
   21874 	  /^X\(\/\/\)[^/].*/{
   21875 	    s//\1/
   21876 	    q
   21877 	  }
   21878 	  /^X\(\/\/\)$/{
   21879 	    s//\1/
   21880 	    q
   21881 	  }
   21882 	  /^X\(\/\).*/{
   21883 	    s//\1/
   21884 	    q
   21885 	  }
   21886 	  s/.*/./; q'`
   21887   as_dir="$ac_dir"; as_fn_mkdir_p
   21888   ac_builddir=.
   21889 
   21890 case "$ac_dir" in
   21891 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21892 *)
   21893   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21894   # A ".." for each directory in $ac_dir_suffix.
   21895   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21896   case $ac_top_builddir_sub in
   21897   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21898   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21899   esac ;;
   21900 esac
   21901 ac_abs_top_builddir=$ac_pwd
   21902 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21903 # for backward compatibility:
   21904 ac_top_builddir=$ac_top_build_prefix
   21905 
   21906 case $srcdir in
   21907   .)  # We are building in place.
   21908     ac_srcdir=.
   21909     ac_top_srcdir=$ac_top_builddir_sub
   21910     ac_abs_top_srcdir=$ac_pwd ;;
   21911   [\\/]* | ?:[\\/]* )  # Absolute name.
   21912     ac_srcdir=$srcdir$ac_dir_suffix;
   21913     ac_top_srcdir=$srcdir
   21914     ac_abs_top_srcdir=$srcdir ;;
   21915   *) # Relative name.
   21916     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21917     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21918     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21919 esac
   21920 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21921 
   21922 
   21923   case $ac_mode in
   21924   :F)
   21925   #
   21926   # CONFIG_FILE
   21927   #
   21928 
   21929   case $INSTALL in
   21930   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21931   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21932   esac
   21933   ac_MKDIR_P=$MKDIR_P
   21934   case $MKDIR_P in
   21935   [\\/$]* | ?:[\\/]* ) ;;
   21936   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21937   esac
   21938 _ACEOF
   21939 
   21940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21941 # If the template does not know about datarootdir, expand it.
   21942 # FIXME: This hack should be removed a few years after 2.60.
   21943 ac_datarootdir_hack=; ac_datarootdir_seen=
   21944 ac_sed_dataroot='
   21945 /datarootdir/ {
   21946   p
   21947   q
   21948 }
   21949 /@datadir@/p
   21950 /@docdir@/p
   21951 /@infodir@/p
   21952 /@localedir@/p
   21953 /@mandir@/p'
   21954 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21955 *datarootdir*) ac_datarootdir_seen=yes;;
   21956 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21958 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21959 _ACEOF
   21960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21961   ac_datarootdir_hack='
   21962   s&@datadir@&$datadir&g
   21963   s&@docdir@&$docdir&g
   21964   s&@infodir@&$infodir&g
   21965   s&@localedir@&$localedir&g
   21966   s&@mandir@&$mandir&g
   21967   s&\\\${datarootdir}&$datarootdir&g' ;;
   21968 esac
   21969 _ACEOF
   21970 
   21971 # Neutralize VPATH when `$srcdir' = `.'.
   21972 # Shell code in configure.ac might set extrasub.
   21973 # FIXME: do we really want to maintain this feature?
   21974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21975 ac_sed_extra="$ac_vpsub
   21976 $extrasub
   21977 _ACEOF
   21978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21979 :t
   21980 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21981 s|@configure_input@|$ac_sed_conf_input|;t t
   21982 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21983 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21984 s&@srcdir@&$ac_srcdir&;t t
   21985 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21986 s&@top_srcdir@&$ac_top_srcdir&;t t
   21987 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21988 s&@builddir@&$ac_builddir&;t t
   21989 s&@abs_builddir@&$ac_abs_builddir&;t t
   21990 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21991 s&@INSTALL@&$ac_INSTALL&;t t
   21992 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21993 $ac_datarootdir_hack
   21994 "
   21995 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21996   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21997 
   21998 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21999   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22000   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22001       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22003 which seems to be undefined.  Please make sure it is defined" >&5
   22004 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22005 which seems to be undefined.  Please make sure it is defined" >&2;}
   22006 
   22007   rm -f "$ac_tmp/stdin"
   22008   case $ac_file in
   22009   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22010   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22011   esac \
   22012   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22013  ;;
   22014   :H)
   22015   #
   22016   # CONFIG_HEADER
   22017   #
   22018   if test x"$ac_file" != x-; then
   22019     {
   22020       printf "%s\n" "/* $configure_input  */" >&1 \
   22021       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22022     } >"$ac_tmp/config.h" \
   22023       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22024     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22025       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22026 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22027     else
   22028       rm -f "$ac_file"
   22029       mv "$ac_tmp/config.h" "$ac_file" \
   22030 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22031     fi
   22032   else
   22033     printf "%s\n" "/* $configure_input  */" >&1 \
   22034       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22035       || as_fn_error $? "could not create -" "$LINENO" 5
   22036   fi
   22037 # Compute "$ac_file"'s index in $config_headers.
   22038 _am_arg="$ac_file"
   22039 _am_stamp_count=1
   22040 for _am_header in $config_headers :; do
   22041   case $_am_header in
   22042     $_am_arg | $_am_arg:* )
   22043       break ;;
   22044     * )
   22045       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22046   esac
   22047 done
   22048 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22049 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22050 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22051 	 X"$_am_arg" : 'X\(//\)$' \| \
   22052 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22053 printf "%s\n" X"$_am_arg" |
   22054     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22055 	    s//\1/
   22056 	    q
   22057 	  }
   22058 	  /^X\(\/\/\)[^/].*/{
   22059 	    s//\1/
   22060 	    q
   22061 	  }
   22062 	  /^X\(\/\/\)$/{
   22063 	    s//\1/
   22064 	    q
   22065 	  }
   22066 	  /^X\(\/\).*/{
   22067 	    s//\1/
   22068 	    q
   22069 	  }
   22070 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22071  ;;
   22072 
   22073   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22074 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22075  ;;
   22076   esac
   22077 
   22078 
   22079   case $ac_file$ac_mode in
   22080     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22081   # Older Autoconf quotes --file arguments for eval, but not when files
   22082   # are listed without --file.  Let's play safe and only enable the eval
   22083   # if we detect the quoting.
   22084   # TODO: see whether this extra hack can be removed once we start
   22085   # requiring Autoconf 2.70 or later.
   22086   case $CONFIG_FILES in #(
   22087   *\'*) :
   22088     eval set x "$CONFIG_FILES" ;; #(
   22089   *) :
   22090     set x $CONFIG_FILES ;; #(
   22091   *) :
   22092      ;;
   22093 esac
   22094   shift
   22095   # Used to flag and report bootstrapping failures.
   22096   am_rc=0
   22097   for am_mf
   22098   do
   22099     # Strip MF so we end up with the name of the file.
   22100     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22101     # Check whether this is an Automake generated Makefile which includes
   22102     # dependency-tracking related rules and includes.
   22103     # Grep'ing the whole file directly is not great: AIX grep has a line
   22104     # limit of 2048, but all sed's we know have understand at least 4000.
   22105     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22106       || continue
   22107     am_dirpart=`$as_dirname -- "$am_mf" ||
   22108 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22109 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22110 	 X"$am_mf" : 'X\(//\)$' \| \
   22111 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22112 printf "%s\n" X"$am_mf" |
   22113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22114 	    s//\1/
   22115 	    q
   22116 	  }
   22117 	  /^X\(\/\/\)[^/].*/{
   22118 	    s//\1/
   22119 	    q
   22120 	  }
   22121 	  /^X\(\/\/\)$/{
   22122 	    s//\1/
   22123 	    q
   22124 	  }
   22125 	  /^X\(\/\).*/{
   22126 	    s//\1/
   22127 	    q
   22128 	  }
   22129 	  s/.*/./; q'`
   22130     am_filepart=`$as_basename -- "$am_mf" ||
   22131 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22132 	 X"$am_mf" : 'X\(//\)$' \| \
   22133 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22134 printf "%s\n" X/"$am_mf" |
   22135     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22136 	    s//\1/
   22137 	    q
   22138 	  }
   22139 	  /^X\/\(\/\/\)$/{
   22140 	    s//\1/
   22141 	    q
   22142 	  }
   22143 	  /^X\/\(\/\).*/{
   22144 	    s//\1/
   22145 	    q
   22146 	  }
   22147 	  s/.*/./; q'`
   22148     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22149       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22150         | $MAKE -f - am--depfiles" >&5
   22151    (cd "$am_dirpart" \
   22152       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22153         | $MAKE -f - am--depfiles) >&5 2>&5
   22154    ac_status=$?
   22155    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22156    (exit $ac_status); } || am_rc=$?
   22157   done
   22158   if test $am_rc -ne 0; then
   22159     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22160 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22161 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22162     for automatic dependency tracking.  If GNU make was not used, consider
   22163     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22164     necessary).  You can also try re-running configure with the
   22165     '--disable-dependency-tracking' option to at least be able to build
   22166     the package (albeit without support for automatic dependency tracking).
   22167 See \`config.log' for more details" "$LINENO" 5; }
   22168   fi
   22169   { am_dirpart=; unset am_dirpart;}
   22170   { am_filepart=; unset am_filepart;}
   22171   { am_mf=; unset am_mf;}
   22172   { am_rc=; unset am_rc;}
   22173   rm -f conftest-deps.mk
   22174 }
   22175  ;;
   22176     "libtool":C)
   22177 
   22178     # See if we are running on zsh, and set the options that allow our
   22179     # commands through without removal of \ escapes.
   22180     if test -n "${ZSH_VERSION+set}"; then
   22181       setopt NO_GLOB_SUBST
   22182     fi
   22183 
   22184     cfgfile=${ofile}T
   22185     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22186     $RM "$cfgfile"
   22187 
   22188     cat <<_LT_EOF >> "$cfgfile"
   22189 #! $SHELL
   22190 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22191 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22192 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22193 
   22194 # Provide generalized library-building support services.
   22195 # Written by Gordon Matzigkeit, 1996
   22196 
   22197 # Copyright (C) 2014 Free Software Foundation, Inc.
   22198 # This is free software; see the source for copying conditions.  There is NO
   22199 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22200 
   22201 # GNU Libtool is free software; you can redistribute it and/or modify
   22202 # it under the terms of the GNU General Public License as published by
   22203 # the Free Software Foundation; either version 2 of of the License, or
   22204 # (at your option) any later version.
   22205 #
   22206 # As a special exception to the GNU General Public License, if you
   22207 # distribute this file as part of a program or library that is built
   22208 # using GNU Libtool, you may include this file under the  same
   22209 # distribution terms that you use for the rest of that program.
   22210 #
   22211 # GNU Libtool is distributed in the hope that it will be useful, but
   22212 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22213 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22214 # GNU General Public License for more details.
   22215 #
   22216 # You should have received a copy of the GNU General Public License
   22217 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22218 
   22219 
   22220 # The names of the tagged configurations supported by this script.
   22221 available_tags=''
   22222 
   22223 # Configured defaults for sys_lib_dlsearch_path munging.
   22224 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22225 
   22226 # ### BEGIN LIBTOOL CONFIG
   22227 
   22228 # Whether or not to build static libraries.
   22229 build_old_libs=$enable_static
   22230 
   22231 # Which release of libtool.m4 was used?
   22232 macro_version=$macro_version
   22233 macro_revision=$macro_revision
   22234 
   22235 # Whether or not to build shared libraries.
   22236 build_libtool_libs=$enable_shared
   22237 
   22238 # What type of objects to build.
   22239 pic_mode=$pic_mode
   22240 
   22241 # Whether or not to optimize for fast installation.
   22242 fast_install=$enable_fast_install
   22243 
   22244 # Shared archive member basename,for filename based shared library versioning on AIX.
   22245 shared_archive_member_spec=$shared_archive_member_spec
   22246 
   22247 # Shell to use when invoking shell scripts.
   22248 SHELL=$lt_SHELL
   22249 
   22250 # An echo program that protects backslashes.
   22251 ECHO=$lt_ECHO
   22252 
   22253 # The PATH separator for the build system.
   22254 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22255 
   22256 # The host system.
   22257 host_alias=$host_alias
   22258 host=$host
   22259 host_os=$host_os
   22260 
   22261 # The build system.
   22262 build_alias=$build_alias
   22263 build=$build
   22264 build_os=$build_os
   22265 
   22266 # A sed program that does not truncate output.
   22267 SED=$lt_SED
   22268 
   22269 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22270 Xsed="\$SED -e 1s/^X//"
   22271 
   22272 # A grep program that handles long lines.
   22273 GREP=$lt_GREP
   22274 
   22275 # An ERE matcher.
   22276 EGREP=$lt_EGREP
   22277 
   22278 # A literal string matcher.
   22279 FGREP=$lt_FGREP
   22280 
   22281 # A BSD- or MS-compatible name lister.
   22282 NM=$lt_NM
   22283 
   22284 # Whether we need soft or hard links.
   22285 LN_S=$lt_LN_S
   22286 
   22287 # What is the maximum length of a command?
   22288 max_cmd_len=$max_cmd_len
   22289 
   22290 # Object file suffix (normally "o").
   22291 objext=$ac_objext
   22292 
   22293 # Executable file suffix (normally "").
   22294 exeext=$exeext
   22295 
   22296 # whether the shell understands "unset".
   22297 lt_unset=$lt_unset
   22298 
   22299 # turn spaces into newlines.
   22300 SP2NL=$lt_lt_SP2NL
   22301 
   22302 # turn newlines into spaces.
   22303 NL2SP=$lt_lt_NL2SP
   22304 
   22305 # convert \$build file names to \$host format.
   22306 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22307 
   22308 # convert \$build files to toolchain format.
   22309 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22310 
   22311 # A file(cmd) program that detects file types.
   22312 FILECMD=$lt_FILECMD
   22313 
   22314 # An object symbol dumper.
   22315 OBJDUMP=$lt_OBJDUMP
   22316 
   22317 # Method to check whether dependent libraries are shared objects.
   22318 deplibs_check_method=$lt_deplibs_check_method
   22319 
   22320 # Command to use when deplibs_check_method = "file_magic".
   22321 file_magic_cmd=$lt_file_magic_cmd
   22322 
   22323 # How to find potential files when deplibs_check_method = "file_magic".
   22324 file_magic_glob=$lt_file_magic_glob
   22325 
   22326 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22327 want_nocaseglob=$lt_want_nocaseglob
   22328 
   22329 # DLL creation program.
   22330 DLLTOOL=$lt_DLLTOOL
   22331 
   22332 # Command to associate shared and link libraries.
   22333 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22334 
   22335 # The archiver.
   22336 AR=$lt_AR
   22337 
   22338 # Flags to create an archive (by configure).
   22339 lt_ar_flags=$lt_ar_flags
   22340 
   22341 # Flags to create an archive.
   22342 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22343 
   22344 # How to feed a file listing to the archiver.
   22345 archiver_list_spec=$lt_archiver_list_spec
   22346 
   22347 # A symbol stripping program.
   22348 STRIP=$lt_STRIP
   22349 
   22350 # Commands used to install an old-style archive.
   22351 RANLIB=$lt_RANLIB
   22352 old_postinstall_cmds=$lt_old_postinstall_cmds
   22353 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22354 
   22355 # Whether to use a lock for old archive extraction.
   22356 lock_old_archive_extraction=$lock_old_archive_extraction
   22357 
   22358 # A C compiler.
   22359 LTCC=$lt_CC
   22360 
   22361 # LTCC compiler flags.
   22362 LTCFLAGS=$lt_CFLAGS
   22363 
   22364 # Take the output of nm and produce a listing of raw symbols and C names.
   22365 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22366 
   22367 # Transform the output of nm in a proper C declaration.
   22368 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22369 
   22370 # Transform the output of nm into a list of symbols to manually relocate.
   22371 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22372 
   22373 # Transform the output of nm in a C name address pair.
   22374 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22375 
   22376 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22377 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22378 
   22379 # The name lister interface.
   22380 nm_interface=$lt_lt_cv_nm_interface
   22381 
   22382 # Specify filename containing input files for \$NM.
   22383 nm_file_list_spec=$lt_nm_file_list_spec
   22384 
   22385 # The root where to search for dependent libraries,and where our libraries should be installed.
   22386 lt_sysroot=$lt_sysroot
   22387 
   22388 # Command to truncate a binary pipe.
   22389 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22390 
   22391 # The name of the directory that contains temporary libtool files.
   22392 objdir=$objdir
   22393 
   22394 # Used to examine libraries when file_magic_cmd begins with "file".
   22395 MAGIC_CMD=$MAGIC_CMD
   22396 
   22397 # Must we lock files when doing compilation?
   22398 need_locks=$lt_need_locks
   22399 
   22400 # Manifest tool.
   22401 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22402 
   22403 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22404 DSYMUTIL=$lt_DSYMUTIL
   22405 
   22406 # Tool to change global to local symbols on Mac OS X.
   22407 NMEDIT=$lt_NMEDIT
   22408 
   22409 # Tool to manipulate fat objects and archives on Mac OS X.
   22410 LIPO=$lt_LIPO
   22411 
   22412 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22413 OTOOL=$lt_OTOOL
   22414 
   22415 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22416 OTOOL64=$lt_OTOOL64
   22417 
   22418 # Old archive suffix (normally "a").
   22419 libext=$libext
   22420 
   22421 # Shared library suffix (normally ".so").
   22422 shrext_cmds=$lt_shrext_cmds
   22423 
   22424 # The commands to extract the exported symbol list from a shared archive.
   22425 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22426 
   22427 # Variables whose values should be saved in libtool wrapper scripts and
   22428 # restored at link time.
   22429 variables_saved_for_relink=$lt_variables_saved_for_relink
   22430 
   22431 # Do we need the "lib" prefix for modules?
   22432 need_lib_prefix=$need_lib_prefix
   22433 
   22434 # Do we need a version for libraries?
   22435 need_version=$need_version
   22436 
   22437 # Library versioning type.
   22438 version_type=$version_type
   22439 
   22440 # Shared library runtime path variable.
   22441 runpath_var=$runpath_var
   22442 
   22443 # Shared library path variable.
   22444 shlibpath_var=$shlibpath_var
   22445 
   22446 # Is shlibpath searched before the hard-coded library search path?
   22447 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22448 
   22449 # Format of library name prefix.
   22450 libname_spec=$lt_libname_spec
   22451 
   22452 # List of archive names.  First name is the real one, the rest are links.
   22453 # The last name is the one that the linker finds with -lNAME
   22454 library_names_spec=$lt_library_names_spec
   22455 
   22456 # The coded name of the library, if different from the real name.
   22457 soname_spec=$lt_soname_spec
   22458 
   22459 # Permission mode override for installation of shared libraries.
   22460 install_override_mode=$lt_install_override_mode
   22461 
   22462 # Command to use after installation of a shared archive.
   22463 postinstall_cmds=$lt_postinstall_cmds
   22464 
   22465 # Command to use after uninstallation of a shared archive.
   22466 postuninstall_cmds=$lt_postuninstall_cmds
   22467 
   22468 # Commands used to finish a libtool library installation in a directory.
   22469 finish_cmds=$lt_finish_cmds
   22470 
   22471 # As "finish_cmds", except a single script fragment to be evaled but
   22472 # not shown.
   22473 finish_eval=$lt_finish_eval
   22474 
   22475 # Whether we should hardcode library paths into libraries.
   22476 hardcode_into_libs=$hardcode_into_libs
   22477 
   22478 # Compile-time system search path for libraries.
   22479 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22480 
   22481 # Detected run-time system search path for libraries.
   22482 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22483 
   22484 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22485 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22486 
   22487 # Whether dlopen is supported.
   22488 dlopen_support=$enable_dlopen
   22489 
   22490 # Whether dlopen of programs is supported.
   22491 dlopen_self=$enable_dlopen_self
   22492 
   22493 # Whether dlopen of statically linked programs is supported.
   22494 dlopen_self_static=$enable_dlopen_self_static
   22495 
   22496 # Commands to strip libraries.
   22497 old_striplib=$lt_old_striplib
   22498 striplib=$lt_striplib
   22499 
   22500 
   22501 # The linker used to build libraries.
   22502 LD=$lt_LD
   22503 
   22504 # How to create reloadable object files.
   22505 reload_flag=$lt_reload_flag
   22506 reload_cmds=$lt_reload_cmds
   22507 
   22508 # Commands used to build an old-style archive.
   22509 old_archive_cmds=$lt_old_archive_cmds
   22510 
   22511 # A language specific compiler.
   22512 CC=$lt_compiler
   22513 
   22514 # Is the compiler the GNU compiler?
   22515 with_gcc=$GCC
   22516 
   22517 # Compiler flag to turn off builtin functions.
   22518 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22519 
   22520 # Additional compiler flags for building library objects.
   22521 pic_flag=$lt_lt_prog_compiler_pic
   22522 
   22523 # How to pass a linker flag through the compiler.
   22524 wl=$lt_lt_prog_compiler_wl
   22525 
   22526 # Compiler flag to prevent dynamic linking.
   22527 link_static_flag=$lt_lt_prog_compiler_static
   22528 
   22529 # Does compiler simultaneously support -c and -o options?
   22530 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22531 
   22532 # Whether or not to add -lc for building shared libraries.
   22533 build_libtool_need_lc=$archive_cmds_need_lc
   22534 
   22535 # Whether or not to disallow shared libs when runtime libs are static.
   22536 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22537 
   22538 # Compiler flag to allow reflexive dlopens.
   22539 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22540 
   22541 # Compiler flag to generate shared objects directly from archives.
   22542 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22543 
   22544 # Whether the compiler copes with passing no objects directly.
   22545 compiler_needs_object=$lt_compiler_needs_object
   22546 
   22547 # Create an old-style archive from a shared archive.
   22548 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22549 
   22550 # Create a temporary old-style archive to link instead of a shared archive.
   22551 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22552 
   22553 # Commands used to build a shared archive.
   22554 archive_cmds=$lt_archive_cmds
   22555 archive_expsym_cmds=$lt_archive_expsym_cmds
   22556 
   22557 # Commands used to build a loadable module if different from building
   22558 # a shared archive.
   22559 module_cmds=$lt_module_cmds
   22560 module_expsym_cmds=$lt_module_expsym_cmds
   22561 
   22562 # Whether we are building with GNU ld or not.
   22563 with_gnu_ld=$lt_with_gnu_ld
   22564 
   22565 # Flag that allows shared libraries with undefined symbols to be built.
   22566 allow_undefined_flag=$lt_allow_undefined_flag
   22567 
   22568 # Flag that enforces no undefined symbols.
   22569 no_undefined_flag=$lt_no_undefined_flag
   22570 
   22571 # Flag to hardcode \$libdir into a binary during linking.
   22572 # This must work even if \$libdir does not exist
   22573 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22574 
   22575 # Whether we need a single "-rpath" flag with a separated argument.
   22576 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22577 
   22578 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22579 # DIR into the resulting binary.
   22580 hardcode_direct=$hardcode_direct
   22581 
   22582 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22583 # DIR into the resulting binary and the resulting library dependency is
   22584 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22585 # library is relocated.
   22586 hardcode_direct_absolute=$hardcode_direct_absolute
   22587 
   22588 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22589 # into the resulting binary.
   22590 hardcode_minus_L=$hardcode_minus_L
   22591 
   22592 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22593 # into the resulting binary.
   22594 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22595 
   22596 # Set to "yes" if building a shared library automatically hardcodes DIR
   22597 # into the library and all subsequent libraries and executables linked
   22598 # against it.
   22599 hardcode_automatic=$hardcode_automatic
   22600 
   22601 # Set to yes if linker adds runtime paths of dependent libraries
   22602 # to runtime path list.
   22603 inherit_rpath=$inherit_rpath
   22604 
   22605 # Whether libtool must link a program against all its dependency libraries.
   22606 link_all_deplibs=$link_all_deplibs
   22607 
   22608 # Set to "yes" if exported symbols are required.
   22609 always_export_symbols=$always_export_symbols
   22610 
   22611 # The commands to list exported symbols.
   22612 export_symbols_cmds=$lt_export_symbols_cmds
   22613 
   22614 # Symbols that should not be listed in the preloaded symbols.
   22615 exclude_expsyms=$lt_exclude_expsyms
   22616 
   22617 # Symbols that must always be exported.
   22618 include_expsyms=$lt_include_expsyms
   22619 
   22620 # Commands necessary for linking programs (against libraries) with templates.
   22621 prelink_cmds=$lt_prelink_cmds
   22622 
   22623 # Commands necessary for finishing linking programs.
   22624 postlink_cmds=$lt_postlink_cmds
   22625 
   22626 # Specify filename containing input files.
   22627 file_list_spec=$lt_file_list_spec
   22628 
   22629 # How to hardcode a shared library path into an executable.
   22630 hardcode_action=$hardcode_action
   22631 
   22632 # ### END LIBTOOL CONFIG
   22633 
   22634 _LT_EOF
   22635 
   22636     cat <<'_LT_EOF' >> "$cfgfile"
   22637 
   22638 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22639 
   22640 # func_munge_path_list VARIABLE PATH
   22641 # -----------------------------------
   22642 # VARIABLE is name of variable containing _space_ separated list of
   22643 # directories to be munged by the contents of PATH, which is string
   22644 # having a format:
   22645 # "DIR[:DIR]:"
   22646 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22647 # ":DIR[:DIR]"
   22648 #       string "DIR[ DIR]" will be appended to VARIABLE
   22649 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22650 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22651 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22652 # "DIR[:DIR]"
   22653 #       VARIABLE will be replaced by "DIR[ DIR]"
   22654 func_munge_path_list ()
   22655 {
   22656     case x$2 in
   22657     x)
   22658         ;;
   22659     *:)
   22660         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22661         ;;
   22662     x:*)
   22663         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22664         ;;
   22665     *::*)
   22666         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22667         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22668         ;;
   22669     *)
   22670         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22671         ;;
   22672     esac
   22673 }
   22674 
   22675 
   22676 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22677 func_cc_basename ()
   22678 {
   22679     for cc_temp in $*""; do
   22680       case $cc_temp in
   22681         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22682         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22683         \-*) ;;
   22684         *) break;;
   22685       esac
   22686     done
   22687     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22688 }
   22689 
   22690 
   22691 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22692 
   22693 _LT_EOF
   22694 
   22695   case $host_os in
   22696   aix3*)
   22697     cat <<\_LT_EOF >> "$cfgfile"
   22698 # AIX sometimes has problems with the GCC collect2 program.  For some
   22699 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22700 # vanish in a puff of smoke.
   22701 if test set != "${COLLECT_NAMES+set}"; then
   22702   COLLECT_NAMES=
   22703   export COLLECT_NAMES
   22704 fi
   22705 _LT_EOF
   22706     ;;
   22707   esac
   22708 
   22709 
   22710 
   22711 ltmain=$ac_aux_dir/ltmain.sh
   22712 
   22713 
   22714   # We use sed instead of cat because bash on DJGPP gets confused if
   22715   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22716   # text mode, it properly converts lines to CR/LF.  This bash problem
   22717   # is reportedly fixed, but why not run on old versions too?
   22718   $SED '$q' "$ltmain" >> "$cfgfile" \
   22719      || (rm -f "$cfgfile"; exit 1)
   22720 
   22721    mv -f "$cfgfile" "$ofile" ||
   22722     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22723   chmod +x "$ofile"
   22724 
   22725  ;;
   22726 
   22727   esac
   22728 done # for ac_tag
   22729 
   22730 
   22731 as_fn_exit 0
   22732 _ACEOF
   22733 ac_clean_files=$ac_clean_files_save
   22734 
   22735 test $ac_write_fail = 0 ||
   22736   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22737 
   22738 
   22739 # configure is writing to config.log, and then calls config.status.
   22740 # config.status does its own redirection, appending to config.log.
   22741 # Unfortunately, on DOS this fails, as config.log is still kept open
   22742 # by configure, so config.status won't be able to write to it; its
   22743 # output is simply discarded.  So we exec the FD to /dev/null,
   22744 # effectively closing config.log, so it can be properly (re)opened and
   22745 # appended to by config.status.  When coming back to configure, we
   22746 # need to make the FD available again.
   22747 if test "$no_create" != yes; then
   22748   ac_cs_success=:
   22749   ac_config_status_args=
   22750   test "$silent" = yes &&
   22751     ac_config_status_args="$ac_config_status_args --quiet"
   22752   exec 5>/dev/null
   22753   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22754   exec 5>>config.log
   22755   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22756   # would make configure fail if this is the last instruction.
   22757   $ac_cs_success || as_fn_exit 1
   22758 fi
   22759 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22761 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22762 fi
   22763 
   22764 
   22765