Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXaw 1.0.16.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/xorg/lib/libxaw/-/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 as_awk_strverscmp='
    602   # Use only awk features that work with 7th edition Unix awk (1978).
    603   # My, what an old awk you have, Mr. Solaris!
    604   END {
    605     while (length(v1) && length(v2)) {
    606       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    607       # Normally this is a single character, but if v1 and v2 contain digits,
    608       # compare them as integers and fractions as strverscmp does.
    609       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    610 	# Split v1 and v2 into their leading digit string components d1 and d2,
    611 	# and advance v1 and v2 past the leading digit strings.
    612 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    613 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    614 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    615 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    616 	if (d1 ~ /^0/) {
    617 	  if (d2 ~ /^0/) {
    618 	    # Compare two fractions.
    619 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    620 	      d1 = substr(d1, 2); len1--
    621 	      d2 = substr(d2, 2); len2--
    622 	    }
    623 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    624 	      # The two components differ in length, and the common prefix
    625 	      # contains only leading zeros.  Consider the longer to be less.
    626 	      d1 = -len1
    627 	      d2 = -len2
    628 	    } else {
    629 	      # Otherwise, compare as strings.
    630 	      d1 = "x" d1
    631 	      d2 = "x" d2
    632 	    }
    633 	  } else {
    634 	    # A fraction is less than an integer.
    635 	    exit 1
    636 	  }
    637 	} else {
    638 	  if (d2 ~ /^0/) {
    639 	    # An integer is greater than a fraction.
    640 	    exit 2
    641 	  } else {
    642 	    # Compare two integers.
    643 	    d1 += 0
    644 	    d2 += 0
    645 	  }
    646 	}
    647       } else {
    648 	# The normal case, without worrying about digits.
    649 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    650 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    651       }
    652       if (d1 < d2) exit 1
    653       if (d1 > d2) exit 2
    654     }
    655     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    656     # which mishandles some comparisons of empty strings to integers.
    657     if (length(v2)) exit 1
    658     if (length(v1)) exit 2
    659   }
    660 '
    661 
    662 test -n "$DJDIR" || exec 7<&0 </dev/null
    663 exec 6>&1
    664 
    665 # Name of the host.
    666 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    667 # so uname gets run too.
    668 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    669 
    670 #
    671 # Initializations.
    672 #
    673 ac_default_prefix=/usr/local
    674 ac_clean_files=
    675 ac_config_libobj_dir=.
    676 LIBOBJS=
    677 cross_compiling=no
    678 subdirs=
    679 MFLAGS=
    680 MAKEFLAGS=
    681 
    682 # Identity of this package.
    683 PACKAGE_NAME='libXaw'
    684 PACKAGE_TARNAME='libXaw'
    685 PACKAGE_VERSION='1.0.16'
    686 PACKAGE_STRING='libXaw 1.0.16'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxaw/-/issues'
    688 PACKAGE_URL=''
    689 
    690 ac_unique_file="Makefile.am"
    691 # Factoring default headers for most tests.
    692 ac_includes_default="\
    693 #include <stddef.h>
    694 #ifdef HAVE_STDIO_H
    695 # include <stdio.h>
    696 #endif
    697 #ifdef HAVE_STDLIB_H
    698 # include <stdlib.h>
    699 #endif
    700 #ifdef HAVE_STRING_H
    701 # include <string.h>
    702 #endif
    703 #ifdef HAVE_INTTYPES_H
    704 # include <inttypes.h>
    705 #endif
    706 #ifdef HAVE_STDINT_H
    707 # include <stdint.h>
    708 #endif
    709 #ifdef HAVE_STRINGS_H
    710 # include <strings.h>
    711 #endif
    712 #ifdef HAVE_SYS_TYPES_H
    713 # include <sys/types.h>
    714 #endif
    715 #ifdef HAVE_SYS_STAT_H
    716 # include <sys/stat.h>
    717 #endif
    718 #ifdef HAVE_UNISTD_H
    719 # include <unistd.h>
    720 #endif"
    721 
    722 ac_header_c_list=
    723 ac_subst_vars='am__EXEEXT_FALSE
    724 am__EXEEXT_TRUE
    725 LTLIBOBJS
    726 LIBOBJS
    727 ENABLE_UNIT_TESTS_FALSE
    728 ENABLE_UNIT_TESTS_TRUE
    729 XORG_MALLOC_DEBUG_ENV
    730 BUILD_XAW7_FALSE
    731 BUILD_XAW7_TRUE
    732 BUILD_XAW6_FALSE
    733 BUILD_XAW6_TRUE
    734 XAW7_LIBS
    735 XAW7_CFLAGS
    736 XAW6_LIBS
    737 XAW6_CFLAGS
    738 PLATFORM_DARWIN_FALSE
    739 PLATFORM_DARWIN_TRUE
    740 PLATFORM_WIN32_FALSE
    741 PLATFORM_WIN32_TRUE
    742 LIBEXT
    743 HAVE_STYLESHEETS_FALSE
    744 HAVE_STYLESHEETS_TRUE
    745 XSL_STYLESHEET
    746 STYLESHEET_SRCDIR
    747 XORG_SGML_PATH
    748 HAVE_XSLTPROC_FALSE
    749 HAVE_XSLTPROC_TRUE
    750 XSLTPROC
    751 HAVE_FOP_FALSE
    752 HAVE_FOP_TRUE
    753 FOP
    754 HAVE_XMLTO_FALSE
    755 HAVE_XMLTO_TRUE
    756 HAVE_XMLTO_TEXT_FALSE
    757 HAVE_XMLTO_TEXT_TRUE
    758 XMLTO
    759 ENABLE_SPECS_FALSE
    760 ENABLE_SPECS_TRUE
    761 MAN_SUBSTS
    762 XORG_MAN_PAGE
    763 ADMIN_MAN_DIR
    764 DRIVER_MAN_DIR
    765 MISC_MAN_DIR
    766 FILE_MAN_DIR
    767 LIB_MAN_DIR
    768 APP_MAN_DIR
    769 ADMIN_MAN_SUFFIX
    770 DRIVER_MAN_SUFFIX
    771 MISC_MAN_SUFFIX
    772 FILE_MAN_SUFFIX
    773 LIB_MAN_SUFFIX
    774 APP_MAN_SUFFIX
    775 INSTALL_CMD
    776 PKG_CONFIG_LIBDIR
    777 PKG_CONFIG_PATH
    778 PKG_CONFIG
    779 CHANGELOG_CMD
    780 STRICT_CFLAGS
    781 CWARNFLAGS
    782 BASE_CFLAGS
    783 LT_SYS_LIBRARY_PATH
    784 OTOOL64
    785 OTOOL
    786 LIPO
    787 NMEDIT
    788 DSYMUTIL
    789 MANIFEST_TOOL
    790 RANLIB
    791 ac_ct_AR
    792 AR
    793 DLLTOOL
    794 OBJDUMP
    795 FILECMD
    796 LN_S
    797 NM
    798 ac_ct_DUMPBIN
    799 DUMPBIN
    800 LD
    801 FGREP
    802 EGREP
    803 GREP
    804 SED
    805 am__fastdepCC_FALSE
    806 am__fastdepCC_TRUE
    807 CCDEPMODE
    808 am__nodep
    809 AMDEPBACKSLASH
    810 AMDEP_FALSE
    811 AMDEP_TRUE
    812 am__include
    813 DEPDIR
    814 OBJEXT
    815 EXEEXT
    816 ac_ct_CC
    817 CPPFLAGS
    818 LDFLAGS
    819 CFLAGS
    820 CC
    821 host_os
    822 host_vendor
    823 host_cpu
    824 host
    825 build_os
    826 build_vendor
    827 build_cpu
    828 build
    829 LIBTOOL
    830 AM_BACKSLASH
    831 AM_DEFAULT_VERBOSITY
    832 AM_DEFAULT_V
    833 AM_V
    834 CSCOPE
    835 ETAGS
    836 CTAGS
    837 am__untar
    838 am__tar
    839 AMTAR
    840 am__leading_dot
    841 SET_MAKE
    842 AWK
    843 mkdir_p
    844 MKDIR_P
    845 INSTALL_STRIP_PROGRAM
    846 STRIP
    847 install_sh
    848 MAKEINFO
    849 AUTOHEADER
    850 AUTOMAKE
    851 AUTOCONF
    852 ACLOCAL
    853 VERSION
    854 PACKAGE
    855 CYGPATH_W
    856 am__isrc
    857 INSTALL_DATA
    858 INSTALL_SCRIPT
    859 INSTALL_PROGRAM
    860 target_alias
    861 host_alias
    862 build_alias
    863 LIBS
    864 ECHO_T
    865 ECHO_N
    866 ECHO_C
    867 DEFS
    868 mandir
    869 localedir
    870 libdir
    871 psdir
    872 pdfdir
    873 dvidir
    874 htmldir
    875 infodir
    876 docdir
    877 oldincludedir
    878 includedir
    879 runstatedir
    880 localstatedir
    881 sharedstatedir
    882 sysconfdir
    883 datadir
    884 datarootdir
    885 libexecdir
    886 sbindir
    887 bindir
    888 program_transform_name
    889 prefix
    890 exec_prefix
    891 PACKAGE_URL
    892 PACKAGE_BUGREPORT
    893 PACKAGE_STRING
    894 PACKAGE_VERSION
    895 PACKAGE_TARNAME
    896 PACKAGE_NAME
    897 PATH_SEPARATOR
    898 SHELL
    899 am__quote'
    900 ac_subst_files=''
    901 ac_user_opts='
    902 enable_option_checking
    903 enable_silent_rules
    904 enable_shared
    905 enable_static
    906 with_pic
    907 enable_fast_install
    908 with_aix_soname
    909 enable_dependency_tracking
    910 with_gnu_ld
    911 with_sysroot
    912 enable_libtool_lock
    913 enable_selective_werror
    914 enable_strict_compilation
    915 enable_specs
    916 with_xmlto
    917 with_fop
    918 with_xsltproc
    919 enable_xaw6
    920 enable_xaw7
    921 enable_const
    922 enable_unit_tests
    923 '
    924       ac_precious_vars='build_alias
    925 host_alias
    926 target_alias
    927 CC
    928 CFLAGS
    929 LDFLAGS
    930 LIBS
    931 CPPFLAGS
    932 LT_SYS_LIBRARY_PATH
    933 PKG_CONFIG
    934 PKG_CONFIG_PATH
    935 PKG_CONFIG_LIBDIR
    936 XMLTO
    937 FOP
    938 XSLTPROC
    939 XAW6_CFLAGS
    940 XAW6_LIBS
    941 XAW7_CFLAGS
    942 XAW7_LIBS
    943 XORG_MALLOC_DEBUG_ENV'
    944 
    945 
    946 # Initialize some variables set by options.
    947 ac_init_help=
    948 ac_init_version=false
    949 ac_unrecognized_opts=
    950 ac_unrecognized_sep=
    951 # The variables have the same names as the options, with
    952 # dashes changed to underlines.
    953 cache_file=/dev/null
    954 exec_prefix=NONE
    955 no_create=
    956 no_recursion=
    957 prefix=NONE
    958 program_prefix=NONE
    959 program_suffix=NONE
    960 program_transform_name=s,x,x,
    961 silent=
    962 site=
    963 srcdir=
    964 verbose=
    965 x_includes=NONE
    966 x_libraries=NONE
    967 
    968 # Installation directory options.
    969 # These are left unexpanded so users can "make install exec_prefix=/foo"
    970 # and all the variables that are supposed to be based on exec_prefix
    971 # by default will actually change.
    972 # Use braces instead of parens because sh, perl, etc. also accept them.
    973 # (The list follows the same order as the GNU Coding Standards.)
    974 bindir='${exec_prefix}/bin'
    975 sbindir='${exec_prefix}/sbin'
    976 libexecdir='${exec_prefix}/libexec'
    977 datarootdir='${prefix}/share'
    978 datadir='${datarootdir}'
    979 sysconfdir='${prefix}/etc'
    980 sharedstatedir='${prefix}/com'
    981 localstatedir='${prefix}/var'
    982 runstatedir='${localstatedir}/run'
    983 includedir='${prefix}/include'
    984 oldincludedir='/usr/include'
    985 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    986 infodir='${datarootdir}/info'
    987 htmldir='${docdir}'
    988 dvidir='${docdir}'
    989 pdfdir='${docdir}'
    990 psdir='${docdir}'
    991 libdir='${exec_prefix}/lib'
    992 localedir='${datarootdir}/locale'
    993 mandir='${datarootdir}/man'
    994 
    995 ac_prev=
    996 ac_dashdash=
    997 for ac_option
    998 do
    999   # If the previous option needs an argument, assign it.
   1000   if test -n "$ac_prev"; then
   1001     eval $ac_prev=\$ac_option
   1002     ac_prev=
   1003     continue
   1004   fi
   1005 
   1006   case $ac_option in
   1007   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1008   *=)   ac_optarg= ;;
   1009   *)    ac_optarg=yes ;;
   1010   esac
   1011 
   1012   case $ac_dashdash$ac_option in
   1013   --)
   1014     ac_dashdash=yes ;;
   1015 
   1016   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1017     ac_prev=bindir ;;
   1018   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1019     bindir=$ac_optarg ;;
   1020 
   1021   -build | --build | --buil | --bui | --bu)
   1022     ac_prev=build_alias ;;
   1023   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1024     build_alias=$ac_optarg ;;
   1025 
   1026   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1027   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1028     ac_prev=cache_file ;;
   1029   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1030   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1031     cache_file=$ac_optarg ;;
   1032 
   1033   --config-cache | -C)
   1034     cache_file=config.cache ;;
   1035 
   1036   -datadir | --datadir | --datadi | --datad)
   1037     ac_prev=datadir ;;
   1038   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1039     datadir=$ac_optarg ;;
   1040 
   1041   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1042   | --dataroo | --dataro | --datar)
   1043     ac_prev=datarootdir ;;
   1044   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1045   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1046     datarootdir=$ac_optarg ;;
   1047 
   1048   -disable-* | --disable-*)
   1049     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1050     # Reject names that are not valid shell variable names.
   1051     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1052       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1053     ac_useropt_orig=$ac_useropt
   1054     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1055     case $ac_user_opts in
   1056       *"
   1057 "enable_$ac_useropt"
   1058 "*) ;;
   1059       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1060 	 ac_unrecognized_sep=', ';;
   1061     esac
   1062     eval enable_$ac_useropt=no ;;
   1063 
   1064   -docdir | --docdir | --docdi | --doc | --do)
   1065     ac_prev=docdir ;;
   1066   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1067     docdir=$ac_optarg ;;
   1068 
   1069   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1070     ac_prev=dvidir ;;
   1071   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1072     dvidir=$ac_optarg ;;
   1073 
   1074   -enable-* | --enable-*)
   1075     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1076     # Reject names that are not valid shell variable names.
   1077     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1078       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1079     ac_useropt_orig=$ac_useropt
   1080     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1081     case $ac_user_opts in
   1082       *"
   1083 "enable_$ac_useropt"
   1084 "*) ;;
   1085       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1086 	 ac_unrecognized_sep=', ';;
   1087     esac
   1088     eval enable_$ac_useropt=\$ac_optarg ;;
   1089 
   1090   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1091   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1092   | --exec | --exe | --ex)
   1093     ac_prev=exec_prefix ;;
   1094   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1095   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1096   | --exec=* | --exe=* | --ex=*)
   1097     exec_prefix=$ac_optarg ;;
   1098 
   1099   -gas | --gas | --ga | --g)
   1100     # Obsolete; use --with-gas.
   1101     with_gas=yes ;;
   1102 
   1103   -help | --help | --hel | --he | -h)
   1104     ac_init_help=long ;;
   1105   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1106     ac_init_help=recursive ;;
   1107   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1108     ac_init_help=short ;;
   1109 
   1110   -host | --host | --hos | --ho)
   1111     ac_prev=host_alias ;;
   1112   -host=* | --host=* | --hos=* | --ho=*)
   1113     host_alias=$ac_optarg ;;
   1114 
   1115   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1116     ac_prev=htmldir ;;
   1117   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1118   | --ht=*)
   1119     htmldir=$ac_optarg ;;
   1120 
   1121   -includedir | --includedir | --includedi | --included | --include \
   1122   | --includ | --inclu | --incl | --inc)
   1123     ac_prev=includedir ;;
   1124   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1125   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1126     includedir=$ac_optarg ;;
   1127 
   1128   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1129     ac_prev=infodir ;;
   1130   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1131     infodir=$ac_optarg ;;
   1132 
   1133   -libdir | --libdir | --libdi | --libd)
   1134     ac_prev=libdir ;;
   1135   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1136     libdir=$ac_optarg ;;
   1137 
   1138   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1139   | --libexe | --libex | --libe)
   1140     ac_prev=libexecdir ;;
   1141   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1142   | --libexe=* | --libex=* | --libe=*)
   1143     libexecdir=$ac_optarg ;;
   1144 
   1145   -localedir | --localedir | --localedi | --localed | --locale)
   1146     ac_prev=localedir ;;
   1147   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1148     localedir=$ac_optarg ;;
   1149 
   1150   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1151   | --localstate | --localstat | --localsta | --localst | --locals)
   1152     ac_prev=localstatedir ;;
   1153   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1154   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1155     localstatedir=$ac_optarg ;;
   1156 
   1157   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1158     ac_prev=mandir ;;
   1159   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1160     mandir=$ac_optarg ;;
   1161 
   1162   -nfp | --nfp | --nf)
   1163     # Obsolete; use --without-fp.
   1164     with_fp=no ;;
   1165 
   1166   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1167   | --no-cr | --no-c | -n)
   1168     no_create=yes ;;
   1169 
   1170   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1171   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1172     no_recursion=yes ;;
   1173 
   1174   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1175   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1176   | --oldin | --oldi | --old | --ol | --o)
   1177     ac_prev=oldincludedir ;;
   1178   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1179   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1180   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1181     oldincludedir=$ac_optarg ;;
   1182 
   1183   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1184     ac_prev=prefix ;;
   1185   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1186     prefix=$ac_optarg ;;
   1187 
   1188   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1189   | --program-pre | --program-pr | --program-p)
   1190     ac_prev=program_prefix ;;
   1191   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1192   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1193     program_prefix=$ac_optarg ;;
   1194 
   1195   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1196   | --program-suf | --program-su | --program-s)
   1197     ac_prev=program_suffix ;;
   1198   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1199   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1200     program_suffix=$ac_optarg ;;
   1201 
   1202   -program-transform-name | --program-transform-name \
   1203   | --program-transform-nam | --program-transform-na \
   1204   | --program-transform-n | --program-transform- \
   1205   | --program-transform | --program-transfor \
   1206   | --program-transfo | --program-transf \
   1207   | --program-trans | --program-tran \
   1208   | --progr-tra | --program-tr | --program-t)
   1209     ac_prev=program_transform_name ;;
   1210   -program-transform-name=* | --program-transform-name=* \
   1211   | --program-transform-nam=* | --program-transform-na=* \
   1212   | --program-transform-n=* | --program-transform-=* \
   1213   | --program-transform=* | --program-transfor=* \
   1214   | --program-transfo=* | --program-transf=* \
   1215   | --program-trans=* | --program-tran=* \
   1216   | --progr-tra=* | --program-tr=* | --program-t=*)
   1217     program_transform_name=$ac_optarg ;;
   1218 
   1219   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1220     ac_prev=pdfdir ;;
   1221   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1222     pdfdir=$ac_optarg ;;
   1223 
   1224   -psdir | --psdir | --psdi | --psd | --ps)
   1225     ac_prev=psdir ;;
   1226   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1227     psdir=$ac_optarg ;;
   1228 
   1229   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1230   | -silent | --silent | --silen | --sile | --sil)
   1231     silent=yes ;;
   1232 
   1233   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1234   | --runstate | --runstat | --runsta | --runst | --runs \
   1235   | --run | --ru | --r)
   1236     ac_prev=runstatedir ;;
   1237   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1238   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1239   | --run=* | --ru=* | --r=*)
   1240     runstatedir=$ac_optarg ;;
   1241 
   1242   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1243     ac_prev=sbindir ;;
   1244   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1245   | --sbi=* | --sb=*)
   1246     sbindir=$ac_optarg ;;
   1247 
   1248   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1249   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1250   | --sharedst | --shareds | --shared | --share | --shar \
   1251   | --sha | --sh)
   1252     ac_prev=sharedstatedir ;;
   1253   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1254   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1255   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1256   | --sha=* | --sh=*)
   1257     sharedstatedir=$ac_optarg ;;
   1258 
   1259   -site | --site | --sit)
   1260     ac_prev=site ;;
   1261   -site=* | --site=* | --sit=*)
   1262     site=$ac_optarg ;;
   1263 
   1264   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1265     ac_prev=srcdir ;;
   1266   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1267     srcdir=$ac_optarg ;;
   1268 
   1269   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1270   | --syscon | --sysco | --sysc | --sys | --sy)
   1271     ac_prev=sysconfdir ;;
   1272   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1273   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1274     sysconfdir=$ac_optarg ;;
   1275 
   1276   -target | --target | --targe | --targ | --tar | --ta | --t)
   1277     ac_prev=target_alias ;;
   1278   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1279     target_alias=$ac_optarg ;;
   1280 
   1281   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1282     verbose=yes ;;
   1283 
   1284   -version | --version | --versio | --versi | --vers | -V)
   1285     ac_init_version=: ;;
   1286 
   1287   -with-* | --with-*)
   1288     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1289     # Reject names that are not valid shell variable names.
   1290     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1291       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1292     ac_useropt_orig=$ac_useropt
   1293     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1294     case $ac_user_opts in
   1295       *"
   1296 "with_$ac_useropt"
   1297 "*) ;;
   1298       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1299 	 ac_unrecognized_sep=', ';;
   1300     esac
   1301     eval with_$ac_useropt=\$ac_optarg ;;
   1302 
   1303   -without-* | --without-*)
   1304     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1305     # Reject names that are not valid shell variable names.
   1306     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1307       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1308     ac_useropt_orig=$ac_useropt
   1309     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1310     case $ac_user_opts in
   1311       *"
   1312 "with_$ac_useropt"
   1313 "*) ;;
   1314       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1315 	 ac_unrecognized_sep=', ';;
   1316     esac
   1317     eval with_$ac_useropt=no ;;
   1318 
   1319   --x)
   1320     # Obsolete; use --with-x.
   1321     with_x=yes ;;
   1322 
   1323   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1324   | --x-incl | --x-inc | --x-in | --x-i)
   1325     ac_prev=x_includes ;;
   1326   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1327   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1328     x_includes=$ac_optarg ;;
   1329 
   1330   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1331   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1332     ac_prev=x_libraries ;;
   1333   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1334   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1335     x_libraries=$ac_optarg ;;
   1336 
   1337   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1338 Try \`$0 --help' for more information"
   1339     ;;
   1340 
   1341   *=*)
   1342     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1343     # Reject names that are not valid shell variable names.
   1344     case $ac_envvar in #(
   1345       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1346       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1347     esac
   1348     eval $ac_envvar=\$ac_optarg
   1349     export $ac_envvar ;;
   1350 
   1351   *)
   1352     # FIXME: should be removed in autoconf 3.0.
   1353     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1354     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1355       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1356     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1357     ;;
   1358 
   1359   esac
   1360 done
   1361 
   1362 if test -n "$ac_prev"; then
   1363   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1364   as_fn_error $? "missing argument to $ac_option"
   1365 fi
   1366 
   1367 if test -n "$ac_unrecognized_opts"; then
   1368   case $enable_option_checking in
   1369     no) ;;
   1370     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1371     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1372   esac
   1373 fi
   1374 
   1375 # Check all directory arguments for consistency.
   1376 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1377 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1378 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1379 		libdir localedir mandir runstatedir
   1380 do
   1381   eval ac_val=\$$ac_var
   1382   # Remove trailing slashes.
   1383   case $ac_val in
   1384     */ )
   1385       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1386       eval $ac_var=\$ac_val;;
   1387   esac
   1388   # Be sure to have absolute directory names.
   1389   case $ac_val in
   1390     [\\/$]* | ?:[\\/]* )  continue;;
   1391     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1392   esac
   1393   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1394 done
   1395 
   1396 # There might be people who depend on the old broken behavior: `$host'
   1397 # used to hold the argument of --host etc.
   1398 # FIXME: To remove some day.
   1399 build=$build_alias
   1400 host=$host_alias
   1401 target=$target_alias
   1402 
   1403 # FIXME: To remove some day.
   1404 if test "x$host_alias" != x; then
   1405   if test "x$build_alias" = x; then
   1406     cross_compiling=maybe
   1407   elif test "x$build_alias" != "x$host_alias"; then
   1408     cross_compiling=yes
   1409   fi
   1410 fi
   1411 
   1412 ac_tool_prefix=
   1413 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1414 
   1415 test "$silent" = yes && exec 6>/dev/null
   1416 
   1417 
   1418 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1419 ac_ls_di=`ls -di .` &&
   1420 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1421   as_fn_error $? "working directory cannot be determined"
   1422 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1423   as_fn_error $? "pwd does not report name of working directory"
   1424 
   1425 
   1426 # Find the source files, if location was not specified.
   1427 if test -z "$srcdir"; then
   1428   ac_srcdir_defaulted=yes
   1429   # Try the directory containing this script, then the parent directory.
   1430   ac_confdir=`$as_dirname -- "$as_myself" ||
   1431 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1432 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1433 	 X"$as_myself" : 'X\(//\)$' \| \
   1434 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1435 printf "%s\n" X"$as_myself" |
   1436     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1437 	    s//\1/
   1438 	    q
   1439 	  }
   1440 	  /^X\(\/\/\)[^/].*/{
   1441 	    s//\1/
   1442 	    q
   1443 	  }
   1444 	  /^X\(\/\/\)$/{
   1445 	    s//\1/
   1446 	    q
   1447 	  }
   1448 	  /^X\(\/\).*/{
   1449 	    s//\1/
   1450 	    q
   1451 	  }
   1452 	  s/.*/./; q'`
   1453   srcdir=$ac_confdir
   1454   if test ! -r "$srcdir/$ac_unique_file"; then
   1455     srcdir=..
   1456   fi
   1457 else
   1458   ac_srcdir_defaulted=no
   1459 fi
   1460 if test ! -r "$srcdir/$ac_unique_file"; then
   1461   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1462   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1463 fi
   1464 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1465 ac_abs_confdir=`(
   1466 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1467 	pwd)`
   1468 # When building in place, set srcdir=.
   1469 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1470   srcdir=.
   1471 fi
   1472 # Remove unnecessary trailing slashes from srcdir.
   1473 # Double slashes in file names in object file debugging info
   1474 # mess up M-x gdb in Emacs.
   1475 case $srcdir in
   1476 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1477 esac
   1478 for ac_var in $ac_precious_vars; do
   1479   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1480   eval ac_env_${ac_var}_value=\$${ac_var}
   1481   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1482   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1483 done
   1484 
   1485 #
   1486 # Report the --help message.
   1487 #
   1488 if test "$ac_init_help" = "long"; then
   1489   # Omit some internal or obsolete options to make the list less imposing.
   1490   # This message is too long to be a string in the A/UX 3.1 sh.
   1491   cat <<_ACEOF
   1492 \`configure' configures libXaw 1.0.16 to adapt to many kinds of systems.
   1493 
   1494 Usage: $0 [OPTION]... [VAR=VALUE]...
   1495 
   1496 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1497 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1498 
   1499 Defaults for the options are specified in brackets.
   1500 
   1501 Configuration:
   1502   -h, --help              display this help and exit
   1503       --help=short        display options specific to this package
   1504       --help=recursive    display the short help of all the included packages
   1505   -V, --version           display version information and exit
   1506   -q, --quiet, --silent   do not print \`checking ...' messages
   1507       --cache-file=FILE   cache test results in FILE [disabled]
   1508   -C, --config-cache      alias for \`--cache-file=config.cache'
   1509   -n, --no-create         do not create output files
   1510       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1511 
   1512 Installation directories:
   1513   --prefix=PREFIX         install architecture-independent files in PREFIX
   1514                           [$ac_default_prefix]
   1515   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1516                           [PREFIX]
   1517 
   1518 By default, \`make install' will install all the files in
   1519 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1520 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1521 for instance \`--prefix=\$HOME'.
   1522 
   1523 For better control, use the options below.
   1524 
   1525 Fine tuning of the installation directories:
   1526   --bindir=DIR            user executables [EPREFIX/bin]
   1527   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1528   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1529   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1530   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1531   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1532   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1533   --libdir=DIR            object code libraries [EPREFIX/lib]
   1534   --includedir=DIR        C header files [PREFIX/include]
   1535   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1536   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1537   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1538   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1539   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1540   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1541   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXaw]
   1542   --htmldir=DIR           html documentation [DOCDIR]
   1543   --dvidir=DIR            dvi documentation [DOCDIR]
   1544   --pdfdir=DIR            pdf documentation [DOCDIR]
   1545   --psdir=DIR             ps documentation [DOCDIR]
   1546 _ACEOF
   1547 
   1548   cat <<\_ACEOF
   1549 
   1550 Program names:
   1551   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1552   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1553   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1554 
   1555 System types:
   1556   --build=BUILD     configure for building on BUILD [guessed]
   1557   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1558 _ACEOF
   1559 fi
   1560 
   1561 if test -n "$ac_init_help"; then
   1562   case $ac_init_help in
   1563      short | recursive ) echo "Configuration of libXaw 1.0.16:";;
   1564    esac
   1565   cat <<\_ACEOF
   1566 
   1567 Optional Features:
   1568   --disable-option-checking  ignore unrecognized --enable/--with options
   1569   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1570   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1571   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1572   --disable-silent-rules  verbose build output (undo: "make V=0")
   1573   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1574   --enable-static[=PKGS]  build static libraries [default=yes]
   1575   --enable-fast-install[=PKGS]
   1576                           optimize for fast installation [default=yes]
   1577   --enable-dependency-tracking
   1578                           do not reject slow dependency extractors
   1579   --disable-dependency-tracking
   1580                           speeds up one-time build
   1581   --disable-libtool-lock  avoid locking (might break parallel builds)
   1582   --disable-selective-werror
   1583                           Turn off selective compiler errors. (default:
   1584                           enabled)
   1585   --enable-strict-compilation
   1586                           Enable all warnings from compiler and make them
   1587                           errors (default: disabled)
   1588   --enable-specs          Enable building the specs (default: yes)
   1589   --disable-xaw6          Disable building of libXaw.so.6
   1590   --disable-xaw7          Disable building of libXaw.so.7
   1591   --disable-const         Disable const-support
   1592   --enable-unit-tests     Enable building unit test cases (default: no)
   1593 
   1594 Optional Packages:
   1595   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1596   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1597   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1598                           both]
   1599   --with-aix-soname=aix|svr4|both
   1600                           shared library versioning (aka "SONAME") variant to
   1601                           provide on AIX, [default=aix].
   1602   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1603   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1604                           compiler's sysroot if not specified).
   1605   --with-xmlto            Use xmlto to regenerate documentation (default:
   1606                           auto)
   1607   --with-fop              Use fop to regenerate documentation (default: auto)
   1608   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1609                           (default: auto)
   1610 
   1611 Some influential environment variables:
   1612   CC          C compiler command
   1613   CFLAGS      C compiler flags
   1614   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1615               nonstandard directory <lib dir>
   1616   LIBS        libraries to pass to the linker, e.g. -l<library>
   1617   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1618               you have headers in a nonstandard directory <include dir>
   1619   LT_SYS_LIBRARY_PATH
   1620               User-defined run-time library search path.
   1621   PKG_CONFIG  path to pkg-config utility
   1622   PKG_CONFIG_PATH
   1623               directories to add to pkg-config's search path
   1624   PKG_CONFIG_LIBDIR
   1625               path overriding pkg-config's built-in search path
   1626   XMLTO       Path to xmlto command
   1627   FOP         Path to fop command
   1628   XSLTPROC    Path to xsltproc command
   1629   XAW6_CFLAGS C compiler flags for XAW6, overriding pkg-config
   1630   XAW6_LIBS   linker flags for XAW6, overriding pkg-config
   1631   XAW7_CFLAGS C compiler flags for XAW7, overriding pkg-config
   1632   XAW7_LIBS   linker flags for XAW7, overriding pkg-config
   1633   XORG_MALLOC_DEBUG_ENV
   1634               Environment variables to enable memory checking in tests
   1635 
   1636 Use these variables to override the choices made by `configure' or to help
   1637 it to find libraries and programs with nonstandard names/locations.
   1638 
   1639 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/issues>.
   1640 _ACEOF
   1641 ac_status=$?
   1642 fi
   1643 
   1644 if test "$ac_init_help" = "recursive"; then
   1645   # If there are subdirs, report their specific --help.
   1646   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1647     test -d "$ac_dir" ||
   1648       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1649       continue
   1650     ac_builddir=.
   1651 
   1652 case "$ac_dir" in
   1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1654 *)
   1655   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1656   # A ".." for each directory in $ac_dir_suffix.
   1657   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1658   case $ac_top_builddir_sub in
   1659   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1660   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1661   esac ;;
   1662 esac
   1663 ac_abs_top_builddir=$ac_pwd
   1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1665 # for backward compatibility:
   1666 ac_top_builddir=$ac_top_build_prefix
   1667 
   1668 case $srcdir in
   1669   .)  # We are building in place.
   1670     ac_srcdir=.
   1671     ac_top_srcdir=$ac_top_builddir_sub
   1672     ac_abs_top_srcdir=$ac_pwd ;;
   1673   [\\/]* | ?:[\\/]* )  # Absolute name.
   1674     ac_srcdir=$srcdir$ac_dir_suffix;
   1675     ac_top_srcdir=$srcdir
   1676     ac_abs_top_srcdir=$srcdir ;;
   1677   *) # Relative name.
   1678     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1679     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1680     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1681 esac
   1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1683 
   1684     cd "$ac_dir" || { ac_status=$?; continue; }
   1685     # Check for configure.gnu first; this name is used for a wrapper for
   1686     # Metaconfig's "Configure" on case-insensitive file systems.
   1687     if test -f "$ac_srcdir/configure.gnu"; then
   1688       echo &&
   1689       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1690     elif test -f "$ac_srcdir/configure"; then
   1691       echo &&
   1692       $SHELL "$ac_srcdir/configure" --help=recursive
   1693     else
   1694       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1695     fi || ac_status=$?
   1696     cd "$ac_pwd" || { ac_status=$?; break; }
   1697   done
   1698 fi
   1699 
   1700 test -n "$ac_init_help" && exit $ac_status
   1701 if $ac_init_version; then
   1702   cat <<\_ACEOF
   1703 libXaw configure 1.0.16
   1704 generated by GNU Autoconf 2.71
   1705 
   1706 Copyright (C) 2021 Free Software Foundation, Inc.
   1707 This configure script is free software; the Free Software Foundation
   1708 gives unlimited permission to copy, distribute and modify it.
   1709 _ACEOF
   1710   exit
   1711 fi
   1712 
   1713 ## ------------------------ ##
   1714 ## Autoconf initialization. ##
   1715 ## ------------------------ ##
   1716 
   1717 # ac_fn_c_try_compile LINENO
   1718 # --------------------------
   1719 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1720 ac_fn_c_try_compile ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   rm -f conftest.$ac_objext conftest.beam
   1724   if { { ac_try="$ac_compile"
   1725 case "(($ac_try" in
   1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1727   *) ac_try_echo=$ac_try;;
   1728 esac
   1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1730 printf "%s\n" "$ac_try_echo"; } >&5
   1731   (eval "$ac_compile") 2>conftest.err
   1732   ac_status=$?
   1733   if test -s conftest.err; then
   1734     grep -v '^ *+' conftest.err >conftest.er1
   1735     cat conftest.er1 >&5
   1736     mv -f conftest.er1 conftest.err
   1737   fi
   1738   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1739   test $ac_status = 0; } && {
   1740 	 test -z "$ac_c_werror_flag" ||
   1741 	 test ! -s conftest.err
   1742        } && test -s conftest.$ac_objext
   1743 then :
   1744   ac_retval=0
   1745 else $as_nop
   1746   printf "%s\n" "$as_me: failed program was:" >&5
   1747 sed 's/^/| /' conftest.$ac_ext >&5
   1748 
   1749 	ac_retval=1
   1750 fi
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752   as_fn_set_status $ac_retval
   1753 
   1754 } # ac_fn_c_try_compile
   1755 
   1756 # ac_fn_c_try_link LINENO
   1757 # -----------------------
   1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1759 ac_fn_c_try_link ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1763   if { { ac_try="$ac_link"
   1764 case "(($ac_try" in
   1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1766   *) ac_try_echo=$ac_try;;
   1767 esac
   1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1769 printf "%s\n" "$ac_try_echo"; } >&5
   1770   (eval "$ac_link") 2>conftest.err
   1771   ac_status=$?
   1772   if test -s conftest.err; then
   1773     grep -v '^ *+' conftest.err >conftest.er1
   1774     cat conftest.er1 >&5
   1775     mv -f conftest.er1 conftest.err
   1776   fi
   1777   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; } && {
   1779 	 test -z "$ac_c_werror_flag" ||
   1780 	 test ! -s conftest.err
   1781        } && test -s conftest$ac_exeext && {
   1782 	 test "$cross_compiling" = yes ||
   1783 	 test -x conftest$ac_exeext
   1784        }
   1785 then :
   1786   ac_retval=0
   1787 else $as_nop
   1788   printf "%s\n" "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791 	ac_retval=1
   1792 fi
   1793   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1794   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1795   # interfere with the next link command; also delete a directory that is
   1796   # left behind by Apple's compiler.  We do this before executing the actions.
   1797   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799   as_fn_set_status $ac_retval
   1800 
   1801 } # ac_fn_c_try_link
   1802 
   1803 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1804 # -------------------------------------------------------
   1805 # Tests whether HEADER exists and can be compiled using the include files in
   1806 # INCLUDES, setting the cache variable VAR accordingly.
   1807 ac_fn_c_check_header_compile ()
   1808 {
   1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1811 printf %s "checking for $2... " >&6; }
   1812 if eval test \${$3+y}
   1813 then :
   1814   printf %s "(cached) " >&6
   1815 else $as_nop
   1816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1817 /* end confdefs.h.  */
   1818 $4
   1819 #include <$2>
   1820 _ACEOF
   1821 if ac_fn_c_try_compile "$LINENO"
   1822 then :
   1823   eval "$3=yes"
   1824 else $as_nop
   1825   eval "$3=no"
   1826 fi
   1827 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1828 fi
   1829 eval ac_res=\$$3
   1830 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1831 printf "%s\n" "$ac_res" >&6; }
   1832   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1833 
   1834 } # ac_fn_c_check_header_compile
   1835 
   1836 # ac_fn_c_check_func LINENO FUNC VAR
   1837 # ----------------------------------
   1838 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1839 ac_fn_c_check_func ()
   1840 {
   1841   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1843 printf %s "checking for $2... " >&6; }
   1844 if eval test \${$3+y}
   1845 then :
   1846   printf %s "(cached) " >&6
   1847 else $as_nop
   1848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1849 /* end confdefs.h.  */
   1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1852 #define $2 innocuous_$2
   1853 
   1854 /* System header to define __stub macros and hopefully few prototypes,
   1855    which can conflict with char $2 (); below.  */
   1856 
   1857 #include <limits.h>
   1858 #undef $2
   1859 
   1860 /* Override any GCC internal prototype to avoid an error.
   1861    Use char because int might match the return type of a GCC
   1862    builtin and then its argument prototype would still apply.  */
   1863 #ifdef __cplusplus
   1864 extern "C"
   1865 #endif
   1866 char $2 ();
   1867 /* The GNU C library defines this for functions which it implements
   1868     to always fail with ENOSYS.  Some functions are actually named
   1869     something starting with __ and the normal name is an alias.  */
   1870 #if defined __stub_$2 || defined __stub___$2
   1871 choke me
   1872 #endif
   1873 
   1874 int
   1875 main (void)
   1876 {
   1877 return $2 ();
   1878   ;
   1879   return 0;
   1880 }
   1881 _ACEOF
   1882 if ac_fn_c_try_link "$LINENO"
   1883 then :
   1884   eval "$3=yes"
   1885 else $as_nop
   1886   eval "$3=no"
   1887 fi
   1888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1889     conftest$ac_exeext conftest.$ac_ext
   1890 fi
   1891 eval ac_res=\$$3
   1892 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1893 printf "%s\n" "$ac_res" >&6; }
   1894   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1895 
   1896 } # ac_fn_c_check_func
   1897 
   1898 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1899 # ------------------------------------------------------------------
   1900 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1901 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1902 ac_fn_check_decl ()
   1903 {
   1904   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1905   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1907 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1908 if eval test \${$3+y}
   1909 then :
   1910   printf %s "(cached) " >&6
   1911 else $as_nop
   1912   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1913   eval ac_save_FLAGS=\$$6
   1914   as_fn_append $6 " $5"
   1915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1916 /* end confdefs.h.  */
   1917 $4
   1918 int
   1919 main (void)
   1920 {
   1921 #ifndef $as_decl_name
   1922 #ifdef __cplusplus
   1923   (void) $as_decl_use;
   1924 #else
   1925   (void) $as_decl_name;
   1926 #endif
   1927 #endif
   1928 
   1929   ;
   1930   return 0;
   1931 }
   1932 _ACEOF
   1933 if ac_fn_c_try_compile "$LINENO"
   1934 then :
   1935   eval "$3=yes"
   1936 else $as_nop
   1937   eval "$3=no"
   1938 fi
   1939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1940   eval $6=\$ac_save_FLAGS
   1941 
   1942 fi
   1943 eval ac_res=\$$3
   1944 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1945 printf "%s\n" "$ac_res" >&6; }
   1946   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1947 
   1948 } # ac_fn_check_decl
   1949 ac_configure_args_raw=
   1950 for ac_arg
   1951 do
   1952   case $ac_arg in
   1953   *\'*)
   1954     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1955   esac
   1956   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1957 done
   1958 
   1959 case $ac_configure_args_raw in
   1960   *$as_nl*)
   1961     ac_safe_unquote= ;;
   1962   *)
   1963     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1964     ac_unsafe_a="$ac_unsafe_z#~"
   1965     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1966     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1967 esac
   1968 
   1969 cat >config.log <<_ACEOF
   1970 This file contains any messages produced by compilers while
   1971 running configure, to aid debugging if configure makes a mistake.
   1972 
   1973 It was created by libXaw $as_me 1.0.16, which was
   1974 generated by GNU Autoconf 2.71.  Invocation command line was
   1975 
   1976   $ $0$ac_configure_args_raw
   1977 
   1978 _ACEOF
   1979 exec 5>>config.log
   1980 {
   1981 cat <<_ASUNAME
   1982 ## --------- ##
   1983 ## Platform. ##
   1984 ## --------- ##
   1985 
   1986 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1987 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1988 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1989 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1990 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1991 
   1992 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1993 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1994 
   1995 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1996 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1997 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1998 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1999 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2000 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2001 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2002 
   2003 _ASUNAME
   2004 
   2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2006 for as_dir in $PATH
   2007 do
   2008   IFS=$as_save_IFS
   2009   case $as_dir in #(((
   2010     '') as_dir=./ ;;
   2011     */) ;;
   2012     *) as_dir=$as_dir/ ;;
   2013   esac
   2014     printf "%s\n" "PATH: $as_dir"
   2015   done
   2016 IFS=$as_save_IFS
   2017 
   2018 } >&5
   2019 
   2020 cat >&5 <<_ACEOF
   2021 
   2022 
   2023 ## ----------- ##
   2024 ## Core tests. ##
   2025 ## ----------- ##
   2026 
   2027 _ACEOF
   2028 
   2029 
   2030 # Keep a trace of the command line.
   2031 # Strip out --no-create and --no-recursion so they do not pile up.
   2032 # Strip out --silent because we don't want to record it for future runs.
   2033 # Also quote any args containing shell meta-characters.
   2034 # Make two passes to allow for proper duplicate-argument suppression.
   2035 ac_configure_args=
   2036 ac_configure_args0=
   2037 ac_configure_args1=
   2038 ac_must_keep_next=false
   2039 for ac_pass in 1 2
   2040 do
   2041   for ac_arg
   2042   do
   2043     case $ac_arg in
   2044     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2045     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2046     | -silent | --silent | --silen | --sile | --sil)
   2047       continue ;;
   2048     *\'*)
   2049       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2050     esac
   2051     case $ac_pass in
   2052     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2053     2)
   2054       as_fn_append ac_configure_args1 " '$ac_arg'"
   2055       if test $ac_must_keep_next = true; then
   2056 	ac_must_keep_next=false # Got value, back to normal.
   2057       else
   2058 	case $ac_arg in
   2059 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2060 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2061 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2062 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2063 	    case "$ac_configure_args0 " in
   2064 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2065 	    esac
   2066 	    ;;
   2067 	  -* ) ac_must_keep_next=true ;;
   2068 	esac
   2069       fi
   2070       as_fn_append ac_configure_args " '$ac_arg'"
   2071       ;;
   2072     esac
   2073   done
   2074 done
   2075 { ac_configure_args0=; unset ac_configure_args0;}
   2076 { ac_configure_args1=; unset ac_configure_args1;}
   2077 
   2078 # When interrupted or exit'd, cleanup temporary files, and complete
   2079 # config.log.  We remove comments because anyway the quotes in there
   2080 # would cause problems or look ugly.
   2081 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2082 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2083 trap 'exit_status=$?
   2084   # Sanitize IFS.
   2085   IFS=" ""	$as_nl"
   2086   # Save into config.log some information that might help in debugging.
   2087   {
   2088     echo
   2089 
   2090     printf "%s\n" "## ---------------- ##
   2091 ## Cache variables. ##
   2092 ## ---------------- ##"
   2093     echo
   2094     # The following way of writing the cache mishandles newlines in values,
   2095 (
   2096   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2097     eval ac_val=\$$ac_var
   2098     case $ac_val in #(
   2099     *${as_nl}*)
   2100       case $ac_var in #(
   2101       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2102 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2103       esac
   2104       case $ac_var in #(
   2105       _ | IFS | as_nl) ;; #(
   2106       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2107       *) { eval $ac_var=; unset $ac_var;} ;;
   2108       esac ;;
   2109     esac
   2110   done
   2111   (set) 2>&1 |
   2112     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2113     *${as_nl}ac_space=\ *)
   2114       sed -n \
   2115 	"s/'\''/'\''\\\\'\'''\''/g;
   2116 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2117       ;; #(
   2118     *)
   2119       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2120       ;;
   2121     esac |
   2122     sort
   2123 )
   2124     echo
   2125 
   2126     printf "%s\n" "## ----------------- ##
   2127 ## Output variables. ##
   2128 ## ----------------- ##"
   2129     echo
   2130     for ac_var in $ac_subst_vars
   2131     do
   2132       eval ac_val=\$$ac_var
   2133       case $ac_val in
   2134       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2135       esac
   2136       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2137     done | sort
   2138     echo
   2139 
   2140     if test -n "$ac_subst_files"; then
   2141       printf "%s\n" "## ------------------- ##
   2142 ## File substitutions. ##
   2143 ## ------------------- ##"
   2144       echo
   2145       for ac_var in $ac_subst_files
   2146       do
   2147 	eval ac_val=\$$ac_var
   2148 	case $ac_val in
   2149 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2150 	esac
   2151 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2152       done | sort
   2153       echo
   2154     fi
   2155 
   2156     if test -s confdefs.h; then
   2157       printf "%s\n" "## ----------- ##
   2158 ## confdefs.h. ##
   2159 ## ----------- ##"
   2160       echo
   2161       cat confdefs.h
   2162       echo
   2163     fi
   2164     test "$ac_signal" != 0 &&
   2165       printf "%s\n" "$as_me: caught signal $ac_signal"
   2166     printf "%s\n" "$as_me: exit $exit_status"
   2167   } >&5
   2168   rm -f core *.core core.conftest.* &&
   2169     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2170     exit $exit_status
   2171 ' 0
   2172 for ac_signal in 1 2 13 15; do
   2173   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2174 done
   2175 ac_signal=0
   2176 
   2177 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2178 rm -f -r conftest* confdefs.h
   2179 
   2180 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2181 
   2182 # Predefined preprocessor variables.
   2183 
   2184 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2185 
   2186 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2187 
   2188 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2189 
   2190 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2191 
   2192 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2193 
   2194 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2195 
   2196 
   2197 # Let the site file select an alternate cache file if it wants to.
   2198 # Prefer an explicitly selected file to automatically selected ones.
   2199 if test -n "$CONFIG_SITE"; then
   2200   ac_site_files="$CONFIG_SITE"
   2201 elif test "x$prefix" != xNONE; then
   2202   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2203 else
   2204   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2205 fi
   2206 
   2207 for ac_site_file in $ac_site_files
   2208 do
   2209   case $ac_site_file in #(
   2210   */*) :
   2211      ;; #(
   2212   *) :
   2213     ac_site_file=./$ac_site_file ;;
   2214 esac
   2215   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2216     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2217 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2218     sed 's/^/| /' "$ac_site_file" >&5
   2219     . "$ac_site_file" \
   2220       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2221 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2222 as_fn_error $? "failed to load site script $ac_site_file
   2223 See \`config.log' for more details" "$LINENO" 5; }
   2224   fi
   2225 done
   2226 
   2227 if test -r "$cache_file"; then
   2228   # Some versions of bash will fail to source /dev/null (special files
   2229   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2230   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2231     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2232 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2233     case $cache_file in
   2234       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2235       *)                      . "./$cache_file";;
   2236     esac
   2237   fi
   2238 else
   2239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2240 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2241   >$cache_file
   2242 fi
   2243 
   2244 # Test code for whether the C compiler supports C89 (global declarations)
   2245 ac_c_conftest_c89_globals='
   2246 /* Does the compiler advertise C89 conformance?
   2247    Do not test the value of __STDC__, because some compilers set it to 0
   2248    while being otherwise adequately conformant. */
   2249 #if !defined __STDC__
   2250 # error "Compiler does not advertise C89 conformance"
   2251 #endif
   2252 
   2253 #include <stddef.h>
   2254 #include <stdarg.h>
   2255 struct stat;
   2256 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2257 struct buf { int x; };
   2258 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2259 static char *e (p, i)
   2260      char **p;
   2261      int i;
   2262 {
   2263   return p[i];
   2264 }
   2265 static char *f (char * (*g) (char **, int), char **p, ...)
   2266 {
   2267   char *s;
   2268   va_list v;
   2269   va_start (v,p);
   2270   s = g (p, va_arg (v,int));
   2271   va_end (v);
   2272   return s;
   2273 }
   2274 
   2275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2276    function prototypes and stuff, but not \xHH hex character constants.
   2277    These do not provoke an error unfortunately, instead are silently treated
   2278    as an "x".  The following induces an error, until -std is added to get
   2279    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2280    array size at least.  It is necessary to write \x00 == 0 to get something
   2281    that is true only with -std.  */
   2282 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2283 
   2284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2285    inside strings and character constants.  */
   2286 #define FOO(x) '\''x'\''
   2287 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2288 
   2289 int test (int i, double x);
   2290 struct s1 {int (*f) (int a);};
   2291 struct s2 {int (*f) (double a);};
   2292 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2293                int, int);'
   2294 
   2295 # Test code for whether the C compiler supports C89 (body of main).
   2296 ac_c_conftest_c89_main='
   2297 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2298 '
   2299 
   2300 # Test code for whether the C compiler supports C99 (global declarations)
   2301 ac_c_conftest_c99_globals='
   2302 // Does the compiler advertise C99 conformance?
   2303 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2304 # error "Compiler does not advertise C99 conformance"
   2305 #endif
   2306 
   2307 #include <stdbool.h>
   2308 extern int puts (const char *);
   2309 extern int printf (const char *, ...);
   2310 extern int dprintf (int, const char *, ...);
   2311 extern void *malloc (size_t);
   2312 
   2313 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2314 // dprintf is used instead of fprintf to avoid needing to declare
   2315 // FILE and stderr.
   2316 #define debug(...) dprintf (2, __VA_ARGS__)
   2317 #define showlist(...) puts (#__VA_ARGS__)
   2318 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2319 static void
   2320 test_varargs_macros (void)
   2321 {
   2322   int x = 1234;
   2323   int y = 5678;
   2324   debug ("Flag");
   2325   debug ("X = %d\n", x);
   2326   showlist (The first, second, and third items.);
   2327   report (x>y, "x is %d but y is %d", x, y);
   2328 }
   2329 
   2330 // Check long long types.
   2331 #define BIG64 18446744073709551615ull
   2332 #define BIG32 4294967295ul
   2333 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2334 #if !BIG_OK
   2335   #error "your preprocessor is broken"
   2336 #endif
   2337 #if BIG_OK
   2338 #else
   2339   #error "your preprocessor is broken"
   2340 #endif
   2341 static long long int bignum = -9223372036854775807LL;
   2342 static unsigned long long int ubignum = BIG64;
   2343 
   2344 struct incomplete_array
   2345 {
   2346   int datasize;
   2347   double data[];
   2348 };
   2349 
   2350 struct named_init {
   2351   int number;
   2352   const wchar_t *name;
   2353   double average;
   2354 };
   2355 
   2356 typedef const char *ccp;
   2357 
   2358 static inline int
   2359 test_restrict (ccp restrict text)
   2360 {
   2361   // See if C++-style comments work.
   2362   // Iterate through items via the restricted pointer.
   2363   // Also check for declarations in for loops.
   2364   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2365     continue;
   2366   return 0;
   2367 }
   2368 
   2369 // Check varargs and va_copy.
   2370 static bool
   2371 test_varargs (const char *format, ...)
   2372 {
   2373   va_list args;
   2374   va_start (args, format);
   2375   va_list args_copy;
   2376   va_copy (args_copy, args);
   2377 
   2378   const char *str = "";
   2379   int number = 0;
   2380   float fnumber = 0;
   2381 
   2382   while (*format)
   2383     {
   2384       switch (*format++)
   2385 	{
   2386 	case '\''s'\'': // string
   2387 	  str = va_arg (args_copy, const char *);
   2388 	  break;
   2389 	case '\''d'\'': // int
   2390 	  number = va_arg (args_copy, int);
   2391 	  break;
   2392 	case '\''f'\'': // float
   2393 	  fnumber = va_arg (args_copy, double);
   2394 	  break;
   2395 	default:
   2396 	  break;
   2397 	}
   2398     }
   2399   va_end (args_copy);
   2400   va_end (args);
   2401 
   2402   return *str && number && fnumber;
   2403 }
   2404 '
   2405 
   2406 # Test code for whether the C compiler supports C99 (body of main).
   2407 ac_c_conftest_c99_main='
   2408   // Check bool.
   2409   _Bool success = false;
   2410   success |= (argc != 0);
   2411 
   2412   // Check restrict.
   2413   if (test_restrict ("String literal") == 0)
   2414     success = true;
   2415   char *restrict newvar = "Another string";
   2416 
   2417   // Check varargs.
   2418   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2419   test_varargs_macros ();
   2420 
   2421   // Check flexible array members.
   2422   struct incomplete_array *ia =
   2423     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2424   ia->datasize = 10;
   2425   for (int i = 0; i < ia->datasize; ++i)
   2426     ia->data[i] = i * 1.234;
   2427 
   2428   // Check named initializers.
   2429   struct named_init ni = {
   2430     .number = 34,
   2431     .name = L"Test wide string",
   2432     .average = 543.34343,
   2433   };
   2434 
   2435   ni.number = 58;
   2436 
   2437   int dynamic_array[ni.number];
   2438   dynamic_array[0] = argv[0][0];
   2439   dynamic_array[ni.number - 1] = 543;
   2440 
   2441   // work around unused variable warnings
   2442   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2443 	 || dynamic_array[ni.number - 1] != 543);
   2444 '
   2445 
   2446 # Test code for whether the C compiler supports C11 (global declarations)
   2447 ac_c_conftest_c11_globals='
   2448 // Does the compiler advertise C11 conformance?
   2449 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2450 # error "Compiler does not advertise C11 conformance"
   2451 #endif
   2452 
   2453 // Check _Alignas.
   2454 char _Alignas (double) aligned_as_double;
   2455 char _Alignas (0) no_special_alignment;
   2456 extern char aligned_as_int;
   2457 char _Alignas (0) _Alignas (int) aligned_as_int;
   2458 
   2459 // Check _Alignof.
   2460 enum
   2461 {
   2462   int_alignment = _Alignof (int),
   2463   int_array_alignment = _Alignof (int[100]),
   2464   char_alignment = _Alignof (char)
   2465 };
   2466 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2467 
   2468 // Check _Noreturn.
   2469 int _Noreturn does_not_return (void) { for (;;) continue; }
   2470 
   2471 // Check _Static_assert.
   2472 struct test_static_assert
   2473 {
   2474   int x;
   2475   _Static_assert (sizeof (int) <= sizeof (long int),
   2476                   "_Static_assert does not work in struct");
   2477   long int y;
   2478 };
   2479 
   2480 // Check UTF-8 literals.
   2481 #define u8 syntax error!
   2482 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2483 
   2484 // Check duplicate typedefs.
   2485 typedef long *long_ptr;
   2486 typedef long int *long_ptr;
   2487 typedef long_ptr long_ptr;
   2488 
   2489 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2490 struct anonymous
   2491 {
   2492   union {
   2493     struct { int i; int j; };
   2494     struct { int k; long int l; } w;
   2495   };
   2496   int m;
   2497 } v1;
   2498 '
   2499 
   2500 # Test code for whether the C compiler supports C11 (body of main).
   2501 ac_c_conftest_c11_main='
   2502   _Static_assert ((offsetof (struct anonymous, i)
   2503 		   == offsetof (struct anonymous, w.k)),
   2504 		  "Anonymous union alignment botch");
   2505   v1.i = 2;
   2506   v1.w.k = 5;
   2507   ok |= v1.i != 5;
   2508 '
   2509 
   2510 # Test code for whether the C compiler supports C11 (complete).
   2511 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2512 ${ac_c_conftest_c99_globals}
   2513 ${ac_c_conftest_c11_globals}
   2514 
   2515 int
   2516 main (int argc, char **argv)
   2517 {
   2518   int ok = 0;
   2519   ${ac_c_conftest_c89_main}
   2520   ${ac_c_conftest_c99_main}
   2521   ${ac_c_conftest_c11_main}
   2522   return ok;
   2523 }
   2524 "
   2525 
   2526 # Test code for whether the C compiler supports C99 (complete).
   2527 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2528 ${ac_c_conftest_c99_globals}
   2529 
   2530 int
   2531 main (int argc, char **argv)
   2532 {
   2533   int ok = 0;
   2534   ${ac_c_conftest_c89_main}
   2535   ${ac_c_conftest_c99_main}
   2536   return ok;
   2537 }
   2538 "
   2539 
   2540 # Test code for whether the C compiler supports C89 (complete).
   2541 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2542 
   2543 int
   2544 main (int argc, char **argv)
   2545 {
   2546   int ok = 0;
   2547   ${ac_c_conftest_c89_main}
   2548   return ok;
   2549 }
   2550 "
   2551 
   2552 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2553 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2554 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2555 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2556 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2557 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2558 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2559 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2560 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2561 
   2562 # Auxiliary files required by this configure script.
   2563 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2564 
   2565 # Locations in which to look for auxiliary files.
   2566 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2567 
   2568 # Search for a directory containing all of the required auxiliary files,
   2569 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2570 # If we don't find one directory that contains all the files we need,
   2571 # we report the set of missing files from the *first* directory in
   2572 # $ac_aux_dir_candidates and give up.
   2573 ac_missing_aux_files=""
   2574 ac_first_candidate=:
   2575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2577 as_found=false
   2578 for as_dir in $ac_aux_dir_candidates
   2579 do
   2580   IFS=$as_save_IFS
   2581   case $as_dir in #(((
   2582     '') as_dir=./ ;;
   2583     */) ;;
   2584     *) as_dir=$as_dir/ ;;
   2585   esac
   2586   as_found=:
   2587 
   2588   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2589   ac_aux_dir_found=yes
   2590   ac_install_sh=
   2591   for ac_aux in $ac_aux_files
   2592   do
   2593     # As a special case, if "install-sh" is required, that requirement
   2594     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2595     # and $ac_install_sh is set appropriately for whichever one is found.
   2596     if test x"$ac_aux" = x"install-sh"
   2597     then
   2598       if test -f "${as_dir}install-sh"; then
   2599         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2600         ac_install_sh="${as_dir}install-sh -c"
   2601       elif test -f "${as_dir}install.sh"; then
   2602         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2603         ac_install_sh="${as_dir}install.sh -c"
   2604       elif test -f "${as_dir}shtool"; then
   2605         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2606         ac_install_sh="${as_dir}shtool install -c"
   2607       else
   2608         ac_aux_dir_found=no
   2609         if $ac_first_candidate; then
   2610           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2611         else
   2612           break
   2613         fi
   2614       fi
   2615     else
   2616       if test -f "${as_dir}${ac_aux}"; then
   2617         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2618       else
   2619         ac_aux_dir_found=no
   2620         if $ac_first_candidate; then
   2621           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2622         else
   2623           break
   2624         fi
   2625       fi
   2626     fi
   2627   done
   2628   if test "$ac_aux_dir_found" = yes; then
   2629     ac_aux_dir="$as_dir"
   2630     break
   2631   fi
   2632   ac_first_candidate=false
   2633 
   2634   as_found=false
   2635 done
   2636 IFS=$as_save_IFS
   2637 if $as_found
   2638 then :
   2639 
   2640 else $as_nop
   2641   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2642 fi
   2643 
   2644 
   2645 # These three variables are undocumented and unsupported,
   2646 # and are intended to be withdrawn in a future Autoconf release.
   2647 # They can cause serious problems if a builder's source tree is in a directory
   2648 # whose full name contains unusual characters.
   2649 if test -f "${ac_aux_dir}config.guess"; then
   2650   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2651 fi
   2652 if test -f "${ac_aux_dir}config.sub"; then
   2653   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2654 fi
   2655 if test -f "$ac_aux_dir/configure"; then
   2656   ac_configure="$SHELL ${ac_aux_dir}configure"
   2657 fi
   2658 
   2659 # Check that the precious variables saved in the cache have kept the same
   2660 # value.
   2661 ac_cache_corrupted=false
   2662 for ac_var in $ac_precious_vars; do
   2663   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2664   eval ac_new_set=\$ac_env_${ac_var}_set
   2665   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2666   eval ac_new_val=\$ac_env_${ac_var}_value
   2667   case $ac_old_set,$ac_new_set in
   2668     set,)
   2669       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2670 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2671       ac_cache_corrupted=: ;;
   2672     ,set)
   2673       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2674 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2675       ac_cache_corrupted=: ;;
   2676     ,);;
   2677     *)
   2678       if test "x$ac_old_val" != "x$ac_new_val"; then
   2679 	# differences in whitespace do not lead to failure.
   2680 	ac_old_val_w=`echo x $ac_old_val`
   2681 	ac_new_val_w=`echo x $ac_new_val`
   2682 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2683 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2684 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2685 	  ac_cache_corrupted=:
   2686 	else
   2687 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2688 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2689 	  eval $ac_var=\$ac_old_val
   2690 	fi
   2691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2692 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2693 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2694 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2695       fi;;
   2696   esac
   2697   # Pass precious variables to config.status.
   2698   if test "$ac_new_set" = set; then
   2699     case $ac_new_val in
   2700     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2701     *) ac_arg=$ac_var=$ac_new_val ;;
   2702     esac
   2703     case " $ac_configure_args " in
   2704       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2705       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2706     esac
   2707   fi
   2708 done
   2709 if $ac_cache_corrupted; then
   2710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2711 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2713 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2714   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2715 	    and start over" "$LINENO" 5
   2716 fi
   2717 ## -------------------- ##
   2718 ## Main body of script. ##
   2719 ## -------------------- ##
   2720 
   2721 ac_ext=c
   2722 ac_cpp='$CPP $CPPFLAGS'
   2723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2726 
   2727 
   2728 
   2729 ac_config_headers="$ac_config_headers config.h"
   2730 
   2731 
   2732 
   2733 # Initialize Automake
   2734 am__api_version='1.16'
   2735 
   2736 
   2737 
   2738   # Find a good install program.  We prefer a C program (faster),
   2739 # so one script is as good as another.  But avoid the broken or
   2740 # incompatible versions:
   2741 # SysV /etc/install, /usr/sbin/install
   2742 # SunOS /usr/etc/install
   2743 # IRIX /sbin/install
   2744 # AIX /bin/install
   2745 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2746 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2747 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2748 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2749 # OS/2's system install, which has a completely different semantic
   2750 # ./install, which can be erroneously created by make from ./install.sh.
   2751 # Reject install programs that cannot install multiple files.
   2752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2753 printf %s "checking for a BSD-compatible install... " >&6; }
   2754 if test -z "$INSTALL"; then
   2755 if test ${ac_cv_path_install+y}
   2756 then :
   2757   printf %s "(cached) " >&6
   2758 else $as_nop
   2759   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2760 for as_dir in $PATH
   2761 do
   2762   IFS=$as_save_IFS
   2763   case $as_dir in #(((
   2764     '') as_dir=./ ;;
   2765     */) ;;
   2766     *) as_dir=$as_dir/ ;;
   2767   esac
   2768     # Account for fact that we put trailing slashes in our PATH walk.
   2769 case $as_dir in #((
   2770   ./ | /[cC]/* | \
   2771   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2772   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2773   /usr/ucb/* ) ;;
   2774   *)
   2775     # OSF1 and SCO ODT 3.0 have their own names for install.
   2776     # Don't use installbsd from OSF since it installs stuff as root
   2777     # by default.
   2778     for ac_prog in ginstall scoinst install; do
   2779       for ac_exec_ext in '' $ac_executable_extensions; do
   2780 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2781 	  if test $ac_prog = install &&
   2782 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2783 	    # AIX install.  It has an incompatible calling convention.
   2784 	    :
   2785 	  elif test $ac_prog = install &&
   2786 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2787 	    # program-specific install script used by HP pwplus--don't use.
   2788 	    :
   2789 	  else
   2790 	    rm -rf conftest.one conftest.two conftest.dir
   2791 	    echo one > conftest.one
   2792 	    echo two > conftest.two
   2793 	    mkdir conftest.dir
   2794 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2795 	      test -s conftest.one && test -s conftest.two &&
   2796 	      test -s conftest.dir/conftest.one &&
   2797 	      test -s conftest.dir/conftest.two
   2798 	    then
   2799 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2800 	      break 3
   2801 	    fi
   2802 	  fi
   2803 	fi
   2804       done
   2805     done
   2806     ;;
   2807 esac
   2808 
   2809   done
   2810 IFS=$as_save_IFS
   2811 
   2812 rm -rf conftest.one conftest.two conftest.dir
   2813 
   2814 fi
   2815   if test ${ac_cv_path_install+y}; then
   2816     INSTALL=$ac_cv_path_install
   2817   else
   2818     # As a last resort, use the slow shell script.  Don't cache a
   2819     # value for INSTALL within a source directory, because that will
   2820     # break other packages using the cache if that directory is
   2821     # removed, or if the value is a relative name.
   2822     INSTALL=$ac_install_sh
   2823   fi
   2824 fi
   2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2826 printf "%s\n" "$INSTALL" >&6; }
   2827 
   2828 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2829 # It thinks the first close brace ends the variable substitution.
   2830 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2831 
   2832 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2833 
   2834 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2835 
   2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2837 printf %s "checking whether build environment is sane... " >&6; }
   2838 # Reject unsafe characters in $srcdir or the absolute working directory
   2839 # name.  Accept space and tab only in the latter.
   2840 am_lf='
   2841 '
   2842 case `pwd` in
   2843   *[\\\"\#\$\&\'\`$am_lf]*)
   2844     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2845 esac
   2846 case $srcdir in
   2847   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2848     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2849 esac
   2850 
   2851 # Do 'set' in a subshell so we don't clobber the current shell's
   2852 # arguments.  Must try -L first in case configure is actually a
   2853 # symlink; some systems play weird games with the mod time of symlinks
   2854 # (eg FreeBSD returns the mod time of the symlink's containing
   2855 # directory).
   2856 if (
   2857    am_has_slept=no
   2858    for am_try in 1 2; do
   2859      echo "timestamp, slept: $am_has_slept" > conftest.file
   2860      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2861      if test "$*" = "X"; then
   2862 	# -L didn't work.
   2863 	set X `ls -t "$srcdir/configure" conftest.file`
   2864      fi
   2865      if test "$*" != "X $srcdir/configure conftest.file" \
   2866 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2867 
   2868 	# If neither matched, then we have a broken ls.  This can happen
   2869 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2870 	# broken ls alias from the environment.  This has actually
   2871 	# happened.  Such a system could not be considered "sane".
   2872 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2873   alias in your environment" "$LINENO" 5
   2874      fi
   2875      if test "$2" = conftest.file || test $am_try -eq 2; then
   2876        break
   2877      fi
   2878      # Just in case.
   2879      sleep 1
   2880      am_has_slept=yes
   2881    done
   2882    test "$2" = conftest.file
   2883    )
   2884 then
   2885    # Ok.
   2886    :
   2887 else
   2888    as_fn_error $? "newly created file is older than distributed files!
   2889 Check your system clock" "$LINENO" 5
   2890 fi
   2891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2892 printf "%s\n" "yes" >&6; }
   2893 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2894 # generated files are strictly newer.
   2895 am_sleep_pid=
   2896 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2897   ( sleep 1 ) &
   2898   am_sleep_pid=$!
   2899 fi
   2900 
   2901 rm -f conftest.file
   2902 
   2903 test "$program_prefix" != NONE &&
   2904   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2905 # Use a double $ so make ignores it.
   2906 test "$program_suffix" != NONE &&
   2907   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2908 # Double any \ or $.
   2909 # By default was `s,x,x', remove it if useless.
   2910 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2911 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2912 
   2913 
   2914 # Expand $ac_aux_dir to an absolute path.
   2915 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2916 
   2917 
   2918   if test x"${MISSING+set}" != xset; then
   2919   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2920 fi
   2921 # Use eval to expand $SHELL
   2922 if eval "$MISSING --is-lightweight"; then
   2923   am_missing_run="$MISSING "
   2924 else
   2925   am_missing_run=
   2926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2927 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2928 fi
   2929 
   2930 if test x"${install_sh+set}" != xset; then
   2931   case $am_aux_dir in
   2932   *\ * | *\	*)
   2933     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2934   *)
   2935     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2936   esac
   2937 fi
   2938 
   2939 # Installed binaries are usually stripped using 'strip' when the user
   2940 # run "make install-strip".  However 'strip' might not be the right
   2941 # tool to use in cross-compilation environments, therefore Automake
   2942 # will honor the 'STRIP' environment variable to overrule this program.
   2943 if test "$cross_compiling" != no; then
   2944   if test -n "$ac_tool_prefix"; then
   2945   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2946 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2948 printf %s "checking for $ac_word... " >&6; }
   2949 if test ${ac_cv_prog_STRIP+y}
   2950 then :
   2951   printf %s "(cached) " >&6
   2952 else $as_nop
   2953   if test -n "$STRIP"; then
   2954   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2955 else
   2956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2957 for as_dir in $PATH
   2958 do
   2959   IFS=$as_save_IFS
   2960   case $as_dir in #(((
   2961     '') as_dir=./ ;;
   2962     */) ;;
   2963     *) as_dir=$as_dir/ ;;
   2964   esac
   2965     for ac_exec_ext in '' $ac_executable_extensions; do
   2966   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2967     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2968     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2969     break 2
   2970   fi
   2971 done
   2972   done
   2973 IFS=$as_save_IFS
   2974 
   2975 fi
   2976 fi
   2977 STRIP=$ac_cv_prog_STRIP
   2978 if test -n "$STRIP"; then
   2979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2980 printf "%s\n" "$STRIP" >&6; }
   2981 else
   2982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2983 printf "%s\n" "no" >&6; }
   2984 fi
   2985 
   2986 
   2987 fi
   2988 if test -z "$ac_cv_prog_STRIP"; then
   2989   ac_ct_STRIP=$STRIP
   2990   # Extract the first word of "strip", so it can be a program name with args.
   2991 set dummy strip; ac_word=$2
   2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2993 printf %s "checking for $ac_word... " >&6; }
   2994 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2995 then :
   2996   printf %s "(cached) " >&6
   2997 else $as_nop
   2998   if test -n "$ac_ct_STRIP"; then
   2999   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   case $as_dir in #(((
   3006     '') as_dir=./ ;;
   3007     */) ;;
   3008     *) as_dir=$as_dir/ ;;
   3009   esac
   3010     for ac_exec_ext in '' $ac_executable_extensions; do
   3011   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3012     ac_cv_prog_ac_ct_STRIP="strip"
   3013     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3014     break 2
   3015   fi
   3016 done
   3017   done
   3018 IFS=$as_save_IFS
   3019 
   3020 fi
   3021 fi
   3022 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3023 if test -n "$ac_ct_STRIP"; then
   3024   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3025 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3026 else
   3027   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3028 printf "%s\n" "no" >&6; }
   3029 fi
   3030 
   3031   if test "x$ac_ct_STRIP" = x; then
   3032     STRIP=":"
   3033   else
   3034     case $cross_compiling:$ac_tool_warned in
   3035 yes:)
   3036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3037 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3038 ac_tool_warned=yes ;;
   3039 esac
   3040     STRIP=$ac_ct_STRIP
   3041   fi
   3042 else
   3043   STRIP="$ac_cv_prog_STRIP"
   3044 fi
   3045 
   3046 fi
   3047 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3048 
   3049 
   3050   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3051 printf %s "checking for a race-free mkdir -p... " >&6; }
   3052 if test -z "$MKDIR_P"; then
   3053   if test ${ac_cv_path_mkdir+y}
   3054 then :
   3055   printf %s "(cached) " >&6
   3056 else $as_nop
   3057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3058 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3059 do
   3060   IFS=$as_save_IFS
   3061   case $as_dir in #(((
   3062     '') as_dir=./ ;;
   3063     */) ;;
   3064     *) as_dir=$as_dir/ ;;
   3065   esac
   3066     for ac_prog in mkdir gmkdir; do
   3067 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3068 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3069 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3070 	     'mkdir ('*'coreutils) '* | \
   3071 	     'BusyBox '* | \
   3072 	     'mkdir (fileutils) '4.1*)
   3073 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3074 	       break 3;;
   3075 	   esac
   3076 	 done
   3077        done
   3078   done
   3079 IFS=$as_save_IFS
   3080 
   3081 fi
   3082 
   3083   test -d ./--version && rmdir ./--version
   3084   if test ${ac_cv_path_mkdir+y}; then
   3085     MKDIR_P="$ac_cv_path_mkdir -p"
   3086   else
   3087     # As a last resort, use the slow shell script.  Don't cache a
   3088     # value for MKDIR_P within a source directory, because that will
   3089     # break other packages using the cache if that directory is
   3090     # removed, or if the value is a relative name.
   3091     MKDIR_P="$ac_install_sh -d"
   3092   fi
   3093 fi
   3094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3095 printf "%s\n" "$MKDIR_P" >&6; }
   3096 
   3097 for ac_prog in gawk mawk nawk awk
   3098 do
   3099   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3100 set dummy $ac_prog; ac_word=$2
   3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3102 printf %s "checking for $ac_word... " >&6; }
   3103 if test ${ac_cv_prog_AWK+y}
   3104 then :
   3105   printf %s "(cached) " >&6
   3106 else $as_nop
   3107   if test -n "$AWK"; then
   3108   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3109 else
   3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3111 for as_dir in $PATH
   3112 do
   3113   IFS=$as_save_IFS
   3114   case $as_dir in #(((
   3115     '') as_dir=./ ;;
   3116     */) ;;
   3117     *) as_dir=$as_dir/ ;;
   3118   esac
   3119     for ac_exec_ext in '' $ac_executable_extensions; do
   3120   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3121     ac_cv_prog_AWK="$ac_prog"
   3122     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3123     break 2
   3124   fi
   3125 done
   3126   done
   3127 IFS=$as_save_IFS
   3128 
   3129 fi
   3130 fi
   3131 AWK=$ac_cv_prog_AWK
   3132 if test -n "$AWK"; then
   3133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3134 printf "%s\n" "$AWK" >&6; }
   3135 else
   3136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3137 printf "%s\n" "no" >&6; }
   3138 fi
   3139 
   3140 
   3141   test -n "$AWK" && break
   3142 done
   3143 
   3144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3145 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3146 set x ${MAKE-make}
   3147 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3148 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3149 then :
   3150   printf %s "(cached) " >&6
   3151 else $as_nop
   3152   cat >conftest.make <<\_ACEOF
   3153 SHELL = /bin/sh
   3154 all:
   3155 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3156 _ACEOF
   3157 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3158 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3159   *@@@%%%=?*=@@@%%%*)
   3160     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3161   *)
   3162     eval ac_cv_prog_make_${ac_make}_set=no;;
   3163 esac
   3164 rm -f conftest.make
   3165 fi
   3166 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3167   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3168 printf "%s\n" "yes" >&6; }
   3169   SET_MAKE=
   3170 else
   3171   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3172 printf "%s\n" "no" >&6; }
   3173   SET_MAKE="MAKE=${MAKE-make}"
   3174 fi
   3175 
   3176 rm -rf .tst 2>/dev/null
   3177 mkdir .tst 2>/dev/null
   3178 if test -d .tst; then
   3179   am__leading_dot=.
   3180 else
   3181   am__leading_dot=_
   3182 fi
   3183 rmdir .tst 2>/dev/null
   3184 
   3185 # Check whether --enable-silent-rules was given.
   3186 if test ${enable_silent_rules+y}
   3187 then :
   3188   enableval=$enable_silent_rules;
   3189 fi
   3190 
   3191 case $enable_silent_rules in # (((
   3192   yes) AM_DEFAULT_VERBOSITY=0;;
   3193    no) AM_DEFAULT_VERBOSITY=1;;
   3194     *) AM_DEFAULT_VERBOSITY=1;;
   3195 esac
   3196 am_make=${MAKE-make}
   3197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3198 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3199 if test ${am_cv_make_support_nested_variables+y}
   3200 then :
   3201   printf %s "(cached) " >&6
   3202 else $as_nop
   3203   if printf "%s\n" 'TRUE=$(BAR$(V))
   3204 BAR0=false
   3205 BAR1=true
   3206 V=1
   3207 am__doit:
   3208 	@$(TRUE)
   3209 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3210   am_cv_make_support_nested_variables=yes
   3211 else
   3212   am_cv_make_support_nested_variables=no
   3213 fi
   3214 fi
   3215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3216 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3217 if test $am_cv_make_support_nested_variables = yes; then
   3218     AM_V='$(V)'
   3219   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3220 else
   3221   AM_V=$AM_DEFAULT_VERBOSITY
   3222   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3223 fi
   3224 AM_BACKSLASH='\'
   3225 
   3226 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3227   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3228   # is not polluted with repeated "-I."
   3229   am__isrc=' -I$(srcdir)'
   3230   # test to see if srcdir already configured
   3231   if test -f $srcdir/config.status; then
   3232     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3233   fi
   3234 fi
   3235 
   3236 # test whether we have cygpath
   3237 if test -z "$CYGPATH_W"; then
   3238   if (cygpath --version) >/dev/null 2>/dev/null; then
   3239     CYGPATH_W='cygpath -w'
   3240   else
   3241     CYGPATH_W=echo
   3242   fi
   3243 fi
   3244 
   3245 
   3246 # Define the identity of the package.
   3247  PACKAGE='libXaw'
   3248  VERSION='1.0.16'
   3249 
   3250 
   3251 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3252 
   3253 
   3254 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3255 
   3256 # Some tools Automake needs.
   3257 
   3258 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3259 
   3260 
   3261 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3262 
   3263 
   3264 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3265 
   3266 
   3267 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3268 
   3269 
   3270 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3271 
   3272 # For better backward compatibility.  To be removed once Automake 1.9.x
   3273 # dies out for good.  For more background, see:
   3274 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3275 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3276 mkdir_p='$(MKDIR_P)'
   3277 
   3278 # We need awk for the "check" target (and possibly the TAP driver).  The
   3279 # system "awk" is bad on some platforms.
   3280 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3281 # in the wild :-(  We should find a proper way to deprecate it ...
   3282 AMTAR='$${TAR-tar}'
   3283 
   3284 
   3285 # We'll loop over all known methods to create a tar archive until one works.
   3286 _am_tools='gnutar  pax cpio none'
   3287 
   3288 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3289 
   3290 
   3291 
   3292 
   3293 
   3294 # Variables for tags utilities; see am/tags.am
   3295 if test -z "$CTAGS"; then
   3296   CTAGS=ctags
   3297 fi
   3298 
   3299 if test -z "$ETAGS"; then
   3300   ETAGS=etags
   3301 fi
   3302 
   3303 if test -z "$CSCOPE"; then
   3304   CSCOPE=cscope
   3305 fi
   3306 
   3307 
   3308 
   3309 # POSIX will say in a future version that running "rm -f" with no argument
   3310 # is OK; and we want to be able to make that assumption in our Makefile
   3311 # recipes.  So use an aggressive probe to check that the usage we want is
   3312 # actually supported "in the wild" to an acceptable degree.
   3313 # See automake bug#10828.
   3314 # To make any issue more visible, cause the running configure to be aborted
   3315 # by default if the 'rm' program in use doesn't match our expectations; the
   3316 # user can still override this though.
   3317 if rm -f && rm -fr && rm -rf; then : OK; else
   3318   cat >&2 <<'END'
   3319 Oops!
   3320 
   3321 Your 'rm' program seems unable to run without file operands specified
   3322 on the command line, even when the '-f' option is present.  This is contrary
   3323 to the behaviour of most rm programs out there, and not conforming with
   3324 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3325 
   3326 Please tell bug-automake@gnu.org about your system, including the value
   3327 of your $PATH and any error possibly output before this message.  This
   3328 can help us improve future automake versions.
   3329 
   3330 END
   3331   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3332     echo 'Configuration will proceed anyway, since you have set the' >&2
   3333     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3334     echo >&2
   3335   else
   3336     cat >&2 <<'END'
   3337 Aborting the configuration process, to ensure you take notice of the issue.
   3338 
   3339 You can download and install GNU coreutils to get an 'rm' implementation
   3340 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3341 
   3342 If you want to complete the configuration process using your problematic
   3343 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3344 to "yes", and re-run configure.
   3345 
   3346 END
   3347     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3348   fi
   3349 fi
   3350 
   3351 
   3352 # Initialize libtool
   3353 case `pwd` in
   3354   *\ * | *\	*)
   3355     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3356 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3357 esac
   3358 
   3359 
   3360 
   3361 macro_version='2.4.7'
   3362 macro_revision='2.4.7'
   3363 
   3364 
   3365 
   3366 
   3367 
   3368 
   3369 
   3370 
   3371 
   3372 
   3373 
   3374 
   3375 
   3376 
   3377 ltmain=$ac_aux_dir/ltmain.sh
   3378 
   3379 
   3380 
   3381   # Make sure we can run config.sub.
   3382 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3383   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3384 
   3385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3386 printf %s "checking build system type... " >&6; }
   3387 if test ${ac_cv_build+y}
   3388 then :
   3389   printf %s "(cached) " >&6
   3390 else $as_nop
   3391   ac_build_alias=$build_alias
   3392 test "x$ac_build_alias" = x &&
   3393   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3394 test "x$ac_build_alias" = x &&
   3395   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3396 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3397   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3398 
   3399 fi
   3400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3401 printf "%s\n" "$ac_cv_build" >&6; }
   3402 case $ac_cv_build in
   3403 *-*-*) ;;
   3404 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3405 esac
   3406 build=$ac_cv_build
   3407 ac_save_IFS=$IFS; IFS='-'
   3408 set x $ac_cv_build
   3409 shift
   3410 build_cpu=$1
   3411 build_vendor=$2
   3412 shift; shift
   3413 # Remember, the first character of IFS is used to create $*,
   3414 # except with old shells:
   3415 build_os=$*
   3416 IFS=$ac_save_IFS
   3417 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3418 
   3419 
   3420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3421 printf %s "checking host system type... " >&6; }
   3422 if test ${ac_cv_host+y}
   3423 then :
   3424   printf %s "(cached) " >&6
   3425 else $as_nop
   3426   if test "x$host_alias" = x; then
   3427   ac_cv_host=$ac_cv_build
   3428 else
   3429   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3430     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3431 fi
   3432 
   3433 fi
   3434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3435 printf "%s\n" "$ac_cv_host" >&6; }
   3436 case $ac_cv_host in
   3437 *-*-*) ;;
   3438 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3439 esac
   3440 host=$ac_cv_host
   3441 ac_save_IFS=$IFS; IFS='-'
   3442 set x $ac_cv_host
   3443 shift
   3444 host_cpu=$1
   3445 host_vendor=$2
   3446 shift; shift
   3447 # Remember, the first character of IFS is used to create $*,
   3448 # except with old shells:
   3449 host_os=$*
   3450 IFS=$ac_save_IFS
   3451 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3452 
   3453 
   3454 # Backslashify metacharacters that are still active within
   3455 # double-quoted strings.
   3456 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3457 
   3458 # Same as above, but do not quote variable references.
   3459 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3460 
   3461 # Sed substitution to delay expansion of an escaped shell variable in a
   3462 # double_quote_subst'ed string.
   3463 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3464 
   3465 # Sed substitution to delay expansion of an escaped single quote.
   3466 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3467 
   3468 # Sed substitution to avoid accidental globbing in evaled expressions
   3469 no_glob_subst='s/\*/\\\*/g'
   3470 
   3471 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3472 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3473 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3474 
   3475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3476 printf %s "checking how to print strings... " >&6; }
   3477 # Test print first, because it will be a builtin if present.
   3478 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3479    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3480   ECHO='print -r --'
   3481 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3482   ECHO='printf %s\n'
   3483 else
   3484   # Use this function as a fallback that always works.
   3485   func_fallback_echo ()
   3486   {
   3487     eval 'cat <<_LTECHO_EOF
   3488 $1
   3489 _LTECHO_EOF'
   3490   }
   3491   ECHO='func_fallback_echo'
   3492 fi
   3493 
   3494 # func_echo_all arg...
   3495 # Invoke $ECHO with all args, space-separated.
   3496 func_echo_all ()
   3497 {
   3498     $ECHO ""
   3499 }
   3500 
   3501 case $ECHO in
   3502   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3503 printf "%s\n" "printf" >&6; } ;;
   3504   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3505 printf "%s\n" "print -r" >&6; } ;;
   3506   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3507 printf "%s\n" "cat" >&6; } ;;
   3508 esac
   3509 
   3510 
   3511 
   3512 
   3513 
   3514 
   3515 
   3516 
   3517 
   3518 
   3519 
   3520 
   3521 
   3522 
   3523 
   3524 
   3525 
   3526 
   3527 
   3528 
   3529 
   3530 
   3531 
   3532 DEPDIR="${am__leading_dot}deps"
   3533 
   3534 ac_config_commands="$ac_config_commands depfiles"
   3535 
   3536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3537 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3538 cat > confinc.mk << 'END'
   3539 am__doit:
   3540 	@echo this is the am__doit target >confinc.out
   3541 .PHONY: am__doit
   3542 END
   3543 am__include="#"
   3544 am__quote=
   3545 # BSD make does it like this.
   3546 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3547 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3548 echo 'include confinc.mk # ignored' > confmf.GNU
   3549 _am_result=no
   3550 for s in GNU BSD; do
   3551   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3552    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3553    ac_status=$?
   3554    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3555    (exit $ac_status); }
   3556   case $?:`cat confinc.out 2>/dev/null` in #(
   3557   '0:this is the am__doit target') :
   3558     case $s in #(
   3559   BSD) :
   3560     am__include='.include' am__quote='"' ;; #(
   3561   *) :
   3562     am__include='include' am__quote='' ;;
   3563 esac ;; #(
   3564   *) :
   3565      ;;
   3566 esac
   3567   if test "$am__include" != "#"; then
   3568     _am_result="yes ($s style)"
   3569     break
   3570   fi
   3571 done
   3572 rm -f confinc.* confmf.*
   3573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3574 printf "%s\n" "${_am_result}" >&6; }
   3575 
   3576 # Check whether --enable-dependency-tracking was given.
   3577 if test ${enable_dependency_tracking+y}
   3578 then :
   3579   enableval=$enable_dependency_tracking;
   3580 fi
   3581 
   3582 if test "x$enable_dependency_tracking" != xno; then
   3583   am_depcomp="$ac_aux_dir/depcomp"
   3584   AMDEPBACKSLASH='\'
   3585   am__nodep='_no'
   3586 fi
   3587  if test "x$enable_dependency_tracking" != xno; then
   3588   AMDEP_TRUE=
   3589   AMDEP_FALSE='#'
   3590 else
   3591   AMDEP_TRUE='#'
   3592   AMDEP_FALSE=
   3593 fi
   3594 
   3595 
   3596 ac_ext=c
   3597 ac_cpp='$CPP $CPPFLAGS'
   3598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3601 if test -n "$ac_tool_prefix"; then
   3602   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3603 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3605 printf %s "checking for $ac_word... " >&6; }
   3606 if test ${ac_cv_prog_CC+y}
   3607 then :
   3608   printf %s "(cached) " >&6
   3609 else $as_nop
   3610   if test -n "$CC"; then
   3611   ac_cv_prog_CC="$CC" # Let the user override the test.
   3612 else
   3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3614 for as_dir in $PATH
   3615 do
   3616   IFS=$as_save_IFS
   3617   case $as_dir in #(((
   3618     '') as_dir=./ ;;
   3619     */) ;;
   3620     *) as_dir=$as_dir/ ;;
   3621   esac
   3622     for ac_exec_ext in '' $ac_executable_extensions; do
   3623   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3624     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3625     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3626     break 2
   3627   fi
   3628 done
   3629   done
   3630 IFS=$as_save_IFS
   3631 
   3632 fi
   3633 fi
   3634 CC=$ac_cv_prog_CC
   3635 if test -n "$CC"; then
   3636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3637 printf "%s\n" "$CC" >&6; }
   3638 else
   3639   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3640 printf "%s\n" "no" >&6; }
   3641 fi
   3642 
   3643 
   3644 fi
   3645 if test -z "$ac_cv_prog_CC"; then
   3646   ac_ct_CC=$CC
   3647   # Extract the first word of "gcc", so it can be a program name with args.
   3648 set dummy gcc; ac_word=$2
   3649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3650 printf %s "checking for $ac_word... " >&6; }
   3651 if test ${ac_cv_prog_ac_ct_CC+y}
   3652 then :
   3653   printf %s "(cached) " >&6
   3654 else $as_nop
   3655   if test -n "$ac_ct_CC"; then
   3656   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3657 else
   3658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3659 for as_dir in $PATH
   3660 do
   3661   IFS=$as_save_IFS
   3662   case $as_dir in #(((
   3663     '') as_dir=./ ;;
   3664     */) ;;
   3665     *) as_dir=$as_dir/ ;;
   3666   esac
   3667     for ac_exec_ext in '' $ac_executable_extensions; do
   3668   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3669     ac_cv_prog_ac_ct_CC="gcc"
   3670     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3671     break 2
   3672   fi
   3673 done
   3674   done
   3675 IFS=$as_save_IFS
   3676 
   3677 fi
   3678 fi
   3679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3680 if test -n "$ac_ct_CC"; then
   3681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3682 printf "%s\n" "$ac_ct_CC" >&6; }
   3683 else
   3684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3685 printf "%s\n" "no" >&6; }
   3686 fi
   3687 
   3688   if test "x$ac_ct_CC" = x; then
   3689     CC=""
   3690   else
   3691     case $cross_compiling:$ac_tool_warned in
   3692 yes:)
   3693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3694 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3695 ac_tool_warned=yes ;;
   3696 esac
   3697     CC=$ac_ct_CC
   3698   fi
   3699 else
   3700   CC="$ac_cv_prog_CC"
   3701 fi
   3702 
   3703 if test -z "$CC"; then
   3704           if test -n "$ac_tool_prefix"; then
   3705     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3706 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3708 printf %s "checking for $ac_word... " >&6; }
   3709 if test ${ac_cv_prog_CC+y}
   3710 then :
   3711   printf %s "(cached) " >&6
   3712 else $as_nop
   3713   if test -n "$CC"; then
   3714   ac_cv_prog_CC="$CC" # Let the user override the test.
   3715 else
   3716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3717 for as_dir in $PATH
   3718 do
   3719   IFS=$as_save_IFS
   3720   case $as_dir in #(((
   3721     '') as_dir=./ ;;
   3722     */) ;;
   3723     *) as_dir=$as_dir/ ;;
   3724   esac
   3725     for ac_exec_ext in '' $ac_executable_extensions; do
   3726   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3727     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3728     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3729     break 2
   3730   fi
   3731 done
   3732   done
   3733 IFS=$as_save_IFS
   3734 
   3735 fi
   3736 fi
   3737 CC=$ac_cv_prog_CC
   3738 if test -n "$CC"; then
   3739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3740 printf "%s\n" "$CC" >&6; }
   3741 else
   3742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3743 printf "%s\n" "no" >&6; }
   3744 fi
   3745 
   3746 
   3747   fi
   3748 fi
   3749 if test -z "$CC"; then
   3750   # Extract the first word of "cc", so it can be a program name with args.
   3751 set dummy cc; ac_word=$2
   3752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3753 printf %s "checking for $ac_word... " >&6; }
   3754 if test ${ac_cv_prog_CC+y}
   3755 then :
   3756   printf %s "(cached) " >&6
   3757 else $as_nop
   3758   if test -n "$CC"; then
   3759   ac_cv_prog_CC="$CC" # Let the user override the test.
   3760 else
   3761   ac_prog_rejected=no
   3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3763 for as_dir in $PATH
   3764 do
   3765   IFS=$as_save_IFS
   3766   case $as_dir in #(((
   3767     '') as_dir=./ ;;
   3768     */) ;;
   3769     *) as_dir=$as_dir/ ;;
   3770   esac
   3771     for ac_exec_ext in '' $ac_executable_extensions; do
   3772   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3773     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3774        ac_prog_rejected=yes
   3775        continue
   3776      fi
   3777     ac_cv_prog_CC="cc"
   3778     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3779     break 2
   3780   fi
   3781 done
   3782   done
   3783 IFS=$as_save_IFS
   3784 
   3785 if test $ac_prog_rejected = yes; then
   3786   # We found a bogon in the path, so make sure we never use it.
   3787   set dummy $ac_cv_prog_CC
   3788   shift
   3789   if test $# != 0; then
   3790     # We chose a different compiler from the bogus one.
   3791     # However, it has the same basename, so the bogon will be chosen
   3792     # first if we set CC to just the basename; use the full file name.
   3793     shift
   3794     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3795   fi
   3796 fi
   3797 fi
   3798 fi
   3799 CC=$ac_cv_prog_CC
   3800 if test -n "$CC"; then
   3801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3802 printf "%s\n" "$CC" >&6; }
   3803 else
   3804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3805 printf "%s\n" "no" >&6; }
   3806 fi
   3807 
   3808 
   3809 fi
   3810 if test -z "$CC"; then
   3811   if test -n "$ac_tool_prefix"; then
   3812   for ac_prog in cl.exe
   3813   do
   3814     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3817 printf %s "checking for $ac_word... " >&6; }
   3818 if test ${ac_cv_prog_CC+y}
   3819 then :
   3820   printf %s "(cached) " >&6
   3821 else $as_nop
   3822   if test -n "$CC"; then
   3823   ac_cv_prog_CC="$CC" # Let the user override the test.
   3824 else
   3825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3826 for as_dir in $PATH
   3827 do
   3828   IFS=$as_save_IFS
   3829   case $as_dir in #(((
   3830     '') as_dir=./ ;;
   3831     */) ;;
   3832     *) as_dir=$as_dir/ ;;
   3833   esac
   3834     for ac_exec_ext in '' $ac_executable_extensions; do
   3835   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3836     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3837     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3838     break 2
   3839   fi
   3840 done
   3841   done
   3842 IFS=$as_save_IFS
   3843 
   3844 fi
   3845 fi
   3846 CC=$ac_cv_prog_CC
   3847 if test -n "$CC"; then
   3848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3849 printf "%s\n" "$CC" >&6; }
   3850 else
   3851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3852 printf "%s\n" "no" >&6; }
   3853 fi
   3854 
   3855 
   3856     test -n "$CC" && break
   3857   done
   3858 fi
   3859 if test -z "$CC"; then
   3860   ac_ct_CC=$CC
   3861   for ac_prog in cl.exe
   3862 do
   3863   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3864 set dummy $ac_prog; ac_word=$2
   3865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3866 printf %s "checking for $ac_word... " >&6; }
   3867 if test ${ac_cv_prog_ac_ct_CC+y}
   3868 then :
   3869   printf %s "(cached) " >&6
   3870 else $as_nop
   3871   if test -n "$ac_ct_CC"; then
   3872   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3873 else
   3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3875 for as_dir in $PATH
   3876 do
   3877   IFS=$as_save_IFS
   3878   case $as_dir in #(((
   3879     '') as_dir=./ ;;
   3880     */) ;;
   3881     *) as_dir=$as_dir/ ;;
   3882   esac
   3883     for ac_exec_ext in '' $ac_executable_extensions; do
   3884   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3885     ac_cv_prog_ac_ct_CC="$ac_prog"
   3886     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3887     break 2
   3888   fi
   3889 done
   3890   done
   3891 IFS=$as_save_IFS
   3892 
   3893 fi
   3894 fi
   3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3896 if test -n "$ac_ct_CC"; then
   3897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3898 printf "%s\n" "$ac_ct_CC" >&6; }
   3899 else
   3900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3901 printf "%s\n" "no" >&6; }
   3902 fi
   3903 
   3904 
   3905   test -n "$ac_ct_CC" && break
   3906 done
   3907 
   3908   if test "x$ac_ct_CC" = x; then
   3909     CC=""
   3910   else
   3911     case $cross_compiling:$ac_tool_warned in
   3912 yes:)
   3913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3914 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3915 ac_tool_warned=yes ;;
   3916 esac
   3917     CC=$ac_ct_CC
   3918   fi
   3919 fi
   3920 
   3921 fi
   3922 if test -z "$CC"; then
   3923   if test -n "$ac_tool_prefix"; then
   3924   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3925 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3927 printf %s "checking for $ac_word... " >&6; }
   3928 if test ${ac_cv_prog_CC+y}
   3929 then :
   3930   printf %s "(cached) " >&6
   3931 else $as_nop
   3932   if test -n "$CC"; then
   3933   ac_cv_prog_CC="$CC" # Let the user override the test.
   3934 else
   3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3936 for as_dir in $PATH
   3937 do
   3938   IFS=$as_save_IFS
   3939   case $as_dir in #(((
   3940     '') as_dir=./ ;;
   3941     */) ;;
   3942     *) as_dir=$as_dir/ ;;
   3943   esac
   3944     for ac_exec_ext in '' $ac_executable_extensions; do
   3945   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3946     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3947     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3948     break 2
   3949   fi
   3950 done
   3951   done
   3952 IFS=$as_save_IFS
   3953 
   3954 fi
   3955 fi
   3956 CC=$ac_cv_prog_CC
   3957 if test -n "$CC"; then
   3958   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3959 printf "%s\n" "$CC" >&6; }
   3960 else
   3961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3962 printf "%s\n" "no" >&6; }
   3963 fi
   3964 
   3965 
   3966 fi
   3967 if test -z "$ac_cv_prog_CC"; then
   3968   ac_ct_CC=$CC
   3969   # Extract the first word of "clang", so it can be a program name with args.
   3970 set dummy clang; ac_word=$2
   3971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3972 printf %s "checking for $ac_word... " >&6; }
   3973 if test ${ac_cv_prog_ac_ct_CC+y}
   3974 then :
   3975   printf %s "(cached) " >&6
   3976 else $as_nop
   3977   if test -n "$ac_ct_CC"; then
   3978   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3979 else
   3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3981 for as_dir in $PATH
   3982 do
   3983   IFS=$as_save_IFS
   3984   case $as_dir in #(((
   3985     '') as_dir=./ ;;
   3986     */) ;;
   3987     *) as_dir=$as_dir/ ;;
   3988   esac
   3989     for ac_exec_ext in '' $ac_executable_extensions; do
   3990   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3991     ac_cv_prog_ac_ct_CC="clang"
   3992     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3993     break 2
   3994   fi
   3995 done
   3996   done
   3997 IFS=$as_save_IFS
   3998 
   3999 fi
   4000 fi
   4001 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4002 if test -n "$ac_ct_CC"; then
   4003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4004 printf "%s\n" "$ac_ct_CC" >&6; }
   4005 else
   4006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4007 printf "%s\n" "no" >&6; }
   4008 fi
   4009 
   4010   if test "x$ac_ct_CC" = x; then
   4011     CC=""
   4012   else
   4013     case $cross_compiling:$ac_tool_warned in
   4014 yes:)
   4015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4016 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4017 ac_tool_warned=yes ;;
   4018 esac
   4019     CC=$ac_ct_CC
   4020   fi
   4021 else
   4022   CC="$ac_cv_prog_CC"
   4023 fi
   4024 
   4025 fi
   4026 
   4027 
   4028 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4029 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4030 as_fn_error $? "no acceptable C compiler found in \$PATH
   4031 See \`config.log' for more details" "$LINENO" 5; }
   4032 
   4033 # Provide some information about the compiler.
   4034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4035 set X $ac_compile
   4036 ac_compiler=$2
   4037 for ac_option in --version -v -V -qversion -version; do
   4038   { { ac_try="$ac_compiler $ac_option >&5"
   4039 case "(($ac_try" in
   4040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4041   *) ac_try_echo=$ac_try;;
   4042 esac
   4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4044 printf "%s\n" "$ac_try_echo"; } >&5
   4045   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4046   ac_status=$?
   4047   if test -s conftest.err; then
   4048     sed '10a\
   4049 ... rest of stderr output deleted ...
   4050          10q' conftest.err >conftest.er1
   4051     cat conftest.er1 >&5
   4052   fi
   4053   rm -f conftest.er1 conftest.err
   4054   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4055   test $ac_status = 0; }
   4056 done
   4057 
   4058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4059 /* end confdefs.h.  */
   4060 
   4061 int
   4062 main (void)
   4063 {
   4064 
   4065   ;
   4066   return 0;
   4067 }
   4068 _ACEOF
   4069 ac_clean_files_save=$ac_clean_files
   4070 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4071 # Try to create an executable without -o first, disregard a.out.
   4072 # It will help us diagnose broken compilers, and finding out an intuition
   4073 # of exeext.
   4074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4075 printf %s "checking whether the C compiler works... " >&6; }
   4076 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4077 
   4078 # The possible output files:
   4079 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4080 
   4081 ac_rmfiles=
   4082 for ac_file in $ac_files
   4083 do
   4084   case $ac_file in
   4085     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4086     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4087   esac
   4088 done
   4089 rm -f $ac_rmfiles
   4090 
   4091 if { { ac_try="$ac_link_default"
   4092 case "(($ac_try" in
   4093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4094   *) ac_try_echo=$ac_try;;
   4095 esac
   4096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4097 printf "%s\n" "$ac_try_echo"; } >&5
   4098   (eval "$ac_link_default") 2>&5
   4099   ac_status=$?
   4100   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4101   test $ac_status = 0; }
   4102 then :
   4103   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4104 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4105 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4106 # so that the user can short-circuit this test for compilers unknown to
   4107 # Autoconf.
   4108 for ac_file in $ac_files ''
   4109 do
   4110   test -f "$ac_file" || continue
   4111   case $ac_file in
   4112     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4113 	;;
   4114     [ab].out )
   4115 	# We found the default executable, but exeext='' is most
   4116 	# certainly right.
   4117 	break;;
   4118     *.* )
   4119 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4120 	then :; else
   4121 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4122 	fi
   4123 	# We set ac_cv_exeext here because the later test for it is not
   4124 	# safe: cross compilers may not add the suffix if given an `-o'
   4125 	# argument, so we may need to know it at that point already.
   4126 	# Even if this section looks crufty: it has the advantage of
   4127 	# actually working.
   4128 	break;;
   4129     * )
   4130 	break;;
   4131   esac
   4132 done
   4133 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4134 
   4135 else $as_nop
   4136   ac_file=''
   4137 fi
   4138 if test -z "$ac_file"
   4139 then :
   4140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4141 printf "%s\n" "no" >&6; }
   4142 printf "%s\n" "$as_me: failed program was:" >&5
   4143 sed 's/^/| /' conftest.$ac_ext >&5
   4144 
   4145 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4146 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4147 as_fn_error 77 "C compiler cannot create executables
   4148 See \`config.log' for more details" "$LINENO" 5; }
   4149 else $as_nop
   4150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4151 printf "%s\n" "yes" >&6; }
   4152 fi
   4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4154 printf %s "checking for C compiler default output file name... " >&6; }
   4155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4156 printf "%s\n" "$ac_file" >&6; }
   4157 ac_exeext=$ac_cv_exeext
   4158 
   4159 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4160 ac_clean_files=$ac_clean_files_save
   4161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4162 printf %s "checking for suffix of executables... " >&6; }
   4163 if { { ac_try="$ac_link"
   4164 case "(($ac_try" in
   4165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4166   *) ac_try_echo=$ac_try;;
   4167 esac
   4168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4169 printf "%s\n" "$ac_try_echo"; } >&5
   4170   (eval "$ac_link") 2>&5
   4171   ac_status=$?
   4172   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4173   test $ac_status = 0; }
   4174 then :
   4175   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4176 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4177 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4178 # `rm'.
   4179 for ac_file in conftest.exe conftest conftest.*; do
   4180   test -f "$ac_file" || continue
   4181   case $ac_file in
   4182     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4183     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4184 	  break;;
   4185     * ) break;;
   4186   esac
   4187 done
   4188 else $as_nop
   4189   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4190 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4191 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4192 See \`config.log' for more details" "$LINENO" 5; }
   4193 fi
   4194 rm -f conftest conftest$ac_cv_exeext
   4195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4196 printf "%s\n" "$ac_cv_exeext" >&6; }
   4197 
   4198 rm -f conftest.$ac_ext
   4199 EXEEXT=$ac_cv_exeext
   4200 ac_exeext=$EXEEXT
   4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4202 /* end confdefs.h.  */
   4203 #include <stdio.h>
   4204 int
   4205 main (void)
   4206 {
   4207 FILE *f = fopen ("conftest.out", "w");
   4208  return ferror (f) || fclose (f) != 0;
   4209 
   4210   ;
   4211   return 0;
   4212 }
   4213 _ACEOF
   4214 ac_clean_files="$ac_clean_files conftest.out"
   4215 # Check that the compiler produces executables we can run.  If not, either
   4216 # the compiler is broken, or we cross compile.
   4217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4218 printf %s "checking whether we are cross compiling... " >&6; }
   4219 if test "$cross_compiling" != yes; then
   4220   { { ac_try="$ac_link"
   4221 case "(($ac_try" in
   4222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4223   *) ac_try_echo=$ac_try;;
   4224 esac
   4225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4226 printf "%s\n" "$ac_try_echo"; } >&5
   4227   (eval "$ac_link") 2>&5
   4228   ac_status=$?
   4229   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4230   test $ac_status = 0; }
   4231   if { ac_try='./conftest$ac_cv_exeext'
   4232   { { case "(($ac_try" in
   4233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4234   *) ac_try_echo=$ac_try;;
   4235 esac
   4236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4237 printf "%s\n" "$ac_try_echo"; } >&5
   4238   (eval "$ac_try") 2>&5
   4239   ac_status=$?
   4240   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4241   test $ac_status = 0; }; }; then
   4242     cross_compiling=no
   4243   else
   4244     if test "$cross_compiling" = maybe; then
   4245 	cross_compiling=yes
   4246     else
   4247 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4248 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4249 as_fn_error 77 "cannot run C compiled programs.
   4250 If you meant to cross compile, use \`--host'.
   4251 See \`config.log' for more details" "$LINENO" 5; }
   4252     fi
   4253   fi
   4254 fi
   4255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4256 printf "%s\n" "$cross_compiling" >&6; }
   4257 
   4258 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4259 ac_clean_files=$ac_clean_files_save
   4260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4261 printf %s "checking for suffix of object files... " >&6; }
   4262 if test ${ac_cv_objext+y}
   4263 then :
   4264   printf %s "(cached) " >&6
   4265 else $as_nop
   4266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4267 /* end confdefs.h.  */
   4268 
   4269 int
   4270 main (void)
   4271 {
   4272 
   4273   ;
   4274   return 0;
   4275 }
   4276 _ACEOF
   4277 rm -f conftest.o conftest.obj
   4278 if { { ac_try="$ac_compile"
   4279 case "(($ac_try" in
   4280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4281   *) ac_try_echo=$ac_try;;
   4282 esac
   4283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4284 printf "%s\n" "$ac_try_echo"; } >&5
   4285   (eval "$ac_compile") 2>&5
   4286   ac_status=$?
   4287   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4288   test $ac_status = 0; }
   4289 then :
   4290   for ac_file in conftest.o conftest.obj conftest.*; do
   4291   test -f "$ac_file" || continue;
   4292   case $ac_file in
   4293     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4294     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4295        break;;
   4296   esac
   4297 done
   4298 else $as_nop
   4299   printf "%s\n" "$as_me: failed program was:" >&5
   4300 sed 's/^/| /' conftest.$ac_ext >&5
   4301 
   4302 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4303 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4304 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4305 See \`config.log' for more details" "$LINENO" 5; }
   4306 fi
   4307 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4308 fi
   4309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4310 printf "%s\n" "$ac_cv_objext" >&6; }
   4311 OBJEXT=$ac_cv_objext
   4312 ac_objext=$OBJEXT
   4313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4314 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4315 if test ${ac_cv_c_compiler_gnu+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 #ifndef __GNUC__
   4326        choke me
   4327 #endif
   4328 
   4329   ;
   4330   return 0;
   4331 }
   4332 _ACEOF
   4333 if ac_fn_c_try_compile "$LINENO"
   4334 then :
   4335   ac_compiler_gnu=yes
   4336 else $as_nop
   4337   ac_compiler_gnu=no
   4338 fi
   4339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4341 
   4342 fi
   4343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4344 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4346 
   4347 if test $ac_compiler_gnu = yes; then
   4348   GCC=yes
   4349 else
   4350   GCC=
   4351 fi
   4352 ac_test_CFLAGS=${CFLAGS+y}
   4353 ac_save_CFLAGS=$CFLAGS
   4354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4355 printf %s "checking whether $CC accepts -g... " >&6; }
   4356 if test ${ac_cv_prog_cc_g+y}
   4357 then :
   4358   printf %s "(cached) " >&6
   4359 else $as_nop
   4360   ac_save_c_werror_flag=$ac_c_werror_flag
   4361    ac_c_werror_flag=yes
   4362    ac_cv_prog_cc_g=no
   4363    CFLAGS="-g"
   4364    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4365 /* end confdefs.h.  */
   4366 
   4367 int
   4368 main (void)
   4369 {
   4370 
   4371   ;
   4372   return 0;
   4373 }
   4374 _ACEOF
   4375 if ac_fn_c_try_compile "$LINENO"
   4376 then :
   4377   ac_cv_prog_cc_g=yes
   4378 else $as_nop
   4379   CFLAGS=""
   4380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4381 /* end confdefs.h.  */
   4382 
   4383 int
   4384 main (void)
   4385 {
   4386 
   4387   ;
   4388   return 0;
   4389 }
   4390 _ACEOF
   4391 if ac_fn_c_try_compile "$LINENO"
   4392 then :
   4393 
   4394 else $as_nop
   4395   ac_c_werror_flag=$ac_save_c_werror_flag
   4396 	 CFLAGS="-g"
   4397 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4398 /* end confdefs.h.  */
   4399 
   4400 int
   4401 main (void)
   4402 {
   4403 
   4404   ;
   4405   return 0;
   4406 }
   4407 _ACEOF
   4408 if ac_fn_c_try_compile "$LINENO"
   4409 then :
   4410   ac_cv_prog_cc_g=yes
   4411 fi
   4412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4413 fi
   4414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4415 fi
   4416 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4417    ac_c_werror_flag=$ac_save_c_werror_flag
   4418 fi
   4419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4420 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4421 if test $ac_test_CFLAGS; then
   4422   CFLAGS=$ac_save_CFLAGS
   4423 elif test $ac_cv_prog_cc_g = yes; then
   4424   if test "$GCC" = yes; then
   4425     CFLAGS="-g -O2"
   4426   else
   4427     CFLAGS="-g"
   4428   fi
   4429 else
   4430   if test "$GCC" = yes; then
   4431     CFLAGS="-O2"
   4432   else
   4433     CFLAGS=
   4434   fi
   4435 fi
   4436 ac_prog_cc_stdc=no
   4437 if test x$ac_prog_cc_stdc = xno
   4438 then :
   4439   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4440 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4441 if test ${ac_cv_prog_cc_c11+y}
   4442 then :
   4443   printf %s "(cached) " >&6
   4444 else $as_nop
   4445   ac_cv_prog_cc_c11=no
   4446 ac_save_CC=$CC
   4447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4448 /* end confdefs.h.  */
   4449 $ac_c_conftest_c11_program
   4450 _ACEOF
   4451 for ac_arg in '' -std=gnu11
   4452 do
   4453   CC="$ac_save_CC $ac_arg"
   4454   if ac_fn_c_try_compile "$LINENO"
   4455 then :
   4456   ac_cv_prog_cc_c11=$ac_arg
   4457 fi
   4458 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4459   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4460 done
   4461 rm -f conftest.$ac_ext
   4462 CC=$ac_save_CC
   4463 fi
   4464 
   4465 if test "x$ac_cv_prog_cc_c11" = xno
   4466 then :
   4467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4468 printf "%s\n" "unsupported" >&6; }
   4469 else $as_nop
   4470   if test "x$ac_cv_prog_cc_c11" = x
   4471 then :
   4472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4473 printf "%s\n" "none needed" >&6; }
   4474 else $as_nop
   4475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4476 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4477      CC="$CC $ac_cv_prog_cc_c11"
   4478 fi
   4479   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4480   ac_prog_cc_stdc=c11
   4481 fi
   4482 fi
   4483 if test x$ac_prog_cc_stdc = xno
   4484 then :
   4485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4486 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4487 if test ${ac_cv_prog_cc_c99+y}
   4488 then :
   4489   printf %s "(cached) " >&6
   4490 else $as_nop
   4491   ac_cv_prog_cc_c99=no
   4492 ac_save_CC=$CC
   4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4494 /* end confdefs.h.  */
   4495 $ac_c_conftest_c99_program
   4496 _ACEOF
   4497 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4498 do
   4499   CC="$ac_save_CC $ac_arg"
   4500   if ac_fn_c_try_compile "$LINENO"
   4501 then :
   4502   ac_cv_prog_cc_c99=$ac_arg
   4503 fi
   4504 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4505   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4506 done
   4507 rm -f conftest.$ac_ext
   4508 CC=$ac_save_CC
   4509 fi
   4510 
   4511 if test "x$ac_cv_prog_cc_c99" = xno
   4512 then :
   4513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4514 printf "%s\n" "unsupported" >&6; }
   4515 else $as_nop
   4516   if test "x$ac_cv_prog_cc_c99" = x
   4517 then :
   4518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4519 printf "%s\n" "none needed" >&6; }
   4520 else $as_nop
   4521   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4522 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4523      CC="$CC $ac_cv_prog_cc_c99"
   4524 fi
   4525   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4526   ac_prog_cc_stdc=c99
   4527 fi
   4528 fi
   4529 if test x$ac_prog_cc_stdc = xno
   4530 then :
   4531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4532 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4533 if test ${ac_cv_prog_cc_c89+y}
   4534 then :
   4535   printf %s "(cached) " >&6
   4536 else $as_nop
   4537   ac_cv_prog_cc_c89=no
   4538 ac_save_CC=$CC
   4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4540 /* end confdefs.h.  */
   4541 $ac_c_conftest_c89_program
   4542 _ACEOF
   4543 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4544 do
   4545   CC="$ac_save_CC $ac_arg"
   4546   if ac_fn_c_try_compile "$LINENO"
   4547 then :
   4548   ac_cv_prog_cc_c89=$ac_arg
   4549 fi
   4550 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4551   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4552 done
   4553 rm -f conftest.$ac_ext
   4554 CC=$ac_save_CC
   4555 fi
   4556 
   4557 if test "x$ac_cv_prog_cc_c89" = xno
   4558 then :
   4559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4560 printf "%s\n" "unsupported" >&6; }
   4561 else $as_nop
   4562   if test "x$ac_cv_prog_cc_c89" = x
   4563 then :
   4564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4565 printf "%s\n" "none needed" >&6; }
   4566 else $as_nop
   4567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4568 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4569      CC="$CC $ac_cv_prog_cc_c89"
   4570 fi
   4571   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4572   ac_prog_cc_stdc=c89
   4573 fi
   4574 fi
   4575 
   4576 ac_ext=c
   4577 ac_cpp='$CPP $CPPFLAGS'
   4578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4581 
   4582 
   4583   ac_ext=c
   4584 ac_cpp='$CPP $CPPFLAGS'
   4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4589 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4590 if test ${am_cv_prog_cc_c_o+y}
   4591 then :
   4592   printf %s "(cached) " >&6
   4593 else $as_nop
   4594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4595 /* end confdefs.h.  */
   4596 
   4597 int
   4598 main (void)
   4599 {
   4600 
   4601   ;
   4602   return 0;
   4603 }
   4604 _ACEOF
   4605   # Make sure it works both with $CC and with simple cc.
   4606   # Following AC_PROG_CC_C_O, we do the test twice because some
   4607   # compilers refuse to overwrite an existing .o file with -o,
   4608   # though they will create one.
   4609   am_cv_prog_cc_c_o=yes
   4610   for am_i in 1 2; do
   4611     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4612    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4613    ac_status=$?
   4614    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4615    (exit $ac_status); } \
   4616          && test -f conftest2.$ac_objext; then
   4617       : OK
   4618     else
   4619       am_cv_prog_cc_c_o=no
   4620       break
   4621     fi
   4622   done
   4623   rm -f core conftest*
   4624   unset am_i
   4625 fi
   4626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4627 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4628 if test "$am_cv_prog_cc_c_o" != yes; then
   4629    # Losing compiler, so override with the script.
   4630    # FIXME: It is wrong to rewrite CC.
   4631    # But if we don't then we get into trouble of one sort or another.
   4632    # A longer-term fix would be to have automake use am__CC in this case,
   4633    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4634    CC="$am_aux_dir/compile $CC"
   4635 fi
   4636 ac_ext=c
   4637 ac_cpp='$CPP $CPPFLAGS'
   4638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4641 
   4642 
   4643 depcc="$CC"   am_compiler_list=
   4644 
   4645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4646 printf %s "checking dependency style of $depcc... " >&6; }
   4647 if test ${am_cv_CC_dependencies_compiler_type+y}
   4648 then :
   4649   printf %s "(cached) " >&6
   4650 else $as_nop
   4651   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4652   # We make a subdir and do the tests there.  Otherwise we can end up
   4653   # making bogus files that we don't know about and never remove.  For
   4654   # instance it was reported that on HP-UX the gcc test will end up
   4655   # making a dummy file named 'D' -- because '-MD' means "put the output
   4656   # in D".
   4657   rm -rf conftest.dir
   4658   mkdir conftest.dir
   4659   # Copy depcomp to subdir because otherwise we won't find it if we're
   4660   # using a relative directory.
   4661   cp "$am_depcomp" conftest.dir
   4662   cd conftest.dir
   4663   # We will build objects and dependencies in a subdirectory because
   4664   # it helps to detect inapplicable dependency modes.  For instance
   4665   # both Tru64's cc and ICC support -MD to output dependencies as a
   4666   # side effect of compilation, but ICC will put the dependencies in
   4667   # the current directory while Tru64 will put them in the object
   4668   # directory.
   4669   mkdir sub
   4670 
   4671   am_cv_CC_dependencies_compiler_type=none
   4672   if test "$am_compiler_list" = ""; then
   4673      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4674   fi
   4675   am__universal=false
   4676   case " $depcc " in #(
   4677      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4678      esac
   4679 
   4680   for depmode in $am_compiler_list; do
   4681     # Setup a source with many dependencies, because some compilers
   4682     # like to wrap large dependency lists on column 80 (with \), and
   4683     # we should not choose a depcomp mode which is confused by this.
   4684     #
   4685     # We need to recreate these files for each test, as the compiler may
   4686     # overwrite some of them when testing with obscure command lines.
   4687     # This happens at least with the AIX C compiler.
   4688     : > sub/conftest.c
   4689     for i in 1 2 3 4 5 6; do
   4690       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4691       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4692       # Solaris 10 /bin/sh.
   4693       echo '/* dummy */' > sub/conftst$i.h
   4694     done
   4695     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4696 
   4697     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4698     # mode.  It turns out that the SunPro C++ compiler does not properly
   4699     # handle '-M -o', and we need to detect this.  Also, some Intel
   4700     # versions had trouble with output in subdirs.
   4701     am__obj=sub/conftest.${OBJEXT-o}
   4702     am__minus_obj="-o $am__obj"
   4703     case $depmode in
   4704     gcc)
   4705       # This depmode causes a compiler race in universal mode.
   4706       test "$am__universal" = false || continue
   4707       ;;
   4708     nosideeffect)
   4709       # After this tag, mechanisms are not by side-effect, so they'll
   4710       # only be used when explicitly requested.
   4711       if test "x$enable_dependency_tracking" = xyes; then
   4712 	continue
   4713       else
   4714 	break
   4715       fi
   4716       ;;
   4717     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4718       # This compiler won't grok '-c -o', but also, the minuso test has
   4719       # not run yet.  These depmodes are late enough in the game, and
   4720       # so weak that their functioning should not be impacted.
   4721       am__obj=conftest.${OBJEXT-o}
   4722       am__minus_obj=
   4723       ;;
   4724     none) break ;;
   4725     esac
   4726     if depmode=$depmode \
   4727        source=sub/conftest.c object=$am__obj \
   4728        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4729        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4730          >/dev/null 2>conftest.err &&
   4731        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4732        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4733        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4734        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4735       # icc doesn't choke on unknown options, it will just issue warnings
   4736       # or remarks (even with -Werror).  So we grep stderr for any message
   4737       # that says an option was ignored or not supported.
   4738       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4739       #   icc: Command line warning: ignoring option '-M'; no argument required
   4740       # The diagnosis changed in icc 8.0:
   4741       #   icc: Command line remark: option '-MP' not supported
   4742       if (grep 'ignoring option' conftest.err ||
   4743           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4744         am_cv_CC_dependencies_compiler_type=$depmode
   4745         break
   4746       fi
   4747     fi
   4748   done
   4749 
   4750   cd ..
   4751   rm -rf conftest.dir
   4752 else
   4753   am_cv_CC_dependencies_compiler_type=none
   4754 fi
   4755 
   4756 fi
   4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4758 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4759 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4760 
   4761  if
   4762   test "x$enable_dependency_tracking" != xno \
   4763   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4764   am__fastdepCC_TRUE=
   4765   am__fastdepCC_FALSE='#'
   4766 else
   4767   am__fastdepCC_TRUE='#'
   4768   am__fastdepCC_FALSE=
   4769 fi
   4770 
   4771 
   4772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4773 printf %s "checking for a sed that does not truncate output... " >&6; }
   4774 if test ${ac_cv_path_SED+y}
   4775 then :
   4776   printf %s "(cached) " >&6
   4777 else $as_nop
   4778             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4779      for ac_i in 1 2 3 4 5 6 7; do
   4780        ac_script="$ac_script$as_nl$ac_script"
   4781      done
   4782      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4783      { ac_script=; unset ac_script;}
   4784      if test -z "$SED"; then
   4785   ac_path_SED_found=false
   4786   # Loop through the user's path and test for each of PROGNAME-LIST
   4787   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4788 for as_dir in $PATH
   4789 do
   4790   IFS=$as_save_IFS
   4791   case $as_dir in #(((
   4792     '') as_dir=./ ;;
   4793     */) ;;
   4794     *) as_dir=$as_dir/ ;;
   4795   esac
   4796     for ac_prog in sed gsed
   4797    do
   4798     for ac_exec_ext in '' $ac_executable_extensions; do
   4799       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4800       as_fn_executable_p "$ac_path_SED" || continue
   4801 # Check for GNU ac_path_SED and select it if it is found.
   4802   # Check for GNU $ac_path_SED
   4803 case `"$ac_path_SED" --version 2>&1` in
   4804 *GNU*)
   4805   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4806 *)
   4807   ac_count=0
   4808   printf %s 0123456789 >"conftest.in"
   4809   while :
   4810   do
   4811     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4812     mv "conftest.tmp" "conftest.in"
   4813     cp "conftest.in" "conftest.nl"
   4814     printf "%s\n" '' >> "conftest.nl"
   4815     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4816     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4817     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4818     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4819       # Best one so far, save it but keep looking for a better one
   4820       ac_cv_path_SED="$ac_path_SED"
   4821       ac_path_SED_max=$ac_count
   4822     fi
   4823     # 10*(2^10) chars as input seems more than enough
   4824     test $ac_count -gt 10 && break
   4825   done
   4826   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4827 esac
   4828 
   4829       $ac_path_SED_found && break 3
   4830     done
   4831   done
   4832   done
   4833 IFS=$as_save_IFS
   4834   if test -z "$ac_cv_path_SED"; then
   4835     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4836   fi
   4837 else
   4838   ac_cv_path_SED=$SED
   4839 fi
   4840 
   4841 fi
   4842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4843 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4844  SED="$ac_cv_path_SED"
   4845   rm -f conftest.sed
   4846 
   4847 test -z "$SED" && SED=sed
   4848 Xsed="$SED -e 1s/^X//"
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4861 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4862 if test ${ac_cv_path_GREP+y}
   4863 then :
   4864   printf %s "(cached) " >&6
   4865 else $as_nop
   4866   if test -z "$GREP"; then
   4867   ac_path_GREP_found=false
   4868   # Loop through the user's path and test for each of PROGNAME-LIST
   4869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4870 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4871 do
   4872   IFS=$as_save_IFS
   4873   case $as_dir in #(((
   4874     '') as_dir=./ ;;
   4875     */) ;;
   4876     *) as_dir=$as_dir/ ;;
   4877   esac
   4878     for ac_prog in grep ggrep
   4879    do
   4880     for ac_exec_ext in '' $ac_executable_extensions; do
   4881       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4882       as_fn_executable_p "$ac_path_GREP" || continue
   4883 # Check for GNU ac_path_GREP and select it if it is found.
   4884   # Check for GNU $ac_path_GREP
   4885 case `"$ac_path_GREP" --version 2>&1` in
   4886 *GNU*)
   4887   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4888 *)
   4889   ac_count=0
   4890   printf %s 0123456789 >"conftest.in"
   4891   while :
   4892   do
   4893     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4894     mv "conftest.tmp" "conftest.in"
   4895     cp "conftest.in" "conftest.nl"
   4896     printf "%s\n" 'GREP' >> "conftest.nl"
   4897     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4898     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4899     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4900     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4901       # Best one so far, save it but keep looking for a better one
   4902       ac_cv_path_GREP="$ac_path_GREP"
   4903       ac_path_GREP_max=$ac_count
   4904     fi
   4905     # 10*(2^10) chars as input seems more than enough
   4906     test $ac_count -gt 10 && break
   4907   done
   4908   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4909 esac
   4910 
   4911       $ac_path_GREP_found && break 3
   4912     done
   4913   done
   4914   done
   4915 IFS=$as_save_IFS
   4916   if test -z "$ac_cv_path_GREP"; then
   4917     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4918   fi
   4919 else
   4920   ac_cv_path_GREP=$GREP
   4921 fi
   4922 
   4923 fi
   4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4925 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4926  GREP="$ac_cv_path_GREP"
   4927 
   4928 
   4929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4930 printf %s "checking for egrep... " >&6; }
   4931 if test ${ac_cv_path_EGREP+y}
   4932 then :
   4933   printf %s "(cached) " >&6
   4934 else $as_nop
   4935   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4936    then ac_cv_path_EGREP="$GREP -E"
   4937    else
   4938      if test -z "$EGREP"; then
   4939   ac_path_EGREP_found=false
   4940   # Loop through the user's path and test for each of PROGNAME-LIST
   4941   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4943 do
   4944   IFS=$as_save_IFS
   4945   case $as_dir in #(((
   4946     '') as_dir=./ ;;
   4947     */) ;;
   4948     *) as_dir=$as_dir/ ;;
   4949   esac
   4950     for ac_prog in egrep
   4951    do
   4952     for ac_exec_ext in '' $ac_executable_extensions; do
   4953       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4954       as_fn_executable_p "$ac_path_EGREP" || continue
   4955 # Check for GNU ac_path_EGREP and select it if it is found.
   4956   # Check for GNU $ac_path_EGREP
   4957 case `"$ac_path_EGREP" --version 2>&1` in
   4958 *GNU*)
   4959   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4960 *)
   4961   ac_count=0
   4962   printf %s 0123456789 >"conftest.in"
   4963   while :
   4964   do
   4965     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4966     mv "conftest.tmp" "conftest.in"
   4967     cp "conftest.in" "conftest.nl"
   4968     printf "%s\n" 'EGREP' >> "conftest.nl"
   4969     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4970     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4971     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4972     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4973       # Best one so far, save it but keep looking for a better one
   4974       ac_cv_path_EGREP="$ac_path_EGREP"
   4975       ac_path_EGREP_max=$ac_count
   4976     fi
   4977     # 10*(2^10) chars as input seems more than enough
   4978     test $ac_count -gt 10 && break
   4979   done
   4980   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4981 esac
   4982 
   4983       $ac_path_EGREP_found && break 3
   4984     done
   4985   done
   4986   done
   4987 IFS=$as_save_IFS
   4988   if test -z "$ac_cv_path_EGREP"; then
   4989     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4990   fi
   4991 else
   4992   ac_cv_path_EGREP=$EGREP
   4993 fi
   4994 
   4995    fi
   4996 fi
   4997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4998 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4999  EGREP="$ac_cv_path_EGREP"
   5000 
   5001 
   5002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5003 printf %s "checking for fgrep... " >&6; }
   5004 if test ${ac_cv_path_FGREP+y}
   5005 then :
   5006   printf %s "(cached) " >&6
   5007 else $as_nop
   5008   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5009    then ac_cv_path_FGREP="$GREP -F"
   5010    else
   5011      if test -z "$FGREP"; then
   5012   ac_path_FGREP_found=false
   5013   # Loop through the user's path and test for each of PROGNAME-LIST
   5014   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5015 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5016 do
   5017   IFS=$as_save_IFS
   5018   case $as_dir in #(((
   5019     '') as_dir=./ ;;
   5020     */) ;;
   5021     *) as_dir=$as_dir/ ;;
   5022   esac
   5023     for ac_prog in fgrep
   5024    do
   5025     for ac_exec_ext in '' $ac_executable_extensions; do
   5026       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5027       as_fn_executable_p "$ac_path_FGREP" || continue
   5028 # Check for GNU ac_path_FGREP and select it if it is found.
   5029   # Check for GNU $ac_path_FGREP
   5030 case `"$ac_path_FGREP" --version 2>&1` in
   5031 *GNU*)
   5032   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5033 *)
   5034   ac_count=0
   5035   printf %s 0123456789 >"conftest.in"
   5036   while :
   5037   do
   5038     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5039     mv "conftest.tmp" "conftest.in"
   5040     cp "conftest.in" "conftest.nl"
   5041     printf "%s\n" 'FGREP' >> "conftest.nl"
   5042     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5043     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5044     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5045     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5046       # Best one so far, save it but keep looking for a better one
   5047       ac_cv_path_FGREP="$ac_path_FGREP"
   5048       ac_path_FGREP_max=$ac_count
   5049     fi
   5050     # 10*(2^10) chars as input seems more than enough
   5051     test $ac_count -gt 10 && break
   5052   done
   5053   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5054 esac
   5055 
   5056       $ac_path_FGREP_found && break 3
   5057     done
   5058   done
   5059   done
   5060 IFS=$as_save_IFS
   5061   if test -z "$ac_cv_path_FGREP"; then
   5062     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5063   fi
   5064 else
   5065   ac_cv_path_FGREP=$FGREP
   5066 fi
   5067 
   5068    fi
   5069 fi
   5070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5071 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5072  FGREP="$ac_cv_path_FGREP"
   5073 
   5074 
   5075 test -z "$GREP" && GREP=grep
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 # Check whether --with-gnu-ld was given.
   5096 if test ${with_gnu_ld+y}
   5097 then :
   5098   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5099 else $as_nop
   5100   with_gnu_ld=no
   5101 fi
   5102 
   5103 ac_prog=ld
   5104 if test yes = "$GCC"; then
   5105   # Check if gcc -print-prog-name=ld gives a path.
   5106   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5107 printf %s "checking for ld used by $CC... " >&6; }
   5108   case $host in
   5109   *-*-mingw*)
   5110     # gcc leaves a trailing carriage return, which upsets mingw
   5111     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5112   *)
   5113     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5114   esac
   5115   case $ac_prog in
   5116     # Accept absolute paths.
   5117     [\\/]* | ?:[\\/]*)
   5118       re_direlt='/[^/][^/]*/\.\./'
   5119       # Canonicalize the pathname of ld
   5120       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5121       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5122 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5123       done
   5124       test -z "$LD" && LD=$ac_prog
   5125       ;;
   5126   "")
   5127     # If it fails, then pretend we aren't using GCC.
   5128     ac_prog=ld
   5129     ;;
   5130   *)
   5131     # If it is relative, then search for the first ld in PATH.
   5132     with_gnu_ld=unknown
   5133     ;;
   5134   esac
   5135 elif test yes = "$with_gnu_ld"; then
   5136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5137 printf %s "checking for GNU ld... " >&6; }
   5138 else
   5139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5140 printf %s "checking for non-GNU ld... " >&6; }
   5141 fi
   5142 if test ${lt_cv_path_LD+y}
   5143 then :
   5144   printf %s "(cached) " >&6
   5145 else $as_nop
   5146   if test -z "$LD"; then
   5147   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5148   for ac_dir in $PATH; do
   5149     IFS=$lt_save_ifs
   5150     test -z "$ac_dir" && ac_dir=.
   5151     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5152       lt_cv_path_LD=$ac_dir/$ac_prog
   5153       # Check to see if the program is GNU ld.  I'd rather use --version,
   5154       # but apparently some variants of GNU ld only accept -v.
   5155       # Break only if it was the GNU/non-GNU ld that we prefer.
   5156       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5157       *GNU* | *'with BFD'*)
   5158 	test no != "$with_gnu_ld" && break
   5159 	;;
   5160       *)
   5161 	test yes != "$with_gnu_ld" && break
   5162 	;;
   5163       esac
   5164     fi
   5165   done
   5166   IFS=$lt_save_ifs
   5167 else
   5168   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5169 fi
   5170 fi
   5171 
   5172 LD=$lt_cv_path_LD
   5173 if test -n "$LD"; then
   5174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5175 printf "%s\n" "$LD" >&6; }
   5176 else
   5177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5178 printf "%s\n" "no" >&6; }
   5179 fi
   5180 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5182 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5183 if test ${lt_cv_prog_gnu_ld+y}
   5184 then :
   5185   printf %s "(cached) " >&6
   5186 else $as_nop
   5187   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5188 case `$LD -v 2>&1 </dev/null` in
   5189 *GNU* | *'with BFD'*)
   5190   lt_cv_prog_gnu_ld=yes
   5191   ;;
   5192 *)
   5193   lt_cv_prog_gnu_ld=no
   5194   ;;
   5195 esac
   5196 fi
   5197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5198 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5199 with_gnu_ld=$lt_cv_prog_gnu_ld
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5210 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5211 if test ${lt_cv_path_NM+y}
   5212 then :
   5213   printf %s "(cached) " >&6
   5214 else $as_nop
   5215   if test -n "$NM"; then
   5216   # Let the user override the test.
   5217   lt_cv_path_NM=$NM
   5218 else
   5219   lt_nm_to_check=${ac_tool_prefix}nm
   5220   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5221     lt_nm_to_check="$lt_nm_to_check nm"
   5222   fi
   5223   for lt_tmp_nm in $lt_nm_to_check; do
   5224     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5225     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5226       IFS=$lt_save_ifs
   5227       test -z "$ac_dir" && ac_dir=.
   5228       tmp_nm=$ac_dir/$lt_tmp_nm
   5229       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5230 	# Check to see if the nm accepts a BSD-compat flag.
   5231 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5232 	#   nm: unknown option "B" ignored
   5233 	# Tru64's nm complains that /dev/null is an invalid object file
   5234 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5235 	case $build_os in
   5236 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5237 	*) lt_bad_file=/dev/null ;;
   5238 	esac
   5239 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5240 	*$lt_bad_file* | *'Invalid file or object type'*)
   5241 	  lt_cv_path_NM="$tmp_nm -B"
   5242 	  break 2
   5243 	  ;;
   5244 	*)
   5245 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5246 	  */dev/null*)
   5247 	    lt_cv_path_NM="$tmp_nm -p"
   5248 	    break 2
   5249 	    ;;
   5250 	  *)
   5251 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5252 	    continue # so that we can try to find one that supports BSD flags
   5253 	    ;;
   5254 	  esac
   5255 	  ;;
   5256 	esac
   5257       fi
   5258     done
   5259     IFS=$lt_save_ifs
   5260   done
   5261   : ${lt_cv_path_NM=no}
   5262 fi
   5263 fi
   5264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5265 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5266 if test no != "$lt_cv_path_NM"; then
   5267   NM=$lt_cv_path_NM
   5268 else
   5269   # Didn't find any BSD compatible name lister, look for dumpbin.
   5270   if test -n "$DUMPBIN"; then :
   5271     # Let the user override the test.
   5272   else
   5273     if test -n "$ac_tool_prefix"; then
   5274   for ac_prog in dumpbin "link -dump"
   5275   do
   5276     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5279 printf %s "checking for $ac_word... " >&6; }
   5280 if test ${ac_cv_prog_DUMPBIN+y}
   5281 then :
   5282   printf %s "(cached) " >&6
   5283 else $as_nop
   5284   if test -n "$DUMPBIN"; then
   5285   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5286 else
   5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5288 for as_dir in $PATH
   5289 do
   5290   IFS=$as_save_IFS
   5291   case $as_dir in #(((
   5292     '') as_dir=./ ;;
   5293     */) ;;
   5294     *) as_dir=$as_dir/ ;;
   5295   esac
   5296     for ac_exec_ext in '' $ac_executable_extensions; do
   5297   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5298     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5299     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5300     break 2
   5301   fi
   5302 done
   5303   done
   5304 IFS=$as_save_IFS
   5305 
   5306 fi
   5307 fi
   5308 DUMPBIN=$ac_cv_prog_DUMPBIN
   5309 if test -n "$DUMPBIN"; then
   5310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5311 printf "%s\n" "$DUMPBIN" >&6; }
   5312 else
   5313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5314 printf "%s\n" "no" >&6; }
   5315 fi
   5316 
   5317 
   5318     test -n "$DUMPBIN" && break
   5319   done
   5320 fi
   5321 if test -z "$DUMPBIN"; then
   5322   ac_ct_DUMPBIN=$DUMPBIN
   5323   for ac_prog in dumpbin "link -dump"
   5324 do
   5325   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5326 set dummy $ac_prog; ac_word=$2
   5327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5328 printf %s "checking for $ac_word... " >&6; }
   5329 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5330 then :
   5331   printf %s "(cached) " >&6
   5332 else $as_nop
   5333   if test -n "$ac_ct_DUMPBIN"; then
   5334   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5335 else
   5336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5337 for as_dir in $PATH
   5338 do
   5339   IFS=$as_save_IFS
   5340   case $as_dir in #(((
   5341     '') as_dir=./ ;;
   5342     */) ;;
   5343     *) as_dir=$as_dir/ ;;
   5344   esac
   5345     for ac_exec_ext in '' $ac_executable_extensions; do
   5346   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5347     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5348     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5349     break 2
   5350   fi
   5351 done
   5352   done
   5353 IFS=$as_save_IFS
   5354 
   5355 fi
   5356 fi
   5357 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5358 if test -n "$ac_ct_DUMPBIN"; then
   5359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5360 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5361 else
   5362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5363 printf "%s\n" "no" >&6; }
   5364 fi
   5365 
   5366 
   5367   test -n "$ac_ct_DUMPBIN" && break
   5368 done
   5369 
   5370   if test "x$ac_ct_DUMPBIN" = x; then
   5371     DUMPBIN=":"
   5372   else
   5373     case $cross_compiling:$ac_tool_warned in
   5374 yes:)
   5375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5376 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5377 ac_tool_warned=yes ;;
   5378 esac
   5379     DUMPBIN=$ac_ct_DUMPBIN
   5380   fi
   5381 fi
   5382 
   5383     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5384     *COFF*)
   5385       DUMPBIN="$DUMPBIN -symbols -headers"
   5386       ;;
   5387     *)
   5388       DUMPBIN=:
   5389       ;;
   5390     esac
   5391   fi
   5392 
   5393   if test : != "$DUMPBIN"; then
   5394     NM=$DUMPBIN
   5395   fi
   5396 fi
   5397 test -z "$NM" && NM=nm
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5405 printf %s "checking the name lister ($NM) interface... " >&6; }
   5406 if test ${lt_cv_nm_interface+y}
   5407 then :
   5408   printf %s "(cached) " >&6
   5409 else $as_nop
   5410   lt_cv_nm_interface="BSD nm"
   5411   echo "int some_variable = 0;" > conftest.$ac_ext
   5412   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5413   (eval "$ac_compile" 2>conftest.err)
   5414   cat conftest.err >&5
   5415   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5416   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5417   cat conftest.err >&5
   5418   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5419   cat conftest.out >&5
   5420   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5421     lt_cv_nm_interface="MS dumpbin"
   5422   fi
   5423   rm -f conftest*
   5424 fi
   5425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5426 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5427 
   5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5429 printf %s "checking whether ln -s works... " >&6; }
   5430 LN_S=$as_ln_s
   5431 if test "$LN_S" = "ln -s"; then
   5432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5433 printf "%s\n" "yes" >&6; }
   5434 else
   5435   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5436 printf "%s\n" "no, using $LN_S" >&6; }
   5437 fi
   5438 
   5439 # find the maximum length of command line arguments
   5440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5441 printf %s "checking the maximum length of command line arguments... " >&6; }
   5442 if test ${lt_cv_sys_max_cmd_len+y}
   5443 then :
   5444   printf %s "(cached) " >&6
   5445 else $as_nop
   5446     i=0
   5447   teststring=ABCD
   5448 
   5449   case $build_os in
   5450   msdosdjgpp*)
   5451     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5452     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5453     # during glob expansion).  Even if it were fixed, the result of this
   5454     # check would be larger than it should be.
   5455     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5456     ;;
   5457 
   5458   gnu*)
   5459     # Under GNU Hurd, this test is not required because there is
   5460     # no limit to the length of command line arguments.
   5461     # Libtool will interpret -1 as no limit whatsoever
   5462     lt_cv_sys_max_cmd_len=-1;
   5463     ;;
   5464 
   5465   cygwin* | mingw* | cegcc*)
   5466     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5467     # about 5 minutes as the teststring grows exponentially.
   5468     # Worse, since 9x/ME are not pre-emptively multitasking,
   5469     # you end up with a "frozen" computer, even though with patience
   5470     # the test eventually succeeds (with a max line length of 256k).
   5471     # Instead, let's just punt: use the minimum linelength reported by
   5472     # all of the supported platforms: 8192 (on NT/2K/XP).
   5473     lt_cv_sys_max_cmd_len=8192;
   5474     ;;
   5475 
   5476   mint*)
   5477     # On MiNT this can take a long time and run out of memory.
   5478     lt_cv_sys_max_cmd_len=8192;
   5479     ;;
   5480 
   5481   amigaos*)
   5482     # On AmigaOS with pdksh, this test takes hours, literally.
   5483     # So we just punt and use a minimum line length of 8192.
   5484     lt_cv_sys_max_cmd_len=8192;
   5485     ;;
   5486 
   5487   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5488     # This has been around since 386BSD, at least.  Likely further.
   5489     if test -x /sbin/sysctl; then
   5490       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5491     elif test -x /usr/sbin/sysctl; then
   5492       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5493     else
   5494       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5495     fi
   5496     # And add a safety zone
   5497     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5498     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5499     ;;
   5500 
   5501   interix*)
   5502     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5503     lt_cv_sys_max_cmd_len=196608
   5504     ;;
   5505 
   5506   os2*)
   5507     # The test takes a long time on OS/2.
   5508     lt_cv_sys_max_cmd_len=8192
   5509     ;;
   5510 
   5511   osf*)
   5512     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5513     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5514     # nice to cause kernel panics so lets avoid the loop below.
   5515     # First set a reasonable default.
   5516     lt_cv_sys_max_cmd_len=16384
   5517     #
   5518     if test -x /sbin/sysconfig; then
   5519       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5520         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5521       esac
   5522     fi
   5523     ;;
   5524   sco3.2v5*)
   5525     lt_cv_sys_max_cmd_len=102400
   5526     ;;
   5527   sysv5* | sco5v6* | sysv4.2uw2*)
   5528     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5529     if test -n "$kargmax"; then
   5530       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5531     else
   5532       lt_cv_sys_max_cmd_len=32768
   5533     fi
   5534     ;;
   5535   *)
   5536     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5537     if test -n "$lt_cv_sys_max_cmd_len" && \
   5538        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5539       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5540       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5541     else
   5542       # Make teststring a little bigger before we do anything with it.
   5543       # a 1K string should be a reasonable start.
   5544       for i in 1 2 3 4 5 6 7 8; do
   5545         teststring=$teststring$teststring
   5546       done
   5547       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5548       # If test is not a shell built-in, we'll probably end up computing a
   5549       # maximum length that is only half of the actual maximum length, but
   5550       # we can't tell.
   5551       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5552 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5553 	      test 17 != "$i" # 1/2 MB should be enough
   5554       do
   5555         i=`expr $i + 1`
   5556         teststring=$teststring$teststring
   5557       done
   5558       # Only check the string length outside the loop.
   5559       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5560       teststring=
   5561       # Add a significant safety factor because C++ compilers can tack on
   5562       # massive amounts of additional arguments before passing them to the
   5563       # linker.  It appears as though 1/2 is a usable value.
   5564       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5565     fi
   5566     ;;
   5567   esac
   5568 
   5569 fi
   5570 
   5571 if test -n "$lt_cv_sys_max_cmd_len"; then
   5572   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5573 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5574 else
   5575   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5576 printf "%s\n" "none" >&6; }
   5577 fi
   5578 max_cmd_len=$lt_cv_sys_max_cmd_len
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 : ${CP="cp -f"}
   5586 : ${MV="mv -f"}
   5587 : ${RM="rm -f"}
   5588 
   5589 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5590   lt_unset=unset
   5591 else
   5592   lt_unset=false
   5593 fi
   5594 
   5595 
   5596 
   5597 
   5598 
   5599 # test EBCDIC or ASCII
   5600 case `echo X|tr X '\101'` in
   5601  A) # ASCII based system
   5602     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5603   lt_SP2NL='tr \040 \012'
   5604   lt_NL2SP='tr \015\012 \040\040'
   5605   ;;
   5606  *) # EBCDIC based system
   5607   lt_SP2NL='tr \100 \n'
   5608   lt_NL2SP='tr \r\n \100\100'
   5609   ;;
   5610 esac
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5621 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5622 if test ${lt_cv_to_host_file_cmd+y}
   5623 then :
   5624   printf %s "(cached) " >&6
   5625 else $as_nop
   5626   case $host in
   5627   *-*-mingw* )
   5628     case $build in
   5629       *-*-mingw* ) # actually msys
   5630         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5631         ;;
   5632       *-*-cygwin* )
   5633         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5634         ;;
   5635       * ) # otherwise, assume *nix
   5636         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5637         ;;
   5638     esac
   5639     ;;
   5640   *-*-cygwin* )
   5641     case $build in
   5642       *-*-mingw* ) # actually msys
   5643         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5644         ;;
   5645       *-*-cygwin* )
   5646         lt_cv_to_host_file_cmd=func_convert_file_noop
   5647         ;;
   5648       * ) # otherwise, assume *nix
   5649         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5650         ;;
   5651     esac
   5652     ;;
   5653   * ) # unhandled hosts (and "normal" native builds)
   5654     lt_cv_to_host_file_cmd=func_convert_file_noop
   5655     ;;
   5656 esac
   5657 
   5658 fi
   5659 
   5660 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5662 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5669 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5670 if test ${lt_cv_to_tool_file_cmd+y}
   5671 then :
   5672   printf %s "(cached) " >&6
   5673 else $as_nop
   5674   #assume ordinary cross tools, or native build.
   5675 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5676 case $host in
   5677   *-*-mingw* )
   5678     case $build in
   5679       *-*-mingw* ) # actually msys
   5680         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5681         ;;
   5682     esac
   5683     ;;
   5684 esac
   5685 
   5686 fi
   5687 
   5688 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5690 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5697 printf %s "checking for $LD option to reload object files... " >&6; }
   5698 if test ${lt_cv_ld_reload_flag+y}
   5699 then :
   5700   printf %s "(cached) " >&6
   5701 else $as_nop
   5702   lt_cv_ld_reload_flag='-r'
   5703 fi
   5704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5705 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5706 reload_flag=$lt_cv_ld_reload_flag
   5707 case $reload_flag in
   5708 "" | " "*) ;;
   5709 *) reload_flag=" $reload_flag" ;;
   5710 esac
   5711 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5712 case $host_os in
   5713   cygwin* | mingw* | pw32* | cegcc*)
   5714     if test yes != "$GCC"; then
   5715       reload_cmds=false
   5716     fi
   5717     ;;
   5718   darwin*)
   5719     if test yes = "$GCC"; then
   5720       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5721     else
   5722       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5723     fi
   5724     ;;
   5725 esac
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 if test -n "$ac_tool_prefix"; then
   5736   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5737 set dummy ${ac_tool_prefix}file; ac_word=$2
   5738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5739 printf %s "checking for $ac_word... " >&6; }
   5740 if test ${ac_cv_prog_FILECMD+y}
   5741 then :
   5742   printf %s "(cached) " >&6
   5743 else $as_nop
   5744   if test -n "$FILECMD"; then
   5745   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5746 else
   5747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5748 for as_dir in $PATH
   5749 do
   5750   IFS=$as_save_IFS
   5751   case $as_dir in #(((
   5752     '') as_dir=./ ;;
   5753     */) ;;
   5754     *) as_dir=$as_dir/ ;;
   5755   esac
   5756     for ac_exec_ext in '' $ac_executable_extensions; do
   5757   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5758     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5759     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5760     break 2
   5761   fi
   5762 done
   5763   done
   5764 IFS=$as_save_IFS
   5765 
   5766 fi
   5767 fi
   5768 FILECMD=$ac_cv_prog_FILECMD
   5769 if test -n "$FILECMD"; then
   5770   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5771 printf "%s\n" "$FILECMD" >&6; }
   5772 else
   5773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5774 printf "%s\n" "no" >&6; }
   5775 fi
   5776 
   5777 
   5778 fi
   5779 if test -z "$ac_cv_prog_FILECMD"; then
   5780   ac_ct_FILECMD=$FILECMD
   5781   # Extract the first word of "file", so it can be a program name with args.
   5782 set dummy file; ac_word=$2
   5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5784 printf %s "checking for $ac_word... " >&6; }
   5785 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5786 then :
   5787   printf %s "(cached) " >&6
   5788 else $as_nop
   5789   if test -n "$ac_ct_FILECMD"; then
   5790   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5791 else
   5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5793 for as_dir in $PATH
   5794 do
   5795   IFS=$as_save_IFS
   5796   case $as_dir in #(((
   5797     '') as_dir=./ ;;
   5798     */) ;;
   5799     *) as_dir=$as_dir/ ;;
   5800   esac
   5801     for ac_exec_ext in '' $ac_executable_extensions; do
   5802   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5803     ac_cv_prog_ac_ct_FILECMD="file"
   5804     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5805     break 2
   5806   fi
   5807 done
   5808   done
   5809 IFS=$as_save_IFS
   5810 
   5811 fi
   5812 fi
   5813 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5814 if test -n "$ac_ct_FILECMD"; then
   5815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5816 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5817 else
   5818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5819 printf "%s\n" "no" >&6; }
   5820 fi
   5821 
   5822   if test "x$ac_ct_FILECMD" = x; then
   5823     FILECMD=":"
   5824   else
   5825     case $cross_compiling:$ac_tool_warned in
   5826 yes:)
   5827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5828 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5829 ac_tool_warned=yes ;;
   5830 esac
   5831     FILECMD=$ac_ct_FILECMD
   5832   fi
   5833 else
   5834   FILECMD="$ac_cv_prog_FILECMD"
   5835 fi
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 if test -n "$ac_tool_prefix"; then
   5844   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5845 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5847 printf %s "checking for $ac_word... " >&6; }
   5848 if test ${ac_cv_prog_OBJDUMP+y}
   5849 then :
   5850   printf %s "(cached) " >&6
   5851 else $as_nop
   5852   if test -n "$OBJDUMP"; then
   5853   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5854 else
   5855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5856 for as_dir in $PATH
   5857 do
   5858   IFS=$as_save_IFS
   5859   case $as_dir in #(((
   5860     '') as_dir=./ ;;
   5861     */) ;;
   5862     *) as_dir=$as_dir/ ;;
   5863   esac
   5864     for ac_exec_ext in '' $ac_executable_extensions; do
   5865   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5866     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5867     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5868     break 2
   5869   fi
   5870 done
   5871   done
   5872 IFS=$as_save_IFS
   5873 
   5874 fi
   5875 fi
   5876 OBJDUMP=$ac_cv_prog_OBJDUMP
   5877 if test -n "$OBJDUMP"; then
   5878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5879 printf "%s\n" "$OBJDUMP" >&6; }
   5880 else
   5881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5882 printf "%s\n" "no" >&6; }
   5883 fi
   5884 
   5885 
   5886 fi
   5887 if test -z "$ac_cv_prog_OBJDUMP"; then
   5888   ac_ct_OBJDUMP=$OBJDUMP
   5889   # Extract the first word of "objdump", so it can be a program name with args.
   5890 set dummy objdump; ac_word=$2
   5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5892 printf %s "checking for $ac_word... " >&6; }
   5893 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5894 then :
   5895   printf %s "(cached) " >&6
   5896 else $as_nop
   5897   if test -n "$ac_ct_OBJDUMP"; then
   5898   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5899 else
   5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5901 for as_dir in $PATH
   5902 do
   5903   IFS=$as_save_IFS
   5904   case $as_dir in #(((
   5905     '') as_dir=./ ;;
   5906     */) ;;
   5907     *) as_dir=$as_dir/ ;;
   5908   esac
   5909     for ac_exec_ext in '' $ac_executable_extensions; do
   5910   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5911     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5912     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5913     break 2
   5914   fi
   5915 done
   5916   done
   5917 IFS=$as_save_IFS
   5918 
   5919 fi
   5920 fi
   5921 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5922 if test -n "$ac_ct_OBJDUMP"; then
   5923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5924 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5925 else
   5926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5927 printf "%s\n" "no" >&6; }
   5928 fi
   5929 
   5930   if test "x$ac_ct_OBJDUMP" = x; then
   5931     OBJDUMP="false"
   5932   else
   5933     case $cross_compiling:$ac_tool_warned in
   5934 yes:)
   5935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5936 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5937 ac_tool_warned=yes ;;
   5938 esac
   5939     OBJDUMP=$ac_ct_OBJDUMP
   5940   fi
   5941 else
   5942   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5943 fi
   5944 
   5945 test -z "$OBJDUMP" && OBJDUMP=objdump
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 
   5952 
   5953 
   5954 
   5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5956 printf %s "checking how to recognize dependent libraries... " >&6; }
   5957 if test ${lt_cv_deplibs_check_method+y}
   5958 then :
   5959   printf %s "(cached) " >&6
   5960 else $as_nop
   5961   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5962 lt_cv_file_magic_test_file=
   5963 lt_cv_deplibs_check_method='unknown'
   5964 # Need to set the preceding variable on all platforms that support
   5965 # interlibrary dependencies.
   5966 # 'none' -- dependencies not supported.
   5967 # 'unknown' -- same as none, but documents that we really don't know.
   5968 # 'pass_all' -- all dependencies passed with no checks.
   5969 # 'test_compile' -- check by making test program.
   5970 # 'file_magic [[regex]]' -- check by looking for files in library path
   5971 # that responds to the $file_magic_cmd with a given extended regex.
   5972 # If you have 'file' or equivalent on your system and you're not sure
   5973 # whether 'pass_all' will *always* work, you probably want this one.
   5974 
   5975 case $host_os in
   5976 aix[4-9]*)
   5977   lt_cv_deplibs_check_method=pass_all
   5978   ;;
   5979 
   5980 beos*)
   5981   lt_cv_deplibs_check_method=pass_all
   5982   ;;
   5983 
   5984 bsdi[45]*)
   5985   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5986   lt_cv_file_magic_cmd='$FILECMD -L'
   5987   lt_cv_file_magic_test_file=/shlib/libc.so
   5988   ;;
   5989 
   5990 cygwin*)
   5991   # func_win32_libid is a shell function defined in ltmain.sh
   5992   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5993   lt_cv_file_magic_cmd='func_win32_libid'
   5994   ;;
   5995 
   5996 mingw* | pw32*)
   5997   # Base MSYS/MinGW do not provide the 'file' command needed by
   5998   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5999   # unless we find 'file', for example because we are cross-compiling.
   6000   if ( file / ) >/dev/null 2>&1; then
   6001     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6002     lt_cv_file_magic_cmd='func_win32_libid'
   6003   else
   6004     # Keep this pattern in sync with the one in func_win32_libid.
   6005     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6006     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6007   fi
   6008   ;;
   6009 
   6010 cegcc*)
   6011   # use the weaker test based on 'objdump'. See mingw*.
   6012   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6013   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6014   ;;
   6015 
   6016 darwin* | rhapsody*)
   6017   lt_cv_deplibs_check_method=pass_all
   6018   ;;
   6019 
   6020 freebsd* | dragonfly* | midnightbsd*)
   6021   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6022     case $host_cpu in
   6023     i*86 )
   6024       # Not sure whether the presence of OpenBSD here was a mistake.
   6025       # Let's accept both of them until this is cleared up.
   6026       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6027       lt_cv_file_magic_cmd=$FILECMD
   6028       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6029       ;;
   6030     esac
   6031   else
   6032     lt_cv_deplibs_check_method=pass_all
   6033   fi
   6034   ;;
   6035 
   6036 haiku*)
   6037   lt_cv_deplibs_check_method=pass_all
   6038   ;;
   6039 
   6040 hpux10.20* | hpux11*)
   6041   lt_cv_file_magic_cmd=$FILECMD
   6042   case $host_cpu in
   6043   ia64*)
   6044     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6045     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6046     ;;
   6047   hppa*64*)
   6048     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]'
   6049     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6050     ;;
   6051   *)
   6052     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6053     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6054     ;;
   6055   esac
   6056   ;;
   6057 
   6058 interix[3-9]*)
   6059   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6060   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6061   ;;
   6062 
   6063 irix5* | irix6* | nonstopux*)
   6064   case $LD in
   6065   *-32|*"-32 ") libmagic=32-bit;;
   6066   *-n32|*"-n32 ") libmagic=N32;;
   6067   *-64|*"-64 ") libmagic=64-bit;;
   6068   *) libmagic=never-match;;
   6069   esac
   6070   lt_cv_deplibs_check_method=pass_all
   6071   ;;
   6072 
   6073 # This must be glibc/ELF.
   6074 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6075   lt_cv_deplibs_check_method=pass_all
   6076   ;;
   6077 
   6078 netbsd* | netbsdelf*-gnu)
   6079   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6080     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6081   else
   6082     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6083   fi
   6084   ;;
   6085 
   6086 newos6*)
   6087   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6088   lt_cv_file_magic_cmd=$FILECMD
   6089   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6090   ;;
   6091 
   6092 *nto* | *qnx*)
   6093   lt_cv_deplibs_check_method=pass_all
   6094   ;;
   6095 
   6096 openbsd* | bitrig*)
   6097   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6098     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6099   else
   6100     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6101   fi
   6102   ;;
   6103 
   6104 osf3* | osf4* | osf5*)
   6105   lt_cv_deplibs_check_method=pass_all
   6106   ;;
   6107 
   6108 rdos*)
   6109   lt_cv_deplibs_check_method=pass_all
   6110   ;;
   6111 
   6112 solaris*)
   6113   lt_cv_deplibs_check_method=pass_all
   6114   ;;
   6115 
   6116 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6117   lt_cv_deplibs_check_method=pass_all
   6118   ;;
   6119 
   6120 sysv4 | sysv4.3*)
   6121   case $host_vendor in
   6122   motorola)
   6123     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]'
   6124     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6125     ;;
   6126   ncr)
   6127     lt_cv_deplibs_check_method=pass_all
   6128     ;;
   6129   sequent)
   6130     lt_cv_file_magic_cmd='/bin/file'
   6131     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6132     ;;
   6133   sni)
   6134     lt_cv_file_magic_cmd='/bin/file'
   6135     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6136     lt_cv_file_magic_test_file=/lib/libc.so
   6137     ;;
   6138   siemens)
   6139     lt_cv_deplibs_check_method=pass_all
   6140     ;;
   6141   pc)
   6142     lt_cv_deplibs_check_method=pass_all
   6143     ;;
   6144   esac
   6145   ;;
   6146 
   6147 tpf*)
   6148   lt_cv_deplibs_check_method=pass_all
   6149   ;;
   6150 os2*)
   6151   lt_cv_deplibs_check_method=pass_all
   6152   ;;
   6153 esac
   6154 
   6155 fi
   6156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6157 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6158 
   6159 file_magic_glob=
   6160 want_nocaseglob=no
   6161 if test "$build" = "$host"; then
   6162   case $host_os in
   6163   mingw* | pw32*)
   6164     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6165       want_nocaseglob=yes
   6166     else
   6167       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6168     fi
   6169     ;;
   6170   esac
   6171 fi
   6172 
   6173 file_magic_cmd=$lt_cv_file_magic_cmd
   6174 deplibs_check_method=$lt_cv_deplibs_check_method
   6175 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 if test -n "$ac_tool_prefix"; then
   6199   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6200 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6202 printf %s "checking for $ac_word... " >&6; }
   6203 if test ${ac_cv_prog_DLLTOOL+y}
   6204 then :
   6205   printf %s "(cached) " >&6
   6206 else $as_nop
   6207   if test -n "$DLLTOOL"; then
   6208   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6209 else
   6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6211 for as_dir in $PATH
   6212 do
   6213   IFS=$as_save_IFS
   6214   case $as_dir in #(((
   6215     '') as_dir=./ ;;
   6216     */) ;;
   6217     *) as_dir=$as_dir/ ;;
   6218   esac
   6219     for ac_exec_ext in '' $ac_executable_extensions; do
   6220   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6221     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6222     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6223     break 2
   6224   fi
   6225 done
   6226   done
   6227 IFS=$as_save_IFS
   6228 
   6229 fi
   6230 fi
   6231 DLLTOOL=$ac_cv_prog_DLLTOOL
   6232 if test -n "$DLLTOOL"; then
   6233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6234 printf "%s\n" "$DLLTOOL" >&6; }
   6235 else
   6236   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6237 printf "%s\n" "no" >&6; }
   6238 fi
   6239 
   6240 
   6241 fi
   6242 if test -z "$ac_cv_prog_DLLTOOL"; then
   6243   ac_ct_DLLTOOL=$DLLTOOL
   6244   # Extract the first word of "dlltool", so it can be a program name with args.
   6245 set dummy dlltool; ac_word=$2
   6246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6247 printf %s "checking for $ac_word... " >&6; }
   6248 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6249 then :
   6250   printf %s "(cached) " >&6
   6251 else $as_nop
   6252   if test -n "$ac_ct_DLLTOOL"; then
   6253   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6254 else
   6255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6256 for as_dir in $PATH
   6257 do
   6258   IFS=$as_save_IFS
   6259   case $as_dir in #(((
   6260     '') as_dir=./ ;;
   6261     */) ;;
   6262     *) as_dir=$as_dir/ ;;
   6263   esac
   6264     for ac_exec_ext in '' $ac_executable_extensions; do
   6265   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6266     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6267     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6268     break 2
   6269   fi
   6270 done
   6271   done
   6272 IFS=$as_save_IFS
   6273 
   6274 fi
   6275 fi
   6276 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6277 if test -n "$ac_ct_DLLTOOL"; then
   6278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6279 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6280 else
   6281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6282 printf "%s\n" "no" >&6; }
   6283 fi
   6284 
   6285   if test "x$ac_ct_DLLTOOL" = x; then
   6286     DLLTOOL="false"
   6287   else
   6288     case $cross_compiling:$ac_tool_warned in
   6289 yes:)
   6290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6291 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6292 ac_tool_warned=yes ;;
   6293 esac
   6294     DLLTOOL=$ac_ct_DLLTOOL
   6295   fi
   6296 else
   6297   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6298 fi
   6299 
   6300 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6312 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6313 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6314 then :
   6315   printf %s "(cached) " >&6
   6316 else $as_nop
   6317   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6318 
   6319 case $host_os in
   6320 cygwin* | mingw* | pw32* | cegcc*)
   6321   # two different shell functions defined in ltmain.sh;
   6322   # decide which one to use based on capabilities of $DLLTOOL
   6323   case `$DLLTOOL --help 2>&1` in
   6324   *--identify-strict*)
   6325     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6326     ;;
   6327   *)
   6328     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6329     ;;
   6330   esac
   6331   ;;
   6332 *)
   6333   # fallback: assume linklib IS sharedlib
   6334   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6335   ;;
   6336 esac
   6337 
   6338 fi
   6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6340 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6341 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6342 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 if test -n "$ac_tool_prefix"; then
   6352   for ac_prog in ar
   6353   do
   6354     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6357 printf %s "checking for $ac_word... " >&6; }
   6358 if test ${ac_cv_prog_AR+y}
   6359 then :
   6360   printf %s "(cached) " >&6
   6361 else $as_nop
   6362   if test -n "$AR"; then
   6363   ac_cv_prog_AR="$AR" # Let the user override the test.
   6364 else
   6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6366 for as_dir in $PATH
   6367 do
   6368   IFS=$as_save_IFS
   6369   case $as_dir in #(((
   6370     '') as_dir=./ ;;
   6371     */) ;;
   6372     *) as_dir=$as_dir/ ;;
   6373   esac
   6374     for ac_exec_ext in '' $ac_executable_extensions; do
   6375   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6376     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6377     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6378     break 2
   6379   fi
   6380 done
   6381   done
   6382 IFS=$as_save_IFS
   6383 
   6384 fi
   6385 fi
   6386 AR=$ac_cv_prog_AR
   6387 if test -n "$AR"; then
   6388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6389 printf "%s\n" "$AR" >&6; }
   6390 else
   6391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6392 printf "%s\n" "no" >&6; }
   6393 fi
   6394 
   6395 
   6396     test -n "$AR" && break
   6397   done
   6398 fi
   6399 if test -z "$AR"; then
   6400   ac_ct_AR=$AR
   6401   for ac_prog in ar
   6402 do
   6403   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6404 set dummy $ac_prog; ac_word=$2
   6405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6406 printf %s "checking for $ac_word... " >&6; }
   6407 if test ${ac_cv_prog_ac_ct_AR+y}
   6408 then :
   6409   printf %s "(cached) " >&6
   6410 else $as_nop
   6411   if test -n "$ac_ct_AR"; then
   6412   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6413 else
   6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6415 for as_dir in $PATH
   6416 do
   6417   IFS=$as_save_IFS
   6418   case $as_dir in #(((
   6419     '') as_dir=./ ;;
   6420     */) ;;
   6421     *) as_dir=$as_dir/ ;;
   6422   esac
   6423     for ac_exec_ext in '' $ac_executable_extensions; do
   6424   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6425     ac_cv_prog_ac_ct_AR="$ac_prog"
   6426     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6427     break 2
   6428   fi
   6429 done
   6430   done
   6431 IFS=$as_save_IFS
   6432 
   6433 fi
   6434 fi
   6435 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6436 if test -n "$ac_ct_AR"; then
   6437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6438 printf "%s\n" "$ac_ct_AR" >&6; }
   6439 else
   6440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6441 printf "%s\n" "no" >&6; }
   6442 fi
   6443 
   6444 
   6445   test -n "$ac_ct_AR" && break
   6446 done
   6447 
   6448   if test "x$ac_ct_AR" = x; then
   6449     AR="false"
   6450   else
   6451     case $cross_compiling:$ac_tool_warned in
   6452 yes:)
   6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6454 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6455 ac_tool_warned=yes ;;
   6456 esac
   6457     AR=$ac_ct_AR
   6458   fi
   6459 fi
   6460 
   6461 : ${AR=ar}
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6469 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6470 # higher priority because thats what people were doing historically (setting
   6471 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6472 # variable obsoleted/removed.
   6473 
   6474 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6475 lt_ar_flags=$AR_FLAGS
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6483 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6491 printf %s "checking for archiver @FILE support... " >&6; }
   6492 if test ${lt_cv_ar_at_file+y}
   6493 then :
   6494   printf %s "(cached) " >&6
   6495 else $as_nop
   6496   lt_cv_ar_at_file=no
   6497    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6498 /* end confdefs.h.  */
   6499 
   6500 int
   6501 main (void)
   6502 {
   6503 
   6504   ;
   6505   return 0;
   6506 }
   6507 _ACEOF
   6508 if ac_fn_c_try_compile "$LINENO"
   6509 then :
   6510   echo conftest.$ac_objext > conftest.lst
   6511       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6512       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6513   (eval $lt_ar_try) 2>&5
   6514   ac_status=$?
   6515   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6516   test $ac_status = 0; }
   6517       if test 0 -eq "$ac_status"; then
   6518 	# Ensure the archiver fails upon bogus file names.
   6519 	rm -f conftest.$ac_objext libconftest.a
   6520 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6521   (eval $lt_ar_try) 2>&5
   6522   ac_status=$?
   6523   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6524   test $ac_status = 0; }
   6525 	if test 0 -ne "$ac_status"; then
   6526           lt_cv_ar_at_file=@
   6527         fi
   6528       fi
   6529       rm -f conftest.* libconftest.a
   6530 
   6531 fi
   6532 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6533 
   6534 fi
   6535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6536 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6537 
   6538 if test no = "$lt_cv_ar_at_file"; then
   6539   archiver_list_spec=
   6540 else
   6541   archiver_list_spec=$lt_cv_ar_at_file
   6542 fi
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 if test -n "$ac_tool_prefix"; then
   6551   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6552 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6554 printf %s "checking for $ac_word... " >&6; }
   6555 if test ${ac_cv_prog_STRIP+y}
   6556 then :
   6557   printf %s "(cached) " >&6
   6558 else $as_nop
   6559   if test -n "$STRIP"; then
   6560   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6561 else
   6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6563 for as_dir in $PATH
   6564 do
   6565   IFS=$as_save_IFS
   6566   case $as_dir in #(((
   6567     '') as_dir=./ ;;
   6568     */) ;;
   6569     *) as_dir=$as_dir/ ;;
   6570   esac
   6571     for ac_exec_ext in '' $ac_executable_extensions; do
   6572   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6573     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6574     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6575     break 2
   6576   fi
   6577 done
   6578   done
   6579 IFS=$as_save_IFS
   6580 
   6581 fi
   6582 fi
   6583 STRIP=$ac_cv_prog_STRIP
   6584 if test -n "$STRIP"; then
   6585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6586 printf "%s\n" "$STRIP" >&6; }
   6587 else
   6588   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6589 printf "%s\n" "no" >&6; }
   6590 fi
   6591 
   6592 
   6593 fi
   6594 if test -z "$ac_cv_prog_STRIP"; then
   6595   ac_ct_STRIP=$STRIP
   6596   # Extract the first word of "strip", so it can be a program name with args.
   6597 set dummy strip; ac_word=$2
   6598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6599 printf %s "checking for $ac_word... " >&6; }
   6600 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6601 then :
   6602   printf %s "(cached) " >&6
   6603 else $as_nop
   6604   if test -n "$ac_ct_STRIP"; then
   6605   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6606 else
   6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6608 for as_dir in $PATH
   6609 do
   6610   IFS=$as_save_IFS
   6611   case $as_dir in #(((
   6612     '') as_dir=./ ;;
   6613     */) ;;
   6614     *) as_dir=$as_dir/ ;;
   6615   esac
   6616     for ac_exec_ext in '' $ac_executable_extensions; do
   6617   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6618     ac_cv_prog_ac_ct_STRIP="strip"
   6619     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6620     break 2
   6621   fi
   6622 done
   6623   done
   6624 IFS=$as_save_IFS
   6625 
   6626 fi
   6627 fi
   6628 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6629 if test -n "$ac_ct_STRIP"; then
   6630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6631 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6632 else
   6633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6634 printf "%s\n" "no" >&6; }
   6635 fi
   6636 
   6637   if test "x$ac_ct_STRIP" = x; then
   6638     STRIP=":"
   6639   else
   6640     case $cross_compiling:$ac_tool_warned in
   6641 yes:)
   6642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6643 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6644 ac_tool_warned=yes ;;
   6645 esac
   6646     STRIP=$ac_ct_STRIP
   6647   fi
   6648 else
   6649   STRIP="$ac_cv_prog_STRIP"
   6650 fi
   6651 
   6652 test -z "$STRIP" && STRIP=:
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 if test -n "$ac_tool_prefix"; then
   6660   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6661 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6663 printf %s "checking for $ac_word... " >&6; }
   6664 if test ${ac_cv_prog_RANLIB+y}
   6665 then :
   6666   printf %s "(cached) " >&6
   6667 else $as_nop
   6668   if test -n "$RANLIB"; then
   6669   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6670 else
   6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6672 for as_dir in $PATH
   6673 do
   6674   IFS=$as_save_IFS
   6675   case $as_dir in #(((
   6676     '') as_dir=./ ;;
   6677     */) ;;
   6678     *) as_dir=$as_dir/ ;;
   6679   esac
   6680     for ac_exec_ext in '' $ac_executable_extensions; do
   6681   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6682     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6683     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6684     break 2
   6685   fi
   6686 done
   6687   done
   6688 IFS=$as_save_IFS
   6689 
   6690 fi
   6691 fi
   6692 RANLIB=$ac_cv_prog_RANLIB
   6693 if test -n "$RANLIB"; then
   6694   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6695 printf "%s\n" "$RANLIB" >&6; }
   6696 else
   6697   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6698 printf "%s\n" "no" >&6; }
   6699 fi
   6700 
   6701 
   6702 fi
   6703 if test -z "$ac_cv_prog_RANLIB"; then
   6704   ac_ct_RANLIB=$RANLIB
   6705   # Extract the first word of "ranlib", so it can be a program name with args.
   6706 set dummy ranlib; ac_word=$2
   6707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6708 printf %s "checking for $ac_word... " >&6; }
   6709 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6710 then :
   6711   printf %s "(cached) " >&6
   6712 else $as_nop
   6713   if test -n "$ac_ct_RANLIB"; then
   6714   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6715 else
   6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6717 for as_dir in $PATH
   6718 do
   6719   IFS=$as_save_IFS
   6720   case $as_dir in #(((
   6721     '') as_dir=./ ;;
   6722     */) ;;
   6723     *) as_dir=$as_dir/ ;;
   6724   esac
   6725     for ac_exec_ext in '' $ac_executable_extensions; do
   6726   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6727     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6728     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6729     break 2
   6730   fi
   6731 done
   6732   done
   6733 IFS=$as_save_IFS
   6734 
   6735 fi
   6736 fi
   6737 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6738 if test -n "$ac_ct_RANLIB"; then
   6739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6740 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6741 else
   6742   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6743 printf "%s\n" "no" >&6; }
   6744 fi
   6745 
   6746   if test "x$ac_ct_RANLIB" = x; then
   6747     RANLIB=":"
   6748   else
   6749     case $cross_compiling:$ac_tool_warned in
   6750 yes:)
   6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6753 ac_tool_warned=yes ;;
   6754 esac
   6755     RANLIB=$ac_ct_RANLIB
   6756   fi
   6757 else
   6758   RANLIB="$ac_cv_prog_RANLIB"
   6759 fi
   6760 
   6761 test -z "$RANLIB" && RANLIB=:
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 # Determine commands to create old-style static archives.
   6769 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6770 old_postinstall_cmds='chmod 644 $oldlib'
   6771 old_postuninstall_cmds=
   6772 
   6773 if test -n "$RANLIB"; then
   6774   case $host_os in
   6775   bitrig* | openbsd*)
   6776     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6777     ;;
   6778   *)
   6779     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6780     ;;
   6781   esac
   6782   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6783 fi
   6784 
   6785 case $host_os in
   6786   darwin*)
   6787     lock_old_archive_extraction=yes ;;
   6788   *)
   6789     lock_old_archive_extraction=no ;;
   6790 esac
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 # If no C compiler was specified, use CC.
   6831 LTCC=${LTCC-"$CC"}
   6832 
   6833 # If no C compiler flags were specified, use CFLAGS.
   6834 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6835 
   6836 # Allow CC to be a program name with arguments.
   6837 compiler=$CC
   6838 
   6839 
   6840 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6842 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6843 if test ${lt_cv_sys_global_symbol_pipe+y}
   6844 then :
   6845   printf %s "(cached) " >&6
   6846 else $as_nop
   6847 
   6848 # These are sane defaults that work on at least a few old systems.
   6849 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6850 
   6851 # Character class describing NM global symbol codes.
   6852 symcode='[BCDEGRST]'
   6853 
   6854 # Regexp to match symbols that can be accessed directly from C.
   6855 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6856 
   6857 # Define system-specific variables.
   6858 case $host_os in
   6859 aix*)
   6860   symcode='[BCDT]'
   6861   ;;
   6862 cygwin* | mingw* | pw32* | cegcc*)
   6863   symcode='[ABCDGISTW]'
   6864   ;;
   6865 hpux*)
   6866   if test ia64 = "$host_cpu"; then
   6867     symcode='[ABCDEGRST]'
   6868   fi
   6869   ;;
   6870 irix* | nonstopux*)
   6871   symcode='[BCDEGRST]'
   6872   ;;
   6873 osf*)
   6874   symcode='[BCDEGQRST]'
   6875   ;;
   6876 solaris*)
   6877   symcode='[BDRT]'
   6878   ;;
   6879 sco3.2v5*)
   6880   symcode='[DT]'
   6881   ;;
   6882 sysv4.2uw2*)
   6883   symcode='[DT]'
   6884   ;;
   6885 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6886   symcode='[ABDT]'
   6887   ;;
   6888 sysv4)
   6889   symcode='[DFNSTU]'
   6890   ;;
   6891 esac
   6892 
   6893 # If we're using GNU nm, then use its standard symbol codes.
   6894 case `$NM -V 2>&1` in
   6895 *GNU* | *'with BFD'*)
   6896   symcode='[ABCDGIRSTW]' ;;
   6897 esac
   6898 
   6899 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6900   # Gets list of data symbols to import.
   6901   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6902   # Adjust the below global symbol transforms to fixup imported variables.
   6903   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6904   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6905   lt_c_name_lib_hook="\
   6906   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6907   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6908 else
   6909   # Disable hooks by default.
   6910   lt_cv_sys_global_symbol_to_import=
   6911   lt_cdecl_hook=
   6912   lt_c_name_hook=
   6913   lt_c_name_lib_hook=
   6914 fi
   6915 
   6916 # Transform an extracted symbol line into a proper C declaration.
   6917 # Some systems (esp. on ia64) link data and code symbols differently,
   6918 # so use this general approach.
   6919 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6920 $lt_cdecl_hook\
   6921 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6922 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6923 
   6924 # Transform an extracted symbol line into symbol name and symbol address
   6925 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6926 $lt_c_name_hook\
   6927 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6928 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6929 
   6930 # Transform an extracted symbol line into symbol name with lib prefix and
   6931 # symbol address.
   6932 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6933 $lt_c_name_lib_hook\
   6934 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6935 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6936 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6937 
   6938 # Handle CRLF in mingw tool chain
   6939 opt_cr=
   6940 case $build_os in
   6941 mingw*)
   6942   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6943   ;;
   6944 esac
   6945 
   6946 # Try without a prefix underscore, then with it.
   6947 for ac_symprfx in "" "_"; do
   6948 
   6949   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6950   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6951 
   6952   # Write the raw and C identifiers.
   6953   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6954     # Fake it for dumpbin and say T for any non-static function,
   6955     # D for any global variable and I for any imported variable.
   6956     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6957     # which start with @ or ?.
   6958     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6959 "     {last_section=section; section=\$ 3};"\
   6960 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6961 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6962 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6963 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6964 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6965 "     \$ 0!~/External *\|/{next};"\
   6966 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6967 "     {if(hide[section]) next};"\
   6968 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6969 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6970 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6971 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6972 "     ' prfx=^$ac_symprfx"
   6973   else
   6974     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6975   fi
   6976   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6977 
   6978   # Check to see that the pipe works correctly.
   6979   pipe_works=no
   6980 
   6981   rm -f conftest*
   6982   cat > conftest.$ac_ext <<_LT_EOF
   6983 #ifdef __cplusplus
   6984 extern "C" {
   6985 #endif
   6986 char nm_test_var;
   6987 void nm_test_func(void);
   6988 void nm_test_func(void){}
   6989 #ifdef __cplusplus
   6990 }
   6991 #endif
   6992 int main(){nm_test_var='a';nm_test_func();return(0);}
   6993 _LT_EOF
   6994 
   6995   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6996   (eval $ac_compile) 2>&5
   6997   ac_status=$?
   6998   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6999   test $ac_status = 0; }; then
   7000     # Now try to grab the symbols.
   7001     nlist=conftest.nm
   7002     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7003     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7004       # Try sorting and uniquifying the output.
   7005       if sort "$nlist" | uniq > "$nlist"T; then
   7006 	mv -f "$nlist"T "$nlist"
   7007       else
   7008 	rm -f "$nlist"T
   7009       fi
   7010 
   7011       # Make sure that we snagged all the symbols we need.
   7012       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7013 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7014 	  cat <<_LT_EOF > conftest.$ac_ext
   7015 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7016 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7017 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7018    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7019 # define LT_DLSYM_CONST
   7020 #elif defined __osf__
   7021 /* This system does not cope well with relocations in const data.  */
   7022 # define LT_DLSYM_CONST
   7023 #else
   7024 # define LT_DLSYM_CONST const
   7025 #endif
   7026 
   7027 #ifdef __cplusplus
   7028 extern "C" {
   7029 #endif
   7030 
   7031 _LT_EOF
   7032 	  # Now generate the symbol file.
   7033 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7034 
   7035 	  cat <<_LT_EOF >> conftest.$ac_ext
   7036 
   7037 /* The mapping between symbol names and symbols.  */
   7038 LT_DLSYM_CONST struct {
   7039   const char *name;
   7040   void       *address;
   7041 }
   7042 lt__PROGRAM__LTX_preloaded_symbols[] =
   7043 {
   7044   { "@PROGRAM@", (void *) 0 },
   7045 _LT_EOF
   7046 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7047 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7048   {0, (void *) 0}
   7049 };
   7050 
   7051 /* This works around a problem in FreeBSD linker */
   7052 #ifdef FREEBSD_WORKAROUND
   7053 static const void *lt_preloaded_setup() {
   7054   return lt__PROGRAM__LTX_preloaded_symbols;
   7055 }
   7056 #endif
   7057 
   7058 #ifdef __cplusplus
   7059 }
   7060 #endif
   7061 _LT_EOF
   7062 	  # Now try linking the two files.
   7063 	  mv conftest.$ac_objext conftstm.$ac_objext
   7064 	  lt_globsym_save_LIBS=$LIBS
   7065 	  lt_globsym_save_CFLAGS=$CFLAGS
   7066 	  LIBS=conftstm.$ac_objext
   7067 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7068 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7069   (eval $ac_link) 2>&5
   7070   ac_status=$?
   7071   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7072   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7073 	    pipe_works=yes
   7074 	  fi
   7075 	  LIBS=$lt_globsym_save_LIBS
   7076 	  CFLAGS=$lt_globsym_save_CFLAGS
   7077 	else
   7078 	  echo "cannot find nm_test_func in $nlist" >&5
   7079 	fi
   7080       else
   7081 	echo "cannot find nm_test_var in $nlist" >&5
   7082       fi
   7083     else
   7084       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7085     fi
   7086   else
   7087     echo "$progname: failed program was:" >&5
   7088     cat conftest.$ac_ext >&5
   7089   fi
   7090   rm -rf conftest* conftst*
   7091 
   7092   # Do not use the global_symbol_pipe unless it works.
   7093   if test yes = "$pipe_works"; then
   7094     break
   7095   else
   7096     lt_cv_sys_global_symbol_pipe=
   7097   fi
   7098 done
   7099 
   7100 fi
   7101 
   7102 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7103   lt_cv_sys_global_symbol_to_cdecl=
   7104 fi
   7105 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7106   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7107 printf "%s\n" "failed" >&6; }
   7108 else
   7109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7110 printf "%s\n" "ok" >&6; }
   7111 fi
   7112 
   7113 # Response file support.
   7114 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7115   nm_file_list_spec='@'
   7116 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7117   nm_file_list_spec='@'
   7118 fi
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 
   7129 
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136 
   7137 
   7138 
   7139 
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7157 printf %s "checking for sysroot... " >&6; }
   7158 
   7159 # Check whether --with-sysroot was given.
   7160 if test ${with_sysroot+y}
   7161 then :
   7162   withval=$with_sysroot;
   7163 else $as_nop
   7164   with_sysroot=no
   7165 fi
   7166 
   7167 
   7168 lt_sysroot=
   7169 case $with_sysroot in #(
   7170  yes)
   7171    if test yes = "$GCC"; then
   7172      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7173    fi
   7174    ;; #(
   7175  /*)
   7176    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7177    ;; #(
   7178  no|'')
   7179    ;; #(
   7180  *)
   7181    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7182 printf "%s\n" "$with_sysroot" >&6; }
   7183    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7184    ;;
   7185 esac
   7186 
   7187  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7188 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7195 printf %s "checking for a working dd... " >&6; }
   7196 if test ${ac_cv_path_lt_DD+y}
   7197 then :
   7198   printf %s "(cached) " >&6
   7199 else $as_nop
   7200   printf 0123456789abcdef0123456789abcdef >conftest.i
   7201 cat conftest.i conftest.i >conftest2.i
   7202 : ${lt_DD:=$DD}
   7203 if test -z "$lt_DD"; then
   7204   ac_path_lt_DD_found=false
   7205   # Loop through the user's path and test for each of PROGNAME-LIST
   7206   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7207 for as_dir in $PATH
   7208 do
   7209   IFS=$as_save_IFS
   7210   case $as_dir in #(((
   7211     '') as_dir=./ ;;
   7212     */) ;;
   7213     *) as_dir=$as_dir/ ;;
   7214   esac
   7215     for ac_prog in dd
   7216    do
   7217     for ac_exec_ext in '' $ac_executable_extensions; do
   7218       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7219       as_fn_executable_p "$ac_path_lt_DD" || continue
   7220 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7221   cmp -s conftest.i conftest.out \
   7222   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7223 fi
   7224       $ac_path_lt_DD_found && break 3
   7225     done
   7226   done
   7227   done
   7228 IFS=$as_save_IFS
   7229   if test -z "$ac_cv_path_lt_DD"; then
   7230     :
   7231   fi
   7232 else
   7233   ac_cv_path_lt_DD=$lt_DD
   7234 fi
   7235 
   7236 rm -f conftest.i conftest2.i conftest.out
   7237 fi
   7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7239 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7240 
   7241 
   7242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7243 printf %s "checking how to truncate binary pipes... " >&6; }
   7244 if test ${lt_cv_truncate_bin+y}
   7245 then :
   7246   printf %s "(cached) " >&6
   7247 else $as_nop
   7248   printf 0123456789abcdef0123456789abcdef >conftest.i
   7249 cat conftest.i conftest.i >conftest2.i
   7250 lt_cv_truncate_bin=
   7251 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7252   cmp -s conftest.i conftest.out \
   7253   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7254 fi
   7255 rm -f conftest.i conftest2.i conftest.out
   7256 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7257 fi
   7258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7259 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7268 func_cc_basename ()
   7269 {
   7270     for cc_temp in $*""; do
   7271       case $cc_temp in
   7272         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7273         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7274         \-*) ;;
   7275         *) break;;
   7276       esac
   7277     done
   7278     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7279 }
   7280 
   7281 # Check whether --enable-libtool-lock was given.
   7282 if test ${enable_libtool_lock+y}
   7283 then :
   7284   enableval=$enable_libtool_lock;
   7285 fi
   7286 
   7287 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7288 
   7289 # Some flags need to be propagated to the compiler or linker for good
   7290 # libtool support.
   7291 case $host in
   7292 ia64-*-hpux*)
   7293   # Find out what ABI is being produced by ac_compile, and set mode
   7294   # options accordingly.
   7295   echo 'int i;' > conftest.$ac_ext
   7296   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7297   (eval $ac_compile) 2>&5
   7298   ac_status=$?
   7299   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7300   test $ac_status = 0; }; then
   7301     case `$FILECMD conftest.$ac_objext` in
   7302       *ELF-32*)
   7303 	HPUX_IA64_MODE=32
   7304 	;;
   7305       *ELF-64*)
   7306 	HPUX_IA64_MODE=64
   7307 	;;
   7308     esac
   7309   fi
   7310   rm -rf conftest*
   7311   ;;
   7312 *-*-irix6*)
   7313   # Find out what ABI is being produced by ac_compile, and set linker
   7314   # options accordingly.
   7315   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7316   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7317   (eval $ac_compile) 2>&5
   7318   ac_status=$?
   7319   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7320   test $ac_status = 0; }; then
   7321     if test yes = "$lt_cv_prog_gnu_ld"; then
   7322       case `$FILECMD conftest.$ac_objext` in
   7323 	*32-bit*)
   7324 	  LD="${LD-ld} -melf32bsmip"
   7325 	  ;;
   7326 	*N32*)
   7327 	  LD="${LD-ld} -melf32bmipn32"
   7328 	  ;;
   7329 	*64-bit*)
   7330 	  LD="${LD-ld} -melf64bmip"
   7331 	;;
   7332       esac
   7333     else
   7334       case `$FILECMD conftest.$ac_objext` in
   7335 	*32-bit*)
   7336 	  LD="${LD-ld} -32"
   7337 	  ;;
   7338 	*N32*)
   7339 	  LD="${LD-ld} -n32"
   7340 	  ;;
   7341 	*64-bit*)
   7342 	  LD="${LD-ld} -64"
   7343 	  ;;
   7344       esac
   7345     fi
   7346   fi
   7347   rm -rf conftest*
   7348   ;;
   7349 
   7350 mips64*-*linux*)
   7351   # Find out what ABI is being produced by ac_compile, and set linker
   7352   # options accordingly.
   7353   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7354   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7355   (eval $ac_compile) 2>&5
   7356   ac_status=$?
   7357   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7358   test $ac_status = 0; }; then
   7359     emul=elf
   7360     case `$FILECMD conftest.$ac_objext` in
   7361       *32-bit*)
   7362 	emul="${emul}32"
   7363 	;;
   7364       *64-bit*)
   7365 	emul="${emul}64"
   7366 	;;
   7367     esac
   7368     case `$FILECMD conftest.$ac_objext` in
   7369       *MSB*)
   7370 	emul="${emul}btsmip"
   7371 	;;
   7372       *LSB*)
   7373 	emul="${emul}ltsmip"
   7374 	;;
   7375     esac
   7376     case `$FILECMD conftest.$ac_objext` in
   7377       *N32*)
   7378 	emul="${emul}n32"
   7379 	;;
   7380     esac
   7381     LD="${LD-ld} -m $emul"
   7382   fi
   7383   rm -rf conftest*
   7384   ;;
   7385 
   7386 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7387 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7388   # Find out what ABI is being produced by ac_compile, and set linker
   7389   # options accordingly.  Note that the listed cases only cover the
   7390   # situations where additional linker options are needed (such as when
   7391   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7392   # vice versa); the common cases where no linker options are needed do
   7393   # not appear in the list.
   7394   echo 'int i;' > conftest.$ac_ext
   7395   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7396   (eval $ac_compile) 2>&5
   7397   ac_status=$?
   7398   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7399   test $ac_status = 0; }; then
   7400     case `$FILECMD conftest.o` in
   7401       *32-bit*)
   7402 	case $host in
   7403 	  x86_64-*kfreebsd*-gnu)
   7404 	    LD="${LD-ld} -m elf_i386_fbsd"
   7405 	    ;;
   7406 	  x86_64-*linux*)
   7407 	    case `$FILECMD conftest.o` in
   7408 	      *x86-64*)
   7409 		LD="${LD-ld} -m elf32_x86_64"
   7410 		;;
   7411 	      *)
   7412 		LD="${LD-ld} -m elf_i386"
   7413 		;;
   7414 	    esac
   7415 	    ;;
   7416 	  powerpc64le-*linux*)
   7417 	    LD="${LD-ld} -m elf32lppclinux"
   7418 	    ;;
   7419 	  powerpc64-*linux*)
   7420 	    LD="${LD-ld} -m elf32ppclinux"
   7421 	    ;;
   7422 	  s390x-*linux*)
   7423 	    LD="${LD-ld} -m elf_s390"
   7424 	    ;;
   7425 	  sparc64-*linux*)
   7426 	    LD="${LD-ld} -m elf32_sparc"
   7427 	    ;;
   7428 	esac
   7429 	;;
   7430       *64-bit*)
   7431 	case $host in
   7432 	  x86_64-*kfreebsd*-gnu)
   7433 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7434 	    ;;
   7435 	  x86_64-*linux*)
   7436 	    LD="${LD-ld} -m elf_x86_64"
   7437 	    ;;
   7438 	  powerpcle-*linux*)
   7439 	    LD="${LD-ld} -m elf64lppc"
   7440 	    ;;
   7441 	  powerpc-*linux*)
   7442 	    LD="${LD-ld} -m elf64ppc"
   7443 	    ;;
   7444 	  s390*-*linux*|s390*-*tpf*)
   7445 	    LD="${LD-ld} -m elf64_s390"
   7446 	    ;;
   7447 	  sparc*-*linux*)
   7448 	    LD="${LD-ld} -m elf64_sparc"
   7449 	    ;;
   7450 	esac
   7451 	;;
   7452     esac
   7453   fi
   7454   rm -rf conftest*
   7455   ;;
   7456 
   7457 *-*-sco3.2v5*)
   7458   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7459   SAVE_CFLAGS=$CFLAGS
   7460   CFLAGS="$CFLAGS -belf"
   7461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7462 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7463 if test ${lt_cv_cc_needs_belf+y}
   7464 then :
   7465   printf %s "(cached) " >&6
   7466 else $as_nop
   7467   ac_ext=c
   7468 ac_cpp='$CPP $CPPFLAGS'
   7469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7472 
   7473      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7474 /* end confdefs.h.  */
   7475 
   7476 int
   7477 main (void)
   7478 {
   7479 
   7480   ;
   7481   return 0;
   7482 }
   7483 _ACEOF
   7484 if ac_fn_c_try_link "$LINENO"
   7485 then :
   7486   lt_cv_cc_needs_belf=yes
   7487 else $as_nop
   7488   lt_cv_cc_needs_belf=no
   7489 fi
   7490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7491     conftest$ac_exeext conftest.$ac_ext
   7492      ac_ext=c
   7493 ac_cpp='$CPP $CPPFLAGS'
   7494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7497 
   7498 fi
   7499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7500 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7501   if test yes != "$lt_cv_cc_needs_belf"; then
   7502     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7503     CFLAGS=$SAVE_CFLAGS
   7504   fi
   7505   ;;
   7506 *-*solaris*)
   7507   # Find out what ABI is being produced by ac_compile, and set linker
   7508   # options accordingly.
   7509   echo 'int i;' > conftest.$ac_ext
   7510   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7511   (eval $ac_compile) 2>&5
   7512   ac_status=$?
   7513   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7514   test $ac_status = 0; }; then
   7515     case `$FILECMD conftest.o` in
   7516     *64-bit*)
   7517       case $lt_cv_prog_gnu_ld in
   7518       yes*)
   7519         case $host in
   7520         i?86-*-solaris*|x86_64-*-solaris*)
   7521           LD="${LD-ld} -m elf_x86_64"
   7522           ;;
   7523         sparc*-*-solaris*)
   7524           LD="${LD-ld} -m elf64_sparc"
   7525           ;;
   7526         esac
   7527         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7528         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7529           LD=${LD-ld}_sol2
   7530         fi
   7531         ;;
   7532       *)
   7533 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7534 	  LD="${LD-ld} -64"
   7535 	fi
   7536 	;;
   7537       esac
   7538       ;;
   7539     esac
   7540   fi
   7541   rm -rf conftest*
   7542   ;;
   7543 esac
   7544 
   7545 need_locks=$enable_libtool_lock
   7546 
   7547 if test -n "$ac_tool_prefix"; then
   7548   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7549 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7551 printf %s "checking for $ac_word... " >&6; }
   7552 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7553 then :
   7554   printf %s "(cached) " >&6
   7555 else $as_nop
   7556   if test -n "$MANIFEST_TOOL"; then
   7557   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7558 else
   7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7560 for as_dir in $PATH
   7561 do
   7562   IFS=$as_save_IFS
   7563   case $as_dir in #(((
   7564     '') as_dir=./ ;;
   7565     */) ;;
   7566     *) as_dir=$as_dir/ ;;
   7567   esac
   7568     for ac_exec_ext in '' $ac_executable_extensions; do
   7569   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7570     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7571     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7572     break 2
   7573   fi
   7574 done
   7575   done
   7576 IFS=$as_save_IFS
   7577 
   7578 fi
   7579 fi
   7580 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7581 if test -n "$MANIFEST_TOOL"; then
   7582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7583 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7584 else
   7585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7586 printf "%s\n" "no" >&6; }
   7587 fi
   7588 
   7589 
   7590 fi
   7591 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7592   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7593   # Extract the first word of "mt", so it can be a program name with args.
   7594 set dummy mt; ac_word=$2
   7595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7596 printf %s "checking for $ac_word... " >&6; }
   7597 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7598 then :
   7599   printf %s "(cached) " >&6
   7600 else $as_nop
   7601   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7602   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7603 else
   7604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7605 for as_dir in $PATH
   7606 do
   7607   IFS=$as_save_IFS
   7608   case $as_dir in #(((
   7609     '') as_dir=./ ;;
   7610     */) ;;
   7611     *) as_dir=$as_dir/ ;;
   7612   esac
   7613     for ac_exec_ext in '' $ac_executable_extensions; do
   7614   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7615     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7616     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7617     break 2
   7618   fi
   7619 done
   7620   done
   7621 IFS=$as_save_IFS
   7622 
   7623 fi
   7624 fi
   7625 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7626 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7627   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7628 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7629 else
   7630   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7631 printf "%s\n" "no" >&6; }
   7632 fi
   7633 
   7634   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7635     MANIFEST_TOOL=":"
   7636   else
   7637     case $cross_compiling:$ac_tool_warned in
   7638 yes:)
   7639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7640 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7641 ac_tool_warned=yes ;;
   7642 esac
   7643     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7644   fi
   7645 else
   7646   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7647 fi
   7648 
   7649 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7651 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7652 if test ${lt_cv_path_mainfest_tool+y}
   7653 then :
   7654   printf %s "(cached) " >&6
   7655 else $as_nop
   7656   lt_cv_path_mainfest_tool=no
   7657   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7658   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7659   cat conftest.err >&5
   7660   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7661     lt_cv_path_mainfest_tool=yes
   7662   fi
   7663   rm -f conftest*
   7664 fi
   7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7666 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7667 if test yes != "$lt_cv_path_mainfest_tool"; then
   7668   MANIFEST_TOOL=:
   7669 fi
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676   case $host_os in
   7677     rhapsody* | darwin*)
   7678     if test -n "$ac_tool_prefix"; then
   7679   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7680 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7682 printf %s "checking for $ac_word... " >&6; }
   7683 if test ${ac_cv_prog_DSYMUTIL+y}
   7684 then :
   7685   printf %s "(cached) " >&6
   7686 else $as_nop
   7687   if test -n "$DSYMUTIL"; then
   7688   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7689 else
   7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7691 for as_dir in $PATH
   7692 do
   7693   IFS=$as_save_IFS
   7694   case $as_dir in #(((
   7695     '') as_dir=./ ;;
   7696     */) ;;
   7697     *) as_dir=$as_dir/ ;;
   7698   esac
   7699     for ac_exec_ext in '' $ac_executable_extensions; do
   7700   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7701     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7702     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7703     break 2
   7704   fi
   7705 done
   7706   done
   7707 IFS=$as_save_IFS
   7708 
   7709 fi
   7710 fi
   7711 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7712 if test -n "$DSYMUTIL"; then
   7713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7714 printf "%s\n" "$DSYMUTIL" >&6; }
   7715 else
   7716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7717 printf "%s\n" "no" >&6; }
   7718 fi
   7719 
   7720 
   7721 fi
   7722 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7723   ac_ct_DSYMUTIL=$DSYMUTIL
   7724   # Extract the first word of "dsymutil", so it can be a program name with args.
   7725 set dummy dsymutil; ac_word=$2
   7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7727 printf %s "checking for $ac_word... " >&6; }
   7728 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7729 then :
   7730   printf %s "(cached) " >&6
   7731 else $as_nop
   7732   if test -n "$ac_ct_DSYMUTIL"; then
   7733   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7734 else
   7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7736 for as_dir in $PATH
   7737 do
   7738   IFS=$as_save_IFS
   7739   case $as_dir in #(((
   7740     '') as_dir=./ ;;
   7741     */) ;;
   7742     *) as_dir=$as_dir/ ;;
   7743   esac
   7744     for ac_exec_ext in '' $ac_executable_extensions; do
   7745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7746     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7748     break 2
   7749   fi
   7750 done
   7751   done
   7752 IFS=$as_save_IFS
   7753 
   7754 fi
   7755 fi
   7756 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7757 if test -n "$ac_ct_DSYMUTIL"; then
   7758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7759 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7760 else
   7761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7762 printf "%s\n" "no" >&6; }
   7763 fi
   7764 
   7765   if test "x$ac_ct_DSYMUTIL" = x; then
   7766     DSYMUTIL=":"
   7767   else
   7768     case $cross_compiling:$ac_tool_warned in
   7769 yes:)
   7770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7771 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7772 ac_tool_warned=yes ;;
   7773 esac
   7774     DSYMUTIL=$ac_ct_DSYMUTIL
   7775   fi
   7776 else
   7777   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7778 fi
   7779 
   7780     if test -n "$ac_tool_prefix"; then
   7781   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7782 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7784 printf %s "checking for $ac_word... " >&6; }
   7785 if test ${ac_cv_prog_NMEDIT+y}
   7786 then :
   7787   printf %s "(cached) " >&6
   7788 else $as_nop
   7789   if test -n "$NMEDIT"; then
   7790   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7791 else
   7792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7793 for as_dir in $PATH
   7794 do
   7795   IFS=$as_save_IFS
   7796   case $as_dir in #(((
   7797     '') as_dir=./ ;;
   7798     */) ;;
   7799     *) as_dir=$as_dir/ ;;
   7800   esac
   7801     for ac_exec_ext in '' $ac_executable_extensions; do
   7802   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7803     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7804     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7805     break 2
   7806   fi
   7807 done
   7808   done
   7809 IFS=$as_save_IFS
   7810 
   7811 fi
   7812 fi
   7813 NMEDIT=$ac_cv_prog_NMEDIT
   7814 if test -n "$NMEDIT"; then
   7815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7816 printf "%s\n" "$NMEDIT" >&6; }
   7817 else
   7818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7819 printf "%s\n" "no" >&6; }
   7820 fi
   7821 
   7822 
   7823 fi
   7824 if test -z "$ac_cv_prog_NMEDIT"; then
   7825   ac_ct_NMEDIT=$NMEDIT
   7826   # Extract the first word of "nmedit", so it can be a program name with args.
   7827 set dummy nmedit; ac_word=$2
   7828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7829 printf %s "checking for $ac_word... " >&6; }
   7830 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7831 then :
   7832   printf %s "(cached) " >&6
   7833 else $as_nop
   7834   if test -n "$ac_ct_NMEDIT"; then
   7835   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7836 else
   7837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7838 for as_dir in $PATH
   7839 do
   7840   IFS=$as_save_IFS
   7841   case $as_dir in #(((
   7842     '') as_dir=./ ;;
   7843     */) ;;
   7844     *) as_dir=$as_dir/ ;;
   7845   esac
   7846     for ac_exec_ext in '' $ac_executable_extensions; do
   7847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7848     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7849     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7850     break 2
   7851   fi
   7852 done
   7853   done
   7854 IFS=$as_save_IFS
   7855 
   7856 fi
   7857 fi
   7858 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7859 if test -n "$ac_ct_NMEDIT"; then
   7860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7861 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7862 else
   7863   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7864 printf "%s\n" "no" >&6; }
   7865 fi
   7866 
   7867   if test "x$ac_ct_NMEDIT" = x; then
   7868     NMEDIT=":"
   7869   else
   7870     case $cross_compiling:$ac_tool_warned in
   7871 yes:)
   7872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7873 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7874 ac_tool_warned=yes ;;
   7875 esac
   7876     NMEDIT=$ac_ct_NMEDIT
   7877   fi
   7878 else
   7879   NMEDIT="$ac_cv_prog_NMEDIT"
   7880 fi
   7881 
   7882     if test -n "$ac_tool_prefix"; then
   7883   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7884 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7886 printf %s "checking for $ac_word... " >&6; }
   7887 if test ${ac_cv_prog_LIPO+y}
   7888 then :
   7889   printf %s "(cached) " >&6
   7890 else $as_nop
   7891   if test -n "$LIPO"; then
   7892   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7893 else
   7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7895 for as_dir in $PATH
   7896 do
   7897   IFS=$as_save_IFS
   7898   case $as_dir in #(((
   7899     '') as_dir=./ ;;
   7900     */) ;;
   7901     *) as_dir=$as_dir/ ;;
   7902   esac
   7903     for ac_exec_ext in '' $ac_executable_extensions; do
   7904   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7905     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7906     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7907     break 2
   7908   fi
   7909 done
   7910   done
   7911 IFS=$as_save_IFS
   7912 
   7913 fi
   7914 fi
   7915 LIPO=$ac_cv_prog_LIPO
   7916 if test -n "$LIPO"; then
   7917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7918 printf "%s\n" "$LIPO" >&6; }
   7919 else
   7920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7921 printf "%s\n" "no" >&6; }
   7922 fi
   7923 
   7924 
   7925 fi
   7926 if test -z "$ac_cv_prog_LIPO"; then
   7927   ac_ct_LIPO=$LIPO
   7928   # Extract the first word of "lipo", so it can be a program name with args.
   7929 set dummy lipo; ac_word=$2
   7930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7931 printf %s "checking for $ac_word... " >&6; }
   7932 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7933 then :
   7934   printf %s "(cached) " >&6
   7935 else $as_nop
   7936   if test -n "$ac_ct_LIPO"; then
   7937   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7938 else
   7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7940 for as_dir in $PATH
   7941 do
   7942   IFS=$as_save_IFS
   7943   case $as_dir in #(((
   7944     '') as_dir=./ ;;
   7945     */) ;;
   7946     *) as_dir=$as_dir/ ;;
   7947   esac
   7948     for ac_exec_ext in '' $ac_executable_extensions; do
   7949   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7950     ac_cv_prog_ac_ct_LIPO="lipo"
   7951     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7952     break 2
   7953   fi
   7954 done
   7955   done
   7956 IFS=$as_save_IFS
   7957 
   7958 fi
   7959 fi
   7960 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7961 if test -n "$ac_ct_LIPO"; then
   7962   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7963 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7964 else
   7965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7966 printf "%s\n" "no" >&6; }
   7967 fi
   7968 
   7969   if test "x$ac_ct_LIPO" = x; then
   7970     LIPO=":"
   7971   else
   7972     case $cross_compiling:$ac_tool_warned in
   7973 yes:)
   7974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7975 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7976 ac_tool_warned=yes ;;
   7977 esac
   7978     LIPO=$ac_ct_LIPO
   7979   fi
   7980 else
   7981   LIPO="$ac_cv_prog_LIPO"
   7982 fi
   7983 
   7984     if test -n "$ac_tool_prefix"; then
   7985   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7986 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7988 printf %s "checking for $ac_word... " >&6; }
   7989 if test ${ac_cv_prog_OTOOL+y}
   7990 then :
   7991   printf %s "(cached) " >&6
   7992 else $as_nop
   7993   if test -n "$OTOOL"; then
   7994   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7995 else
   7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7997 for as_dir in $PATH
   7998 do
   7999   IFS=$as_save_IFS
   8000   case $as_dir in #(((
   8001     '') as_dir=./ ;;
   8002     */) ;;
   8003     *) as_dir=$as_dir/ ;;
   8004   esac
   8005     for ac_exec_ext in '' $ac_executable_extensions; do
   8006   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8007     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8008     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8009     break 2
   8010   fi
   8011 done
   8012   done
   8013 IFS=$as_save_IFS
   8014 
   8015 fi
   8016 fi
   8017 OTOOL=$ac_cv_prog_OTOOL
   8018 if test -n "$OTOOL"; then
   8019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8020 printf "%s\n" "$OTOOL" >&6; }
   8021 else
   8022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8023 printf "%s\n" "no" >&6; }
   8024 fi
   8025 
   8026 
   8027 fi
   8028 if test -z "$ac_cv_prog_OTOOL"; then
   8029   ac_ct_OTOOL=$OTOOL
   8030   # Extract the first word of "otool", so it can be a program name with args.
   8031 set dummy otool; ac_word=$2
   8032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8033 printf %s "checking for $ac_word... " >&6; }
   8034 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8035 then :
   8036   printf %s "(cached) " >&6
   8037 else $as_nop
   8038   if test -n "$ac_ct_OTOOL"; then
   8039   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8040 else
   8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8042 for as_dir in $PATH
   8043 do
   8044   IFS=$as_save_IFS
   8045   case $as_dir in #(((
   8046     '') as_dir=./ ;;
   8047     */) ;;
   8048     *) as_dir=$as_dir/ ;;
   8049   esac
   8050     for ac_exec_ext in '' $ac_executable_extensions; do
   8051   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8052     ac_cv_prog_ac_ct_OTOOL="otool"
   8053     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8054     break 2
   8055   fi
   8056 done
   8057   done
   8058 IFS=$as_save_IFS
   8059 
   8060 fi
   8061 fi
   8062 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8063 if test -n "$ac_ct_OTOOL"; then
   8064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8065 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8066 else
   8067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8068 printf "%s\n" "no" >&6; }
   8069 fi
   8070 
   8071   if test "x$ac_ct_OTOOL" = x; then
   8072     OTOOL=":"
   8073   else
   8074     case $cross_compiling:$ac_tool_warned in
   8075 yes:)
   8076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8077 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8078 ac_tool_warned=yes ;;
   8079 esac
   8080     OTOOL=$ac_ct_OTOOL
   8081   fi
   8082 else
   8083   OTOOL="$ac_cv_prog_OTOOL"
   8084 fi
   8085 
   8086     if test -n "$ac_tool_prefix"; then
   8087   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8088 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8090 printf %s "checking for $ac_word... " >&6; }
   8091 if test ${ac_cv_prog_OTOOL64+y}
   8092 then :
   8093   printf %s "(cached) " >&6
   8094 else $as_nop
   8095   if test -n "$OTOOL64"; then
   8096   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8097 else
   8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8099 for as_dir in $PATH
   8100 do
   8101   IFS=$as_save_IFS
   8102   case $as_dir in #(((
   8103     '') as_dir=./ ;;
   8104     */) ;;
   8105     *) as_dir=$as_dir/ ;;
   8106   esac
   8107     for ac_exec_ext in '' $ac_executable_extensions; do
   8108   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8109     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8110     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8111     break 2
   8112   fi
   8113 done
   8114   done
   8115 IFS=$as_save_IFS
   8116 
   8117 fi
   8118 fi
   8119 OTOOL64=$ac_cv_prog_OTOOL64
   8120 if test -n "$OTOOL64"; then
   8121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8122 printf "%s\n" "$OTOOL64" >&6; }
   8123 else
   8124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8125 printf "%s\n" "no" >&6; }
   8126 fi
   8127 
   8128 
   8129 fi
   8130 if test -z "$ac_cv_prog_OTOOL64"; then
   8131   ac_ct_OTOOL64=$OTOOL64
   8132   # Extract the first word of "otool64", so it can be a program name with args.
   8133 set dummy otool64; ac_word=$2
   8134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8135 printf %s "checking for $ac_word... " >&6; }
   8136 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8137 then :
   8138   printf %s "(cached) " >&6
   8139 else $as_nop
   8140   if test -n "$ac_ct_OTOOL64"; then
   8141   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8142 else
   8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8144 for as_dir in $PATH
   8145 do
   8146   IFS=$as_save_IFS
   8147   case $as_dir in #(((
   8148     '') as_dir=./ ;;
   8149     */) ;;
   8150     *) as_dir=$as_dir/ ;;
   8151   esac
   8152     for ac_exec_ext in '' $ac_executable_extensions; do
   8153   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8154     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8155     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8156     break 2
   8157   fi
   8158 done
   8159   done
   8160 IFS=$as_save_IFS
   8161 
   8162 fi
   8163 fi
   8164 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8165 if test -n "$ac_ct_OTOOL64"; then
   8166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8167 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8168 else
   8169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8170 printf "%s\n" "no" >&6; }
   8171 fi
   8172 
   8173   if test "x$ac_ct_OTOOL64" = x; then
   8174     OTOOL64=":"
   8175   else
   8176     case $cross_compiling:$ac_tool_warned in
   8177 yes:)
   8178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8179 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8180 ac_tool_warned=yes ;;
   8181 esac
   8182     OTOOL64=$ac_ct_OTOOL64
   8183   fi
   8184 else
   8185   OTOOL64="$ac_cv_prog_OTOOL64"
   8186 fi
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8215 printf %s "checking for -single_module linker flag... " >&6; }
   8216 if test ${lt_cv_apple_cc_single_mod+y}
   8217 then :
   8218   printf %s "(cached) " >&6
   8219 else $as_nop
   8220   lt_cv_apple_cc_single_mod=no
   8221       if test -z "$LT_MULTI_MODULE"; then
   8222 	# By default we will add the -single_module flag. You can override
   8223 	# by either setting the environment variable LT_MULTI_MODULE
   8224 	# non-empty at configure time, or by adding -multi_module to the
   8225 	# link flags.
   8226 	rm -rf libconftest.dylib*
   8227 	echo "int foo(void){return 1;}" > conftest.c
   8228 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8229 -dynamiclib -Wl,-single_module conftest.c" >&5
   8230 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8231 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8232         _lt_result=$?
   8233 	# If there is a non-empty error log, and "single_module"
   8234 	# appears in it, assume the flag caused a linker warning
   8235         if test -s conftest.err && $GREP single_module conftest.err; then
   8236 	  cat conftest.err >&5
   8237 	# Otherwise, if the output was created with a 0 exit code from
   8238 	# the compiler, it worked.
   8239 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8240 	  lt_cv_apple_cc_single_mod=yes
   8241 	else
   8242 	  cat conftest.err >&5
   8243 	fi
   8244 	rm -rf libconftest.dylib*
   8245 	rm -f conftest.*
   8246       fi
   8247 fi
   8248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8249 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8250 
   8251     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8252 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8253 if test ${lt_cv_ld_exported_symbols_list+y}
   8254 then :
   8255   printf %s "(cached) " >&6
   8256 else $as_nop
   8257   lt_cv_ld_exported_symbols_list=no
   8258       save_LDFLAGS=$LDFLAGS
   8259       echo "_main" > conftest.sym
   8260       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8261       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8262 /* end confdefs.h.  */
   8263 
   8264 int
   8265 main (void)
   8266 {
   8267 
   8268   ;
   8269   return 0;
   8270 }
   8271 _ACEOF
   8272 if ac_fn_c_try_link "$LINENO"
   8273 then :
   8274   lt_cv_ld_exported_symbols_list=yes
   8275 else $as_nop
   8276   lt_cv_ld_exported_symbols_list=no
   8277 fi
   8278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8279     conftest$ac_exeext conftest.$ac_ext
   8280 	LDFLAGS=$save_LDFLAGS
   8281 
   8282 fi
   8283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8284 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8285 
   8286     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8287 printf %s "checking for -force_load linker flag... " >&6; }
   8288 if test ${lt_cv_ld_force_load+y}
   8289 then :
   8290   printf %s "(cached) " >&6
   8291 else $as_nop
   8292   lt_cv_ld_force_load=no
   8293       cat > conftest.c << _LT_EOF
   8294 int forced_loaded() { return 2;}
   8295 _LT_EOF
   8296       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8297       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8298       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8299       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8300       echo "$RANLIB libconftest.a" >&5
   8301       $RANLIB libconftest.a 2>&5
   8302       cat > conftest.c << _LT_EOF
   8303 int main() { return 0;}
   8304 _LT_EOF
   8305       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8306       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8307       _lt_result=$?
   8308       if test -s conftest.err && $GREP force_load conftest.err; then
   8309 	cat conftest.err >&5
   8310       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8311 	lt_cv_ld_force_load=yes
   8312       else
   8313 	cat conftest.err >&5
   8314       fi
   8315         rm -f conftest.err libconftest.a conftest conftest.c
   8316         rm -rf conftest.dSYM
   8317 
   8318 fi
   8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8320 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8321     case $host_os in
   8322     rhapsody* | darwin1.[012])
   8323       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8324     darwin1.*)
   8325       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8326     darwin*)
   8327       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8328         10.[012],*|,*powerpc*-darwin[5-8]*)
   8329           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8330         *)
   8331           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8332       esac
   8333     ;;
   8334   esac
   8335     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8336       _lt_dar_single_mod='$single_module'
   8337     fi
   8338     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8339       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8340     else
   8341       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8342     fi
   8343     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8344       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8345     else
   8346       _lt_dsymutil=
   8347     fi
   8348     ;;
   8349   esac
   8350 
   8351 # func_munge_path_list VARIABLE PATH
   8352 # -----------------------------------
   8353 # VARIABLE is name of variable containing _space_ separated list of
   8354 # directories to be munged by the contents of PATH, which is string
   8355 # having a format:
   8356 # "DIR[:DIR]:"
   8357 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8358 # ":DIR[:DIR]"
   8359 #       string "DIR[ DIR]" will be appended to VARIABLE
   8360 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8361 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8362 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8363 # "DIR[:DIR]"
   8364 #       VARIABLE will be replaced by "DIR[ DIR]"
   8365 func_munge_path_list ()
   8366 {
   8367     case x$2 in
   8368     x)
   8369         ;;
   8370     *:)
   8371         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8372         ;;
   8373     x:*)
   8374         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8375         ;;
   8376     *::*)
   8377         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8378         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8379         ;;
   8380     *)
   8381         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8382         ;;
   8383     esac
   8384 }
   8385 
   8386 ac_header= ac_cache=
   8387 for ac_item in $ac_header_c_list
   8388 do
   8389   if test $ac_cache; then
   8390     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8391     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8392       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8393     fi
   8394     ac_header= ac_cache=
   8395   elif test $ac_header; then
   8396     ac_cache=$ac_item
   8397   else
   8398     ac_header=$ac_item
   8399   fi
   8400 done
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8410 then :
   8411 
   8412 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8413 
   8414 fi
   8415 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8416 "
   8417 if test "x$ac_cv_header_dlfcn_h" = xyes
   8418 then :
   8419   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8420 
   8421 fi
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 # Set options
   8428 
   8429 
   8430 
   8431         enable_dlopen=no
   8432 
   8433 
   8434   enable_win32_dll=no
   8435 
   8436 
   8437             # Check whether --enable-shared was given.
   8438 if test ${enable_shared+y}
   8439 then :
   8440   enableval=$enable_shared; p=${PACKAGE-default}
   8441     case $enableval in
   8442     yes) enable_shared=yes ;;
   8443     no) enable_shared=no ;;
   8444     *)
   8445       enable_shared=no
   8446       # Look at the argument we got.  We use all the common list separators.
   8447       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8448       for pkg in $enableval; do
   8449 	IFS=$lt_save_ifs
   8450 	if test "X$pkg" = "X$p"; then
   8451 	  enable_shared=yes
   8452 	fi
   8453       done
   8454       IFS=$lt_save_ifs
   8455       ;;
   8456     esac
   8457 else $as_nop
   8458   enable_shared=yes
   8459 fi
   8460 
   8461 
   8462 
   8463 
   8464 
   8465 
   8466 
   8467 
   8468 
   8469   # Check whether --enable-static was given.
   8470 if test ${enable_static+y}
   8471 then :
   8472   enableval=$enable_static; p=${PACKAGE-default}
   8473     case $enableval in
   8474     yes) enable_static=yes ;;
   8475     no) enable_static=no ;;
   8476     *)
   8477      enable_static=no
   8478       # Look at the argument we got.  We use all the common list separators.
   8479       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8480       for pkg in $enableval; do
   8481 	IFS=$lt_save_ifs
   8482 	if test "X$pkg" = "X$p"; then
   8483 	  enable_static=yes
   8484 	fi
   8485       done
   8486       IFS=$lt_save_ifs
   8487       ;;
   8488     esac
   8489 else $as_nop
   8490   enable_static=yes
   8491 fi
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 # Check whether --with-pic was given.
   8503 if test ${with_pic+y}
   8504 then :
   8505   withval=$with_pic; lt_p=${PACKAGE-default}
   8506     case $withval in
   8507     yes|no) pic_mode=$withval ;;
   8508     *)
   8509       pic_mode=default
   8510       # Look at the argument we got.  We use all the common list separators.
   8511       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8512       for lt_pkg in $withval; do
   8513 	IFS=$lt_save_ifs
   8514 	if test "X$lt_pkg" = "X$lt_p"; then
   8515 	  pic_mode=yes
   8516 	fi
   8517       done
   8518       IFS=$lt_save_ifs
   8519       ;;
   8520     esac
   8521 else $as_nop
   8522   pic_mode=default
   8523 fi
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532   # Check whether --enable-fast-install was given.
   8533 if test ${enable_fast_install+y}
   8534 then :
   8535   enableval=$enable_fast_install; p=${PACKAGE-default}
   8536     case $enableval in
   8537     yes) enable_fast_install=yes ;;
   8538     no) enable_fast_install=no ;;
   8539     *)
   8540       enable_fast_install=no
   8541       # Look at the argument we got.  We use all the common list separators.
   8542       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8543       for pkg in $enableval; do
   8544 	IFS=$lt_save_ifs
   8545 	if test "X$pkg" = "X$p"; then
   8546 	  enable_fast_install=yes
   8547 	fi
   8548       done
   8549       IFS=$lt_save_ifs
   8550       ;;
   8551     esac
   8552 else $as_nop
   8553   enable_fast_install=yes
   8554 fi
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563   shared_archive_member_spec=
   8564 case $host,$enable_shared in
   8565 power*-*-aix[5-9]*,yes)
   8566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8567 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8568 
   8569 # Check whether --with-aix-soname was given.
   8570 if test ${with_aix_soname+y}
   8571 then :
   8572   withval=$with_aix_soname; case $withval in
   8573     aix|svr4|both)
   8574       ;;
   8575     *)
   8576       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8577       ;;
   8578     esac
   8579     lt_cv_with_aix_soname=$with_aix_soname
   8580 else $as_nop
   8581   if test ${lt_cv_with_aix_soname+y}
   8582 then :
   8583   printf %s "(cached) " >&6
   8584 else $as_nop
   8585   lt_cv_with_aix_soname=aix
   8586 fi
   8587 
   8588     with_aix_soname=$lt_cv_with_aix_soname
   8589 fi
   8590 
   8591   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8592 printf "%s\n" "$with_aix_soname" >&6; }
   8593   if test aix != "$with_aix_soname"; then
   8594     # For the AIX way of multilib, we name the shared archive member
   8595     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8596     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8597     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8598     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8599     if test 64 = "${OBJECT_MODE-32}"; then
   8600       shared_archive_member_spec=shr_64
   8601     else
   8602       shared_archive_member_spec=shr
   8603     fi
   8604   fi
   8605   ;;
   8606 *)
   8607   with_aix_soname=aix
   8608   ;;
   8609 esac
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 # This can be used to rebuild libtool when needed
   8621 LIBTOOL_DEPS=$ltmain
   8622 
   8623 # Always use our own libtool.
   8624 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 test -z "$LN_S" && LN_S="ln -s"
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 if test -n "${ZSH_VERSION+set}"; then
   8671    setopt NO_GLOB_SUBST
   8672 fi
   8673 
   8674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8675 printf %s "checking for objdir... " >&6; }
   8676 if test ${lt_cv_objdir+y}
   8677 then :
   8678   printf %s "(cached) " >&6
   8679 else $as_nop
   8680   rm -f .libs 2>/dev/null
   8681 mkdir .libs 2>/dev/null
   8682 if test -d .libs; then
   8683   lt_cv_objdir=.libs
   8684 else
   8685   # MS-DOS does not allow filenames that begin with a dot.
   8686   lt_cv_objdir=_libs
   8687 fi
   8688 rmdir .libs 2>/dev/null
   8689 fi
   8690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8691 printf "%s\n" "$lt_cv_objdir" >&6; }
   8692 objdir=$lt_cv_objdir
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8699 
   8700 
   8701 
   8702 
   8703 case $host_os in
   8704 aix3*)
   8705   # AIX sometimes has problems with the GCC collect2 program.  For some
   8706   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8707   # vanish in a puff of smoke.
   8708   if test set != "${COLLECT_NAMES+set}"; then
   8709     COLLECT_NAMES=
   8710     export COLLECT_NAMES
   8711   fi
   8712   ;;
   8713 esac
   8714 
   8715 # Global variables:
   8716 ofile=libtool
   8717 can_build_shared=yes
   8718 
   8719 # All known linkers require a '.a' archive for static linking (except MSVC and
   8720 # ICC, which need '.lib').
   8721 libext=a
   8722 
   8723 with_gnu_ld=$lt_cv_prog_gnu_ld
   8724 
   8725 old_CC=$CC
   8726 old_CFLAGS=$CFLAGS
   8727 
   8728 # Set sane defaults for various variables
   8729 test -z "$CC" && CC=cc
   8730 test -z "$LTCC" && LTCC=$CC
   8731 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8732 test -z "$LD" && LD=ld
   8733 test -z "$ac_objext" && ac_objext=o
   8734 
   8735 func_cc_basename $compiler
   8736 cc_basename=$func_cc_basename_result
   8737 
   8738 
   8739 # Only perform the check for file, if the check method requires it
   8740 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8741 case $deplibs_check_method in
   8742 file_magic*)
   8743   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8744     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8745 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8746 if test ${lt_cv_path_MAGIC_CMD+y}
   8747 then :
   8748   printf %s "(cached) " >&6
   8749 else $as_nop
   8750   case $MAGIC_CMD in
   8751 [\\/*] |  ?:[\\/]*)
   8752   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8753   ;;
   8754 *)
   8755   lt_save_MAGIC_CMD=$MAGIC_CMD
   8756   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8757   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8758   for ac_dir in $ac_dummy; do
   8759     IFS=$lt_save_ifs
   8760     test -z "$ac_dir" && ac_dir=.
   8761     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8762       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8763       if test -n "$file_magic_test_file"; then
   8764 	case $deplibs_check_method in
   8765 	"file_magic "*)
   8766 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8767 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8768 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8769 	    $EGREP "$file_magic_regex" > /dev/null; then
   8770 	    :
   8771 	  else
   8772 	    cat <<_LT_EOF 1>&2
   8773 
   8774 *** Warning: the command libtool uses to detect shared libraries,
   8775 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8776 *** The result is that libtool may fail to recognize shared libraries
   8777 *** as such.  This will affect the creation of libtool libraries that
   8778 *** depend on shared libraries, but programs linked with such libtool
   8779 *** libraries will work regardless of this problem.  Nevertheless, you
   8780 *** may want to report the problem to your system manager and/or to
   8781 *** bug-libtool@gnu.org
   8782 
   8783 _LT_EOF
   8784 	  fi ;;
   8785 	esac
   8786       fi
   8787       break
   8788     fi
   8789   done
   8790   IFS=$lt_save_ifs
   8791   MAGIC_CMD=$lt_save_MAGIC_CMD
   8792   ;;
   8793 esac
   8794 fi
   8795 
   8796 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8797 if test -n "$MAGIC_CMD"; then
   8798   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8799 printf "%s\n" "$MAGIC_CMD" >&6; }
   8800 else
   8801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8802 printf "%s\n" "no" >&6; }
   8803 fi
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8810   if test -n "$ac_tool_prefix"; then
   8811     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8812 printf %s "checking for file... " >&6; }
   8813 if test ${lt_cv_path_MAGIC_CMD+y}
   8814 then :
   8815   printf %s "(cached) " >&6
   8816 else $as_nop
   8817   case $MAGIC_CMD in
   8818 [\\/*] |  ?:[\\/]*)
   8819   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8820   ;;
   8821 *)
   8822   lt_save_MAGIC_CMD=$MAGIC_CMD
   8823   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8824   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8825   for ac_dir in $ac_dummy; do
   8826     IFS=$lt_save_ifs
   8827     test -z "$ac_dir" && ac_dir=.
   8828     if test -f "$ac_dir/file"; then
   8829       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8830       if test -n "$file_magic_test_file"; then
   8831 	case $deplibs_check_method in
   8832 	"file_magic "*)
   8833 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8834 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8835 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8836 	    $EGREP "$file_magic_regex" > /dev/null; then
   8837 	    :
   8838 	  else
   8839 	    cat <<_LT_EOF 1>&2
   8840 
   8841 *** Warning: the command libtool uses to detect shared libraries,
   8842 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8843 *** The result is that libtool may fail to recognize shared libraries
   8844 *** as such.  This will affect the creation of libtool libraries that
   8845 *** depend on shared libraries, but programs linked with such libtool
   8846 *** libraries will work regardless of this problem.  Nevertheless, you
   8847 *** may want to report the problem to your system manager and/or to
   8848 *** bug-libtool@gnu.org
   8849 
   8850 _LT_EOF
   8851 	  fi ;;
   8852 	esac
   8853       fi
   8854       break
   8855     fi
   8856   done
   8857   IFS=$lt_save_ifs
   8858   MAGIC_CMD=$lt_save_MAGIC_CMD
   8859   ;;
   8860 esac
   8861 fi
   8862 
   8863 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8864 if test -n "$MAGIC_CMD"; then
   8865   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8866 printf "%s\n" "$MAGIC_CMD" >&6; }
   8867 else
   8868   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8869 printf "%s\n" "no" >&6; }
   8870 fi
   8871 
   8872 
   8873   else
   8874     MAGIC_CMD=:
   8875   fi
   8876 fi
   8877 
   8878   fi
   8879   ;;
   8880 esac
   8881 
   8882 # Use C for the default configuration in the libtool script
   8883 
   8884 lt_save_CC=$CC
   8885 ac_ext=c
   8886 ac_cpp='$CPP $CPPFLAGS'
   8887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8890 
   8891 
   8892 # Source file extension for C test sources.
   8893 ac_ext=c
   8894 
   8895 # Object file extension for compiled C test sources.
   8896 objext=o
   8897 objext=$objext
   8898 
   8899 # Code to be used in simple compile tests
   8900 lt_simple_compile_test_code="int some_variable = 0;"
   8901 
   8902 # Code to be used in simple link tests
   8903 lt_simple_link_test_code='int main(){return(0);}'
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 # If no C compiler was specified, use CC.
   8912 LTCC=${LTCC-"$CC"}
   8913 
   8914 # If no C compiler flags were specified, use CFLAGS.
   8915 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8916 
   8917 # Allow CC to be a program name with arguments.
   8918 compiler=$CC
   8919 
   8920 # Save the default compiler, since it gets overwritten when the other
   8921 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8922 compiler_DEFAULT=$CC
   8923 
   8924 # save warnings/boilerplate of simple test code
   8925 ac_outfile=conftest.$ac_objext
   8926 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8927 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8928 _lt_compiler_boilerplate=`cat conftest.err`
   8929 $RM conftest*
   8930 
   8931 ac_outfile=conftest.$ac_objext
   8932 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8933 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8934 _lt_linker_boilerplate=`cat conftest.err`
   8935 $RM -r conftest*
   8936 
   8937 
   8938 ## CAVEAT EMPTOR:
   8939 ## There is no encapsulation within the following macros, do not change
   8940 ## the running order or otherwise move them around unless you know exactly
   8941 ## what you are doing...
   8942 if test -n "$compiler"; then
   8943 
   8944 lt_prog_compiler_no_builtin_flag=
   8945 
   8946 if test yes = "$GCC"; then
   8947   case $cc_basename in
   8948   nvcc*)
   8949     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8950   *)
   8951     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8952   esac
   8953 
   8954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8955 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8956 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8957 then :
   8958   printf %s "(cached) " >&6
   8959 else $as_nop
   8960   lt_cv_prog_compiler_rtti_exceptions=no
   8961    ac_outfile=conftest.$ac_objext
   8962    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8963    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8964    # Insert the option either (1) after the last *FLAGS variable, or
   8965    # (2) before a word containing "conftest.", or (3) at the end.
   8966    # Note that $ac_compile itself does not contain backslashes and begins
   8967    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8968    # The option is referenced via a variable to avoid confusing sed.
   8969    lt_compile=`echo "$ac_compile" | $SED \
   8970    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8971    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8972    -e 's:$: $lt_compiler_flag:'`
   8973    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8974    (eval "$lt_compile" 2>conftest.err)
   8975    ac_status=$?
   8976    cat conftest.err >&5
   8977    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8978    if (exit $ac_status) && test -s "$ac_outfile"; then
   8979      # The compiler can only warn and ignore the option if not recognized
   8980      # So say no if there are warnings other than the usual output.
   8981      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8982      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8983      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8984        lt_cv_prog_compiler_rtti_exceptions=yes
   8985      fi
   8986    fi
   8987    $RM conftest*
   8988 
   8989 fi
   8990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8991 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8992 
   8993 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8994     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8995 else
   8996     :
   8997 fi
   8998 
   8999 fi
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006   lt_prog_compiler_wl=
   9007 lt_prog_compiler_pic=
   9008 lt_prog_compiler_static=
   9009 
   9010 
   9011   if test yes = "$GCC"; then
   9012     lt_prog_compiler_wl='-Wl,'
   9013     lt_prog_compiler_static='-static'
   9014 
   9015     case $host_os in
   9016       aix*)
   9017       # All AIX code is PIC.
   9018       if test ia64 = "$host_cpu"; then
   9019 	# AIX 5 now supports IA64 processor
   9020 	lt_prog_compiler_static='-Bstatic'
   9021       fi
   9022       lt_prog_compiler_pic='-fPIC'
   9023       ;;
   9024 
   9025     amigaos*)
   9026       case $host_cpu in
   9027       powerpc)
   9028             # see comment about AmigaOS4 .so support
   9029             lt_prog_compiler_pic='-fPIC'
   9030         ;;
   9031       m68k)
   9032             # FIXME: we need at least 68020 code to build shared libraries, but
   9033             # adding the '-m68020' flag to GCC prevents building anything better,
   9034             # like '-m68040'.
   9035             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9036         ;;
   9037       esac
   9038       ;;
   9039 
   9040     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9041       # PIC is the default for these OSes.
   9042       ;;
   9043 
   9044     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9045       # This hack is so that the source file can tell whether it is being
   9046       # built for inclusion in a dll (and should export symbols for example).
   9047       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9048       # (--disable-auto-import) libraries
   9049       lt_prog_compiler_pic='-DDLL_EXPORT'
   9050       case $host_os in
   9051       os2*)
   9052 	lt_prog_compiler_static='$wl-static'
   9053 	;;
   9054       esac
   9055       ;;
   9056 
   9057     darwin* | rhapsody*)
   9058       # PIC is the default on this platform
   9059       # Common symbols not allowed in MH_DYLIB files
   9060       lt_prog_compiler_pic='-fno-common'
   9061       ;;
   9062 
   9063     haiku*)
   9064       # PIC is the default for Haiku.
   9065       # The "-static" flag exists, but is broken.
   9066       lt_prog_compiler_static=
   9067       ;;
   9068 
   9069     hpux*)
   9070       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9071       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9072       # sets the default TLS model and affects inlining.
   9073       case $host_cpu in
   9074       hppa*64*)
   9075 	# +Z the default
   9076 	;;
   9077       *)
   9078 	lt_prog_compiler_pic='-fPIC'
   9079 	;;
   9080       esac
   9081       ;;
   9082 
   9083     interix[3-9]*)
   9084       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9085       # Instead, we relocate shared libraries at runtime.
   9086       ;;
   9087 
   9088     msdosdjgpp*)
   9089       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9090       # on systems that don't support them.
   9091       lt_prog_compiler_can_build_shared=no
   9092       enable_shared=no
   9093       ;;
   9094 
   9095     *nto* | *qnx*)
   9096       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9097       # it will coredump.
   9098       lt_prog_compiler_pic='-fPIC -shared'
   9099       ;;
   9100 
   9101     sysv4*MP*)
   9102       if test -d /usr/nec; then
   9103 	lt_prog_compiler_pic=-Kconform_pic
   9104       fi
   9105       ;;
   9106 
   9107     *)
   9108       lt_prog_compiler_pic='-fPIC'
   9109       ;;
   9110     esac
   9111 
   9112     case $cc_basename in
   9113     nvcc*) # Cuda Compiler Driver 2.2
   9114       lt_prog_compiler_wl='-Xlinker '
   9115       if test -n "$lt_prog_compiler_pic"; then
   9116         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9117       fi
   9118       ;;
   9119     esac
   9120   else
   9121     # PORTME Check for flag to pass linker flags through the system compiler.
   9122     case $host_os in
   9123     aix*)
   9124       lt_prog_compiler_wl='-Wl,'
   9125       if test ia64 = "$host_cpu"; then
   9126 	# AIX 5 now supports IA64 processor
   9127 	lt_prog_compiler_static='-Bstatic'
   9128       else
   9129 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9130       fi
   9131       ;;
   9132 
   9133     darwin* | rhapsody*)
   9134       # PIC is the default on this platform
   9135       # Common symbols not allowed in MH_DYLIB files
   9136       lt_prog_compiler_pic='-fno-common'
   9137       case $cc_basename in
   9138       nagfor*)
   9139         # NAG Fortran compiler
   9140         lt_prog_compiler_wl='-Wl,-Wl,,'
   9141         lt_prog_compiler_pic='-PIC'
   9142         lt_prog_compiler_static='-Bstatic'
   9143         ;;
   9144       esac
   9145       ;;
   9146 
   9147     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9148       # This hack is so that the source file can tell whether it is being
   9149       # built for inclusion in a dll (and should export symbols for example).
   9150       lt_prog_compiler_pic='-DDLL_EXPORT'
   9151       case $host_os in
   9152       os2*)
   9153 	lt_prog_compiler_static='$wl-static'
   9154 	;;
   9155       esac
   9156       ;;
   9157 
   9158     hpux9* | hpux10* | hpux11*)
   9159       lt_prog_compiler_wl='-Wl,'
   9160       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9161       # not for PA HP-UX.
   9162       case $host_cpu in
   9163       hppa*64*|ia64*)
   9164 	# +Z the default
   9165 	;;
   9166       *)
   9167 	lt_prog_compiler_pic='+Z'
   9168 	;;
   9169       esac
   9170       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9171       lt_prog_compiler_static='$wl-a ${wl}archive'
   9172       ;;
   9173 
   9174     irix5* | irix6* | nonstopux*)
   9175       lt_prog_compiler_wl='-Wl,'
   9176       # PIC (with -KPIC) is the default.
   9177       lt_prog_compiler_static='-non_shared'
   9178       ;;
   9179 
   9180     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9181       case $cc_basename in
   9182       # old Intel for x86_64, which still supported -KPIC.
   9183       ecc*)
   9184 	lt_prog_compiler_wl='-Wl,'
   9185 	lt_prog_compiler_pic='-KPIC'
   9186 	lt_prog_compiler_static='-static'
   9187         ;;
   9188       # flang / f18. f95 an alias for gfortran or flang on Debian
   9189       flang* | f18* | f95*)
   9190 	lt_prog_compiler_wl='-Wl,'
   9191 	lt_prog_compiler_pic='-fPIC'
   9192 	lt_prog_compiler_static='-static'
   9193         ;;
   9194       # icc used to be incompatible with GCC.
   9195       # ICC 10 doesn't accept -KPIC any more.
   9196       icc* | ifort*)
   9197 	lt_prog_compiler_wl='-Wl,'
   9198 	lt_prog_compiler_pic='-fPIC'
   9199 	lt_prog_compiler_static='-static'
   9200         ;;
   9201       # Lahey Fortran 8.1.
   9202       lf95*)
   9203 	lt_prog_compiler_wl='-Wl,'
   9204 	lt_prog_compiler_pic='--shared'
   9205 	lt_prog_compiler_static='--static'
   9206 	;;
   9207       nagfor*)
   9208 	# NAG Fortran compiler
   9209 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9210 	lt_prog_compiler_pic='-PIC'
   9211 	lt_prog_compiler_static='-Bstatic'
   9212 	;;
   9213       tcc*)
   9214 	# Fabrice Bellard et al's Tiny C Compiler
   9215 	lt_prog_compiler_wl='-Wl,'
   9216 	lt_prog_compiler_pic='-fPIC'
   9217 	lt_prog_compiler_static='-static'
   9218 	;;
   9219       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9220         # Portland Group compilers (*not* the Pentium gcc compiler,
   9221 	# which looks to be a dead project)
   9222 	lt_prog_compiler_wl='-Wl,'
   9223 	lt_prog_compiler_pic='-fpic'
   9224 	lt_prog_compiler_static='-Bstatic'
   9225         ;;
   9226       ccc*)
   9227         lt_prog_compiler_wl='-Wl,'
   9228         # All Alpha code is PIC.
   9229         lt_prog_compiler_static='-non_shared'
   9230         ;;
   9231       xl* | bgxl* | bgf* | mpixl*)
   9232 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9233 	lt_prog_compiler_wl='-Wl,'
   9234 	lt_prog_compiler_pic='-qpic'
   9235 	lt_prog_compiler_static='-qstaticlink'
   9236 	;;
   9237       *)
   9238 	case `$CC -V 2>&1 | $SED 5q` in
   9239 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9240 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9241 	  lt_prog_compiler_pic='-KPIC'
   9242 	  lt_prog_compiler_static='-Bstatic'
   9243 	  lt_prog_compiler_wl=''
   9244 	  ;;
   9245 	*Sun\ F* | *Sun*Fortran*)
   9246 	  lt_prog_compiler_pic='-KPIC'
   9247 	  lt_prog_compiler_static='-Bstatic'
   9248 	  lt_prog_compiler_wl='-Qoption ld '
   9249 	  ;;
   9250 	*Sun\ C*)
   9251 	  # Sun C 5.9
   9252 	  lt_prog_compiler_pic='-KPIC'
   9253 	  lt_prog_compiler_static='-Bstatic'
   9254 	  lt_prog_compiler_wl='-Wl,'
   9255 	  ;;
   9256         *Intel*\ [CF]*Compiler*)
   9257 	  lt_prog_compiler_wl='-Wl,'
   9258 	  lt_prog_compiler_pic='-fPIC'
   9259 	  lt_prog_compiler_static='-static'
   9260 	  ;;
   9261 	*Portland\ Group*)
   9262 	  lt_prog_compiler_wl='-Wl,'
   9263 	  lt_prog_compiler_pic='-fpic'
   9264 	  lt_prog_compiler_static='-Bstatic'
   9265 	  ;;
   9266 	esac
   9267 	;;
   9268       esac
   9269       ;;
   9270 
   9271     newsos6)
   9272       lt_prog_compiler_pic='-KPIC'
   9273       lt_prog_compiler_static='-Bstatic'
   9274       ;;
   9275 
   9276     *nto* | *qnx*)
   9277       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9278       # it will coredump.
   9279       lt_prog_compiler_pic='-fPIC -shared'
   9280       ;;
   9281 
   9282     osf3* | osf4* | osf5*)
   9283       lt_prog_compiler_wl='-Wl,'
   9284       # All OSF/1 code is PIC.
   9285       lt_prog_compiler_static='-non_shared'
   9286       ;;
   9287 
   9288     rdos*)
   9289       lt_prog_compiler_static='-non_shared'
   9290       ;;
   9291 
   9292     solaris*)
   9293       lt_prog_compiler_pic='-KPIC'
   9294       lt_prog_compiler_static='-Bstatic'
   9295       case $cc_basename in
   9296       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9297 	lt_prog_compiler_wl='-Qoption ld ';;
   9298       *)
   9299 	lt_prog_compiler_wl='-Wl,';;
   9300       esac
   9301       ;;
   9302 
   9303     sunos4*)
   9304       lt_prog_compiler_wl='-Qoption ld '
   9305       lt_prog_compiler_pic='-PIC'
   9306       lt_prog_compiler_static='-Bstatic'
   9307       ;;
   9308 
   9309     sysv4 | sysv4.2uw2* | sysv4.3*)
   9310       lt_prog_compiler_wl='-Wl,'
   9311       lt_prog_compiler_pic='-KPIC'
   9312       lt_prog_compiler_static='-Bstatic'
   9313       ;;
   9314 
   9315     sysv4*MP*)
   9316       if test -d /usr/nec; then
   9317 	lt_prog_compiler_pic='-Kconform_pic'
   9318 	lt_prog_compiler_static='-Bstatic'
   9319       fi
   9320       ;;
   9321 
   9322     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9323       lt_prog_compiler_wl='-Wl,'
   9324       lt_prog_compiler_pic='-KPIC'
   9325       lt_prog_compiler_static='-Bstatic'
   9326       ;;
   9327 
   9328     unicos*)
   9329       lt_prog_compiler_wl='-Wl,'
   9330       lt_prog_compiler_can_build_shared=no
   9331       ;;
   9332 
   9333     uts4*)
   9334       lt_prog_compiler_pic='-pic'
   9335       lt_prog_compiler_static='-Bstatic'
   9336       ;;
   9337 
   9338     *)
   9339       lt_prog_compiler_can_build_shared=no
   9340       ;;
   9341     esac
   9342   fi
   9343 
   9344 case $host_os in
   9345   # For platforms that do not support PIC, -DPIC is meaningless:
   9346   *djgpp*)
   9347     lt_prog_compiler_pic=
   9348     ;;
   9349   *)
   9350     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9351     ;;
   9352 esac
   9353 
   9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9355 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9356 if test ${lt_cv_prog_compiler_pic+y}
   9357 then :
   9358   printf %s "(cached) " >&6
   9359 else $as_nop
   9360   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9361 fi
   9362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9363 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9364 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9365 
   9366 #
   9367 # Check to make sure the PIC flag actually works.
   9368 #
   9369 if test -n "$lt_prog_compiler_pic"; then
   9370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9371 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9372 if test ${lt_cv_prog_compiler_pic_works+y}
   9373 then :
   9374   printf %s "(cached) " >&6
   9375 else $as_nop
   9376   lt_cv_prog_compiler_pic_works=no
   9377    ac_outfile=conftest.$ac_objext
   9378    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9379    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9380    # Insert the option either (1) after the last *FLAGS variable, or
   9381    # (2) before a word containing "conftest.", or (3) at the end.
   9382    # Note that $ac_compile itself does not contain backslashes and begins
   9383    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9384    # The option is referenced via a variable to avoid confusing sed.
   9385    lt_compile=`echo "$ac_compile" | $SED \
   9386    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9387    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9388    -e 's:$: $lt_compiler_flag:'`
   9389    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9390    (eval "$lt_compile" 2>conftest.err)
   9391    ac_status=$?
   9392    cat conftest.err >&5
   9393    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9394    if (exit $ac_status) && test -s "$ac_outfile"; then
   9395      # The compiler can only warn and ignore the option if not recognized
   9396      # So say no if there are warnings other than the usual output.
   9397      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9398      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9399      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9400        lt_cv_prog_compiler_pic_works=yes
   9401      fi
   9402    fi
   9403    $RM conftest*
   9404 
   9405 fi
   9406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9407 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9408 
   9409 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9410     case $lt_prog_compiler_pic in
   9411      "" | " "*) ;;
   9412      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9413      esac
   9414 else
   9415     lt_prog_compiler_pic=
   9416      lt_prog_compiler_can_build_shared=no
   9417 fi
   9418 
   9419 fi
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 #
   9432 # Check to make sure the static flag actually works.
   9433 #
   9434 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9436 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9437 if test ${lt_cv_prog_compiler_static_works+y}
   9438 then :
   9439   printf %s "(cached) " >&6
   9440 else $as_nop
   9441   lt_cv_prog_compiler_static_works=no
   9442    save_LDFLAGS=$LDFLAGS
   9443    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9444    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9445    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9446      # The linker can only warn and ignore the option if not recognized
   9447      # So say no if there are warnings
   9448      if test -s conftest.err; then
   9449        # Append any errors to the config.log.
   9450        cat conftest.err 1>&5
   9451        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9452        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9453        if diff conftest.exp conftest.er2 >/dev/null; then
   9454          lt_cv_prog_compiler_static_works=yes
   9455        fi
   9456      else
   9457        lt_cv_prog_compiler_static_works=yes
   9458      fi
   9459    fi
   9460    $RM -r conftest*
   9461    LDFLAGS=$save_LDFLAGS
   9462 
   9463 fi
   9464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9465 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9466 
   9467 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9468     :
   9469 else
   9470     lt_prog_compiler_static=
   9471 fi
   9472 
   9473 
   9474 
   9475 
   9476 
   9477 
   9478 
   9479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9480 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9481 if test ${lt_cv_prog_compiler_c_o+y}
   9482 then :
   9483   printf %s "(cached) " >&6
   9484 else $as_nop
   9485   lt_cv_prog_compiler_c_o=no
   9486    $RM -r conftest 2>/dev/null
   9487    mkdir conftest
   9488    cd conftest
   9489    mkdir out
   9490    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9491 
   9492    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9493    # Insert the option either (1) after the last *FLAGS variable, or
   9494    # (2) before a word containing "conftest.", or (3) at the end.
   9495    # Note that $ac_compile itself does not contain backslashes and begins
   9496    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9497    lt_compile=`echo "$ac_compile" | $SED \
   9498    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9499    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9500    -e 's:$: $lt_compiler_flag:'`
   9501    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9502    (eval "$lt_compile" 2>out/conftest.err)
   9503    ac_status=$?
   9504    cat out/conftest.err >&5
   9505    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9506    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9507    then
   9508      # The compiler can only warn and ignore the option if not recognized
   9509      # So say no if there are warnings
   9510      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9511      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9512      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9513        lt_cv_prog_compiler_c_o=yes
   9514      fi
   9515    fi
   9516    chmod u+w . 2>&5
   9517    $RM conftest*
   9518    # SGI C++ compiler will create directory out/ii_files/ for
   9519    # template instantiation
   9520    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9521    $RM out/* && rmdir out
   9522    cd ..
   9523    $RM -r conftest
   9524    $RM conftest*
   9525 
   9526 fi
   9527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9528 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9536 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9537 if test ${lt_cv_prog_compiler_c_o+y}
   9538 then :
   9539   printf %s "(cached) " >&6
   9540 else $as_nop
   9541   lt_cv_prog_compiler_c_o=no
   9542    $RM -r conftest 2>/dev/null
   9543    mkdir conftest
   9544    cd conftest
   9545    mkdir out
   9546    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9547 
   9548    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9549    # Insert the option either (1) after the last *FLAGS variable, or
   9550    # (2) before a word containing "conftest.", or (3) at the end.
   9551    # Note that $ac_compile itself does not contain backslashes and begins
   9552    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9553    lt_compile=`echo "$ac_compile" | $SED \
   9554    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9555    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9556    -e 's:$: $lt_compiler_flag:'`
   9557    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9558    (eval "$lt_compile" 2>out/conftest.err)
   9559    ac_status=$?
   9560    cat out/conftest.err >&5
   9561    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9562    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9563    then
   9564      # The compiler can only warn and ignore the option if not recognized
   9565      # So say no if there are warnings
   9566      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9567      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9568      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9569        lt_cv_prog_compiler_c_o=yes
   9570      fi
   9571    fi
   9572    chmod u+w . 2>&5
   9573    $RM conftest*
   9574    # SGI C++ compiler will create directory out/ii_files/ for
   9575    # template instantiation
   9576    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9577    $RM out/* && rmdir out
   9578    cd ..
   9579    $RM -r conftest
   9580    $RM conftest*
   9581 
   9582 fi
   9583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9584 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9585 
   9586 
   9587 
   9588 
   9589 hard_links=nottested
   9590 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9591   # do not overwrite the value of need_locks provided by the user
   9592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9593 printf %s "checking if we can lock with hard links... " >&6; }
   9594   hard_links=yes
   9595   $RM conftest*
   9596   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9597   touch conftest.a
   9598   ln conftest.a conftest.b 2>&5 || hard_links=no
   9599   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9601 printf "%s\n" "$hard_links" >&6; }
   9602   if test no = "$hard_links"; then
   9603     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9604 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9605     need_locks=warn
   9606   fi
   9607 else
   9608   need_locks=no
   9609 fi
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9617 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9618 
   9619   runpath_var=
   9620   allow_undefined_flag=
   9621   always_export_symbols=no
   9622   archive_cmds=
   9623   archive_expsym_cmds=
   9624   compiler_needs_object=no
   9625   enable_shared_with_static_runtimes=no
   9626   export_dynamic_flag_spec=
   9627   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9628   hardcode_automatic=no
   9629   hardcode_direct=no
   9630   hardcode_direct_absolute=no
   9631   hardcode_libdir_flag_spec=
   9632   hardcode_libdir_separator=
   9633   hardcode_minus_L=no
   9634   hardcode_shlibpath_var=unsupported
   9635   inherit_rpath=no
   9636   link_all_deplibs=unknown
   9637   module_cmds=
   9638   module_expsym_cmds=
   9639   old_archive_from_new_cmds=
   9640   old_archive_from_expsyms_cmds=
   9641   thread_safe_flag_spec=
   9642   whole_archive_flag_spec=
   9643   # include_expsyms should be a list of space-separated symbols to be *always*
   9644   # included in the symbol list
   9645   include_expsyms=
   9646   # exclude_expsyms can be an extended regexp of symbols to exclude
   9647   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9648   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9649   # as well as any symbol that contains 'd'.
   9650   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9651   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9652   # platforms (ab)use it in PIC code, but their linkers get confused if
   9653   # the symbol is explicitly referenced.  Since portable code cannot
   9654   # rely on this symbol name, it's probably fine to never include it in
   9655   # preloaded symbol tables.
   9656   # Exclude shared library initialization/finalization symbols.
   9657   extract_expsyms_cmds=
   9658 
   9659   case $host_os in
   9660   cygwin* | mingw* | pw32* | cegcc*)
   9661     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9662     # When not using gcc, we currently assume that we are using
   9663     # Microsoft Visual C++ or Intel C++ Compiler.
   9664     if test yes != "$GCC"; then
   9665       with_gnu_ld=no
   9666     fi
   9667     ;;
   9668   interix*)
   9669     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9670     with_gnu_ld=yes
   9671     ;;
   9672   openbsd* | bitrig*)
   9673     with_gnu_ld=no
   9674     ;;
   9675   linux* | k*bsd*-gnu | gnu*)
   9676     link_all_deplibs=no
   9677     ;;
   9678   esac
   9679 
   9680   ld_shlibs=yes
   9681 
   9682   # On some targets, GNU ld is compatible enough with the native linker
   9683   # that we're better off using the native interface for both.
   9684   lt_use_gnu_ld_interface=no
   9685   if test yes = "$with_gnu_ld"; then
   9686     case $host_os in
   9687       aix*)
   9688 	# The AIX port of GNU ld has always aspired to compatibility
   9689 	# with the native linker.  However, as the warning in the GNU ld
   9690 	# block says, versions before 2.19.5* couldn't really create working
   9691 	# shared libraries, regardless of the interface used.
   9692 	case `$LD -v 2>&1` in
   9693 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9694 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9695 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9696 	  *)
   9697 	    lt_use_gnu_ld_interface=yes
   9698 	    ;;
   9699 	esac
   9700 	;;
   9701       *)
   9702 	lt_use_gnu_ld_interface=yes
   9703 	;;
   9704     esac
   9705   fi
   9706 
   9707   if test yes = "$lt_use_gnu_ld_interface"; then
   9708     # If archive_cmds runs LD, not CC, wlarc should be empty
   9709     wlarc='$wl'
   9710 
   9711     # Set some defaults for GNU ld with shared library support. These
   9712     # are reset later if shared libraries are not supported. Putting them
   9713     # here allows them to be overridden if necessary.
   9714     runpath_var=LD_RUN_PATH
   9715     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9716     export_dynamic_flag_spec='$wl--export-dynamic'
   9717     # ancient GNU ld didn't support --whole-archive et. al.
   9718     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9719       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9720     else
   9721       whole_archive_flag_spec=
   9722     fi
   9723     supports_anon_versioning=no
   9724     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9725       *GNU\ gold*) supports_anon_versioning=yes ;;
   9726       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9727       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9728       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9729       *\ 2.11.*) ;; # other 2.11 versions
   9730       *) supports_anon_versioning=yes ;;
   9731     esac
   9732 
   9733     # See if GNU ld supports shared libraries.
   9734     case $host_os in
   9735     aix[3-9]*)
   9736       # On AIX/PPC, the GNU linker is very broken
   9737       if test ia64 != "$host_cpu"; then
   9738 	ld_shlibs=no
   9739 	cat <<_LT_EOF 1>&2
   9740 
   9741 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9742 *** to be unable to reliably create shared libraries on AIX.
   9743 *** Therefore, libtool is disabling shared libraries support.  If you
   9744 *** really care for shared libraries, you may want to install binutils
   9745 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9746 *** You will then need to restart the configuration process.
   9747 
   9748 _LT_EOF
   9749       fi
   9750       ;;
   9751 
   9752     amigaos*)
   9753       case $host_cpu in
   9754       powerpc)
   9755             # see comment about AmigaOS4 .so support
   9756             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9757             archive_expsym_cmds=''
   9758         ;;
   9759       m68k)
   9760             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)'
   9761             hardcode_libdir_flag_spec='-L$libdir'
   9762             hardcode_minus_L=yes
   9763         ;;
   9764       esac
   9765       ;;
   9766 
   9767     beos*)
   9768       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9769 	allow_undefined_flag=unsupported
   9770 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9771 	# support --undefined.  This deserves some investigation.  FIXME
   9772 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9773       else
   9774 	ld_shlibs=no
   9775       fi
   9776       ;;
   9777 
   9778     cygwin* | mingw* | pw32* | cegcc*)
   9779       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9780       # as there is no search path for DLLs.
   9781       hardcode_libdir_flag_spec='-L$libdir'
   9782       export_dynamic_flag_spec='$wl--export-all-symbols'
   9783       allow_undefined_flag=unsupported
   9784       always_export_symbols=no
   9785       enable_shared_with_static_runtimes=yes
   9786       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'
   9787       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9788 
   9789       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9790         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9791 	# If the export-symbols file already is a .def file, use it as
   9792 	# is; otherwise, prepend EXPORTS...
   9793 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9794           cp $export_symbols $output_objdir/$soname.def;
   9795         else
   9796           echo EXPORTS > $output_objdir/$soname.def;
   9797           cat $export_symbols >> $output_objdir/$soname.def;
   9798         fi~
   9799         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9800       else
   9801 	ld_shlibs=no
   9802       fi
   9803       ;;
   9804 
   9805     haiku*)
   9806       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9807       link_all_deplibs=yes
   9808       ;;
   9809 
   9810     os2*)
   9811       hardcode_libdir_flag_spec='-L$libdir'
   9812       hardcode_minus_L=yes
   9813       allow_undefined_flag=unsupported
   9814       shrext_cmds=.dll
   9815       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9816 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9817 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9818 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9819 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9820 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9821 	emximp -o $lib $output_objdir/$libname.def'
   9822       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9823 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9824 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9825 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9826 	prefix_cmds="$SED"~
   9827 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9828 	  prefix_cmds="$prefix_cmds -e 1d";
   9829 	fi~
   9830 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9831 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9832 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9833 	emximp -o $lib $output_objdir/$libname.def'
   9834       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9835       enable_shared_with_static_runtimes=yes
   9836       file_list_spec='@'
   9837       ;;
   9838 
   9839     interix[3-9]*)
   9840       hardcode_direct=no
   9841       hardcode_shlibpath_var=no
   9842       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9843       export_dynamic_flag_spec='$wl-E'
   9844       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9845       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9846       # default) and relocated if they conflict, which is a slow very memory
   9847       # consuming and fragmenting process.  To avoid this, we pick a random,
   9848       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9849       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9850       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9851       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'
   9852       ;;
   9853 
   9854     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9855       tmp_diet=no
   9856       if test linux-dietlibc = "$host_os"; then
   9857 	case $cc_basename in
   9858 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9859 	esac
   9860       fi
   9861       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9862 	 && test no = "$tmp_diet"
   9863       then
   9864 	tmp_addflag=' $pic_flag'
   9865 	tmp_sharedflag='-shared'
   9866 	case $cc_basename,$host_cpu in
   9867         pgcc*)				# Portland Group C compiler
   9868 	  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'
   9869 	  tmp_addflag=' $pic_flag'
   9870 	  ;;
   9871 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9872 					# Portland Group f77 and f90 compilers
   9873 	  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'
   9874 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9875 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9876 	  tmp_addflag=' -i_dynamic' ;;
   9877 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9878 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9879 	ifc* | ifort*)			# Intel Fortran compiler
   9880 	  tmp_addflag=' -nofor_main' ;;
   9881 	lf95*)				# Lahey Fortran 8.1
   9882 	  whole_archive_flag_spec=
   9883 	  tmp_sharedflag='--shared' ;;
   9884         nagfor*)                        # NAGFOR 5.3
   9885           tmp_sharedflag='-Wl,-shared' ;;
   9886 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9887 	  tmp_sharedflag='-qmkshrobj'
   9888 	  tmp_addflag= ;;
   9889 	nvcc*)	# Cuda Compiler Driver 2.2
   9890 	  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'
   9891 	  compiler_needs_object=yes
   9892 	  ;;
   9893 	esac
   9894 	case `$CC -V 2>&1 | $SED 5q` in
   9895 	*Sun\ C*)			# Sun C 5.9
   9896 	  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'
   9897 	  compiler_needs_object=yes
   9898 	  tmp_sharedflag='-G' ;;
   9899 	*Sun\ F*)			# Sun Fortran 8.3
   9900 	  tmp_sharedflag='-G' ;;
   9901 	esac
   9902 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9903 
   9904         if test yes = "$supports_anon_versioning"; then
   9905           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9906             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9907             echo "local: *; };" >> $output_objdir/$libname.ver~
   9908             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9909         fi
   9910 
   9911 	case $cc_basename in
   9912 	tcc*)
   9913 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9914 	  export_dynamic_flag_spec='-rdynamic'
   9915 	  ;;
   9916 	xlf* | bgf* | bgxlf* | mpixlf*)
   9917 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9918 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9919 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9920 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9921 	  if test yes = "$supports_anon_versioning"; then
   9922 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9923               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9924               echo "local: *; };" >> $output_objdir/$libname.ver~
   9925               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9926 	  fi
   9927 	  ;;
   9928 	esac
   9929       else
   9930         ld_shlibs=no
   9931       fi
   9932       ;;
   9933 
   9934     netbsd* | netbsdelf*-gnu)
   9935       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9936 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9937 	wlarc=
   9938       else
   9939 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9940 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9941       fi
   9942       ;;
   9943 
   9944     solaris*)
   9945       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9946 	ld_shlibs=no
   9947 	cat <<_LT_EOF 1>&2
   9948 
   9949 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9950 *** create shared libraries on Solaris systems.  Therefore, libtool
   9951 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9952 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9953 *** your PATH or compiler configuration so that the native linker is
   9954 *** used, and then restart.
   9955 
   9956 _LT_EOF
   9957       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9958 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9959 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9960       else
   9961 	ld_shlibs=no
   9962       fi
   9963       ;;
   9964 
   9965     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9966       case `$LD -v 2>&1` in
   9967         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9968 	ld_shlibs=no
   9969 	cat <<_LT_EOF 1>&2
   9970 
   9971 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9972 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9973 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9974 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9975 *** your PATH or compiler configuration so that the native linker is
   9976 *** used, and then restart.
   9977 
   9978 _LT_EOF
   9979 	;;
   9980 	*)
   9981 	  # For security reasons, it is highly recommended that you always
   9982 	  # use absolute paths for naming shared libraries, and exclude the
   9983 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9984 	  # requires that you compile everything twice, which is a pain.
   9985 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9986 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9987 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9988 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9989 	  else
   9990 	    ld_shlibs=no
   9991 	  fi
   9992 	;;
   9993       esac
   9994       ;;
   9995 
   9996     sunos4*)
   9997       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9998       wlarc=
   9999       hardcode_direct=yes
   10000       hardcode_shlibpath_var=no
   10001       ;;
   10002 
   10003     *)
   10004       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10005 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10006 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10007       else
   10008 	ld_shlibs=no
   10009       fi
   10010       ;;
   10011     esac
   10012 
   10013     if test no = "$ld_shlibs"; then
   10014       runpath_var=
   10015       hardcode_libdir_flag_spec=
   10016       export_dynamic_flag_spec=
   10017       whole_archive_flag_spec=
   10018     fi
   10019   else
   10020     # PORTME fill in a description of your system's linker (not GNU ld)
   10021     case $host_os in
   10022     aix3*)
   10023       allow_undefined_flag=unsupported
   10024       always_export_symbols=yes
   10025       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'
   10026       # Note: this linker hardcodes the directories in LIBPATH if there
   10027       # are no directories specified by -L.
   10028       hardcode_minus_L=yes
   10029       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10030 	# Neither direct hardcoding nor static linking is supported with a
   10031 	# broken collect2.
   10032 	hardcode_direct=unsupported
   10033       fi
   10034       ;;
   10035 
   10036     aix[4-9]*)
   10037       if test ia64 = "$host_cpu"; then
   10038 	# On IA64, the linker does run time linking by default, so we don't
   10039 	# have to do anything special.
   10040 	aix_use_runtimelinking=no
   10041 	exp_sym_flag='-Bexport'
   10042 	no_entry_flag=
   10043       else
   10044 	# If we're using GNU nm, then we don't want the "-C" option.
   10045 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10046 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10047 	# weak defined symbols like other global defined symbols, whereas
   10048 	# GNU nm marks them as "W".
   10049 	# While the 'weak' keyword is ignored in the Export File, we need
   10050 	# it in the Import File for the 'aix-soname' feature, so we have
   10051 	# to replace the "-B" option with "-P" for AIX nm.
   10052 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10053 	  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'
   10054 	else
   10055 	  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'
   10056 	fi
   10057 	aix_use_runtimelinking=no
   10058 
   10059 	# Test if we are trying to use run time linking or normal
   10060 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10061 	# have runtime linking enabled, and use it for executables.
   10062 	# For shared libraries, we enable/disable runtime linking
   10063 	# depending on the kind of the shared library created -
   10064 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10065 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10066 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10067 	#            lib.a           static archive
   10068 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10069 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10070 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10071 	#            lib.a(lib.so.V) shared, rtl:no
   10072 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10073 	#            lib.a           static archive
   10074 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10075 	  for ld_flag in $LDFLAGS; do
   10076 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10077 	    aix_use_runtimelinking=yes
   10078 	    break
   10079 	  fi
   10080 	  done
   10081 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10082 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10083 	    # so we don't have lib.a shared libs to link our executables.
   10084 	    # We have to force runtime linking in this case.
   10085 	    aix_use_runtimelinking=yes
   10086 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10087 	  fi
   10088 	  ;;
   10089 	esac
   10090 
   10091 	exp_sym_flag='-bexport'
   10092 	no_entry_flag='-bnoentry'
   10093       fi
   10094 
   10095       # When large executables or shared objects are built, AIX ld can
   10096       # have problems creating the table of contents.  If linking a library
   10097       # or program results in "error TOC overflow" add -mminimal-toc to
   10098       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10099       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10100 
   10101       archive_cmds=''
   10102       hardcode_direct=yes
   10103       hardcode_direct_absolute=yes
   10104       hardcode_libdir_separator=':'
   10105       link_all_deplibs=yes
   10106       file_list_spec='$wl-f,'
   10107       case $with_aix_soname,$aix_use_runtimelinking in
   10108       aix,*) ;; # traditional, no import file
   10109       svr4,* | *,yes) # use import file
   10110 	# The Import File defines what to hardcode.
   10111 	hardcode_direct=no
   10112 	hardcode_direct_absolute=no
   10113 	;;
   10114       esac
   10115 
   10116       if test yes = "$GCC"; then
   10117 	case $host_os in aix4.[012]|aix4.[012].*)
   10118 	# We only want to do this on AIX 4.2 and lower, the check
   10119 	# below for broken collect2 doesn't work under 4.3+
   10120 	  collect2name=`$CC -print-prog-name=collect2`
   10121 	  if test -f "$collect2name" &&
   10122 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10123 	  then
   10124 	  # We have reworked collect2
   10125 	  :
   10126 	  else
   10127 	  # We have old collect2
   10128 	  hardcode_direct=unsupported
   10129 	  # It fails to find uninstalled libraries when the uninstalled
   10130 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10131 	  # to unsupported forces relinking
   10132 	  hardcode_minus_L=yes
   10133 	  hardcode_libdir_flag_spec='-L$libdir'
   10134 	  hardcode_libdir_separator=
   10135 	  fi
   10136 	  ;;
   10137 	esac
   10138 	shared_flag='-shared'
   10139 	if test yes = "$aix_use_runtimelinking"; then
   10140 	  shared_flag="$shared_flag "'$wl-G'
   10141 	fi
   10142 	# Need to ensure runtime linking is disabled for the traditional
   10143 	# shared library, or the linker may eventually find shared libraries
   10144 	# /with/ Import File - we do not want to mix them.
   10145 	shared_flag_aix='-shared'
   10146 	shared_flag_svr4='-shared $wl-G'
   10147       else
   10148 	# not using gcc
   10149 	if test ia64 = "$host_cpu"; then
   10150 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10151 	# chokes on -Wl,-G. The following line is correct:
   10152 	  shared_flag='-G'
   10153 	else
   10154 	  if test yes = "$aix_use_runtimelinking"; then
   10155 	    shared_flag='$wl-G'
   10156 	  else
   10157 	    shared_flag='$wl-bM:SRE'
   10158 	  fi
   10159 	  shared_flag_aix='$wl-bM:SRE'
   10160 	  shared_flag_svr4='$wl-G'
   10161 	fi
   10162       fi
   10163 
   10164       export_dynamic_flag_spec='$wl-bexpall'
   10165       # It seems that -bexpall does not export symbols beginning with
   10166       # underscore (_), so it is better to generate a list of symbols to export.
   10167       always_export_symbols=yes
   10168       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10169 	# Warning - without using the other runtime loading flags (-brtl),
   10170 	# -berok will link without error, but may produce a broken library.
   10171 	allow_undefined_flag='-berok'
   10172         # Determine the default libpath from the value encoded in an
   10173         # empty executable.
   10174         if test set = "${lt_cv_aix_libpath+set}"; then
   10175   aix_libpath=$lt_cv_aix_libpath
   10176 else
   10177   if test ${lt_cv_aix_libpath_+y}
   10178 then :
   10179   printf %s "(cached) " >&6
   10180 else $as_nop
   10181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10182 /* end confdefs.h.  */
   10183 
   10184 int
   10185 main (void)
   10186 {
   10187 
   10188   ;
   10189   return 0;
   10190 }
   10191 _ACEOF
   10192 if ac_fn_c_try_link "$LINENO"
   10193 then :
   10194 
   10195   lt_aix_libpath_sed='
   10196       /Import File Strings/,/^$/ {
   10197 	  /^0/ {
   10198 	      s/^0  *\([^ ]*\) *$/\1/
   10199 	      p
   10200 	  }
   10201       }'
   10202   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10203   # Check for a 64-bit object if we didn't find anything.
   10204   if test -z "$lt_cv_aix_libpath_"; then
   10205     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10206   fi
   10207 fi
   10208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10209     conftest$ac_exeext conftest.$ac_ext
   10210   if test -z "$lt_cv_aix_libpath_"; then
   10211     lt_cv_aix_libpath_=/usr/lib:/lib
   10212   fi
   10213 
   10214 fi
   10215 
   10216   aix_libpath=$lt_cv_aix_libpath_
   10217 fi
   10218 
   10219         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10220         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
   10221       else
   10222 	if test ia64 = "$host_cpu"; then
   10223 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10224 	  allow_undefined_flag="-z nodefs"
   10225 	  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"
   10226 	else
   10227 	 # Determine the default libpath from the value encoded in an
   10228 	 # empty executable.
   10229 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10230   aix_libpath=$lt_cv_aix_libpath
   10231 else
   10232   if test ${lt_cv_aix_libpath_+y}
   10233 then :
   10234   printf %s "(cached) " >&6
   10235 else $as_nop
   10236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10237 /* end confdefs.h.  */
   10238 
   10239 int
   10240 main (void)
   10241 {
   10242 
   10243   ;
   10244   return 0;
   10245 }
   10246 _ACEOF
   10247 if ac_fn_c_try_link "$LINENO"
   10248 then :
   10249 
   10250   lt_aix_libpath_sed='
   10251       /Import File Strings/,/^$/ {
   10252 	  /^0/ {
   10253 	      s/^0  *\([^ ]*\) *$/\1/
   10254 	      p
   10255 	  }
   10256       }'
   10257   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10258   # Check for a 64-bit object if we didn't find anything.
   10259   if test -z "$lt_cv_aix_libpath_"; then
   10260     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10261   fi
   10262 fi
   10263 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10264     conftest$ac_exeext conftest.$ac_ext
   10265   if test -z "$lt_cv_aix_libpath_"; then
   10266     lt_cv_aix_libpath_=/usr/lib:/lib
   10267   fi
   10268 
   10269 fi
   10270 
   10271   aix_libpath=$lt_cv_aix_libpath_
   10272 fi
   10273 
   10274 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10275 	  # Warning - without using the other run time loading flags,
   10276 	  # -berok will link without error, but may produce a broken library.
   10277 	  no_undefined_flag=' $wl-bernotok'
   10278 	  allow_undefined_flag=' $wl-berok'
   10279 	  if test yes = "$with_gnu_ld"; then
   10280 	    # We only use this code for GNU lds that support --whole-archive.
   10281 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10282 	  else
   10283 	    # Exported symbols can be pulled into shared objects from archives
   10284 	    whole_archive_flag_spec='$convenience'
   10285 	  fi
   10286 	  archive_cmds_need_lc=yes
   10287 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10288 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10289 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10290 	  if test svr4 != "$with_aix_soname"; then
   10291 	    # This is similar to how AIX traditionally builds its shared libraries.
   10292 	    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'
   10293 	  fi
   10294 	  if test aix != "$with_aix_soname"; then
   10295 	    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'
   10296 	  else
   10297 	    # used by -dlpreopen to get the symbols
   10298 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10299 	  fi
   10300 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10301 	fi
   10302       fi
   10303       ;;
   10304 
   10305     amigaos*)
   10306       case $host_cpu in
   10307       powerpc)
   10308             # see comment about AmigaOS4 .so support
   10309             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10310             archive_expsym_cmds=''
   10311         ;;
   10312       m68k)
   10313             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)'
   10314             hardcode_libdir_flag_spec='-L$libdir'
   10315             hardcode_minus_L=yes
   10316         ;;
   10317       esac
   10318       ;;
   10319 
   10320     bsdi[45]*)
   10321       export_dynamic_flag_spec=-rdynamic
   10322       ;;
   10323 
   10324     cygwin* | mingw* | pw32* | cegcc*)
   10325       # When not using gcc, we currently assume that we are using
   10326       # Microsoft Visual C++ or Intel C++ Compiler.
   10327       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10328       # no search path for DLLs.
   10329       case $cc_basename in
   10330       cl* | icl*)
   10331 	# Native MSVC or ICC
   10332 	hardcode_libdir_flag_spec=' '
   10333 	allow_undefined_flag=unsupported
   10334 	always_export_symbols=yes
   10335 	file_list_spec='@'
   10336 	# Tell ltmain to make .lib files, not .a files.
   10337 	libext=lib
   10338 	# Tell ltmain to make .dll files, not .so files.
   10339 	shrext_cmds=.dll
   10340 	# FIXME: Setting linknames here is a bad hack.
   10341 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10342 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10343             cp "$export_symbols" "$output_objdir/$soname.def";
   10344             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10345           else
   10346             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10347           fi~
   10348           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10349           linknames='
   10350 	# The linker will not automatically build a static lib if we build a DLL.
   10351 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10352 	enable_shared_with_static_runtimes=yes
   10353 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10354 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10355 	# Don't use ranlib
   10356 	old_postinstall_cmds='chmod 644 $oldlib'
   10357 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10358           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10359           case $lt_outputfile in
   10360             *.exe|*.EXE) ;;
   10361             *)
   10362               lt_outputfile=$lt_outputfile.exe
   10363               lt_tool_outputfile=$lt_tool_outputfile.exe
   10364               ;;
   10365           esac~
   10366           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10367             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10368             $RM "$lt_outputfile.manifest";
   10369           fi'
   10370 	;;
   10371       *)
   10372 	# Assume MSVC and ICC wrapper
   10373 	hardcode_libdir_flag_spec=' '
   10374 	allow_undefined_flag=unsupported
   10375 	# Tell ltmain to make .lib files, not .a files.
   10376 	libext=lib
   10377 	# Tell ltmain to make .dll files, not .so files.
   10378 	shrext_cmds=.dll
   10379 	# FIXME: Setting linknames here is a bad hack.
   10380 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10381 	# The linker will automatically build a .lib file if we build a DLL.
   10382 	old_archive_from_new_cmds='true'
   10383 	# FIXME: Should let the user specify the lib program.
   10384 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10385 	enable_shared_with_static_runtimes=yes
   10386 	;;
   10387       esac
   10388       ;;
   10389 
   10390     darwin* | rhapsody*)
   10391 
   10392 
   10393   archive_cmds_need_lc=no
   10394   hardcode_direct=no
   10395   hardcode_automatic=yes
   10396   hardcode_shlibpath_var=unsupported
   10397   if test yes = "$lt_cv_ld_force_load"; then
   10398     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\"`'
   10399 
   10400   else
   10401     whole_archive_flag_spec=''
   10402   fi
   10403   link_all_deplibs=yes
   10404   allow_undefined_flag=$_lt_dar_allow_undefined
   10405   case $cc_basename in
   10406      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10407      *) _lt_dar_can_shared=$GCC ;;
   10408   esac
   10409   if test yes = "$_lt_dar_can_shared"; then
   10410     output_verbose_link_cmd=func_echo_all
   10411     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10412     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10413     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"
   10414     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"
   10415 
   10416   else
   10417   ld_shlibs=no
   10418   fi
   10419 
   10420       ;;
   10421 
   10422     dgux*)
   10423       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10424       hardcode_libdir_flag_spec='-L$libdir'
   10425       hardcode_shlibpath_var=no
   10426       ;;
   10427 
   10428     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10429     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10430     # does not break anything, and helps significantly (at the cost of a little
   10431     # extra space).
   10432     freebsd2.2*)
   10433       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10434       hardcode_libdir_flag_spec='-R$libdir'
   10435       hardcode_direct=yes
   10436       hardcode_shlibpath_var=no
   10437       ;;
   10438 
   10439     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10440     freebsd2.*)
   10441       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10442       hardcode_direct=yes
   10443       hardcode_minus_L=yes
   10444       hardcode_shlibpath_var=no
   10445       ;;
   10446 
   10447     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10448     freebsd* | dragonfly* | midnightbsd*)
   10449       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10450       hardcode_libdir_flag_spec='-R$libdir'
   10451       hardcode_direct=yes
   10452       hardcode_shlibpath_var=no
   10453       ;;
   10454 
   10455     hpux9*)
   10456       if test yes = "$GCC"; then
   10457 	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'
   10458       else
   10459 	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'
   10460       fi
   10461       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10462       hardcode_libdir_separator=:
   10463       hardcode_direct=yes
   10464 
   10465       # hardcode_minus_L: Not really in the search PATH,
   10466       # but as the default location of the library.
   10467       hardcode_minus_L=yes
   10468       export_dynamic_flag_spec='$wl-E'
   10469       ;;
   10470 
   10471     hpux10*)
   10472       if test yes,no = "$GCC,$with_gnu_ld"; then
   10473 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10474       else
   10475 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10476       fi
   10477       if test no = "$with_gnu_ld"; then
   10478 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10479 	hardcode_libdir_separator=:
   10480 	hardcode_direct=yes
   10481 	hardcode_direct_absolute=yes
   10482 	export_dynamic_flag_spec='$wl-E'
   10483 	# hardcode_minus_L: Not really in the search PATH,
   10484 	# but as the default location of the library.
   10485 	hardcode_minus_L=yes
   10486       fi
   10487       ;;
   10488 
   10489     hpux11*)
   10490       if test yes,no = "$GCC,$with_gnu_ld"; then
   10491 	case $host_cpu in
   10492 	hppa*64*)
   10493 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10494 	  ;;
   10495 	ia64*)
   10496 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10497 	  ;;
   10498 	*)
   10499 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10500 	  ;;
   10501 	esac
   10502       else
   10503 	case $host_cpu in
   10504 	hppa*64*)
   10505 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10506 	  ;;
   10507 	ia64*)
   10508 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10509 	  ;;
   10510 	*)
   10511 
   10512 	  # Older versions of the 11.00 compiler do not understand -b yet
   10513 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10514 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10515 printf %s "checking if $CC understands -b... " >&6; }
   10516 if test ${lt_cv_prog_compiler__b+y}
   10517 then :
   10518   printf %s "(cached) " >&6
   10519 else $as_nop
   10520   lt_cv_prog_compiler__b=no
   10521    save_LDFLAGS=$LDFLAGS
   10522    LDFLAGS="$LDFLAGS -b"
   10523    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10524    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10525      # The linker can only warn and ignore the option if not recognized
   10526      # So say no if there are warnings
   10527      if test -s conftest.err; then
   10528        # Append any errors to the config.log.
   10529        cat conftest.err 1>&5
   10530        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10531        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10532        if diff conftest.exp conftest.er2 >/dev/null; then
   10533          lt_cv_prog_compiler__b=yes
   10534        fi
   10535      else
   10536        lt_cv_prog_compiler__b=yes
   10537      fi
   10538    fi
   10539    $RM -r conftest*
   10540    LDFLAGS=$save_LDFLAGS
   10541 
   10542 fi
   10543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10544 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10545 
   10546 if test yes = "$lt_cv_prog_compiler__b"; then
   10547     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10548 else
   10549     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10550 fi
   10551 
   10552 	  ;;
   10553 	esac
   10554       fi
   10555       if test no = "$with_gnu_ld"; then
   10556 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10557 	hardcode_libdir_separator=:
   10558 
   10559 	case $host_cpu in
   10560 	hppa*64*|ia64*)
   10561 	  hardcode_direct=no
   10562 	  hardcode_shlibpath_var=no
   10563 	  ;;
   10564 	*)
   10565 	  hardcode_direct=yes
   10566 	  hardcode_direct_absolute=yes
   10567 	  export_dynamic_flag_spec='$wl-E'
   10568 
   10569 	  # hardcode_minus_L: Not really in the search PATH,
   10570 	  # but as the default location of the library.
   10571 	  hardcode_minus_L=yes
   10572 	  ;;
   10573 	esac
   10574       fi
   10575       ;;
   10576 
   10577     irix5* | irix6* | nonstopux*)
   10578       if test yes = "$GCC"; then
   10579 	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'
   10580 	# Try to use the -exported_symbol ld option, if it does not
   10581 	# work, assume that -exports_file does not work either and
   10582 	# implicitly export all symbols.
   10583 	# This should be the same for all languages, so no per-tag cache variable.
   10584 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10585 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10586 if test ${lt_cv_irix_exported_symbol+y}
   10587 then :
   10588   printf %s "(cached) " >&6
   10589 else $as_nop
   10590   save_LDFLAGS=$LDFLAGS
   10591 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10592 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10593 /* end confdefs.h.  */
   10594 int foo (void) { return 0; }
   10595 _ACEOF
   10596 if ac_fn_c_try_link "$LINENO"
   10597 then :
   10598   lt_cv_irix_exported_symbol=yes
   10599 else $as_nop
   10600   lt_cv_irix_exported_symbol=no
   10601 fi
   10602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10603     conftest$ac_exeext conftest.$ac_ext
   10604            LDFLAGS=$save_LDFLAGS
   10605 fi
   10606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10607 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10608 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10609           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'
   10610 	fi
   10611 	link_all_deplibs=no
   10612       else
   10613 	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'
   10614 	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'
   10615       fi
   10616       archive_cmds_need_lc='no'
   10617       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10618       hardcode_libdir_separator=:
   10619       inherit_rpath=yes
   10620       link_all_deplibs=yes
   10621       ;;
   10622 
   10623     linux*)
   10624       case $cc_basename in
   10625       tcc*)
   10626 	# Fabrice Bellard et al's Tiny C Compiler
   10627 	ld_shlibs=yes
   10628 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10629 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10630 	;;
   10631       esac
   10632       ;;
   10633 
   10634     netbsd* | netbsdelf*-gnu)
   10635       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10636 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10637       else
   10638 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10639       fi
   10640       hardcode_libdir_flag_spec='-R$libdir'
   10641       hardcode_direct=yes
   10642       hardcode_shlibpath_var=no
   10643       ;;
   10644 
   10645     newsos6)
   10646       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10647       hardcode_direct=yes
   10648       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10649       hardcode_libdir_separator=:
   10650       hardcode_shlibpath_var=no
   10651       ;;
   10652 
   10653     *nto* | *qnx*)
   10654       ;;
   10655 
   10656     openbsd* | bitrig*)
   10657       if test -f /usr/libexec/ld.so; then
   10658 	hardcode_direct=yes
   10659 	hardcode_shlibpath_var=no
   10660 	hardcode_direct_absolute=yes
   10661 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10662 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10663 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10664 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10665 	  export_dynamic_flag_spec='$wl-E'
   10666 	else
   10667 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10668 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10669 	fi
   10670       else
   10671 	ld_shlibs=no
   10672       fi
   10673       ;;
   10674 
   10675     os2*)
   10676       hardcode_libdir_flag_spec='-L$libdir'
   10677       hardcode_minus_L=yes
   10678       allow_undefined_flag=unsupported
   10679       shrext_cmds=.dll
   10680       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10681 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10682 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10683 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10684 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10685 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10686 	emximp -o $lib $output_objdir/$libname.def'
   10687       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10688 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10689 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10690 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10691 	prefix_cmds="$SED"~
   10692 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10693 	  prefix_cmds="$prefix_cmds -e 1d";
   10694 	fi~
   10695 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10696 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10697 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10698 	emximp -o $lib $output_objdir/$libname.def'
   10699       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10700       enable_shared_with_static_runtimes=yes
   10701       file_list_spec='@'
   10702       ;;
   10703 
   10704     osf3*)
   10705       if test yes = "$GCC"; then
   10706 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10707 	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'
   10708       else
   10709 	allow_undefined_flag=' -expect_unresolved \*'
   10710 	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'
   10711       fi
   10712       archive_cmds_need_lc='no'
   10713       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10714       hardcode_libdir_separator=:
   10715       ;;
   10716 
   10717     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10718       if test yes = "$GCC"; then
   10719 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10720 	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'
   10721 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10722       else
   10723 	allow_undefined_flag=' -expect_unresolved \*'
   10724 	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'
   10725 	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~
   10726           $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'
   10727 
   10728 	# Both c and cxx compiler support -rpath directly
   10729 	hardcode_libdir_flag_spec='-rpath $libdir'
   10730       fi
   10731       archive_cmds_need_lc='no'
   10732       hardcode_libdir_separator=:
   10733       ;;
   10734 
   10735     solaris*)
   10736       no_undefined_flag=' -z defs'
   10737       if test yes = "$GCC"; then
   10738 	wlarc='$wl'
   10739 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10740 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10741           $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'
   10742       else
   10743 	case `$CC -V 2>&1` in
   10744 	*"Compilers 5.0"*)
   10745 	  wlarc=''
   10746 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10747 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10748             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10749 	  ;;
   10750 	*)
   10751 	  wlarc='$wl'
   10752 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10753 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10754             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10755 	  ;;
   10756 	esac
   10757       fi
   10758       hardcode_libdir_flag_spec='-R$libdir'
   10759       hardcode_shlibpath_var=no
   10760       case $host_os in
   10761       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10762       *)
   10763 	# The compiler driver will combine and reorder linker options,
   10764 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10765 	# but is careful enough not to reorder.
   10766 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10767 	if test yes = "$GCC"; then
   10768 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10769 	else
   10770 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10771 	fi
   10772 	;;
   10773       esac
   10774       link_all_deplibs=yes
   10775       ;;
   10776 
   10777     sunos4*)
   10778       if test sequent = "$host_vendor"; then
   10779 	# Use $CC to link under sequent, because it throws in some extra .o
   10780 	# files that make .init and .fini sections work.
   10781 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10782       else
   10783 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10784       fi
   10785       hardcode_libdir_flag_spec='-L$libdir'
   10786       hardcode_direct=yes
   10787       hardcode_minus_L=yes
   10788       hardcode_shlibpath_var=no
   10789       ;;
   10790 
   10791     sysv4)
   10792       case $host_vendor in
   10793 	sni)
   10794 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10795 	  hardcode_direct=yes # is this really true???
   10796 	;;
   10797 	siemens)
   10798 	  ## LD is ld it makes a PLAMLIB
   10799 	  ## CC just makes a GrossModule.
   10800 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10801 	  reload_cmds='$CC -r -o $output$reload_objs'
   10802 	  hardcode_direct=no
   10803         ;;
   10804 	motorola)
   10805 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10806 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10807 	;;
   10808       esac
   10809       runpath_var='LD_RUN_PATH'
   10810       hardcode_shlibpath_var=no
   10811       ;;
   10812 
   10813     sysv4.3*)
   10814       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10815       hardcode_shlibpath_var=no
   10816       export_dynamic_flag_spec='-Bexport'
   10817       ;;
   10818 
   10819     sysv4*MP*)
   10820       if test -d /usr/nec; then
   10821 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10822 	hardcode_shlibpath_var=no
   10823 	runpath_var=LD_RUN_PATH
   10824 	hardcode_runpath_var=yes
   10825 	ld_shlibs=yes
   10826       fi
   10827       ;;
   10828 
   10829     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10830       no_undefined_flag='$wl-z,text'
   10831       archive_cmds_need_lc=no
   10832       hardcode_shlibpath_var=no
   10833       runpath_var='LD_RUN_PATH'
   10834 
   10835       if test yes = "$GCC"; then
   10836 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10837 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10838       else
   10839 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10840 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10841       fi
   10842       ;;
   10843 
   10844     sysv5* | sco3.2v5* | sco5v6*)
   10845       # Note: We CANNOT use -z defs as we might desire, because we do not
   10846       # link with -lc, and that would cause any symbols used from libc to
   10847       # always be unresolved, which means just about no library would
   10848       # ever link correctly.  If we're not using GNU ld we use -z text
   10849       # though, which does catch some bad symbols but isn't as heavy-handed
   10850       # as -z defs.
   10851       no_undefined_flag='$wl-z,text'
   10852       allow_undefined_flag='$wl-z,nodefs'
   10853       archive_cmds_need_lc=no
   10854       hardcode_shlibpath_var=no
   10855       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10856       hardcode_libdir_separator=':'
   10857       link_all_deplibs=yes
   10858       export_dynamic_flag_spec='$wl-Bexport'
   10859       runpath_var='LD_RUN_PATH'
   10860 
   10861       if test yes = "$GCC"; then
   10862 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10863 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10864       else
   10865 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10866 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10867       fi
   10868       ;;
   10869 
   10870     uts4*)
   10871       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10872       hardcode_libdir_flag_spec='-L$libdir'
   10873       hardcode_shlibpath_var=no
   10874       ;;
   10875 
   10876     *)
   10877       ld_shlibs=no
   10878       ;;
   10879     esac
   10880 
   10881     if test sni = "$host_vendor"; then
   10882       case $host in
   10883       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10884 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10885 	;;
   10886       esac
   10887     fi
   10888   fi
   10889 
   10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10891 printf "%s\n" "$ld_shlibs" >&6; }
   10892 test no = "$ld_shlibs" && can_build_shared=no
   10893 
   10894 with_gnu_ld=$with_gnu_ld
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 #
   10911 # Do we need to explicitly link libc?
   10912 #
   10913 case "x$archive_cmds_need_lc" in
   10914 x|xyes)
   10915   # Assume -lc should be added
   10916   archive_cmds_need_lc=yes
   10917 
   10918   if test yes,yes = "$GCC,$enable_shared"; then
   10919     case $archive_cmds in
   10920     *'~'*)
   10921       # FIXME: we may have to deal with multi-command sequences.
   10922       ;;
   10923     '$CC '*)
   10924       # Test whether the compiler implicitly links with -lc since on some
   10925       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10926       # to ld, don't add -lc before -lgcc.
   10927       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10928 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10929 if test ${lt_cv_archive_cmds_need_lc+y}
   10930 then :
   10931   printf %s "(cached) " >&6
   10932 else $as_nop
   10933   $RM conftest*
   10934 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10935 
   10936 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10937   (eval $ac_compile) 2>&5
   10938   ac_status=$?
   10939   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10940   test $ac_status = 0; } 2>conftest.err; then
   10941 	  soname=conftest
   10942 	  lib=conftest
   10943 	  libobjs=conftest.$ac_objext
   10944 	  deplibs=
   10945 	  wl=$lt_prog_compiler_wl
   10946 	  pic_flag=$lt_prog_compiler_pic
   10947 	  compiler_flags=-v
   10948 	  linker_flags=-v
   10949 	  verstring=
   10950 	  output_objdir=.
   10951 	  libname=conftest
   10952 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10953 	  allow_undefined_flag=
   10954 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10955   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10956   ac_status=$?
   10957   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10958   test $ac_status = 0; }
   10959 	  then
   10960 	    lt_cv_archive_cmds_need_lc=no
   10961 	  else
   10962 	    lt_cv_archive_cmds_need_lc=yes
   10963 	  fi
   10964 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10965 	else
   10966 	  cat conftest.err 1>&5
   10967 	fi
   10968 	$RM conftest*
   10969 
   10970 fi
   10971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10972 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10973       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10974       ;;
   10975     esac
   10976   fi
   10977   ;;
   10978 esac
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11132 printf %s "checking dynamic linker characteristics... " >&6; }
   11133 
   11134 if test yes = "$GCC"; then
   11135   case $host_os in
   11136     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11137     *) lt_awk_arg='/^libraries:/' ;;
   11138   esac
   11139   case $host_os in
   11140     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11141     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11142   esac
   11143   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11144   case $lt_search_path_spec in
   11145   *\;*)
   11146     # if the path contains ";" then we assume it to be the separator
   11147     # otherwise default to the standard path separator (i.e. ":") - it is
   11148     # assumed that no part of a normal pathname contains ";" but that should
   11149     # okay in the real world where ";" in dirpaths is itself problematic.
   11150     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11151     ;;
   11152   *)
   11153     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11154     ;;
   11155   esac
   11156   # Ok, now we have the path, separated by spaces, we can step through it
   11157   # and add multilib dir if necessary...
   11158   lt_tmp_lt_search_path_spec=
   11159   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11160   # ...but if some path component already ends with the multilib dir we assume
   11161   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11162   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11163   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11164     lt_multi_os_dir=
   11165     ;;
   11166   esac
   11167   for lt_sys_path in $lt_search_path_spec; do
   11168     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11169       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11170     elif test -n "$lt_multi_os_dir"; then
   11171       test -d "$lt_sys_path" && \
   11172 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11173     fi
   11174   done
   11175   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11176 BEGIN {RS = " "; FS = "/|\n";} {
   11177   lt_foo = "";
   11178   lt_count = 0;
   11179   for (lt_i = NF; lt_i > 0; lt_i--) {
   11180     if ($lt_i != "" && $lt_i != ".") {
   11181       if ($lt_i == "..") {
   11182         lt_count++;
   11183       } else {
   11184         if (lt_count == 0) {
   11185           lt_foo = "/" $lt_i lt_foo;
   11186         } else {
   11187           lt_count--;
   11188         }
   11189       }
   11190     }
   11191   }
   11192   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11193   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11194 }'`
   11195   # AWK program above erroneously prepends '/' to C:/dos/paths
   11196   # for these hosts.
   11197   case $host_os in
   11198     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11199       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11200   esac
   11201   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11202 else
   11203   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11204 fi
   11205 library_names_spec=
   11206 libname_spec='lib$name'
   11207 soname_spec=
   11208 shrext_cmds=.so
   11209 postinstall_cmds=
   11210 postuninstall_cmds=
   11211 finish_cmds=
   11212 finish_eval=
   11213 shlibpath_var=
   11214 shlibpath_overrides_runpath=unknown
   11215 version_type=none
   11216 dynamic_linker="$host_os ld.so"
   11217 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11218 need_lib_prefix=unknown
   11219 hardcode_into_libs=no
   11220 
   11221 # when you set need_version to no, make sure it does not cause -set_version
   11222 # flags to be left without arguments
   11223 need_version=unknown
   11224 
   11225 
   11226 
   11227 case $host_os in
   11228 aix3*)
   11229   version_type=linux # correct to gnu/linux during the next big refactor
   11230   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11231   shlibpath_var=LIBPATH
   11232 
   11233   # AIX 3 has no versioning support, so we append a major version to the name.
   11234   soname_spec='$libname$release$shared_ext$major'
   11235   ;;
   11236 
   11237 aix[4-9]*)
   11238   version_type=linux # correct to gnu/linux during the next big refactor
   11239   need_lib_prefix=no
   11240   need_version=no
   11241   hardcode_into_libs=yes
   11242   if test ia64 = "$host_cpu"; then
   11243     # AIX 5 supports IA64
   11244     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11245     shlibpath_var=LD_LIBRARY_PATH
   11246   else
   11247     # With GCC up to 2.95.x, collect2 would create an import file
   11248     # for dependence libraries.  The import file would start with
   11249     # the line '#! .'.  This would cause the generated library to
   11250     # depend on '.', always an invalid library.  This was fixed in
   11251     # development snapshots of GCC prior to 3.0.
   11252     case $host_os in
   11253       aix4 | aix4.[01] | aix4.[01].*)
   11254       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11255 	   echo ' yes '
   11256 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11257 	:
   11258       else
   11259 	can_build_shared=no
   11260       fi
   11261       ;;
   11262     esac
   11263     # Using Import Files as archive members, it is possible to support
   11264     # filename-based versioning of shared library archives on AIX. While
   11265     # this would work for both with and without runtime linking, it will
   11266     # prevent static linking of such archives. So we do filename-based
   11267     # shared library versioning with .so extension only, which is used
   11268     # when both runtime linking and shared linking is enabled.
   11269     # Unfortunately, runtime linking may impact performance, so we do
   11270     # not want this to be the default eventually. Also, we use the
   11271     # versioned .so libs for executables only if there is the -brtl
   11272     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11273     # To allow for filename-based versioning support, we need to create
   11274     # libNAME.so.V as an archive file, containing:
   11275     # *) an Import File, referring to the versioned filename of the
   11276     #    archive as well as the shared archive member, telling the
   11277     #    bitwidth (32 or 64) of that shared object, and providing the
   11278     #    list of exported symbols of that shared object, eventually
   11279     #    decorated with the 'weak' keyword
   11280     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11281     #    it being seen by the linker.
   11282     # At run time we better use the real file rather than another symlink,
   11283     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11284 
   11285     case $with_aix_soname,$aix_use_runtimelinking in
   11286     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11287     # soname into executable. Probably we can add versioning support to
   11288     # collect2, so additional links can be useful in future.
   11289     aix,yes) # traditional libtool
   11290       dynamic_linker='AIX unversionable lib.so'
   11291       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11292       # instead of lib<name>.a to let people know that these are not
   11293       # typical AIX shared libraries.
   11294       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11295       ;;
   11296     aix,no) # traditional AIX only
   11297       dynamic_linker='AIX lib.a(lib.so.V)'
   11298       # We preserve .a as extension for shared libraries through AIX4.2
   11299       # and later when we are not doing run time linking.
   11300       library_names_spec='$libname$release.a $libname.a'
   11301       soname_spec='$libname$release$shared_ext$major'
   11302       ;;
   11303     svr4,*) # full svr4 only
   11304       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11305       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11306       # We do not specify a path in Import Files, so LIBPATH fires.
   11307       shlibpath_overrides_runpath=yes
   11308       ;;
   11309     *,yes) # both, prefer svr4
   11310       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11311       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11312       # unpreferred sharedlib libNAME.a needs extra handling
   11313       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"'
   11314       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"'
   11315       # We do not specify a path in Import Files, so LIBPATH fires.
   11316       shlibpath_overrides_runpath=yes
   11317       ;;
   11318     *,no) # both, prefer aix
   11319       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11320       library_names_spec='$libname$release.a $libname.a'
   11321       soname_spec='$libname$release$shared_ext$major'
   11322       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11323       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)'
   11324       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"'
   11325       ;;
   11326     esac
   11327     shlibpath_var=LIBPATH
   11328   fi
   11329   ;;
   11330 
   11331 amigaos*)
   11332   case $host_cpu in
   11333   powerpc)
   11334     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11335     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11336     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11337     ;;
   11338   m68k)
   11339     library_names_spec='$libname.ixlibrary $libname.a'
   11340     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11341     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'
   11342     ;;
   11343   esac
   11344   ;;
   11345 
   11346 beos*)
   11347   library_names_spec='$libname$shared_ext'
   11348   dynamic_linker="$host_os ld.so"
   11349   shlibpath_var=LIBRARY_PATH
   11350   ;;
   11351 
   11352 bsdi[45]*)
   11353   version_type=linux # correct to gnu/linux during the next big refactor
   11354   need_version=no
   11355   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11356   soname_spec='$libname$release$shared_ext$major'
   11357   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11358   shlibpath_var=LD_LIBRARY_PATH
   11359   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11360   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11361   # the default ld.so.conf also contains /usr/contrib/lib and
   11362   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11363   # libtool to hard-code these into programs
   11364   ;;
   11365 
   11366 cygwin* | mingw* | pw32* | cegcc*)
   11367   version_type=windows
   11368   shrext_cmds=.dll
   11369   need_version=no
   11370   need_lib_prefix=no
   11371 
   11372   case $GCC,$cc_basename in
   11373   yes,*)
   11374     # gcc
   11375     library_names_spec='$libname.dll.a'
   11376     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11377     postinstall_cmds='base_file=`basename \$file`~
   11378       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11379       dldir=$destdir/`dirname \$dlpath`~
   11380       test -d \$dldir || mkdir -p \$dldir~
   11381       $install_prog $dir/$dlname \$dldir/$dlname~
   11382       chmod a+x \$dldir/$dlname~
   11383       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11384         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11385       fi'
   11386     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11387       dlpath=$dir/\$dldll~
   11388        $RM \$dlpath'
   11389     shlibpath_overrides_runpath=yes
   11390 
   11391     case $host_os in
   11392     cygwin*)
   11393       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11394       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11395 
   11396       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11397       ;;
   11398     mingw* | cegcc*)
   11399       # MinGW DLLs use traditional 'lib' prefix
   11400       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11401       ;;
   11402     pw32*)
   11403       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11404       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11405       ;;
   11406     esac
   11407     dynamic_linker='Win32 ld.exe'
   11408     ;;
   11409 
   11410   *,cl* | *,icl*)
   11411     # Native MSVC or ICC
   11412     libname_spec='$name'
   11413     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11414     library_names_spec='$libname.dll.lib'
   11415 
   11416     case $build_os in
   11417     mingw*)
   11418       sys_lib_search_path_spec=
   11419       lt_save_ifs=$IFS
   11420       IFS=';'
   11421       for lt_path in $LIB
   11422       do
   11423         IFS=$lt_save_ifs
   11424         # Let DOS variable expansion print the short 8.3 style file name.
   11425         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11426         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11427       done
   11428       IFS=$lt_save_ifs
   11429       # Convert to MSYS style.
   11430       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11431       ;;
   11432     cygwin*)
   11433       # Convert to unix form, then to dos form, then back to unix form
   11434       # but this time dos style (no spaces!) so that the unix form looks
   11435       # like /cygdrive/c/PROGRA~1:/cygdr...
   11436       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11437       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11438       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11439       ;;
   11440     *)
   11441       sys_lib_search_path_spec=$LIB
   11442       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11443         # It is most probably a Windows format PATH.
   11444         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11445       else
   11446         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11447       fi
   11448       # FIXME: find the short name or the path components, as spaces are
   11449       # common. (e.g. "Program Files" -> "PROGRA~1")
   11450       ;;
   11451     esac
   11452 
   11453     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11454     postinstall_cmds='base_file=`basename \$file`~
   11455       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11456       dldir=$destdir/`dirname \$dlpath`~
   11457       test -d \$dldir || mkdir -p \$dldir~
   11458       $install_prog $dir/$dlname \$dldir/$dlname'
   11459     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11460       dlpath=$dir/\$dldll~
   11461        $RM \$dlpath'
   11462     shlibpath_overrides_runpath=yes
   11463     dynamic_linker='Win32 link.exe'
   11464     ;;
   11465 
   11466   *)
   11467     # Assume MSVC and ICC wrapper
   11468     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11469     dynamic_linker='Win32 ld.exe'
   11470     ;;
   11471   esac
   11472   # FIXME: first we should search . and the directory the executable is in
   11473   shlibpath_var=PATH
   11474   ;;
   11475 
   11476 darwin* | rhapsody*)
   11477   dynamic_linker="$host_os dyld"
   11478   version_type=darwin
   11479   need_lib_prefix=no
   11480   need_version=no
   11481   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11482   soname_spec='$libname$release$major$shared_ext'
   11483   shlibpath_overrides_runpath=yes
   11484   shlibpath_var=DYLD_LIBRARY_PATH
   11485   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11486 
   11487   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11488   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11489   ;;
   11490 
   11491 dgux*)
   11492   version_type=linux # correct to gnu/linux during the next big refactor
   11493   need_lib_prefix=no
   11494   need_version=no
   11495   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11496   soname_spec='$libname$release$shared_ext$major'
   11497   shlibpath_var=LD_LIBRARY_PATH
   11498   ;;
   11499 
   11500 freebsd* | dragonfly* | midnightbsd*)
   11501   # DragonFly does not have aout.  When/if they implement a new
   11502   # versioning mechanism, adjust this.
   11503   if test -x /usr/bin/objformat; then
   11504     objformat=`/usr/bin/objformat`
   11505   else
   11506     case $host_os in
   11507     freebsd[23].*) objformat=aout ;;
   11508     *) objformat=elf ;;
   11509     esac
   11510   fi
   11511   version_type=freebsd-$objformat
   11512   case $version_type in
   11513     freebsd-elf*)
   11514       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11515       soname_spec='$libname$release$shared_ext$major'
   11516       need_version=no
   11517       need_lib_prefix=no
   11518       ;;
   11519     freebsd-*)
   11520       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11521       need_version=yes
   11522       ;;
   11523   esac
   11524   shlibpath_var=LD_LIBRARY_PATH
   11525   case $host_os in
   11526   freebsd2.*)
   11527     shlibpath_overrides_runpath=yes
   11528     ;;
   11529   freebsd3.[01]* | freebsdelf3.[01]*)
   11530     shlibpath_overrides_runpath=yes
   11531     hardcode_into_libs=yes
   11532     ;;
   11533   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11534   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11535     shlibpath_overrides_runpath=no
   11536     hardcode_into_libs=yes
   11537     ;;
   11538   *) # from 4.6 on, and DragonFly
   11539     shlibpath_overrides_runpath=yes
   11540     hardcode_into_libs=yes
   11541     ;;
   11542   esac
   11543   ;;
   11544 
   11545 haiku*)
   11546   version_type=linux # correct to gnu/linux during the next big refactor
   11547   need_lib_prefix=no
   11548   need_version=no
   11549   dynamic_linker="$host_os runtime_loader"
   11550   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11551   soname_spec='$libname$release$shared_ext$major'
   11552   shlibpath_var=LIBRARY_PATH
   11553   shlibpath_overrides_runpath=no
   11554   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11555   hardcode_into_libs=yes
   11556   ;;
   11557 
   11558 hpux9* | hpux10* | hpux11*)
   11559   # Give a soname corresponding to the major version so that dld.sl refuses to
   11560   # link against other versions.
   11561   version_type=sunos
   11562   need_lib_prefix=no
   11563   need_version=no
   11564   case $host_cpu in
   11565   ia64*)
   11566     shrext_cmds='.so'
   11567     hardcode_into_libs=yes
   11568     dynamic_linker="$host_os dld.so"
   11569     shlibpath_var=LD_LIBRARY_PATH
   11570     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11571     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11572     soname_spec='$libname$release$shared_ext$major'
   11573     if test 32 = "$HPUX_IA64_MODE"; then
   11574       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11575       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11576     else
   11577       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11578       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11579     fi
   11580     ;;
   11581   hppa*64*)
   11582     shrext_cmds='.sl'
   11583     hardcode_into_libs=yes
   11584     dynamic_linker="$host_os dld.sl"
   11585     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11586     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11587     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11588     soname_spec='$libname$release$shared_ext$major'
   11589     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11590     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11591     ;;
   11592   *)
   11593     shrext_cmds='.sl'
   11594     dynamic_linker="$host_os dld.sl"
   11595     shlibpath_var=SHLIB_PATH
   11596     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11597     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11598     soname_spec='$libname$release$shared_ext$major'
   11599     ;;
   11600   esac
   11601   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11602   postinstall_cmds='chmod 555 $lib'
   11603   # or fails outright, so override atomically:
   11604   install_override_mode=555
   11605   ;;
   11606 
   11607 interix[3-9]*)
   11608   version_type=linux # correct to gnu/linux during the next big refactor
   11609   need_lib_prefix=no
   11610   need_version=no
   11611   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11612   soname_spec='$libname$release$shared_ext$major'
   11613   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11614   shlibpath_var=LD_LIBRARY_PATH
   11615   shlibpath_overrides_runpath=no
   11616   hardcode_into_libs=yes
   11617   ;;
   11618 
   11619 irix5* | irix6* | nonstopux*)
   11620   case $host_os in
   11621     nonstopux*) version_type=nonstopux ;;
   11622     *)
   11623 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11624 		version_type=linux # correct to gnu/linux during the next big refactor
   11625 	else
   11626 		version_type=irix
   11627 	fi ;;
   11628   esac
   11629   need_lib_prefix=no
   11630   need_version=no
   11631   soname_spec='$libname$release$shared_ext$major'
   11632   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11633   case $host_os in
   11634   irix5* | nonstopux*)
   11635     libsuff= shlibsuff=
   11636     ;;
   11637   *)
   11638     case $LD in # libtool.m4 will add one of these switches to LD
   11639     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11640       libsuff= shlibsuff= libmagic=32-bit;;
   11641     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11642       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11643     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11644       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11645     *) libsuff= shlibsuff= libmagic=never-match;;
   11646     esac
   11647     ;;
   11648   esac
   11649   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11650   shlibpath_overrides_runpath=no
   11651   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11652   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11653   hardcode_into_libs=yes
   11654   ;;
   11655 
   11656 # No shared lib support for Linux oldld, aout, or coff.
   11657 linux*oldld* | linux*aout* | linux*coff*)
   11658   dynamic_linker=no
   11659   ;;
   11660 
   11661 linux*android*)
   11662   version_type=none # Android doesn't support versioned libraries.
   11663   need_lib_prefix=no
   11664   need_version=no
   11665   library_names_spec='$libname$release$shared_ext'
   11666   soname_spec='$libname$release$shared_ext'
   11667   finish_cmds=
   11668   shlibpath_var=LD_LIBRARY_PATH
   11669   shlibpath_overrides_runpath=yes
   11670 
   11671   # This implies no fast_install, which is unacceptable.
   11672   # Some rework will be needed to allow for fast_install
   11673   # before this can be enabled.
   11674   hardcode_into_libs=yes
   11675 
   11676   dynamic_linker='Android linker'
   11677   # Don't embed -rpath directories since the linker doesn't support them.
   11678   hardcode_libdir_flag_spec='-L$libdir'
   11679   ;;
   11680 
   11681 # This must be glibc/ELF.
   11682 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11683   version_type=linux # correct to gnu/linux during the next big refactor
   11684   need_lib_prefix=no
   11685   need_version=no
   11686   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11687   soname_spec='$libname$release$shared_ext$major'
   11688   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11689   shlibpath_var=LD_LIBRARY_PATH
   11690   shlibpath_overrides_runpath=no
   11691 
   11692   # Some binutils ld are patched to set DT_RUNPATH
   11693   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11694 then :
   11695   printf %s "(cached) " >&6
   11696 else $as_nop
   11697   lt_cv_shlibpath_overrides_runpath=no
   11698     save_LDFLAGS=$LDFLAGS
   11699     save_libdir=$libdir
   11700     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11701 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11702     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11703 /* end confdefs.h.  */
   11704 
   11705 int
   11706 main (void)
   11707 {
   11708 
   11709   ;
   11710   return 0;
   11711 }
   11712 _ACEOF
   11713 if ac_fn_c_try_link "$LINENO"
   11714 then :
   11715   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11716 then :
   11717   lt_cv_shlibpath_overrides_runpath=yes
   11718 fi
   11719 fi
   11720 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11721     conftest$ac_exeext conftest.$ac_ext
   11722     LDFLAGS=$save_LDFLAGS
   11723     libdir=$save_libdir
   11724 
   11725 fi
   11726 
   11727   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11728 
   11729   # This implies no fast_install, which is unacceptable.
   11730   # Some rework will be needed to allow for fast_install
   11731   # before this can be enabled.
   11732   hardcode_into_libs=yes
   11733 
   11734   # Ideally, we could use ldconfig to report *all* directores which are
   11735   # searched for libraries, however this is still not possible.  Aside from not
   11736   # being certain /sbin/ldconfig is available, command
   11737   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11738   # even though it is searched at run-time.  Try to do the best guess by
   11739   # appending ld.so.conf contents (and includes) to the search path.
   11740   if test -f /etc/ld.so.conf; then
   11741     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' ' '`
   11742     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11743   fi
   11744 
   11745   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11746   # powerpc, because MkLinux only supported shared libraries with the
   11747   # GNU dynamic linker.  Since this was broken with cross compilers,
   11748   # most powerpc-linux boxes support dynamic linking these days and
   11749   # people can always --disable-shared, the test was removed, and we
   11750   # assume the GNU/Linux dynamic linker is in use.
   11751   dynamic_linker='GNU/Linux ld.so'
   11752   ;;
   11753 
   11754 netbsdelf*-gnu)
   11755   version_type=linux
   11756   need_lib_prefix=no
   11757   need_version=no
   11758   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11759   soname_spec='${libname}${release}${shared_ext}$major'
   11760   shlibpath_var=LD_LIBRARY_PATH
   11761   shlibpath_overrides_runpath=no
   11762   hardcode_into_libs=yes
   11763   dynamic_linker='NetBSD ld.elf_so'
   11764   ;;
   11765 
   11766 netbsd*)
   11767   version_type=sunos
   11768   need_lib_prefix=no
   11769   need_version=no
   11770   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11771     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11772     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11773     dynamic_linker='NetBSD (a.out) ld.so'
   11774   else
   11775     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11776     soname_spec='$libname$release$shared_ext$major'
   11777     dynamic_linker='NetBSD ld.elf_so'
   11778   fi
   11779   shlibpath_var=LD_LIBRARY_PATH
   11780   shlibpath_overrides_runpath=yes
   11781   hardcode_into_libs=yes
   11782   ;;
   11783 
   11784 newsos6)
   11785   version_type=linux # correct to gnu/linux during the next big refactor
   11786   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11787   shlibpath_var=LD_LIBRARY_PATH
   11788   shlibpath_overrides_runpath=yes
   11789   ;;
   11790 
   11791 *nto* | *qnx*)
   11792   version_type=qnx
   11793   need_lib_prefix=no
   11794   need_version=no
   11795   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11796   soname_spec='$libname$release$shared_ext$major'
   11797   shlibpath_var=LD_LIBRARY_PATH
   11798   shlibpath_overrides_runpath=no
   11799   hardcode_into_libs=yes
   11800   dynamic_linker='ldqnx.so'
   11801   ;;
   11802 
   11803 openbsd* | bitrig*)
   11804   version_type=sunos
   11805   sys_lib_dlsearch_path_spec=/usr/lib
   11806   need_lib_prefix=no
   11807   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11808     need_version=no
   11809   else
   11810     need_version=yes
   11811   fi
   11812   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11813   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11814   shlibpath_var=LD_LIBRARY_PATH
   11815   shlibpath_overrides_runpath=yes
   11816   ;;
   11817 
   11818 os2*)
   11819   libname_spec='$name'
   11820   version_type=windows
   11821   shrext_cmds=.dll
   11822   need_version=no
   11823   need_lib_prefix=no
   11824   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11825   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11826     v=$($ECHO $release$versuffix | tr -d .-);
   11827     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11828     $ECHO $n$v`$shared_ext'
   11829   library_names_spec='${libname}_dll.$libext'
   11830   dynamic_linker='OS/2 ld.exe'
   11831   shlibpath_var=BEGINLIBPATH
   11832   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11833   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11834   postinstall_cmds='base_file=`basename \$file`~
   11835     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11836     dldir=$destdir/`dirname \$dlpath`~
   11837     test -d \$dldir || mkdir -p \$dldir~
   11838     $install_prog $dir/$dlname \$dldir/$dlname~
   11839     chmod a+x \$dldir/$dlname~
   11840     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11841       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11842     fi'
   11843   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11844     dlpath=$dir/\$dldll~
   11845     $RM \$dlpath'
   11846   ;;
   11847 
   11848 osf3* | osf4* | osf5*)
   11849   version_type=osf
   11850   need_lib_prefix=no
   11851   need_version=no
   11852   soname_spec='$libname$release$shared_ext$major'
   11853   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11854   shlibpath_var=LD_LIBRARY_PATH
   11855   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11856   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11857   ;;
   11858 
   11859 rdos*)
   11860   dynamic_linker=no
   11861   ;;
   11862 
   11863 solaris*)
   11864   version_type=linux # correct to gnu/linux during the next big refactor
   11865   need_lib_prefix=no
   11866   need_version=no
   11867   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11868   soname_spec='$libname$release$shared_ext$major'
   11869   shlibpath_var=LD_LIBRARY_PATH
   11870   shlibpath_overrides_runpath=yes
   11871   hardcode_into_libs=yes
   11872   # ldd complains unless libraries are executable
   11873   postinstall_cmds='chmod +x $lib'
   11874   ;;
   11875 
   11876 sunos4*)
   11877   version_type=sunos
   11878   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11879   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11880   shlibpath_var=LD_LIBRARY_PATH
   11881   shlibpath_overrides_runpath=yes
   11882   if test yes = "$with_gnu_ld"; then
   11883     need_lib_prefix=no
   11884   fi
   11885   need_version=yes
   11886   ;;
   11887 
   11888 sysv4 | sysv4.3*)
   11889   version_type=linux # correct to gnu/linux during the next big refactor
   11890   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11891   soname_spec='$libname$release$shared_ext$major'
   11892   shlibpath_var=LD_LIBRARY_PATH
   11893   case $host_vendor in
   11894     sni)
   11895       shlibpath_overrides_runpath=no
   11896       need_lib_prefix=no
   11897       runpath_var=LD_RUN_PATH
   11898       ;;
   11899     siemens)
   11900       need_lib_prefix=no
   11901       ;;
   11902     motorola)
   11903       need_lib_prefix=no
   11904       need_version=no
   11905       shlibpath_overrides_runpath=no
   11906       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11907       ;;
   11908   esac
   11909   ;;
   11910 
   11911 sysv4*MP*)
   11912   if test -d /usr/nec; then
   11913     version_type=linux # correct to gnu/linux during the next big refactor
   11914     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11915     soname_spec='$libname$shared_ext.$major'
   11916     shlibpath_var=LD_LIBRARY_PATH
   11917   fi
   11918   ;;
   11919 
   11920 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11921   version_type=sco
   11922   need_lib_prefix=no
   11923   need_version=no
   11924   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11925   soname_spec='$libname$release$shared_ext$major'
   11926   shlibpath_var=LD_LIBRARY_PATH
   11927   shlibpath_overrides_runpath=yes
   11928   hardcode_into_libs=yes
   11929   if test yes = "$with_gnu_ld"; then
   11930     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11931   else
   11932     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11933     case $host_os in
   11934       sco3.2v5*)
   11935         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11936 	;;
   11937     esac
   11938   fi
   11939   sys_lib_dlsearch_path_spec='/usr/lib'
   11940   ;;
   11941 
   11942 tpf*)
   11943   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11944   version_type=linux # correct to gnu/linux during the next big refactor
   11945   need_lib_prefix=no
   11946   need_version=no
   11947   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11948   shlibpath_var=LD_LIBRARY_PATH
   11949   shlibpath_overrides_runpath=no
   11950   hardcode_into_libs=yes
   11951   ;;
   11952 
   11953 uts4*)
   11954   version_type=linux # correct to gnu/linux during the next big refactor
   11955   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11956   soname_spec='$libname$release$shared_ext$major'
   11957   shlibpath_var=LD_LIBRARY_PATH
   11958   ;;
   11959 
   11960 *)
   11961   dynamic_linker=no
   11962   ;;
   11963 esac
   11964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11965 printf "%s\n" "$dynamic_linker" >&6; }
   11966 test no = "$dynamic_linker" && can_build_shared=no
   11967 
   11968 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11969 if test yes = "$GCC"; then
   11970   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11971 fi
   11972 
   11973 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11974   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11975 fi
   11976 
   11977 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11978   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11979 fi
   11980 
   11981 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11982 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11983 
   11984 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11985 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11986 
   11987 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11988 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085 
   12086   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12087 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12088 hardcode_action=
   12089 if test -n "$hardcode_libdir_flag_spec" ||
   12090    test -n "$runpath_var" ||
   12091    test yes = "$hardcode_automatic"; then
   12092 
   12093   # We can hardcode non-existent directories.
   12094   if test no != "$hardcode_direct" &&
   12095      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12096      # have to relink, otherwise we might link with an installed library
   12097      # when we should be linking with a yet-to-be-installed one
   12098      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12099      test no != "$hardcode_minus_L"; then
   12100     # Linking always hardcodes the temporary library directory.
   12101     hardcode_action=relink
   12102   else
   12103     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12104     hardcode_action=immediate
   12105   fi
   12106 else
   12107   # We cannot hardcode anything, or else we can only hardcode existing
   12108   # directories.
   12109   hardcode_action=unsupported
   12110 fi
   12111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12112 printf "%s\n" "$hardcode_action" >&6; }
   12113 
   12114 if test relink = "$hardcode_action" ||
   12115    test yes = "$inherit_rpath"; then
   12116   # Fast installation is not supported
   12117   enable_fast_install=no
   12118 elif test yes = "$shlibpath_overrides_runpath" ||
   12119      test no = "$enable_shared"; then
   12120   # Fast installation is not necessary
   12121   enable_fast_install=needless
   12122 fi
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129   if test yes != "$enable_dlopen"; then
   12130   enable_dlopen=unknown
   12131   enable_dlopen_self=unknown
   12132   enable_dlopen_self_static=unknown
   12133 else
   12134   lt_cv_dlopen=no
   12135   lt_cv_dlopen_libs=
   12136 
   12137   case $host_os in
   12138   beos*)
   12139     lt_cv_dlopen=load_add_on
   12140     lt_cv_dlopen_libs=
   12141     lt_cv_dlopen_self=yes
   12142     ;;
   12143 
   12144   mingw* | pw32* | cegcc*)
   12145     lt_cv_dlopen=LoadLibrary
   12146     lt_cv_dlopen_libs=
   12147     ;;
   12148 
   12149   cygwin*)
   12150     lt_cv_dlopen=dlopen
   12151     lt_cv_dlopen_libs=
   12152     ;;
   12153 
   12154   darwin*)
   12155     # if libdl is installed we need to link against it
   12156     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12157 printf %s "checking for dlopen in -ldl... " >&6; }
   12158 if test ${ac_cv_lib_dl_dlopen+y}
   12159 then :
   12160   printf %s "(cached) " >&6
   12161 else $as_nop
   12162   ac_check_lib_save_LIBS=$LIBS
   12163 LIBS="-ldl  $LIBS"
   12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12165 /* end confdefs.h.  */
   12166 
   12167 /* Override any GCC internal prototype to avoid an error.
   12168    Use char because int might match the return type of a GCC
   12169    builtin and then its argument prototype would still apply.  */
   12170 char dlopen ();
   12171 int
   12172 main (void)
   12173 {
   12174 return dlopen ();
   12175   ;
   12176   return 0;
   12177 }
   12178 _ACEOF
   12179 if ac_fn_c_try_link "$LINENO"
   12180 then :
   12181   ac_cv_lib_dl_dlopen=yes
   12182 else $as_nop
   12183   ac_cv_lib_dl_dlopen=no
   12184 fi
   12185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12186     conftest$ac_exeext conftest.$ac_ext
   12187 LIBS=$ac_check_lib_save_LIBS
   12188 fi
   12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12190 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12191 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12192 then :
   12193   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12194 else $as_nop
   12195 
   12196     lt_cv_dlopen=dyld
   12197     lt_cv_dlopen_libs=
   12198     lt_cv_dlopen_self=yes
   12199 
   12200 fi
   12201 
   12202     ;;
   12203 
   12204   tpf*)
   12205     # Don't try to run any link tests for TPF.  We know it's impossible
   12206     # because TPF is a cross-compiler, and we know how we open DSOs.
   12207     lt_cv_dlopen=dlopen
   12208     lt_cv_dlopen_libs=
   12209     lt_cv_dlopen_self=no
   12210     ;;
   12211 
   12212   *)
   12213     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12214 if test "x$ac_cv_func_shl_load" = xyes
   12215 then :
   12216   lt_cv_dlopen=shl_load
   12217 else $as_nop
   12218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12219 printf %s "checking for shl_load in -ldld... " >&6; }
   12220 if test ${ac_cv_lib_dld_shl_load+y}
   12221 then :
   12222   printf %s "(cached) " >&6
   12223 else $as_nop
   12224   ac_check_lib_save_LIBS=$LIBS
   12225 LIBS="-ldld  $LIBS"
   12226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12227 /* end confdefs.h.  */
   12228 
   12229 /* Override any GCC internal prototype to avoid an error.
   12230    Use char because int might match the return type of a GCC
   12231    builtin and then its argument prototype would still apply.  */
   12232 char shl_load ();
   12233 int
   12234 main (void)
   12235 {
   12236 return shl_load ();
   12237   ;
   12238   return 0;
   12239 }
   12240 _ACEOF
   12241 if ac_fn_c_try_link "$LINENO"
   12242 then :
   12243   ac_cv_lib_dld_shl_load=yes
   12244 else $as_nop
   12245   ac_cv_lib_dld_shl_load=no
   12246 fi
   12247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12248     conftest$ac_exeext conftest.$ac_ext
   12249 LIBS=$ac_check_lib_save_LIBS
   12250 fi
   12251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12252 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12253 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12254 then :
   12255   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12256 else $as_nop
   12257   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12258 if test "x$ac_cv_func_dlopen" = xyes
   12259 then :
   12260   lt_cv_dlopen=dlopen
   12261 else $as_nop
   12262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12263 printf %s "checking for dlopen in -ldl... " >&6; }
   12264 if test ${ac_cv_lib_dl_dlopen+y}
   12265 then :
   12266   printf %s "(cached) " >&6
   12267 else $as_nop
   12268   ac_check_lib_save_LIBS=$LIBS
   12269 LIBS="-ldl  $LIBS"
   12270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12271 /* end confdefs.h.  */
   12272 
   12273 /* Override any GCC internal prototype to avoid an error.
   12274    Use char because int might match the return type of a GCC
   12275    builtin and then its argument prototype would still apply.  */
   12276 char dlopen ();
   12277 int
   12278 main (void)
   12279 {
   12280 return dlopen ();
   12281   ;
   12282   return 0;
   12283 }
   12284 _ACEOF
   12285 if ac_fn_c_try_link "$LINENO"
   12286 then :
   12287   ac_cv_lib_dl_dlopen=yes
   12288 else $as_nop
   12289   ac_cv_lib_dl_dlopen=no
   12290 fi
   12291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12292     conftest$ac_exeext conftest.$ac_ext
   12293 LIBS=$ac_check_lib_save_LIBS
   12294 fi
   12295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12296 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12297 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12298 then :
   12299   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12300 else $as_nop
   12301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12302 printf %s "checking for dlopen in -lsvld... " >&6; }
   12303 if test ${ac_cv_lib_svld_dlopen+y}
   12304 then :
   12305   printf %s "(cached) " >&6
   12306 else $as_nop
   12307   ac_check_lib_save_LIBS=$LIBS
   12308 LIBS="-lsvld  $LIBS"
   12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12310 /* end confdefs.h.  */
   12311 
   12312 /* Override any GCC internal prototype to avoid an error.
   12313    Use char because int might match the return type of a GCC
   12314    builtin and then its argument prototype would still apply.  */
   12315 char dlopen ();
   12316 int
   12317 main (void)
   12318 {
   12319 return dlopen ();
   12320   ;
   12321   return 0;
   12322 }
   12323 _ACEOF
   12324 if ac_fn_c_try_link "$LINENO"
   12325 then :
   12326   ac_cv_lib_svld_dlopen=yes
   12327 else $as_nop
   12328   ac_cv_lib_svld_dlopen=no
   12329 fi
   12330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12331     conftest$ac_exeext conftest.$ac_ext
   12332 LIBS=$ac_check_lib_save_LIBS
   12333 fi
   12334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12335 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12336 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12337 then :
   12338   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12339 else $as_nop
   12340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12341 printf %s "checking for dld_link in -ldld... " >&6; }
   12342 if test ${ac_cv_lib_dld_dld_link+y}
   12343 then :
   12344   printf %s "(cached) " >&6
   12345 else $as_nop
   12346   ac_check_lib_save_LIBS=$LIBS
   12347 LIBS="-ldld  $LIBS"
   12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12349 /* end confdefs.h.  */
   12350 
   12351 /* Override any GCC internal prototype to avoid an error.
   12352    Use char because int might match the return type of a GCC
   12353    builtin and then its argument prototype would still apply.  */
   12354 char dld_link ();
   12355 int
   12356 main (void)
   12357 {
   12358 return dld_link ();
   12359   ;
   12360   return 0;
   12361 }
   12362 _ACEOF
   12363 if ac_fn_c_try_link "$LINENO"
   12364 then :
   12365   ac_cv_lib_dld_dld_link=yes
   12366 else $as_nop
   12367   ac_cv_lib_dld_dld_link=no
   12368 fi
   12369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12370     conftest$ac_exeext conftest.$ac_ext
   12371 LIBS=$ac_check_lib_save_LIBS
   12372 fi
   12373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12374 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12375 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12376 then :
   12377   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12378 fi
   12379 
   12380 
   12381 fi
   12382 
   12383 
   12384 fi
   12385 
   12386 
   12387 fi
   12388 
   12389 
   12390 fi
   12391 
   12392 
   12393 fi
   12394 
   12395     ;;
   12396   esac
   12397 
   12398   if test no = "$lt_cv_dlopen"; then
   12399     enable_dlopen=no
   12400   else
   12401     enable_dlopen=yes
   12402   fi
   12403 
   12404   case $lt_cv_dlopen in
   12405   dlopen)
   12406     save_CPPFLAGS=$CPPFLAGS
   12407     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12408 
   12409     save_LDFLAGS=$LDFLAGS
   12410     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12411 
   12412     save_LIBS=$LIBS
   12413     LIBS="$lt_cv_dlopen_libs $LIBS"
   12414 
   12415     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12416 printf %s "checking whether a program can dlopen itself... " >&6; }
   12417 if test ${lt_cv_dlopen_self+y}
   12418 then :
   12419   printf %s "(cached) " >&6
   12420 else $as_nop
   12421   	  if test yes = "$cross_compiling"; then :
   12422   lt_cv_dlopen_self=cross
   12423 else
   12424   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12425   lt_status=$lt_dlunknown
   12426   cat > conftest.$ac_ext <<_LT_EOF
   12427 #line $LINENO "configure"
   12428 #include "confdefs.h"
   12429 
   12430 #if HAVE_DLFCN_H
   12431 #include <dlfcn.h>
   12432 #endif
   12433 
   12434 #include <stdio.h>
   12435 
   12436 #ifdef RTLD_GLOBAL
   12437 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12438 #else
   12439 #  ifdef DL_GLOBAL
   12440 #    define LT_DLGLOBAL		DL_GLOBAL
   12441 #  else
   12442 #    define LT_DLGLOBAL		0
   12443 #  endif
   12444 #endif
   12445 
   12446 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12447    find out it does not work in some platform. */
   12448 #ifndef LT_DLLAZY_OR_NOW
   12449 #  ifdef RTLD_LAZY
   12450 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12451 #  else
   12452 #    ifdef DL_LAZY
   12453 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12454 #    else
   12455 #      ifdef RTLD_NOW
   12456 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12457 #      else
   12458 #        ifdef DL_NOW
   12459 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12460 #        else
   12461 #          define LT_DLLAZY_OR_NOW	0
   12462 #        endif
   12463 #      endif
   12464 #    endif
   12465 #  endif
   12466 #endif
   12467 
   12468 /* When -fvisibility=hidden is used, assume the code has been annotated
   12469    correspondingly for the symbols needed.  */
   12470 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12471 int fnord () __attribute__((visibility("default")));
   12472 #endif
   12473 
   12474 int fnord () { return 42; }
   12475 int main ()
   12476 {
   12477   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12478   int status = $lt_dlunknown;
   12479 
   12480   if (self)
   12481     {
   12482       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12483       else
   12484         {
   12485 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12486           else puts (dlerror ());
   12487 	}
   12488       /* dlclose (self); */
   12489     }
   12490   else
   12491     puts (dlerror ());
   12492 
   12493   return status;
   12494 }
   12495 _LT_EOF
   12496   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12497   (eval $ac_link) 2>&5
   12498   ac_status=$?
   12499   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12500   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12501     (./conftest; exit; ) >&5 2>/dev/null
   12502     lt_status=$?
   12503     case x$lt_status in
   12504       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12505       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12506       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12507     esac
   12508   else :
   12509     # compilation failed
   12510     lt_cv_dlopen_self=no
   12511   fi
   12512 fi
   12513 rm -fr conftest*
   12514 
   12515 
   12516 fi
   12517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12518 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12519 
   12520     if test yes = "$lt_cv_dlopen_self"; then
   12521       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12522       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12523 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12524 if test ${lt_cv_dlopen_self_static+y}
   12525 then :
   12526   printf %s "(cached) " >&6
   12527 else $as_nop
   12528   	  if test yes = "$cross_compiling"; then :
   12529   lt_cv_dlopen_self_static=cross
   12530 else
   12531   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12532   lt_status=$lt_dlunknown
   12533   cat > conftest.$ac_ext <<_LT_EOF
   12534 #line $LINENO "configure"
   12535 #include "confdefs.h"
   12536 
   12537 #if HAVE_DLFCN_H
   12538 #include <dlfcn.h>
   12539 #endif
   12540 
   12541 #include <stdio.h>
   12542 
   12543 #ifdef RTLD_GLOBAL
   12544 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12545 #else
   12546 #  ifdef DL_GLOBAL
   12547 #    define LT_DLGLOBAL		DL_GLOBAL
   12548 #  else
   12549 #    define LT_DLGLOBAL		0
   12550 #  endif
   12551 #endif
   12552 
   12553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12554    find out it does not work in some platform. */
   12555 #ifndef LT_DLLAZY_OR_NOW
   12556 #  ifdef RTLD_LAZY
   12557 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12558 #  else
   12559 #    ifdef DL_LAZY
   12560 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12561 #    else
   12562 #      ifdef RTLD_NOW
   12563 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12564 #      else
   12565 #        ifdef DL_NOW
   12566 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12567 #        else
   12568 #          define LT_DLLAZY_OR_NOW	0
   12569 #        endif
   12570 #      endif
   12571 #    endif
   12572 #  endif
   12573 #endif
   12574 
   12575 /* When -fvisibility=hidden is used, assume the code has been annotated
   12576    correspondingly for the symbols needed.  */
   12577 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12578 int fnord () __attribute__((visibility("default")));
   12579 #endif
   12580 
   12581 int fnord () { return 42; }
   12582 int main ()
   12583 {
   12584   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12585   int status = $lt_dlunknown;
   12586 
   12587   if (self)
   12588     {
   12589       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12590       else
   12591         {
   12592 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12593           else puts (dlerror ());
   12594 	}
   12595       /* dlclose (self); */
   12596     }
   12597   else
   12598     puts (dlerror ());
   12599 
   12600   return status;
   12601 }
   12602 _LT_EOF
   12603   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12604   (eval $ac_link) 2>&5
   12605   ac_status=$?
   12606   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12607   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12608     (./conftest; exit; ) >&5 2>/dev/null
   12609     lt_status=$?
   12610     case x$lt_status in
   12611       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12612       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12613       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12614     esac
   12615   else :
   12616     # compilation failed
   12617     lt_cv_dlopen_self_static=no
   12618   fi
   12619 fi
   12620 rm -fr conftest*
   12621 
   12622 
   12623 fi
   12624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12625 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12626     fi
   12627 
   12628     CPPFLAGS=$save_CPPFLAGS
   12629     LDFLAGS=$save_LDFLAGS
   12630     LIBS=$save_LIBS
   12631     ;;
   12632   esac
   12633 
   12634   case $lt_cv_dlopen_self in
   12635   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12636   *) enable_dlopen_self=unknown ;;
   12637   esac
   12638 
   12639   case $lt_cv_dlopen_self_static in
   12640   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12641   *) enable_dlopen_self_static=unknown ;;
   12642   esac
   12643 fi
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 striplib=
   12662 old_striplib=
   12663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12664 printf %s "checking whether stripping libraries is possible... " >&6; }
   12665 if test -z "$STRIP"; then
   12666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12667 printf "%s\n" "no" >&6; }
   12668 else
   12669   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12670     old_striplib="$STRIP --strip-debug"
   12671     striplib="$STRIP --strip-unneeded"
   12672     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12673 printf "%s\n" "yes" >&6; }
   12674   else
   12675     case $host_os in
   12676     darwin*)
   12677       # FIXME - insert some real tests, host_os isn't really good enough
   12678       striplib="$STRIP -x"
   12679       old_striplib="$STRIP -S"
   12680       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12681 printf "%s\n" "yes" >&6; }
   12682       ;;
   12683     freebsd*)
   12684       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12685         old_striplib="$STRIP --strip-debug"
   12686         striplib="$STRIP --strip-unneeded"
   12687         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12688 printf "%s\n" "yes" >&6; }
   12689       else
   12690         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12691 printf "%s\n" "no" >&6; }
   12692       fi
   12693       ;;
   12694     *)
   12695       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12696 printf "%s\n" "no" >&6; }
   12697       ;;
   12698     esac
   12699   fi
   12700 fi
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713   # Report what library types will actually be built
   12714   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12715 printf %s "checking if libtool supports shared libraries... " >&6; }
   12716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12717 printf "%s\n" "$can_build_shared" >&6; }
   12718 
   12719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12720 printf %s "checking whether to build shared libraries... " >&6; }
   12721   test no = "$can_build_shared" && enable_shared=no
   12722 
   12723   # On AIX, shared libraries and static libraries use the same namespace, and
   12724   # are all built from PIC.
   12725   case $host_os in
   12726   aix3*)
   12727     test yes = "$enable_shared" && enable_static=no
   12728     if test -n "$RANLIB"; then
   12729       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12730       postinstall_cmds='$RANLIB $lib'
   12731     fi
   12732     ;;
   12733 
   12734   aix[4-9]*)
   12735     if test ia64 != "$host_cpu"; then
   12736       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12737       yes,aix,yes) ;;			# shared object as lib.so file only
   12738       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12739       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12740       esac
   12741     fi
   12742     ;;
   12743   esac
   12744   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12745 printf "%s\n" "$enable_shared" >&6; }
   12746 
   12747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12748 printf %s "checking whether to build static libraries... " >&6; }
   12749   # Make sure either enable_shared or enable_static is yes.
   12750   test yes = "$enable_shared" || enable_static=yes
   12751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12752 printf "%s\n" "$enable_static" >&6; }
   12753 
   12754 
   12755 
   12756 
   12757 fi
   12758 ac_ext=c
   12759 ac_cpp='$CPP $CPPFLAGS'
   12760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12763 
   12764 CC=$lt_save_CC
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780         ac_config_commands="$ac_config_commands libtool"
   12781 
   12782 
   12783 
   12784 
   12785 # Only expand once:
   12786 
   12787 
   12788 
   12789 # Require xorg-macros minimum of 1.12 for DocBook external references
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12803 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12804 if test ${ac_cv_c_undeclared_builtin_options+y}
   12805 then :
   12806   printf %s "(cached) " >&6
   12807 else $as_nop
   12808   ac_save_CFLAGS=$CFLAGS
   12809    ac_cv_c_undeclared_builtin_options='cannot detect'
   12810    for ac_arg in '' -fno-builtin; do
   12811      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12812      # This test program should *not* compile successfully.
   12813      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12814 /* end confdefs.h.  */
   12815 
   12816 int
   12817 main (void)
   12818 {
   12819 (void) strchr;
   12820   ;
   12821   return 0;
   12822 }
   12823 _ACEOF
   12824 if ac_fn_c_try_compile "$LINENO"
   12825 then :
   12826 
   12827 else $as_nop
   12828   # This test program should compile successfully.
   12829         # No library function is consistently available on
   12830         # freestanding implementations, so test against a dummy
   12831         # declaration.  Include always-available headers on the
   12832         # off chance that they somehow elicit warnings.
   12833         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12834 /* end confdefs.h.  */
   12835 #include <float.h>
   12836 #include <limits.h>
   12837 #include <stdarg.h>
   12838 #include <stddef.h>
   12839 extern void ac_decl (int, char *);
   12840 
   12841 int
   12842 main (void)
   12843 {
   12844 (void) ac_decl (0, (char *) 0);
   12845   (void) ac_decl;
   12846 
   12847   ;
   12848   return 0;
   12849 }
   12850 _ACEOF
   12851 if ac_fn_c_try_compile "$LINENO"
   12852 then :
   12853   if test x"$ac_arg" = x
   12854 then :
   12855   ac_cv_c_undeclared_builtin_options='none needed'
   12856 else $as_nop
   12857   ac_cv_c_undeclared_builtin_options=$ac_arg
   12858 fi
   12859           break
   12860 fi
   12861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12862 fi
   12863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12864     done
   12865     CFLAGS=$ac_save_CFLAGS
   12866 
   12867 fi
   12868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12869 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12870   case $ac_cv_c_undeclared_builtin_options in #(
   12871   'cannot detect') :
   12872     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12873 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12874 as_fn_error $? "cannot make $CC report undeclared builtins
   12875 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12876   'none needed') :
   12877     ac_c_undeclared_builtin_options='' ;; #(
   12878   *) :
   12879     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12880 esac
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12887 if test "x$ac_cv_have_decl___clang__" = xyes
   12888 then :
   12889   CLANGCC="yes"
   12890 else $as_nop
   12891   CLANGCC="no"
   12892 fi
   12893 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12894 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12895 then :
   12896   INTELCC="yes"
   12897 else $as_nop
   12898   INTELCC="no"
   12899 fi
   12900 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12901 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12902 then :
   12903   SUNCC="yes"
   12904 else $as_nop
   12905   SUNCC="no"
   12906 fi
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12916 	if test -n "$ac_tool_prefix"; then
   12917   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12918 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12920 printf %s "checking for $ac_word... " >&6; }
   12921 if test ${ac_cv_path_PKG_CONFIG+y}
   12922 then :
   12923   printf %s "(cached) " >&6
   12924 else $as_nop
   12925   case $PKG_CONFIG in
   12926   [\\/]* | ?:[\\/]*)
   12927   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12928   ;;
   12929   *)
   12930   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12931 for as_dir in $PATH
   12932 do
   12933   IFS=$as_save_IFS
   12934   case $as_dir in #(((
   12935     '') as_dir=./ ;;
   12936     */) ;;
   12937     *) as_dir=$as_dir/ ;;
   12938   esac
   12939     for ac_exec_ext in '' $ac_executable_extensions; do
   12940   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12941     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12942     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12943     break 2
   12944   fi
   12945 done
   12946   done
   12947 IFS=$as_save_IFS
   12948 
   12949   ;;
   12950 esac
   12951 fi
   12952 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12953 if test -n "$PKG_CONFIG"; then
   12954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12955 printf "%s\n" "$PKG_CONFIG" >&6; }
   12956 else
   12957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12958 printf "%s\n" "no" >&6; }
   12959 fi
   12960 
   12961 
   12962 fi
   12963 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12964   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12965   # Extract the first word of "pkg-config", so it can be a program name with args.
   12966 set dummy pkg-config; ac_word=$2
   12967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12968 printf %s "checking for $ac_word... " >&6; }
   12969 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12970 then :
   12971   printf %s "(cached) " >&6
   12972 else $as_nop
   12973   case $ac_pt_PKG_CONFIG in
   12974   [\\/]* | ?:[\\/]*)
   12975   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12976   ;;
   12977   *)
   12978   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12979 for as_dir in $PATH
   12980 do
   12981   IFS=$as_save_IFS
   12982   case $as_dir in #(((
   12983     '') as_dir=./ ;;
   12984     */) ;;
   12985     *) as_dir=$as_dir/ ;;
   12986   esac
   12987     for ac_exec_ext in '' $ac_executable_extensions; do
   12988   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12989     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12990     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12991     break 2
   12992   fi
   12993 done
   12994   done
   12995 IFS=$as_save_IFS
   12996 
   12997   ;;
   12998 esac
   12999 fi
   13000 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13001 if test -n "$ac_pt_PKG_CONFIG"; then
   13002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13003 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13004 else
   13005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13006 printf "%s\n" "no" >&6; }
   13007 fi
   13008 
   13009   if test "x$ac_pt_PKG_CONFIG" = x; then
   13010     PKG_CONFIG=""
   13011   else
   13012     case $cross_compiling:$ac_tool_warned in
   13013 yes:)
   13014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13015 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13016 ac_tool_warned=yes ;;
   13017 esac
   13018     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13019   fi
   13020 else
   13021   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13022 fi
   13023 
   13024 fi
   13025 if test -n "$PKG_CONFIG"; then
   13026 	_pkg_min_version=0.9.0
   13027 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13028 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13029 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13031 printf "%s\n" "yes" >&6; }
   13032 	else
   13033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13034 printf "%s\n" "no" >&6; }
   13035 		PKG_CONFIG=""
   13036 	fi
   13037 fi
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 # Check whether --enable-selective-werror was given.
   13044 if test ${enable_selective_werror+y}
   13045 then :
   13046   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13047 else $as_nop
   13048   SELECTIVE_WERROR=yes
   13049 fi
   13050 
   13051 
   13052 
   13053 
   13054 
   13055 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13056 if test "x$SUNCC" = "xyes"; then
   13057     BASE_CFLAGS="-v"
   13058 else
   13059     BASE_CFLAGS=""
   13060 fi
   13061 
   13062 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 xorg_testset_save_CFLAGS="$CFLAGS"
   13077 
   13078 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13081 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13082 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13083 then :
   13084   printf %s "(cached) " >&6
   13085 else $as_nop
   13086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13087 /* end confdefs.h.  */
   13088 int i;
   13089 _ACEOF
   13090 if ac_fn_c_try_compile "$LINENO"
   13091 then :
   13092   xorg_cv_cc_flag_unknown_warning_option=yes
   13093 else $as_nop
   13094   xorg_cv_cc_flag_unknown_warning_option=no
   13095 fi
   13096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13097 fi
   13098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13099 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13100 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13101 	CFLAGS="$xorg_testset_save_CFLAGS"
   13102 fi
   13103 
   13104 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13105 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13106 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13107 	fi
   13108 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13109 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13110 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13111 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13112 then :
   13113   printf %s "(cached) " >&6
   13114 else $as_nop
   13115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13116 /* end confdefs.h.  */
   13117 int i;
   13118 _ACEOF
   13119 if ac_fn_c_try_compile "$LINENO"
   13120 then :
   13121   xorg_cv_cc_flag_unused_command_line_argument=yes
   13122 else $as_nop
   13123   xorg_cv_cc_flag_unused_command_line_argument=no
   13124 fi
   13125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13126 fi
   13127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13128 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13129 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13130 	CFLAGS="$xorg_testset_save_CFLAGS"
   13131 fi
   13132 
   13133 found="no"
   13134 
   13135 	if test $found = "no" ; then
   13136 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13137 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13138 		fi
   13139 
   13140 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13141 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13142 		fi
   13143 
   13144 		CFLAGS="$CFLAGS -Wall"
   13145 
   13146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13147 printf %s "checking if $CC supports -Wall... " >&6; }
   13148 		cacheid=xorg_cv_cc_flag__Wall
   13149 		if eval test \${$cacheid+y}
   13150 then :
   13151   printf %s "(cached) " >&6
   13152 else $as_nop
   13153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13154 /* end confdefs.h.  */
   13155 int i;
   13156 int
   13157 main (void)
   13158 {
   13159 
   13160   ;
   13161   return 0;
   13162 }
   13163 _ACEOF
   13164 if ac_fn_c_try_link "$LINENO"
   13165 then :
   13166   eval $cacheid=yes
   13167 else $as_nop
   13168   eval $cacheid=no
   13169 fi
   13170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13171     conftest$ac_exeext conftest.$ac_ext
   13172 fi
   13173 
   13174 
   13175 		CFLAGS="$xorg_testset_save_CFLAGS"
   13176 
   13177 		eval supported=\$$cacheid
   13178 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13179 printf "%s\n" "$supported" >&6; }
   13180 		if test "$supported" = "yes" ; then
   13181 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13182 			found="yes"
   13183 		fi
   13184 	fi
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 
   13200 xorg_testset_save_CFLAGS="$CFLAGS"
   13201 
   13202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13204 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13205 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13206 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13207 then :
   13208   printf %s "(cached) " >&6
   13209 else $as_nop
   13210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13211 /* end confdefs.h.  */
   13212 int i;
   13213 _ACEOF
   13214 if ac_fn_c_try_compile "$LINENO"
   13215 then :
   13216   xorg_cv_cc_flag_unknown_warning_option=yes
   13217 else $as_nop
   13218   xorg_cv_cc_flag_unknown_warning_option=no
   13219 fi
   13220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13221 fi
   13222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13223 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13225 	CFLAGS="$xorg_testset_save_CFLAGS"
   13226 fi
   13227 
   13228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13231 	fi
   13232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13234 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13235 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13236 then :
   13237   printf %s "(cached) " >&6
   13238 else $as_nop
   13239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13240 /* end confdefs.h.  */
   13241 int i;
   13242 _ACEOF
   13243 if ac_fn_c_try_compile "$LINENO"
   13244 then :
   13245   xorg_cv_cc_flag_unused_command_line_argument=yes
   13246 else $as_nop
   13247   xorg_cv_cc_flag_unused_command_line_argument=no
   13248 fi
   13249 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13250 fi
   13251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13252 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13254 	CFLAGS="$xorg_testset_save_CFLAGS"
   13255 fi
   13256 
   13257 found="no"
   13258 
   13259 	if test $found = "no" ; then
   13260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13262 		fi
   13263 
   13264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13266 		fi
   13267 
   13268 		CFLAGS="$CFLAGS -Wpointer-arith"
   13269 
   13270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13271 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13272 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13273 		if eval test \${$cacheid+y}
   13274 then :
   13275   printf %s "(cached) " >&6
   13276 else $as_nop
   13277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13278 /* end confdefs.h.  */
   13279 int i;
   13280 int
   13281 main (void)
   13282 {
   13283 
   13284   ;
   13285   return 0;
   13286 }
   13287 _ACEOF
   13288 if ac_fn_c_try_link "$LINENO"
   13289 then :
   13290   eval $cacheid=yes
   13291 else $as_nop
   13292   eval $cacheid=no
   13293 fi
   13294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13295     conftest$ac_exeext conftest.$ac_ext
   13296 fi
   13297 
   13298 
   13299 		CFLAGS="$xorg_testset_save_CFLAGS"
   13300 
   13301 		eval supported=\$$cacheid
   13302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13303 printf "%s\n" "$supported" >&6; }
   13304 		if test "$supported" = "yes" ; then
   13305 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13306 			found="yes"
   13307 		fi
   13308 	fi
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 xorg_testset_save_CFLAGS="$CFLAGS"
   13325 
   13326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13328 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13329 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13330 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13331 then :
   13332   printf %s "(cached) " >&6
   13333 else $as_nop
   13334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13335 /* end confdefs.h.  */
   13336 int i;
   13337 _ACEOF
   13338 if ac_fn_c_try_compile "$LINENO"
   13339 then :
   13340   xorg_cv_cc_flag_unknown_warning_option=yes
   13341 else $as_nop
   13342   xorg_cv_cc_flag_unknown_warning_option=no
   13343 fi
   13344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13345 fi
   13346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13347 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13349 	CFLAGS="$xorg_testset_save_CFLAGS"
   13350 fi
   13351 
   13352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13355 	fi
   13356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13357 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13358 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13359 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13360 then :
   13361   printf %s "(cached) " >&6
   13362 else $as_nop
   13363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13364 /* end confdefs.h.  */
   13365 int i;
   13366 _ACEOF
   13367 if ac_fn_c_try_compile "$LINENO"
   13368 then :
   13369   xorg_cv_cc_flag_unused_command_line_argument=yes
   13370 else $as_nop
   13371   xorg_cv_cc_flag_unused_command_line_argument=no
   13372 fi
   13373 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13374 fi
   13375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13376 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13378 	CFLAGS="$xorg_testset_save_CFLAGS"
   13379 fi
   13380 
   13381 found="no"
   13382 
   13383 	if test $found = "no" ; then
   13384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13386 		fi
   13387 
   13388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13390 		fi
   13391 
   13392 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13393 
   13394 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13395 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13396 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13397 		if eval test \${$cacheid+y}
   13398 then :
   13399   printf %s "(cached) " >&6
   13400 else $as_nop
   13401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13402 /* end confdefs.h.  */
   13403 int i;
   13404 int
   13405 main (void)
   13406 {
   13407 
   13408   ;
   13409   return 0;
   13410 }
   13411 _ACEOF
   13412 if ac_fn_c_try_link "$LINENO"
   13413 then :
   13414   eval $cacheid=yes
   13415 else $as_nop
   13416   eval $cacheid=no
   13417 fi
   13418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13419     conftest$ac_exeext conftest.$ac_ext
   13420 fi
   13421 
   13422 
   13423 		CFLAGS="$xorg_testset_save_CFLAGS"
   13424 
   13425 		eval supported=\$$cacheid
   13426 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13427 printf "%s\n" "$supported" >&6; }
   13428 		if test "$supported" = "yes" ; then
   13429 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13430 			found="yes"
   13431 		fi
   13432 	fi
   13433 
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 
   13448 xorg_testset_save_CFLAGS="$CFLAGS"
   13449 
   13450 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13452 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13453 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13454 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13455 then :
   13456   printf %s "(cached) " >&6
   13457 else $as_nop
   13458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13459 /* end confdefs.h.  */
   13460 int i;
   13461 _ACEOF
   13462 if ac_fn_c_try_compile "$LINENO"
   13463 then :
   13464   xorg_cv_cc_flag_unknown_warning_option=yes
   13465 else $as_nop
   13466   xorg_cv_cc_flag_unknown_warning_option=no
   13467 fi
   13468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13469 fi
   13470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13471 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13473 	CFLAGS="$xorg_testset_save_CFLAGS"
   13474 fi
   13475 
   13476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13479 	fi
   13480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13481 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13482 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13483 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13484 then :
   13485   printf %s "(cached) " >&6
   13486 else $as_nop
   13487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13488 /* end confdefs.h.  */
   13489 int i;
   13490 _ACEOF
   13491 if ac_fn_c_try_compile "$LINENO"
   13492 then :
   13493   xorg_cv_cc_flag_unused_command_line_argument=yes
   13494 else $as_nop
   13495   xorg_cv_cc_flag_unused_command_line_argument=no
   13496 fi
   13497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13498 fi
   13499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13500 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13502 	CFLAGS="$xorg_testset_save_CFLAGS"
   13503 fi
   13504 
   13505 found="no"
   13506 
   13507 	if test $found = "no" ; then
   13508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13510 		fi
   13511 
   13512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13514 		fi
   13515 
   13516 		CFLAGS="$CFLAGS -Wformat=2"
   13517 
   13518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13519 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13520 		cacheid=xorg_cv_cc_flag__Wformat_2
   13521 		if eval test \${$cacheid+y}
   13522 then :
   13523   printf %s "(cached) " >&6
   13524 else $as_nop
   13525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13526 /* end confdefs.h.  */
   13527 int i;
   13528 int
   13529 main (void)
   13530 {
   13531 
   13532   ;
   13533   return 0;
   13534 }
   13535 _ACEOF
   13536 if ac_fn_c_try_link "$LINENO"
   13537 then :
   13538   eval $cacheid=yes
   13539 else $as_nop
   13540   eval $cacheid=no
   13541 fi
   13542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13543     conftest$ac_exeext conftest.$ac_ext
   13544 fi
   13545 
   13546 
   13547 		CFLAGS="$xorg_testset_save_CFLAGS"
   13548 
   13549 		eval supported=\$$cacheid
   13550 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13551 printf "%s\n" "$supported" >&6; }
   13552 		if test "$supported" = "yes" ; then
   13553 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13554 			found="yes"
   13555 		fi
   13556 	fi
   13557 
   13558 	if test $found = "no" ; then
   13559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13561 		fi
   13562 
   13563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13565 		fi
   13566 
   13567 		CFLAGS="$CFLAGS -Wformat"
   13568 
   13569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13570 printf %s "checking if $CC supports -Wformat... " >&6; }
   13571 		cacheid=xorg_cv_cc_flag__Wformat
   13572 		if eval test \${$cacheid+y}
   13573 then :
   13574   printf %s "(cached) " >&6
   13575 else $as_nop
   13576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13577 /* end confdefs.h.  */
   13578 int i;
   13579 int
   13580 main (void)
   13581 {
   13582 
   13583   ;
   13584   return 0;
   13585 }
   13586 _ACEOF
   13587 if ac_fn_c_try_link "$LINENO"
   13588 then :
   13589   eval $cacheid=yes
   13590 else $as_nop
   13591   eval $cacheid=no
   13592 fi
   13593 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13594     conftest$ac_exeext conftest.$ac_ext
   13595 fi
   13596 
   13597 
   13598 		CFLAGS="$xorg_testset_save_CFLAGS"
   13599 
   13600 		eval supported=\$$cacheid
   13601 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13602 printf "%s\n" "$supported" >&6; }
   13603 		if test "$supported" = "yes" ; then
   13604 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13605 			found="yes"
   13606 		fi
   13607 	fi
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 xorg_testset_save_CFLAGS="$CFLAGS"
   13626 
   13627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13630 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13631 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13632 then :
   13633   printf %s "(cached) " >&6
   13634 else $as_nop
   13635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13636 /* end confdefs.h.  */
   13637 int i;
   13638 _ACEOF
   13639 if ac_fn_c_try_compile "$LINENO"
   13640 then :
   13641   xorg_cv_cc_flag_unknown_warning_option=yes
   13642 else $as_nop
   13643   xorg_cv_cc_flag_unknown_warning_option=no
   13644 fi
   13645 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13646 fi
   13647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13648 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13650 	CFLAGS="$xorg_testset_save_CFLAGS"
   13651 fi
   13652 
   13653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13656 	fi
   13657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13659 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13660 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13661 then :
   13662   printf %s "(cached) " >&6
   13663 else $as_nop
   13664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13665 /* end confdefs.h.  */
   13666 int i;
   13667 _ACEOF
   13668 if ac_fn_c_try_compile "$LINENO"
   13669 then :
   13670   xorg_cv_cc_flag_unused_command_line_argument=yes
   13671 else $as_nop
   13672   xorg_cv_cc_flag_unused_command_line_argument=no
   13673 fi
   13674 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13675 fi
   13676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13677 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13679 	CFLAGS="$xorg_testset_save_CFLAGS"
   13680 fi
   13681 
   13682 found="no"
   13683 
   13684 	if test $found = "no" ; then
   13685 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13687 		fi
   13688 
   13689 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13691 		fi
   13692 
   13693 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13694 
   13695 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13696 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13697 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13698 		if eval test \${$cacheid+y}
   13699 then :
   13700   printf %s "(cached) " >&6
   13701 else $as_nop
   13702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13703 /* end confdefs.h.  */
   13704 int i;
   13705 int
   13706 main (void)
   13707 {
   13708 
   13709   ;
   13710   return 0;
   13711 }
   13712 _ACEOF
   13713 if ac_fn_c_try_link "$LINENO"
   13714 then :
   13715   eval $cacheid=yes
   13716 else $as_nop
   13717   eval $cacheid=no
   13718 fi
   13719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13720     conftest$ac_exeext conftest.$ac_ext
   13721 fi
   13722 
   13723 
   13724 		CFLAGS="$xorg_testset_save_CFLAGS"
   13725 
   13726 		eval supported=\$$cacheid
   13727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13728 printf "%s\n" "$supported" >&6; }
   13729 		if test "$supported" = "yes" ; then
   13730 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13731 			found="yes"
   13732 		fi
   13733 	fi
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 xorg_testset_save_CFLAGS="$CFLAGS"
   13750 
   13751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13756 then :
   13757   printf %s "(cached) " >&6
   13758 else $as_nop
   13759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13760 /* end confdefs.h.  */
   13761 int i;
   13762 _ACEOF
   13763 if ac_fn_c_try_compile "$LINENO"
   13764 then :
   13765   xorg_cv_cc_flag_unknown_warning_option=yes
   13766 else $as_nop
   13767   xorg_cv_cc_flag_unknown_warning_option=no
   13768 fi
   13769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13770 fi
   13771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13772 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13774 	CFLAGS="$xorg_testset_save_CFLAGS"
   13775 fi
   13776 
   13777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13780 	fi
   13781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13782 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13783 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13784 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13785 then :
   13786   printf %s "(cached) " >&6
   13787 else $as_nop
   13788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13789 /* end confdefs.h.  */
   13790 int i;
   13791 _ACEOF
   13792 if ac_fn_c_try_compile "$LINENO"
   13793 then :
   13794   xorg_cv_cc_flag_unused_command_line_argument=yes
   13795 else $as_nop
   13796   xorg_cv_cc_flag_unused_command_line_argument=no
   13797 fi
   13798 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13799 fi
   13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13801 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13802 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13803 	CFLAGS="$xorg_testset_save_CFLAGS"
   13804 fi
   13805 
   13806 found="no"
   13807 
   13808 	if test $found = "no" ; then
   13809 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13810 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13811 		fi
   13812 
   13813 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13814 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13815 		fi
   13816 
   13817 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13818 
   13819 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13820 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13821 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13822 		if eval test \${$cacheid+y}
   13823 then :
   13824   printf %s "(cached) " >&6
   13825 else $as_nop
   13826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13827 /* end confdefs.h.  */
   13828 int i;
   13829 int
   13830 main (void)
   13831 {
   13832 
   13833   ;
   13834   return 0;
   13835 }
   13836 _ACEOF
   13837 if ac_fn_c_try_link "$LINENO"
   13838 then :
   13839   eval $cacheid=yes
   13840 else $as_nop
   13841   eval $cacheid=no
   13842 fi
   13843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13844     conftest$ac_exeext conftest.$ac_ext
   13845 fi
   13846 
   13847 
   13848 		CFLAGS="$xorg_testset_save_CFLAGS"
   13849 
   13850 		eval supported=\$$cacheid
   13851 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13852 printf "%s\n" "$supported" >&6; }
   13853 		if test "$supported" = "yes" ; then
   13854 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13855 			found="yes"
   13856 		fi
   13857 	fi
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 
   13871 
   13872 
   13873 xorg_testset_save_CFLAGS="$CFLAGS"
   13874 
   13875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13877 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13878 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13879 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13880 then :
   13881   printf %s "(cached) " >&6
   13882 else $as_nop
   13883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13884 /* end confdefs.h.  */
   13885 int i;
   13886 _ACEOF
   13887 if ac_fn_c_try_compile "$LINENO"
   13888 then :
   13889   xorg_cv_cc_flag_unknown_warning_option=yes
   13890 else $as_nop
   13891   xorg_cv_cc_flag_unknown_warning_option=no
   13892 fi
   13893 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13894 fi
   13895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13896 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13898 	CFLAGS="$xorg_testset_save_CFLAGS"
   13899 fi
   13900 
   13901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13904 	fi
   13905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13906 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13907 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13908 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13909 then :
   13910   printf %s "(cached) " >&6
   13911 else $as_nop
   13912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13913 /* end confdefs.h.  */
   13914 int i;
   13915 _ACEOF
   13916 if ac_fn_c_try_compile "$LINENO"
   13917 then :
   13918   xorg_cv_cc_flag_unused_command_line_argument=yes
   13919 else $as_nop
   13920   xorg_cv_cc_flag_unused_command_line_argument=no
   13921 fi
   13922 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13923 fi
   13924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13925 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13926 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13927 	CFLAGS="$xorg_testset_save_CFLAGS"
   13928 fi
   13929 
   13930 found="no"
   13931 
   13932 	if test $found = "no" ; then
   13933 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13935 		fi
   13936 
   13937 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13939 		fi
   13940 
   13941 		CFLAGS="$CFLAGS -Wnested-externs"
   13942 
   13943 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13944 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13945 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13946 		if eval test \${$cacheid+y}
   13947 then :
   13948   printf %s "(cached) " >&6
   13949 else $as_nop
   13950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13951 /* end confdefs.h.  */
   13952 int i;
   13953 int
   13954 main (void)
   13955 {
   13956 
   13957   ;
   13958   return 0;
   13959 }
   13960 _ACEOF
   13961 if ac_fn_c_try_link "$LINENO"
   13962 then :
   13963   eval $cacheid=yes
   13964 else $as_nop
   13965   eval $cacheid=no
   13966 fi
   13967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13968     conftest$ac_exeext conftest.$ac_ext
   13969 fi
   13970 
   13971 
   13972 		CFLAGS="$xorg_testset_save_CFLAGS"
   13973 
   13974 		eval supported=\$$cacheid
   13975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13976 printf "%s\n" "$supported" >&6; }
   13977 		if test "$supported" = "yes" ; then
   13978 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13979 			found="yes"
   13980 		fi
   13981 	fi
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 xorg_testset_save_CFLAGS="$CFLAGS"
   13998 
   13999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14002 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14003 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14004 then :
   14005   printf %s "(cached) " >&6
   14006 else $as_nop
   14007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14008 /* end confdefs.h.  */
   14009 int i;
   14010 _ACEOF
   14011 if ac_fn_c_try_compile "$LINENO"
   14012 then :
   14013   xorg_cv_cc_flag_unknown_warning_option=yes
   14014 else $as_nop
   14015   xorg_cv_cc_flag_unknown_warning_option=no
   14016 fi
   14017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14018 fi
   14019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14020 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14022 	CFLAGS="$xorg_testset_save_CFLAGS"
   14023 fi
   14024 
   14025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14028 	fi
   14029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14030 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14031 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14032 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14033 then :
   14034   printf %s "(cached) " >&6
   14035 else $as_nop
   14036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14037 /* end confdefs.h.  */
   14038 int i;
   14039 _ACEOF
   14040 if ac_fn_c_try_compile "$LINENO"
   14041 then :
   14042   xorg_cv_cc_flag_unused_command_line_argument=yes
   14043 else $as_nop
   14044   xorg_cv_cc_flag_unused_command_line_argument=no
   14045 fi
   14046 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14047 fi
   14048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14049 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14051 	CFLAGS="$xorg_testset_save_CFLAGS"
   14052 fi
   14053 
   14054 found="no"
   14055 
   14056 	if test $found = "no" ; then
   14057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14059 		fi
   14060 
   14061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14063 		fi
   14064 
   14065 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14066 
   14067 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14068 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14069 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14070 		if eval test \${$cacheid+y}
   14071 then :
   14072   printf %s "(cached) " >&6
   14073 else $as_nop
   14074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14075 /* end confdefs.h.  */
   14076 int i;
   14077 int
   14078 main (void)
   14079 {
   14080 
   14081   ;
   14082   return 0;
   14083 }
   14084 _ACEOF
   14085 if ac_fn_c_try_link "$LINENO"
   14086 then :
   14087   eval $cacheid=yes
   14088 else $as_nop
   14089   eval $cacheid=no
   14090 fi
   14091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14092     conftest$ac_exeext conftest.$ac_ext
   14093 fi
   14094 
   14095 
   14096 		CFLAGS="$xorg_testset_save_CFLAGS"
   14097 
   14098 		eval supported=\$$cacheid
   14099 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14100 printf "%s\n" "$supported" >&6; }
   14101 		if test "$supported" = "yes" ; then
   14102 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14103 			found="yes"
   14104 		fi
   14105 	fi
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 xorg_testset_save_CFLAGS="$CFLAGS"
   14122 
   14123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14126 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14127 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14128 then :
   14129   printf %s "(cached) " >&6
   14130 else $as_nop
   14131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14132 /* end confdefs.h.  */
   14133 int i;
   14134 _ACEOF
   14135 if ac_fn_c_try_compile "$LINENO"
   14136 then :
   14137   xorg_cv_cc_flag_unknown_warning_option=yes
   14138 else $as_nop
   14139   xorg_cv_cc_flag_unknown_warning_option=no
   14140 fi
   14141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14142 fi
   14143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14144 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14146 	CFLAGS="$xorg_testset_save_CFLAGS"
   14147 fi
   14148 
   14149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14152 	fi
   14153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14154 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14155 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14156 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14157 then :
   14158   printf %s "(cached) " >&6
   14159 else $as_nop
   14160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14161 /* end confdefs.h.  */
   14162 int i;
   14163 _ACEOF
   14164 if ac_fn_c_try_compile "$LINENO"
   14165 then :
   14166   xorg_cv_cc_flag_unused_command_line_argument=yes
   14167 else $as_nop
   14168   xorg_cv_cc_flag_unused_command_line_argument=no
   14169 fi
   14170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14171 fi
   14172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14173 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14175 	CFLAGS="$xorg_testset_save_CFLAGS"
   14176 fi
   14177 
   14178 found="no"
   14179 
   14180 	if test $found = "no" ; then
   14181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14183 		fi
   14184 
   14185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14187 		fi
   14188 
   14189 		CFLAGS="$CFLAGS -Wold-style-definition"
   14190 
   14191 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14192 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14193 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14194 		if eval test \${$cacheid+y}
   14195 then :
   14196   printf %s "(cached) " >&6
   14197 else $as_nop
   14198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14199 /* end confdefs.h.  */
   14200 int i;
   14201 int
   14202 main (void)
   14203 {
   14204 
   14205   ;
   14206   return 0;
   14207 }
   14208 _ACEOF
   14209 if ac_fn_c_try_link "$LINENO"
   14210 then :
   14211   eval $cacheid=yes
   14212 else $as_nop
   14213   eval $cacheid=no
   14214 fi
   14215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14216     conftest$ac_exeext conftest.$ac_ext
   14217 fi
   14218 
   14219 
   14220 		CFLAGS="$xorg_testset_save_CFLAGS"
   14221 
   14222 		eval supported=\$$cacheid
   14223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14224 printf "%s\n" "$supported" >&6; }
   14225 		if test "$supported" = "yes" ; then
   14226 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14227 			found="yes"
   14228 		fi
   14229 	fi
   14230 
   14231 	if test $found = "no" ; then
   14232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14234 		fi
   14235 
   14236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14238 		fi
   14239 
   14240 		CFLAGS="$CFLAGS -fd"
   14241 
   14242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14243 printf %s "checking if $CC supports -fd... " >&6; }
   14244 		cacheid=xorg_cv_cc_flag__fd
   14245 		if eval test \${$cacheid+y}
   14246 then :
   14247   printf %s "(cached) " >&6
   14248 else $as_nop
   14249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14250 /* end confdefs.h.  */
   14251 int i;
   14252 int
   14253 main (void)
   14254 {
   14255 
   14256   ;
   14257   return 0;
   14258 }
   14259 _ACEOF
   14260 if ac_fn_c_try_link "$LINENO"
   14261 then :
   14262   eval $cacheid=yes
   14263 else $as_nop
   14264   eval $cacheid=no
   14265 fi
   14266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14267     conftest$ac_exeext conftest.$ac_ext
   14268 fi
   14269 
   14270 
   14271 		CFLAGS="$xorg_testset_save_CFLAGS"
   14272 
   14273 		eval supported=\$$cacheid
   14274 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14275 printf "%s\n" "$supported" >&6; }
   14276 		if test "$supported" = "yes" ; then
   14277 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14278 			found="yes"
   14279 		fi
   14280 	fi
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 xorg_testset_save_CFLAGS="$CFLAGS"
   14297 
   14298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14300 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14301 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14302 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14303 then :
   14304   printf %s "(cached) " >&6
   14305 else $as_nop
   14306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14307 /* end confdefs.h.  */
   14308 int i;
   14309 _ACEOF
   14310 if ac_fn_c_try_compile "$LINENO"
   14311 then :
   14312   xorg_cv_cc_flag_unknown_warning_option=yes
   14313 else $as_nop
   14314   xorg_cv_cc_flag_unknown_warning_option=no
   14315 fi
   14316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14317 fi
   14318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14319 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14320 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14321 	CFLAGS="$xorg_testset_save_CFLAGS"
   14322 fi
   14323 
   14324 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14325 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14326 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14327 	fi
   14328 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14330 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14331 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14332 then :
   14333   printf %s "(cached) " >&6
   14334 else $as_nop
   14335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14336 /* end confdefs.h.  */
   14337 int i;
   14338 _ACEOF
   14339 if ac_fn_c_try_compile "$LINENO"
   14340 then :
   14341   xorg_cv_cc_flag_unused_command_line_argument=yes
   14342 else $as_nop
   14343   xorg_cv_cc_flag_unused_command_line_argument=no
   14344 fi
   14345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14346 fi
   14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14348 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14350 	CFLAGS="$xorg_testset_save_CFLAGS"
   14351 fi
   14352 
   14353 found="no"
   14354 
   14355 	if test $found = "no" ; then
   14356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14358 		fi
   14359 
   14360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14362 		fi
   14363 
   14364 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14365 
   14366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14367 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14368 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14369 		if eval test \${$cacheid+y}
   14370 then :
   14371   printf %s "(cached) " >&6
   14372 else $as_nop
   14373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14374 /* end confdefs.h.  */
   14375 int i;
   14376 int
   14377 main (void)
   14378 {
   14379 
   14380   ;
   14381   return 0;
   14382 }
   14383 _ACEOF
   14384 if ac_fn_c_try_link "$LINENO"
   14385 then :
   14386   eval $cacheid=yes
   14387 else $as_nop
   14388   eval $cacheid=no
   14389 fi
   14390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14391     conftest$ac_exeext conftest.$ac_ext
   14392 fi
   14393 
   14394 
   14395 		CFLAGS="$xorg_testset_save_CFLAGS"
   14396 
   14397 		eval supported=\$$cacheid
   14398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14399 printf "%s\n" "$supported" >&6; }
   14400 		if test "$supported" = "yes" ; then
   14401 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14402 			found="yes"
   14403 		fi
   14404 	fi
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 # This chunk adds additional warnings that could catch undesired effects.
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 xorg_testset_save_CFLAGS="$CFLAGS"
   14425 
   14426 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14429 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14430 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14431 then :
   14432   printf %s "(cached) " >&6
   14433 else $as_nop
   14434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14435 /* end confdefs.h.  */
   14436 int i;
   14437 _ACEOF
   14438 if ac_fn_c_try_compile "$LINENO"
   14439 then :
   14440   xorg_cv_cc_flag_unknown_warning_option=yes
   14441 else $as_nop
   14442   xorg_cv_cc_flag_unknown_warning_option=no
   14443 fi
   14444 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14445 fi
   14446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14447 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14449 	CFLAGS="$xorg_testset_save_CFLAGS"
   14450 fi
   14451 
   14452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14455 	fi
   14456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14460 then :
   14461   printf %s "(cached) " >&6
   14462 else $as_nop
   14463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14464 /* end confdefs.h.  */
   14465 int i;
   14466 _ACEOF
   14467 if ac_fn_c_try_compile "$LINENO"
   14468 then :
   14469   xorg_cv_cc_flag_unused_command_line_argument=yes
   14470 else $as_nop
   14471   xorg_cv_cc_flag_unused_command_line_argument=no
   14472 fi
   14473 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14474 fi
   14475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14476 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14478 	CFLAGS="$xorg_testset_save_CFLAGS"
   14479 fi
   14480 
   14481 found="no"
   14482 
   14483 	if test $found = "no" ; then
   14484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14486 		fi
   14487 
   14488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14490 		fi
   14491 
   14492 		CFLAGS="$CFLAGS -Wunused"
   14493 
   14494 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14495 printf %s "checking if $CC supports -Wunused... " >&6; }
   14496 		cacheid=xorg_cv_cc_flag__Wunused
   14497 		if eval test \${$cacheid+y}
   14498 then :
   14499   printf %s "(cached) " >&6
   14500 else $as_nop
   14501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14502 /* end confdefs.h.  */
   14503 int i;
   14504 int
   14505 main (void)
   14506 {
   14507 
   14508   ;
   14509   return 0;
   14510 }
   14511 _ACEOF
   14512 if ac_fn_c_try_link "$LINENO"
   14513 then :
   14514   eval $cacheid=yes
   14515 else $as_nop
   14516   eval $cacheid=no
   14517 fi
   14518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14519     conftest$ac_exeext conftest.$ac_ext
   14520 fi
   14521 
   14522 
   14523 		CFLAGS="$xorg_testset_save_CFLAGS"
   14524 
   14525 		eval supported=\$$cacheid
   14526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14527 printf "%s\n" "$supported" >&6; }
   14528 		if test "$supported" = "yes" ; then
   14529 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14530 			found="yes"
   14531 		fi
   14532 	fi
   14533 
   14534 
   14535 
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 
   14544 
   14545 
   14546 
   14547 
   14548 xorg_testset_save_CFLAGS="$CFLAGS"
   14549 
   14550 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14551 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14552 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14553 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14554 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14555 then :
   14556   printf %s "(cached) " >&6
   14557 else $as_nop
   14558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14559 /* end confdefs.h.  */
   14560 int i;
   14561 _ACEOF
   14562 if ac_fn_c_try_compile "$LINENO"
   14563 then :
   14564   xorg_cv_cc_flag_unknown_warning_option=yes
   14565 else $as_nop
   14566   xorg_cv_cc_flag_unknown_warning_option=no
   14567 fi
   14568 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14569 fi
   14570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14571 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14573 	CFLAGS="$xorg_testset_save_CFLAGS"
   14574 fi
   14575 
   14576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14579 	fi
   14580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14582 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14583 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14584 then :
   14585   printf %s "(cached) " >&6
   14586 else $as_nop
   14587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14588 /* end confdefs.h.  */
   14589 int i;
   14590 _ACEOF
   14591 if ac_fn_c_try_compile "$LINENO"
   14592 then :
   14593   xorg_cv_cc_flag_unused_command_line_argument=yes
   14594 else $as_nop
   14595   xorg_cv_cc_flag_unused_command_line_argument=no
   14596 fi
   14597 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14598 fi
   14599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14600 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14602 	CFLAGS="$xorg_testset_save_CFLAGS"
   14603 fi
   14604 
   14605 found="no"
   14606 
   14607 	if test $found = "no" ; then
   14608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14610 		fi
   14611 
   14612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14614 		fi
   14615 
   14616 		CFLAGS="$CFLAGS -Wuninitialized"
   14617 
   14618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14619 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14620 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14621 		if eval test \${$cacheid+y}
   14622 then :
   14623   printf %s "(cached) " >&6
   14624 else $as_nop
   14625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14626 /* end confdefs.h.  */
   14627 int i;
   14628 int
   14629 main (void)
   14630 {
   14631 
   14632   ;
   14633   return 0;
   14634 }
   14635 _ACEOF
   14636 if ac_fn_c_try_link "$LINENO"
   14637 then :
   14638   eval $cacheid=yes
   14639 else $as_nop
   14640   eval $cacheid=no
   14641 fi
   14642 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14643     conftest$ac_exeext conftest.$ac_ext
   14644 fi
   14645 
   14646 
   14647 		CFLAGS="$xorg_testset_save_CFLAGS"
   14648 
   14649 		eval supported=\$$cacheid
   14650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14651 printf "%s\n" "$supported" >&6; }
   14652 		if test "$supported" = "yes" ; then
   14653 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14654 			found="yes"
   14655 		fi
   14656 	fi
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 xorg_testset_save_CFLAGS="$CFLAGS"
   14673 
   14674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14677 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14678 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14679 then :
   14680   printf %s "(cached) " >&6
   14681 else $as_nop
   14682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14683 /* end confdefs.h.  */
   14684 int i;
   14685 _ACEOF
   14686 if ac_fn_c_try_compile "$LINENO"
   14687 then :
   14688   xorg_cv_cc_flag_unknown_warning_option=yes
   14689 else $as_nop
   14690   xorg_cv_cc_flag_unknown_warning_option=no
   14691 fi
   14692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14693 fi
   14694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14695 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14697 	CFLAGS="$xorg_testset_save_CFLAGS"
   14698 fi
   14699 
   14700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14703 	fi
   14704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14705 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14706 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14707 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14708 then :
   14709   printf %s "(cached) " >&6
   14710 else $as_nop
   14711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14712 /* end confdefs.h.  */
   14713 int i;
   14714 _ACEOF
   14715 if ac_fn_c_try_compile "$LINENO"
   14716 then :
   14717   xorg_cv_cc_flag_unused_command_line_argument=yes
   14718 else $as_nop
   14719   xorg_cv_cc_flag_unused_command_line_argument=no
   14720 fi
   14721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14722 fi
   14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14724 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14726 	CFLAGS="$xorg_testset_save_CFLAGS"
   14727 fi
   14728 
   14729 found="no"
   14730 
   14731 	if test $found = "no" ; then
   14732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14734 		fi
   14735 
   14736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14738 		fi
   14739 
   14740 		CFLAGS="$CFLAGS -Wshadow"
   14741 
   14742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14743 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14744 		cacheid=xorg_cv_cc_flag__Wshadow
   14745 		if eval test \${$cacheid+y}
   14746 then :
   14747   printf %s "(cached) " >&6
   14748 else $as_nop
   14749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14750 /* end confdefs.h.  */
   14751 int i;
   14752 int
   14753 main (void)
   14754 {
   14755 
   14756   ;
   14757   return 0;
   14758 }
   14759 _ACEOF
   14760 if ac_fn_c_try_link "$LINENO"
   14761 then :
   14762   eval $cacheid=yes
   14763 else $as_nop
   14764   eval $cacheid=no
   14765 fi
   14766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14767     conftest$ac_exeext conftest.$ac_ext
   14768 fi
   14769 
   14770 
   14771 		CFLAGS="$xorg_testset_save_CFLAGS"
   14772 
   14773 		eval supported=\$$cacheid
   14774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14775 printf "%s\n" "$supported" >&6; }
   14776 		if test "$supported" = "yes" ; then
   14777 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14778 			found="yes"
   14779 		fi
   14780 	fi
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 xorg_testset_save_CFLAGS="$CFLAGS"
   14797 
   14798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14800 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14801 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14802 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14803 then :
   14804   printf %s "(cached) " >&6
   14805 else $as_nop
   14806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14807 /* end confdefs.h.  */
   14808 int i;
   14809 _ACEOF
   14810 if ac_fn_c_try_compile "$LINENO"
   14811 then :
   14812   xorg_cv_cc_flag_unknown_warning_option=yes
   14813 else $as_nop
   14814   xorg_cv_cc_flag_unknown_warning_option=no
   14815 fi
   14816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14817 fi
   14818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14819 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14821 	CFLAGS="$xorg_testset_save_CFLAGS"
   14822 fi
   14823 
   14824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14827 	fi
   14828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14829 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14830 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14831 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14832 then :
   14833   printf %s "(cached) " >&6
   14834 else $as_nop
   14835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14836 /* end confdefs.h.  */
   14837 int i;
   14838 _ACEOF
   14839 if ac_fn_c_try_compile "$LINENO"
   14840 then :
   14841   xorg_cv_cc_flag_unused_command_line_argument=yes
   14842 else $as_nop
   14843   xorg_cv_cc_flag_unused_command_line_argument=no
   14844 fi
   14845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14846 fi
   14847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14848 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14850 	CFLAGS="$xorg_testset_save_CFLAGS"
   14851 fi
   14852 
   14853 found="no"
   14854 
   14855 	if test $found = "no" ; then
   14856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14858 		fi
   14859 
   14860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14862 		fi
   14863 
   14864 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14865 
   14866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14867 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14868 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14869 		if eval test \${$cacheid+y}
   14870 then :
   14871   printf %s "(cached) " >&6
   14872 else $as_nop
   14873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14874 /* end confdefs.h.  */
   14875 int i;
   14876 int
   14877 main (void)
   14878 {
   14879 
   14880   ;
   14881   return 0;
   14882 }
   14883 _ACEOF
   14884 if ac_fn_c_try_link "$LINENO"
   14885 then :
   14886   eval $cacheid=yes
   14887 else $as_nop
   14888   eval $cacheid=no
   14889 fi
   14890 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14891     conftest$ac_exeext conftest.$ac_ext
   14892 fi
   14893 
   14894 
   14895 		CFLAGS="$xorg_testset_save_CFLAGS"
   14896 
   14897 		eval supported=\$$cacheid
   14898 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14899 printf "%s\n" "$supported" >&6; }
   14900 		if test "$supported" = "yes" ; then
   14901 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14902 			found="yes"
   14903 		fi
   14904 	fi
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 xorg_testset_save_CFLAGS="$CFLAGS"
   14921 
   14922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14925 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14926 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14927 then :
   14928   printf %s "(cached) " >&6
   14929 else $as_nop
   14930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14931 /* end confdefs.h.  */
   14932 int i;
   14933 _ACEOF
   14934 if ac_fn_c_try_compile "$LINENO"
   14935 then :
   14936   xorg_cv_cc_flag_unknown_warning_option=yes
   14937 else $as_nop
   14938   xorg_cv_cc_flag_unknown_warning_option=no
   14939 fi
   14940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14941 fi
   14942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14943 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14944 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14945 	CFLAGS="$xorg_testset_save_CFLAGS"
   14946 fi
   14947 
   14948 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14949 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14950 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14951 	fi
   14952 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14953 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14954 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14955 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14956 then :
   14957   printf %s "(cached) " >&6
   14958 else $as_nop
   14959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14960 /* end confdefs.h.  */
   14961 int i;
   14962 _ACEOF
   14963 if ac_fn_c_try_compile "$LINENO"
   14964 then :
   14965   xorg_cv_cc_flag_unused_command_line_argument=yes
   14966 else $as_nop
   14967   xorg_cv_cc_flag_unused_command_line_argument=no
   14968 fi
   14969 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14970 fi
   14971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14972 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14974 	CFLAGS="$xorg_testset_save_CFLAGS"
   14975 fi
   14976 
   14977 found="no"
   14978 
   14979 	if test $found = "no" ; then
   14980 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14982 		fi
   14983 
   14984 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14986 		fi
   14987 
   14988 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14989 
   14990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14991 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14992 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14993 		if eval test \${$cacheid+y}
   14994 then :
   14995   printf %s "(cached) " >&6
   14996 else $as_nop
   14997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14998 /* end confdefs.h.  */
   14999 int i;
   15000 int
   15001 main (void)
   15002 {
   15003 
   15004   ;
   15005   return 0;
   15006 }
   15007 _ACEOF
   15008 if ac_fn_c_try_link "$LINENO"
   15009 then :
   15010   eval $cacheid=yes
   15011 else $as_nop
   15012   eval $cacheid=no
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15015     conftest$ac_exeext conftest.$ac_ext
   15016 fi
   15017 
   15018 
   15019 		CFLAGS="$xorg_testset_save_CFLAGS"
   15020 
   15021 		eval supported=\$$cacheid
   15022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15023 printf "%s\n" "$supported" >&6; }
   15024 		if test "$supported" = "yes" ; then
   15025 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15026 			found="yes"
   15027 		fi
   15028 	fi
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 xorg_testset_save_CFLAGS="$CFLAGS"
   15045 
   15046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15051 then :
   15052   printf %s "(cached) " >&6
   15053 else $as_nop
   15054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15055 /* end confdefs.h.  */
   15056 int i;
   15057 _ACEOF
   15058 if ac_fn_c_try_compile "$LINENO"
   15059 then :
   15060   xorg_cv_cc_flag_unknown_warning_option=yes
   15061 else $as_nop
   15062   xorg_cv_cc_flag_unknown_warning_option=no
   15063 fi
   15064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15065 fi
   15066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15067 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15068 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15069 	CFLAGS="$xorg_testset_save_CFLAGS"
   15070 fi
   15071 
   15072 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15073 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15074 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15075 	fi
   15076 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15077 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15078 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15079 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15080 then :
   15081   printf %s "(cached) " >&6
   15082 else $as_nop
   15083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15084 /* end confdefs.h.  */
   15085 int i;
   15086 _ACEOF
   15087 if ac_fn_c_try_compile "$LINENO"
   15088 then :
   15089   xorg_cv_cc_flag_unused_command_line_argument=yes
   15090 else $as_nop
   15091   xorg_cv_cc_flag_unused_command_line_argument=no
   15092 fi
   15093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15094 fi
   15095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15096 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15097 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15098 	CFLAGS="$xorg_testset_save_CFLAGS"
   15099 fi
   15100 
   15101 found="no"
   15102 
   15103 	if test $found = "no" ; then
   15104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15106 		fi
   15107 
   15108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15110 		fi
   15111 
   15112 		CFLAGS="$CFLAGS -Wredundant-decls"
   15113 
   15114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15115 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15116 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15117 		if eval test \${$cacheid+y}
   15118 then :
   15119   printf %s "(cached) " >&6
   15120 else $as_nop
   15121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15122 /* end confdefs.h.  */
   15123 int i;
   15124 int
   15125 main (void)
   15126 {
   15127 
   15128   ;
   15129   return 0;
   15130 }
   15131 _ACEOF
   15132 if ac_fn_c_try_link "$LINENO"
   15133 then :
   15134   eval $cacheid=yes
   15135 else $as_nop
   15136   eval $cacheid=no
   15137 fi
   15138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15139     conftest$ac_exeext conftest.$ac_ext
   15140 fi
   15141 
   15142 
   15143 		CFLAGS="$xorg_testset_save_CFLAGS"
   15144 
   15145 		eval supported=\$$cacheid
   15146 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15147 printf "%s\n" "$supported" >&6; }
   15148 		if test "$supported" = "yes" ; then
   15149 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15150 			found="yes"
   15151 		fi
   15152 	fi
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 xorg_testset_save_CFLAGS="$CFLAGS"
   15169 
   15170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15172 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15173 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15174 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15175 then :
   15176   printf %s "(cached) " >&6
   15177 else $as_nop
   15178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15179 /* end confdefs.h.  */
   15180 int i;
   15181 _ACEOF
   15182 if ac_fn_c_try_compile "$LINENO"
   15183 then :
   15184   xorg_cv_cc_flag_unknown_warning_option=yes
   15185 else $as_nop
   15186   xorg_cv_cc_flag_unknown_warning_option=no
   15187 fi
   15188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15189 fi
   15190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15191 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15192 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15193 	CFLAGS="$xorg_testset_save_CFLAGS"
   15194 fi
   15195 
   15196 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15197 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15198 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15199 	fi
   15200 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15201 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15202 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15203 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15204 then :
   15205   printf %s "(cached) " >&6
   15206 else $as_nop
   15207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15208 /* end confdefs.h.  */
   15209 int i;
   15210 _ACEOF
   15211 if ac_fn_c_try_compile "$LINENO"
   15212 then :
   15213   xorg_cv_cc_flag_unused_command_line_argument=yes
   15214 else $as_nop
   15215   xorg_cv_cc_flag_unused_command_line_argument=no
   15216 fi
   15217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15218 fi
   15219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15220 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15222 	CFLAGS="$xorg_testset_save_CFLAGS"
   15223 fi
   15224 
   15225 found="no"
   15226 
   15227 	if test $found = "no" ; then
   15228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15230 		fi
   15231 
   15232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15234 		fi
   15235 
   15236 		CFLAGS="$CFLAGS -Wlogical-op"
   15237 
   15238 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15239 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15240 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15241 		if eval test \${$cacheid+y}
   15242 then :
   15243   printf %s "(cached) " >&6
   15244 else $as_nop
   15245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15246 /* end confdefs.h.  */
   15247 int i;
   15248 int
   15249 main (void)
   15250 {
   15251 
   15252   ;
   15253   return 0;
   15254 }
   15255 _ACEOF
   15256 if ac_fn_c_try_link "$LINENO"
   15257 then :
   15258   eval $cacheid=yes
   15259 else $as_nop
   15260   eval $cacheid=no
   15261 fi
   15262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15263     conftest$ac_exeext conftest.$ac_ext
   15264 fi
   15265 
   15266 
   15267 		CFLAGS="$xorg_testset_save_CFLAGS"
   15268 
   15269 		eval supported=\$$cacheid
   15270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15271 printf "%s\n" "$supported" >&6; }
   15272 		if test "$supported" = "yes" ; then
   15273 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15274 			found="yes"
   15275 		fi
   15276 	fi
   15277 
   15278 
   15279 
   15280 # These are currently disabled because they are noisy.  They will be enabled
   15281 # in the future once the codebase is sufficiently modernized to silence
   15282 # them.  For now, I don't want them to drown out the other warnings.
   15283 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15284 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15285 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15286 
   15287 # Turn some warnings into errors, so we don't accidently get successful builds
   15288 # when there are problems that should be fixed.
   15289 
   15290 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15291 
   15292 
   15293 
   15294 
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 
   15301 
   15302 
   15303 
   15304 xorg_testset_save_CFLAGS="$CFLAGS"
   15305 
   15306 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15307 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15308 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15309 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15310 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15311 then :
   15312   printf %s "(cached) " >&6
   15313 else $as_nop
   15314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15315 /* end confdefs.h.  */
   15316 int i;
   15317 _ACEOF
   15318 if ac_fn_c_try_compile "$LINENO"
   15319 then :
   15320   xorg_cv_cc_flag_unknown_warning_option=yes
   15321 else $as_nop
   15322   xorg_cv_cc_flag_unknown_warning_option=no
   15323 fi
   15324 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15325 fi
   15326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15327 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15328 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15329 	CFLAGS="$xorg_testset_save_CFLAGS"
   15330 fi
   15331 
   15332 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15333 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15334 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15335 	fi
   15336 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15337 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15338 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15339 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15340 then :
   15341   printf %s "(cached) " >&6
   15342 else $as_nop
   15343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15344 /* end confdefs.h.  */
   15345 int i;
   15346 _ACEOF
   15347 if ac_fn_c_try_compile "$LINENO"
   15348 then :
   15349   xorg_cv_cc_flag_unused_command_line_argument=yes
   15350 else $as_nop
   15351   xorg_cv_cc_flag_unused_command_line_argument=no
   15352 fi
   15353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15354 fi
   15355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15356 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15358 	CFLAGS="$xorg_testset_save_CFLAGS"
   15359 fi
   15360 
   15361 found="no"
   15362 
   15363 	if test $found = "no" ; then
   15364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15366 		fi
   15367 
   15368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15370 		fi
   15371 
   15372 		CFLAGS="$CFLAGS -Werror=implicit"
   15373 
   15374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15375 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15376 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15377 		if eval test \${$cacheid+y}
   15378 then :
   15379   printf %s "(cached) " >&6
   15380 else $as_nop
   15381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15382 /* end confdefs.h.  */
   15383 int i;
   15384 int
   15385 main (void)
   15386 {
   15387 
   15388   ;
   15389   return 0;
   15390 }
   15391 _ACEOF
   15392 if ac_fn_c_try_link "$LINENO"
   15393 then :
   15394   eval $cacheid=yes
   15395 else $as_nop
   15396   eval $cacheid=no
   15397 fi
   15398 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15399     conftest$ac_exeext conftest.$ac_ext
   15400 fi
   15401 
   15402 
   15403 		CFLAGS="$xorg_testset_save_CFLAGS"
   15404 
   15405 		eval supported=\$$cacheid
   15406 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15407 printf "%s\n" "$supported" >&6; }
   15408 		if test "$supported" = "yes" ; then
   15409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15410 			found="yes"
   15411 		fi
   15412 	fi
   15413 
   15414 	if test $found = "no" ; then
   15415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15417 		fi
   15418 
   15419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15421 		fi
   15422 
   15423 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15424 
   15425 		{ 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
   15426 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15427 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15428 		if eval test \${$cacheid+y}
   15429 then :
   15430   printf %s "(cached) " >&6
   15431 else $as_nop
   15432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15433 /* end confdefs.h.  */
   15434 int i;
   15435 int
   15436 main (void)
   15437 {
   15438 
   15439   ;
   15440   return 0;
   15441 }
   15442 _ACEOF
   15443 if ac_fn_c_try_link "$LINENO"
   15444 then :
   15445   eval $cacheid=yes
   15446 else $as_nop
   15447   eval $cacheid=no
   15448 fi
   15449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15450     conftest$ac_exeext conftest.$ac_ext
   15451 fi
   15452 
   15453 
   15454 		CFLAGS="$xorg_testset_save_CFLAGS"
   15455 
   15456 		eval supported=\$$cacheid
   15457 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15458 printf "%s\n" "$supported" >&6; }
   15459 		if test "$supported" = "yes" ; then
   15460 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15461 			found="yes"
   15462 		fi
   15463 	fi
   15464 
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 xorg_testset_save_CFLAGS="$CFLAGS"
   15480 
   15481 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15483 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15484 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15485 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15486 then :
   15487   printf %s "(cached) " >&6
   15488 else $as_nop
   15489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15490 /* end confdefs.h.  */
   15491 int i;
   15492 _ACEOF
   15493 if ac_fn_c_try_compile "$LINENO"
   15494 then :
   15495   xorg_cv_cc_flag_unknown_warning_option=yes
   15496 else $as_nop
   15497   xorg_cv_cc_flag_unknown_warning_option=no
   15498 fi
   15499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15500 fi
   15501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15502 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15503 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15504 	CFLAGS="$xorg_testset_save_CFLAGS"
   15505 fi
   15506 
   15507 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15508 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15509 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15510 	fi
   15511 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15512 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15513 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15514 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15515 then :
   15516   printf %s "(cached) " >&6
   15517 else $as_nop
   15518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15519 /* end confdefs.h.  */
   15520 int i;
   15521 _ACEOF
   15522 if ac_fn_c_try_compile "$LINENO"
   15523 then :
   15524   xorg_cv_cc_flag_unused_command_line_argument=yes
   15525 else $as_nop
   15526   xorg_cv_cc_flag_unused_command_line_argument=no
   15527 fi
   15528 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15529 fi
   15530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15531 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15533 	CFLAGS="$xorg_testset_save_CFLAGS"
   15534 fi
   15535 
   15536 found="no"
   15537 
   15538 	if test $found = "no" ; then
   15539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15541 		fi
   15542 
   15543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15545 		fi
   15546 
   15547 		CFLAGS="$CFLAGS -Werror=nonnull"
   15548 
   15549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15550 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15551 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15552 		if eval test \${$cacheid+y}
   15553 then :
   15554   printf %s "(cached) " >&6
   15555 else $as_nop
   15556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15557 /* end confdefs.h.  */
   15558 int i;
   15559 int
   15560 main (void)
   15561 {
   15562 
   15563   ;
   15564   return 0;
   15565 }
   15566 _ACEOF
   15567 if ac_fn_c_try_link "$LINENO"
   15568 then :
   15569   eval $cacheid=yes
   15570 else $as_nop
   15571   eval $cacheid=no
   15572 fi
   15573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15574     conftest$ac_exeext conftest.$ac_ext
   15575 fi
   15576 
   15577 
   15578 		CFLAGS="$xorg_testset_save_CFLAGS"
   15579 
   15580 		eval supported=\$$cacheid
   15581 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15582 printf "%s\n" "$supported" >&6; }
   15583 		if test "$supported" = "yes" ; then
   15584 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15585 			found="yes"
   15586 		fi
   15587 	fi
   15588 
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 xorg_testset_save_CFLAGS="$CFLAGS"
   15604 
   15605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15607 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15608 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15609 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15610 then :
   15611   printf %s "(cached) " >&6
   15612 else $as_nop
   15613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15614 /* end confdefs.h.  */
   15615 int i;
   15616 _ACEOF
   15617 if ac_fn_c_try_compile "$LINENO"
   15618 then :
   15619   xorg_cv_cc_flag_unknown_warning_option=yes
   15620 else $as_nop
   15621   xorg_cv_cc_flag_unknown_warning_option=no
   15622 fi
   15623 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15624 fi
   15625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15626 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15628 	CFLAGS="$xorg_testset_save_CFLAGS"
   15629 fi
   15630 
   15631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15634 	fi
   15635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15636 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15637 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15638 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15639 then :
   15640   printf %s "(cached) " >&6
   15641 else $as_nop
   15642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15643 /* end confdefs.h.  */
   15644 int i;
   15645 _ACEOF
   15646 if ac_fn_c_try_compile "$LINENO"
   15647 then :
   15648   xorg_cv_cc_flag_unused_command_line_argument=yes
   15649 else $as_nop
   15650   xorg_cv_cc_flag_unused_command_line_argument=no
   15651 fi
   15652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15653 fi
   15654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15655 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15657 	CFLAGS="$xorg_testset_save_CFLAGS"
   15658 fi
   15659 
   15660 found="no"
   15661 
   15662 	if test $found = "no" ; then
   15663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15665 		fi
   15666 
   15667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15669 		fi
   15670 
   15671 		CFLAGS="$CFLAGS -Werror=init-self"
   15672 
   15673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15674 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15675 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15676 		if eval test \${$cacheid+y}
   15677 then :
   15678   printf %s "(cached) " >&6
   15679 else $as_nop
   15680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15681 /* end confdefs.h.  */
   15682 int i;
   15683 int
   15684 main (void)
   15685 {
   15686 
   15687   ;
   15688   return 0;
   15689 }
   15690 _ACEOF
   15691 if ac_fn_c_try_link "$LINENO"
   15692 then :
   15693   eval $cacheid=yes
   15694 else $as_nop
   15695   eval $cacheid=no
   15696 fi
   15697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15698     conftest$ac_exeext conftest.$ac_ext
   15699 fi
   15700 
   15701 
   15702 		CFLAGS="$xorg_testset_save_CFLAGS"
   15703 
   15704 		eval supported=\$$cacheid
   15705 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15706 printf "%s\n" "$supported" >&6; }
   15707 		if test "$supported" = "yes" ; then
   15708 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15709 			found="yes"
   15710 		fi
   15711 	fi
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 
   15724 
   15725 
   15726 
   15727 xorg_testset_save_CFLAGS="$CFLAGS"
   15728 
   15729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15732 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15733 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15734 then :
   15735   printf %s "(cached) " >&6
   15736 else $as_nop
   15737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15738 /* end confdefs.h.  */
   15739 int i;
   15740 _ACEOF
   15741 if ac_fn_c_try_compile "$LINENO"
   15742 then :
   15743   xorg_cv_cc_flag_unknown_warning_option=yes
   15744 else $as_nop
   15745   xorg_cv_cc_flag_unknown_warning_option=no
   15746 fi
   15747 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15748 fi
   15749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15752 	CFLAGS="$xorg_testset_save_CFLAGS"
   15753 fi
   15754 
   15755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15758 	fi
   15759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15763 then :
   15764   printf %s "(cached) " >&6
   15765 else $as_nop
   15766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15767 /* end confdefs.h.  */
   15768 int i;
   15769 _ACEOF
   15770 if ac_fn_c_try_compile "$LINENO"
   15771 then :
   15772   xorg_cv_cc_flag_unused_command_line_argument=yes
   15773 else $as_nop
   15774   xorg_cv_cc_flag_unused_command_line_argument=no
   15775 fi
   15776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15777 fi
   15778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15779 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15781 	CFLAGS="$xorg_testset_save_CFLAGS"
   15782 fi
   15783 
   15784 found="no"
   15785 
   15786 	if test $found = "no" ; then
   15787 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15789 		fi
   15790 
   15791 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15793 		fi
   15794 
   15795 		CFLAGS="$CFLAGS -Werror=main"
   15796 
   15797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15798 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15799 		cacheid=xorg_cv_cc_flag__Werror_main
   15800 		if eval test \${$cacheid+y}
   15801 then :
   15802   printf %s "(cached) " >&6
   15803 else $as_nop
   15804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15805 /* end confdefs.h.  */
   15806 int i;
   15807 int
   15808 main (void)
   15809 {
   15810 
   15811   ;
   15812   return 0;
   15813 }
   15814 _ACEOF
   15815 if ac_fn_c_try_link "$LINENO"
   15816 then :
   15817   eval $cacheid=yes
   15818 else $as_nop
   15819   eval $cacheid=no
   15820 fi
   15821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15822     conftest$ac_exeext conftest.$ac_ext
   15823 fi
   15824 
   15825 
   15826 		CFLAGS="$xorg_testset_save_CFLAGS"
   15827 
   15828 		eval supported=\$$cacheid
   15829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15830 printf "%s\n" "$supported" >&6; }
   15831 		if test "$supported" = "yes" ; then
   15832 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15833 			found="yes"
   15834 		fi
   15835 	fi
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 
   15851 xorg_testset_save_CFLAGS="$CFLAGS"
   15852 
   15853 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15854 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15856 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15857 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15858 then :
   15859   printf %s "(cached) " >&6
   15860 else $as_nop
   15861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15862 /* end confdefs.h.  */
   15863 int i;
   15864 _ACEOF
   15865 if ac_fn_c_try_compile "$LINENO"
   15866 then :
   15867   xorg_cv_cc_flag_unknown_warning_option=yes
   15868 else $as_nop
   15869   xorg_cv_cc_flag_unknown_warning_option=no
   15870 fi
   15871 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15872 fi
   15873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15874 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15876 	CFLAGS="$xorg_testset_save_CFLAGS"
   15877 fi
   15878 
   15879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15882 	fi
   15883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15885 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15886 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15887 then :
   15888   printf %s "(cached) " >&6
   15889 else $as_nop
   15890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15891 /* end confdefs.h.  */
   15892 int i;
   15893 _ACEOF
   15894 if ac_fn_c_try_compile "$LINENO"
   15895 then :
   15896   xorg_cv_cc_flag_unused_command_line_argument=yes
   15897 else $as_nop
   15898   xorg_cv_cc_flag_unused_command_line_argument=no
   15899 fi
   15900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15901 fi
   15902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15903 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15904 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15905 	CFLAGS="$xorg_testset_save_CFLAGS"
   15906 fi
   15907 
   15908 found="no"
   15909 
   15910 	if test $found = "no" ; then
   15911 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15912 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15913 		fi
   15914 
   15915 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15916 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15917 		fi
   15918 
   15919 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15920 
   15921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15922 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15923 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15924 		if eval test \${$cacheid+y}
   15925 then :
   15926   printf %s "(cached) " >&6
   15927 else $as_nop
   15928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15929 /* end confdefs.h.  */
   15930 int i;
   15931 int
   15932 main (void)
   15933 {
   15934 
   15935   ;
   15936   return 0;
   15937 }
   15938 _ACEOF
   15939 if ac_fn_c_try_link "$LINENO"
   15940 then :
   15941   eval $cacheid=yes
   15942 else $as_nop
   15943   eval $cacheid=no
   15944 fi
   15945 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15946     conftest$ac_exeext conftest.$ac_ext
   15947 fi
   15948 
   15949 
   15950 		CFLAGS="$xorg_testset_save_CFLAGS"
   15951 
   15952 		eval supported=\$$cacheid
   15953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15954 printf "%s\n" "$supported" >&6; }
   15955 		if test "$supported" = "yes" ; then
   15956 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15957 			found="yes"
   15958 		fi
   15959 	fi
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 xorg_testset_save_CFLAGS="$CFLAGS"
   15976 
   15977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15979 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15980 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15981 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15982 then :
   15983   printf %s "(cached) " >&6
   15984 else $as_nop
   15985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15986 /* end confdefs.h.  */
   15987 int i;
   15988 _ACEOF
   15989 if ac_fn_c_try_compile "$LINENO"
   15990 then :
   15991   xorg_cv_cc_flag_unknown_warning_option=yes
   15992 else $as_nop
   15993   xorg_cv_cc_flag_unknown_warning_option=no
   15994 fi
   15995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15996 fi
   15997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15998 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15999 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16000 	CFLAGS="$xorg_testset_save_CFLAGS"
   16001 fi
   16002 
   16003 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16004 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16005 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16006 	fi
   16007 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16008 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16009 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16010 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16011 then :
   16012   printf %s "(cached) " >&6
   16013 else $as_nop
   16014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16015 /* end confdefs.h.  */
   16016 int i;
   16017 _ACEOF
   16018 if ac_fn_c_try_compile "$LINENO"
   16019 then :
   16020   xorg_cv_cc_flag_unused_command_line_argument=yes
   16021 else $as_nop
   16022   xorg_cv_cc_flag_unused_command_line_argument=no
   16023 fi
   16024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16025 fi
   16026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16027 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16029 	CFLAGS="$xorg_testset_save_CFLAGS"
   16030 fi
   16031 
   16032 found="no"
   16033 
   16034 	if test $found = "no" ; then
   16035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16037 		fi
   16038 
   16039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16041 		fi
   16042 
   16043 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16044 
   16045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16046 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16047 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16048 		if eval test \${$cacheid+y}
   16049 then :
   16050   printf %s "(cached) " >&6
   16051 else $as_nop
   16052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16053 /* end confdefs.h.  */
   16054 int i;
   16055 int
   16056 main (void)
   16057 {
   16058 
   16059   ;
   16060   return 0;
   16061 }
   16062 _ACEOF
   16063 if ac_fn_c_try_link "$LINENO"
   16064 then :
   16065   eval $cacheid=yes
   16066 else $as_nop
   16067   eval $cacheid=no
   16068 fi
   16069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16070     conftest$ac_exeext conftest.$ac_ext
   16071 fi
   16072 
   16073 
   16074 		CFLAGS="$xorg_testset_save_CFLAGS"
   16075 
   16076 		eval supported=\$$cacheid
   16077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16078 printf "%s\n" "$supported" >&6; }
   16079 		if test "$supported" = "yes" ; then
   16080 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16081 			found="yes"
   16082 		fi
   16083 	fi
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 xorg_testset_save_CFLAGS="$CFLAGS"
   16100 
   16101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16104 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16105 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16106 then :
   16107   printf %s "(cached) " >&6
   16108 else $as_nop
   16109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16110 /* end confdefs.h.  */
   16111 int i;
   16112 _ACEOF
   16113 if ac_fn_c_try_compile "$LINENO"
   16114 then :
   16115   xorg_cv_cc_flag_unknown_warning_option=yes
   16116 else $as_nop
   16117   xorg_cv_cc_flag_unknown_warning_option=no
   16118 fi
   16119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16120 fi
   16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16122 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16124 	CFLAGS="$xorg_testset_save_CFLAGS"
   16125 fi
   16126 
   16127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16130 	fi
   16131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16133 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16134 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16135 then :
   16136   printf %s "(cached) " >&6
   16137 else $as_nop
   16138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16139 /* end confdefs.h.  */
   16140 int i;
   16141 _ACEOF
   16142 if ac_fn_c_try_compile "$LINENO"
   16143 then :
   16144   xorg_cv_cc_flag_unused_command_line_argument=yes
   16145 else $as_nop
   16146   xorg_cv_cc_flag_unused_command_line_argument=no
   16147 fi
   16148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16149 fi
   16150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16151 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16152 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16153 	CFLAGS="$xorg_testset_save_CFLAGS"
   16154 fi
   16155 
   16156 found="no"
   16157 
   16158 	if test $found = "no" ; then
   16159 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16160 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16161 		fi
   16162 
   16163 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16164 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16165 		fi
   16166 
   16167 		CFLAGS="$CFLAGS -Werror=return-type"
   16168 
   16169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16170 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16171 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16172 		if eval test \${$cacheid+y}
   16173 then :
   16174   printf %s "(cached) " >&6
   16175 else $as_nop
   16176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16177 /* end confdefs.h.  */
   16178 int i;
   16179 int
   16180 main (void)
   16181 {
   16182 
   16183   ;
   16184   return 0;
   16185 }
   16186 _ACEOF
   16187 if ac_fn_c_try_link "$LINENO"
   16188 then :
   16189   eval $cacheid=yes
   16190 else $as_nop
   16191   eval $cacheid=no
   16192 fi
   16193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16194     conftest$ac_exeext conftest.$ac_ext
   16195 fi
   16196 
   16197 
   16198 		CFLAGS="$xorg_testset_save_CFLAGS"
   16199 
   16200 		eval supported=\$$cacheid
   16201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16202 printf "%s\n" "$supported" >&6; }
   16203 		if test "$supported" = "yes" ; then
   16204 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16205 			found="yes"
   16206 		fi
   16207 	fi
   16208 
   16209 	if test $found = "no" ; then
   16210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16212 		fi
   16213 
   16214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16216 		fi
   16217 
   16218 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16219 
   16220 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16221 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16222 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16223 		if eval test \${$cacheid+y}
   16224 then :
   16225   printf %s "(cached) " >&6
   16226 else $as_nop
   16227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16228 /* end confdefs.h.  */
   16229 int i;
   16230 int
   16231 main (void)
   16232 {
   16233 
   16234   ;
   16235   return 0;
   16236 }
   16237 _ACEOF
   16238 if ac_fn_c_try_link "$LINENO"
   16239 then :
   16240   eval $cacheid=yes
   16241 else $as_nop
   16242   eval $cacheid=no
   16243 fi
   16244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16245     conftest$ac_exeext conftest.$ac_ext
   16246 fi
   16247 
   16248 
   16249 		CFLAGS="$xorg_testset_save_CFLAGS"
   16250 
   16251 		eval supported=\$$cacheid
   16252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16253 printf "%s\n" "$supported" >&6; }
   16254 		if test "$supported" = "yes" ; then
   16255 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16256 			found="yes"
   16257 		fi
   16258 	fi
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 
   16268 
   16269 
   16270 
   16271 
   16272 
   16273 
   16274 xorg_testset_save_CFLAGS="$CFLAGS"
   16275 
   16276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16279 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16280 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16281 then :
   16282   printf %s "(cached) " >&6
   16283 else $as_nop
   16284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16285 /* end confdefs.h.  */
   16286 int i;
   16287 _ACEOF
   16288 if ac_fn_c_try_compile "$LINENO"
   16289 then :
   16290   xorg_cv_cc_flag_unknown_warning_option=yes
   16291 else $as_nop
   16292   xorg_cv_cc_flag_unknown_warning_option=no
   16293 fi
   16294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16295 fi
   16296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16297 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16299 	CFLAGS="$xorg_testset_save_CFLAGS"
   16300 fi
   16301 
   16302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16305 	fi
   16306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16307 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16308 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16309 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16310 then :
   16311   printf %s "(cached) " >&6
   16312 else $as_nop
   16313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16314 /* end confdefs.h.  */
   16315 int i;
   16316 _ACEOF
   16317 if ac_fn_c_try_compile "$LINENO"
   16318 then :
   16319   xorg_cv_cc_flag_unused_command_line_argument=yes
   16320 else $as_nop
   16321   xorg_cv_cc_flag_unused_command_line_argument=no
   16322 fi
   16323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16324 fi
   16325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16326 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16328 	CFLAGS="$xorg_testset_save_CFLAGS"
   16329 fi
   16330 
   16331 found="no"
   16332 
   16333 	if test $found = "no" ; then
   16334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16336 		fi
   16337 
   16338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16340 		fi
   16341 
   16342 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16343 
   16344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16345 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16346 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16347 		if eval test \${$cacheid+y}
   16348 then :
   16349   printf %s "(cached) " >&6
   16350 else $as_nop
   16351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16352 /* end confdefs.h.  */
   16353 int i;
   16354 int
   16355 main (void)
   16356 {
   16357 
   16358   ;
   16359   return 0;
   16360 }
   16361 _ACEOF
   16362 if ac_fn_c_try_link "$LINENO"
   16363 then :
   16364   eval $cacheid=yes
   16365 else $as_nop
   16366   eval $cacheid=no
   16367 fi
   16368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16369     conftest$ac_exeext conftest.$ac_ext
   16370 fi
   16371 
   16372 
   16373 		CFLAGS="$xorg_testset_save_CFLAGS"
   16374 
   16375 		eval supported=\$$cacheid
   16376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16377 printf "%s\n" "$supported" >&6; }
   16378 		if test "$supported" = "yes" ; then
   16379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16380 			found="yes"
   16381 		fi
   16382 	fi
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 xorg_testset_save_CFLAGS="$CFLAGS"
   16399 
   16400 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16401 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16402 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16403 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16404 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16405 then :
   16406   printf %s "(cached) " >&6
   16407 else $as_nop
   16408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16409 /* end confdefs.h.  */
   16410 int i;
   16411 _ACEOF
   16412 if ac_fn_c_try_compile "$LINENO"
   16413 then :
   16414   xorg_cv_cc_flag_unknown_warning_option=yes
   16415 else $as_nop
   16416   xorg_cv_cc_flag_unknown_warning_option=no
   16417 fi
   16418 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16419 fi
   16420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16421 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16422 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16423 	CFLAGS="$xorg_testset_save_CFLAGS"
   16424 fi
   16425 
   16426 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16427 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16428 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16429 	fi
   16430 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16431 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16432 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16433 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16434 then :
   16435   printf %s "(cached) " >&6
   16436 else $as_nop
   16437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16438 /* end confdefs.h.  */
   16439 int i;
   16440 _ACEOF
   16441 if ac_fn_c_try_compile "$LINENO"
   16442 then :
   16443   xorg_cv_cc_flag_unused_command_line_argument=yes
   16444 else $as_nop
   16445   xorg_cv_cc_flag_unused_command_line_argument=no
   16446 fi
   16447 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16448 fi
   16449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16450 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16452 	CFLAGS="$xorg_testset_save_CFLAGS"
   16453 fi
   16454 
   16455 found="no"
   16456 
   16457 	if test $found = "no" ; then
   16458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16460 		fi
   16461 
   16462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16464 		fi
   16465 
   16466 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16467 
   16468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16469 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16470 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16471 		if eval test \${$cacheid+y}
   16472 then :
   16473   printf %s "(cached) " >&6
   16474 else $as_nop
   16475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16476 /* end confdefs.h.  */
   16477 int i;
   16478 int
   16479 main (void)
   16480 {
   16481 
   16482   ;
   16483   return 0;
   16484 }
   16485 _ACEOF
   16486 if ac_fn_c_try_link "$LINENO"
   16487 then :
   16488   eval $cacheid=yes
   16489 else $as_nop
   16490   eval $cacheid=no
   16491 fi
   16492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16493     conftest$ac_exeext conftest.$ac_ext
   16494 fi
   16495 
   16496 
   16497 		CFLAGS="$xorg_testset_save_CFLAGS"
   16498 
   16499 		eval supported=\$$cacheid
   16500 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16501 printf "%s\n" "$supported" >&6; }
   16502 		if test "$supported" = "yes" ; then
   16503 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16504 			found="yes"
   16505 		fi
   16506 	fi
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 xorg_testset_save_CFLAGS="$CFLAGS"
   16523 
   16524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16526 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16527 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16528 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16529 then :
   16530   printf %s "(cached) " >&6
   16531 else $as_nop
   16532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16533 /* end confdefs.h.  */
   16534 int i;
   16535 _ACEOF
   16536 if ac_fn_c_try_compile "$LINENO"
   16537 then :
   16538   xorg_cv_cc_flag_unknown_warning_option=yes
   16539 else $as_nop
   16540   xorg_cv_cc_flag_unknown_warning_option=no
   16541 fi
   16542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16543 fi
   16544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16545 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16546 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16547 	CFLAGS="$xorg_testset_save_CFLAGS"
   16548 fi
   16549 
   16550 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16551 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16552 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16553 	fi
   16554 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16555 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16556 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16557 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16558 then :
   16559   printf %s "(cached) " >&6
   16560 else $as_nop
   16561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16562 /* end confdefs.h.  */
   16563 int i;
   16564 _ACEOF
   16565 if ac_fn_c_try_compile "$LINENO"
   16566 then :
   16567   xorg_cv_cc_flag_unused_command_line_argument=yes
   16568 else $as_nop
   16569   xorg_cv_cc_flag_unused_command_line_argument=no
   16570 fi
   16571 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16572 fi
   16573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16574 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16576 	CFLAGS="$xorg_testset_save_CFLAGS"
   16577 fi
   16578 
   16579 found="no"
   16580 
   16581 	if test $found = "no" ; then
   16582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16584 		fi
   16585 
   16586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16588 		fi
   16589 
   16590 		CFLAGS="$CFLAGS -Werror=write-strings"
   16591 
   16592 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16593 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16594 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16595 		if eval test \${$cacheid+y}
   16596 then :
   16597   printf %s "(cached) " >&6
   16598 else $as_nop
   16599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16600 /* end confdefs.h.  */
   16601 int i;
   16602 int
   16603 main (void)
   16604 {
   16605 
   16606   ;
   16607   return 0;
   16608 }
   16609 _ACEOF
   16610 if ac_fn_c_try_link "$LINENO"
   16611 then :
   16612   eval $cacheid=yes
   16613 else $as_nop
   16614   eval $cacheid=no
   16615 fi
   16616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16617     conftest$ac_exeext conftest.$ac_ext
   16618 fi
   16619 
   16620 
   16621 		CFLAGS="$xorg_testset_save_CFLAGS"
   16622 
   16623 		eval supported=\$$cacheid
   16624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16625 printf "%s\n" "$supported" >&6; }
   16626 		if test "$supported" = "yes" ; then
   16627 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16628 			found="yes"
   16629 		fi
   16630 	fi
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 
   16646 xorg_testset_save_CFLAGS="$CFLAGS"
   16647 
   16648 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16649 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16651 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16652 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16653 then :
   16654   printf %s "(cached) " >&6
   16655 else $as_nop
   16656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16657 /* end confdefs.h.  */
   16658 int i;
   16659 _ACEOF
   16660 if ac_fn_c_try_compile "$LINENO"
   16661 then :
   16662   xorg_cv_cc_flag_unknown_warning_option=yes
   16663 else $as_nop
   16664   xorg_cv_cc_flag_unknown_warning_option=no
   16665 fi
   16666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16667 fi
   16668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16669 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16671 	CFLAGS="$xorg_testset_save_CFLAGS"
   16672 fi
   16673 
   16674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16677 	fi
   16678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16679 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16680 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16681 if test ${xorg_cv_cc_flag_unused_command_line_argument+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 int i;
   16688 _ACEOF
   16689 if ac_fn_c_try_compile "$LINENO"
   16690 then :
   16691   xorg_cv_cc_flag_unused_command_line_argument=yes
   16692 else $as_nop
   16693   xorg_cv_cc_flag_unused_command_line_argument=no
   16694 fi
   16695 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16696 fi
   16697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16698 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16700 	CFLAGS="$xorg_testset_save_CFLAGS"
   16701 fi
   16702 
   16703 found="no"
   16704 
   16705 	if test $found = "no" ; then
   16706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16708 		fi
   16709 
   16710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16712 		fi
   16713 
   16714 		CFLAGS="$CFLAGS -Werror=address"
   16715 
   16716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16717 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16718 		cacheid=xorg_cv_cc_flag__Werror_address
   16719 		if eval test \${$cacheid+y}
   16720 then :
   16721   printf %s "(cached) " >&6
   16722 else $as_nop
   16723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16724 /* end confdefs.h.  */
   16725 int i;
   16726 int
   16727 main (void)
   16728 {
   16729 
   16730   ;
   16731   return 0;
   16732 }
   16733 _ACEOF
   16734 if ac_fn_c_try_link "$LINENO"
   16735 then :
   16736   eval $cacheid=yes
   16737 else $as_nop
   16738   eval $cacheid=no
   16739 fi
   16740 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16741     conftest$ac_exeext conftest.$ac_ext
   16742 fi
   16743 
   16744 
   16745 		CFLAGS="$xorg_testset_save_CFLAGS"
   16746 
   16747 		eval supported=\$$cacheid
   16748 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16749 printf "%s\n" "$supported" >&6; }
   16750 		if test "$supported" = "yes" ; then
   16751 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16752 			found="yes"
   16753 		fi
   16754 	fi
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 xorg_testset_save_CFLAGS="$CFLAGS"
   16771 
   16772 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16773 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16774 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16775 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16776 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16777 then :
   16778   printf %s "(cached) " >&6
   16779 else $as_nop
   16780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16781 /* end confdefs.h.  */
   16782 int i;
   16783 _ACEOF
   16784 if ac_fn_c_try_compile "$LINENO"
   16785 then :
   16786   xorg_cv_cc_flag_unknown_warning_option=yes
   16787 else $as_nop
   16788   xorg_cv_cc_flag_unknown_warning_option=no
   16789 fi
   16790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16791 fi
   16792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16793 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16795 	CFLAGS="$xorg_testset_save_CFLAGS"
   16796 fi
   16797 
   16798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16801 	fi
   16802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16804 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16805 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16806 then :
   16807   printf %s "(cached) " >&6
   16808 else $as_nop
   16809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16810 /* end confdefs.h.  */
   16811 int i;
   16812 _ACEOF
   16813 if ac_fn_c_try_compile "$LINENO"
   16814 then :
   16815   xorg_cv_cc_flag_unused_command_line_argument=yes
   16816 else $as_nop
   16817   xorg_cv_cc_flag_unused_command_line_argument=no
   16818 fi
   16819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16820 fi
   16821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16822 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16823 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16824 	CFLAGS="$xorg_testset_save_CFLAGS"
   16825 fi
   16826 
   16827 found="no"
   16828 
   16829 	if test $found = "no" ; then
   16830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16832 		fi
   16833 
   16834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16836 		fi
   16837 
   16838 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16839 
   16840 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16841 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16842 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16843 		if eval test \${$cacheid+y}
   16844 then :
   16845   printf %s "(cached) " >&6
   16846 else $as_nop
   16847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16848 /* end confdefs.h.  */
   16849 int i;
   16850 int
   16851 main (void)
   16852 {
   16853 
   16854   ;
   16855   return 0;
   16856 }
   16857 _ACEOF
   16858 if ac_fn_c_try_link "$LINENO"
   16859 then :
   16860   eval $cacheid=yes
   16861 else $as_nop
   16862   eval $cacheid=no
   16863 fi
   16864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16865     conftest$ac_exeext conftest.$ac_ext
   16866 fi
   16867 
   16868 
   16869 		CFLAGS="$xorg_testset_save_CFLAGS"
   16870 
   16871 		eval supported=\$$cacheid
   16872 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16873 printf "%s\n" "$supported" >&6; }
   16874 		if test "$supported" = "yes" ; then
   16875 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16876 			found="yes"
   16877 		fi
   16878 	fi
   16879 
   16880 	if test $found = "no" ; then
   16881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16883 		fi
   16884 
   16885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16887 		fi
   16888 
   16889 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16890 
   16891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16892 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16893 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16894 		if eval test \${$cacheid+y}
   16895 then :
   16896   printf %s "(cached) " >&6
   16897 else $as_nop
   16898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16899 /* end confdefs.h.  */
   16900 int i;
   16901 int
   16902 main (void)
   16903 {
   16904 
   16905   ;
   16906   return 0;
   16907 }
   16908 _ACEOF
   16909 if ac_fn_c_try_link "$LINENO"
   16910 then :
   16911   eval $cacheid=yes
   16912 else $as_nop
   16913   eval $cacheid=no
   16914 fi
   16915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16916     conftest$ac_exeext conftest.$ac_ext
   16917 fi
   16918 
   16919 
   16920 		CFLAGS="$xorg_testset_save_CFLAGS"
   16921 
   16922 		eval supported=\$$cacheid
   16923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16924 printf "%s\n" "$supported" >&6; }
   16925 		if test "$supported" = "yes" ; then
   16926 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16927 			found="yes"
   16928 		fi
   16929 	fi
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 xorg_testset_save_CFLAGS="$CFLAGS"
   16946 
   16947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16952 then :
   16953   printf %s "(cached) " >&6
   16954 else $as_nop
   16955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16956 /* end confdefs.h.  */
   16957 int i;
   16958 _ACEOF
   16959 if ac_fn_c_try_compile "$LINENO"
   16960 then :
   16961   xorg_cv_cc_flag_unknown_warning_option=yes
   16962 else $as_nop
   16963   xorg_cv_cc_flag_unknown_warning_option=no
   16964 fi
   16965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16966 fi
   16967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16968 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16970 	CFLAGS="$xorg_testset_save_CFLAGS"
   16971 fi
   16972 
   16973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16976 	fi
   16977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16979 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16980 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16981 then :
   16982   printf %s "(cached) " >&6
   16983 else $as_nop
   16984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16985 /* end confdefs.h.  */
   16986 int i;
   16987 _ACEOF
   16988 if ac_fn_c_try_compile "$LINENO"
   16989 then :
   16990   xorg_cv_cc_flag_unused_command_line_argument=yes
   16991 else $as_nop
   16992   xorg_cv_cc_flag_unused_command_line_argument=no
   16993 fi
   16994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16995 fi
   16996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16997 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16999 	CFLAGS="$xorg_testset_save_CFLAGS"
   17000 fi
   17001 
   17002 found="no"
   17003 
   17004 	if test $found = "no" ; then
   17005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17007 		fi
   17008 
   17009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17011 		fi
   17012 
   17013 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17014 
   17015 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17016 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17017 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17018 		if eval test \${$cacheid+y}
   17019 then :
   17020   printf %s "(cached) " >&6
   17021 else $as_nop
   17022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17023 /* end confdefs.h.  */
   17024 int i;
   17025 int
   17026 main (void)
   17027 {
   17028 
   17029   ;
   17030   return 0;
   17031 }
   17032 _ACEOF
   17033 if ac_fn_c_try_link "$LINENO"
   17034 then :
   17035   eval $cacheid=yes
   17036 else $as_nop
   17037   eval $cacheid=no
   17038 fi
   17039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17040     conftest$ac_exeext conftest.$ac_ext
   17041 fi
   17042 
   17043 
   17044 		CFLAGS="$xorg_testset_save_CFLAGS"
   17045 
   17046 		eval supported=\$$cacheid
   17047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17048 printf "%s\n" "$supported" >&6; }
   17049 		if test "$supported" = "yes" ; then
   17050 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17051 			found="yes"
   17052 		fi
   17053 	fi
   17054 
   17055  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17056 else
   17057 { 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
   17058 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;}
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 xorg_testset_save_CFLAGS="$CFLAGS"
   17073 
   17074 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17075 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17076 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17077 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17078 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17079 then :
   17080   printf %s "(cached) " >&6
   17081 else $as_nop
   17082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17083 /* end confdefs.h.  */
   17084 int i;
   17085 _ACEOF
   17086 if ac_fn_c_try_compile "$LINENO"
   17087 then :
   17088   xorg_cv_cc_flag_unknown_warning_option=yes
   17089 else $as_nop
   17090   xorg_cv_cc_flag_unknown_warning_option=no
   17091 fi
   17092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17093 fi
   17094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17095 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17097 	CFLAGS="$xorg_testset_save_CFLAGS"
   17098 fi
   17099 
   17100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17103 	fi
   17104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17105 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17106 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17107 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17108 then :
   17109   printf %s "(cached) " >&6
   17110 else $as_nop
   17111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17112 /* end confdefs.h.  */
   17113 int i;
   17114 _ACEOF
   17115 if ac_fn_c_try_compile "$LINENO"
   17116 then :
   17117   xorg_cv_cc_flag_unused_command_line_argument=yes
   17118 else $as_nop
   17119   xorg_cv_cc_flag_unused_command_line_argument=no
   17120 fi
   17121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17122 fi
   17123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17124 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17125 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17126 	CFLAGS="$xorg_testset_save_CFLAGS"
   17127 fi
   17128 
   17129 found="no"
   17130 
   17131 	if test $found = "no" ; then
   17132 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17134 		fi
   17135 
   17136 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17138 		fi
   17139 
   17140 		CFLAGS="$CFLAGS -Wimplicit"
   17141 
   17142 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17143 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17144 		cacheid=xorg_cv_cc_flag__Wimplicit
   17145 		if eval test \${$cacheid+y}
   17146 then :
   17147   printf %s "(cached) " >&6
   17148 else $as_nop
   17149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17150 /* end confdefs.h.  */
   17151 int i;
   17152 int
   17153 main (void)
   17154 {
   17155 
   17156   ;
   17157   return 0;
   17158 }
   17159 _ACEOF
   17160 if ac_fn_c_try_link "$LINENO"
   17161 then :
   17162   eval $cacheid=yes
   17163 else $as_nop
   17164   eval $cacheid=no
   17165 fi
   17166 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17167     conftest$ac_exeext conftest.$ac_ext
   17168 fi
   17169 
   17170 
   17171 		CFLAGS="$xorg_testset_save_CFLAGS"
   17172 
   17173 		eval supported=\$$cacheid
   17174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17175 printf "%s\n" "$supported" >&6; }
   17176 		if test "$supported" = "yes" ; then
   17177 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17178 			found="yes"
   17179 		fi
   17180 	fi
   17181 
   17182 
   17183 
   17184 
   17185 
   17186 
   17187 
   17188 
   17189 
   17190 
   17191 
   17192 
   17193 
   17194 
   17195 
   17196 xorg_testset_save_CFLAGS="$CFLAGS"
   17197 
   17198 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17199 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17200 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17201 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17202 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17203 then :
   17204   printf %s "(cached) " >&6
   17205 else $as_nop
   17206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17207 /* end confdefs.h.  */
   17208 int i;
   17209 _ACEOF
   17210 if ac_fn_c_try_compile "$LINENO"
   17211 then :
   17212   xorg_cv_cc_flag_unknown_warning_option=yes
   17213 else $as_nop
   17214   xorg_cv_cc_flag_unknown_warning_option=no
   17215 fi
   17216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17217 fi
   17218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17219 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17220 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17221 	CFLAGS="$xorg_testset_save_CFLAGS"
   17222 fi
   17223 
   17224 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17225 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17226 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17227 	fi
   17228 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17229 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17230 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17231 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17232 then :
   17233   printf %s "(cached) " >&6
   17234 else $as_nop
   17235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17236 /* end confdefs.h.  */
   17237 int i;
   17238 _ACEOF
   17239 if ac_fn_c_try_compile "$LINENO"
   17240 then :
   17241   xorg_cv_cc_flag_unused_command_line_argument=yes
   17242 else $as_nop
   17243   xorg_cv_cc_flag_unused_command_line_argument=no
   17244 fi
   17245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17246 fi
   17247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17248 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17250 	CFLAGS="$xorg_testset_save_CFLAGS"
   17251 fi
   17252 
   17253 found="no"
   17254 
   17255 	if test $found = "no" ; then
   17256 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17258 		fi
   17259 
   17260 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17262 		fi
   17263 
   17264 		CFLAGS="$CFLAGS -Wnonnull"
   17265 
   17266 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17267 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17268 		cacheid=xorg_cv_cc_flag__Wnonnull
   17269 		if eval test \${$cacheid+y}
   17270 then :
   17271   printf %s "(cached) " >&6
   17272 else $as_nop
   17273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17274 /* end confdefs.h.  */
   17275 int i;
   17276 int
   17277 main (void)
   17278 {
   17279 
   17280   ;
   17281   return 0;
   17282 }
   17283 _ACEOF
   17284 if ac_fn_c_try_link "$LINENO"
   17285 then :
   17286   eval $cacheid=yes
   17287 else $as_nop
   17288   eval $cacheid=no
   17289 fi
   17290 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17291     conftest$ac_exeext conftest.$ac_ext
   17292 fi
   17293 
   17294 
   17295 		CFLAGS="$xorg_testset_save_CFLAGS"
   17296 
   17297 		eval supported=\$$cacheid
   17298 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17299 printf "%s\n" "$supported" >&6; }
   17300 		if test "$supported" = "yes" ; then
   17301 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17302 			found="yes"
   17303 		fi
   17304 	fi
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 xorg_testset_save_CFLAGS="$CFLAGS"
   17321 
   17322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17324 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17325 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17326 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17327 then :
   17328   printf %s "(cached) " >&6
   17329 else $as_nop
   17330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17331 /* end confdefs.h.  */
   17332 int i;
   17333 _ACEOF
   17334 if ac_fn_c_try_compile "$LINENO"
   17335 then :
   17336   xorg_cv_cc_flag_unknown_warning_option=yes
   17337 else $as_nop
   17338   xorg_cv_cc_flag_unknown_warning_option=no
   17339 fi
   17340 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17341 fi
   17342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17343 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17345 	CFLAGS="$xorg_testset_save_CFLAGS"
   17346 fi
   17347 
   17348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17351 	fi
   17352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17353 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17354 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17355 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17356 then :
   17357   printf %s "(cached) " >&6
   17358 else $as_nop
   17359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17360 /* end confdefs.h.  */
   17361 int i;
   17362 _ACEOF
   17363 if ac_fn_c_try_compile "$LINENO"
   17364 then :
   17365   xorg_cv_cc_flag_unused_command_line_argument=yes
   17366 else $as_nop
   17367   xorg_cv_cc_flag_unused_command_line_argument=no
   17368 fi
   17369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17370 fi
   17371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17372 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17374 	CFLAGS="$xorg_testset_save_CFLAGS"
   17375 fi
   17376 
   17377 found="no"
   17378 
   17379 	if test $found = "no" ; then
   17380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17382 		fi
   17383 
   17384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17386 		fi
   17387 
   17388 		CFLAGS="$CFLAGS -Winit-self"
   17389 
   17390 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17391 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17392 		cacheid=xorg_cv_cc_flag__Winit_self
   17393 		if eval test \${$cacheid+y}
   17394 then :
   17395   printf %s "(cached) " >&6
   17396 else $as_nop
   17397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17398 /* end confdefs.h.  */
   17399 int i;
   17400 int
   17401 main (void)
   17402 {
   17403 
   17404   ;
   17405   return 0;
   17406 }
   17407 _ACEOF
   17408 if ac_fn_c_try_link "$LINENO"
   17409 then :
   17410   eval $cacheid=yes
   17411 else $as_nop
   17412   eval $cacheid=no
   17413 fi
   17414 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17415     conftest$ac_exeext conftest.$ac_ext
   17416 fi
   17417 
   17418 
   17419 		CFLAGS="$xorg_testset_save_CFLAGS"
   17420 
   17421 		eval supported=\$$cacheid
   17422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17423 printf "%s\n" "$supported" >&6; }
   17424 		if test "$supported" = "yes" ; then
   17425 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17426 			found="yes"
   17427 		fi
   17428 	fi
   17429 
   17430 
   17431 
   17432 
   17433 
   17434 
   17435 
   17436 
   17437 
   17438 
   17439 
   17440 
   17441 
   17442 
   17443 
   17444 xorg_testset_save_CFLAGS="$CFLAGS"
   17445 
   17446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17449 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17450 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17451 then :
   17452   printf %s "(cached) " >&6
   17453 else $as_nop
   17454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17455 /* end confdefs.h.  */
   17456 int i;
   17457 _ACEOF
   17458 if ac_fn_c_try_compile "$LINENO"
   17459 then :
   17460   xorg_cv_cc_flag_unknown_warning_option=yes
   17461 else $as_nop
   17462   xorg_cv_cc_flag_unknown_warning_option=no
   17463 fi
   17464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17465 fi
   17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17467 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17469 	CFLAGS="$xorg_testset_save_CFLAGS"
   17470 fi
   17471 
   17472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17475 	fi
   17476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17477 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17478 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17479 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17480 then :
   17481   printf %s "(cached) " >&6
   17482 else $as_nop
   17483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17484 /* end confdefs.h.  */
   17485 int i;
   17486 _ACEOF
   17487 if ac_fn_c_try_compile "$LINENO"
   17488 then :
   17489   xorg_cv_cc_flag_unused_command_line_argument=yes
   17490 else $as_nop
   17491   xorg_cv_cc_flag_unused_command_line_argument=no
   17492 fi
   17493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17494 fi
   17495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17496 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17498 	CFLAGS="$xorg_testset_save_CFLAGS"
   17499 fi
   17500 
   17501 found="no"
   17502 
   17503 	if test $found = "no" ; then
   17504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17506 		fi
   17507 
   17508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17510 		fi
   17511 
   17512 		CFLAGS="$CFLAGS -Wmain"
   17513 
   17514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17515 printf %s "checking if $CC supports -Wmain... " >&6; }
   17516 		cacheid=xorg_cv_cc_flag__Wmain
   17517 		if eval test \${$cacheid+y}
   17518 then :
   17519   printf %s "(cached) " >&6
   17520 else $as_nop
   17521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17522 /* end confdefs.h.  */
   17523 int i;
   17524 int
   17525 main (void)
   17526 {
   17527 
   17528   ;
   17529   return 0;
   17530 }
   17531 _ACEOF
   17532 if ac_fn_c_try_link "$LINENO"
   17533 then :
   17534   eval $cacheid=yes
   17535 else $as_nop
   17536   eval $cacheid=no
   17537 fi
   17538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17539     conftest$ac_exeext conftest.$ac_ext
   17540 fi
   17541 
   17542 
   17543 		CFLAGS="$xorg_testset_save_CFLAGS"
   17544 
   17545 		eval supported=\$$cacheid
   17546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17547 printf "%s\n" "$supported" >&6; }
   17548 		if test "$supported" = "yes" ; then
   17549 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17550 			found="yes"
   17551 		fi
   17552 	fi
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 xorg_testset_save_CFLAGS="$CFLAGS"
   17569 
   17570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17572 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17573 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17574 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17575 then :
   17576   printf %s "(cached) " >&6
   17577 else $as_nop
   17578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17579 /* end confdefs.h.  */
   17580 int i;
   17581 _ACEOF
   17582 if ac_fn_c_try_compile "$LINENO"
   17583 then :
   17584   xorg_cv_cc_flag_unknown_warning_option=yes
   17585 else $as_nop
   17586   xorg_cv_cc_flag_unknown_warning_option=no
   17587 fi
   17588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17589 fi
   17590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17591 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17593 	CFLAGS="$xorg_testset_save_CFLAGS"
   17594 fi
   17595 
   17596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17599 	fi
   17600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17601 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17602 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17603 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17604 then :
   17605   printf %s "(cached) " >&6
   17606 else $as_nop
   17607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17608 /* end confdefs.h.  */
   17609 int i;
   17610 _ACEOF
   17611 if ac_fn_c_try_compile "$LINENO"
   17612 then :
   17613   xorg_cv_cc_flag_unused_command_line_argument=yes
   17614 else $as_nop
   17615   xorg_cv_cc_flag_unused_command_line_argument=no
   17616 fi
   17617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17618 fi
   17619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17620 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17622 	CFLAGS="$xorg_testset_save_CFLAGS"
   17623 fi
   17624 
   17625 found="no"
   17626 
   17627 	if test $found = "no" ; then
   17628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17630 		fi
   17631 
   17632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17634 		fi
   17635 
   17636 		CFLAGS="$CFLAGS -Wmissing-braces"
   17637 
   17638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17639 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17640 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17641 		if eval test \${$cacheid+y}
   17642 then :
   17643   printf %s "(cached) " >&6
   17644 else $as_nop
   17645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17646 /* end confdefs.h.  */
   17647 int i;
   17648 int
   17649 main (void)
   17650 {
   17651 
   17652   ;
   17653   return 0;
   17654 }
   17655 _ACEOF
   17656 if ac_fn_c_try_link "$LINENO"
   17657 then :
   17658   eval $cacheid=yes
   17659 else $as_nop
   17660   eval $cacheid=no
   17661 fi
   17662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17663     conftest$ac_exeext conftest.$ac_ext
   17664 fi
   17665 
   17666 
   17667 		CFLAGS="$xorg_testset_save_CFLAGS"
   17668 
   17669 		eval supported=\$$cacheid
   17670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17671 printf "%s\n" "$supported" >&6; }
   17672 		if test "$supported" = "yes" ; then
   17673 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17674 			found="yes"
   17675 		fi
   17676 	fi
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 xorg_testset_save_CFLAGS="$CFLAGS"
   17693 
   17694 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17695 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17696 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17697 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17698 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17699 then :
   17700   printf %s "(cached) " >&6
   17701 else $as_nop
   17702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17703 /* end confdefs.h.  */
   17704 int i;
   17705 _ACEOF
   17706 if ac_fn_c_try_compile "$LINENO"
   17707 then :
   17708   xorg_cv_cc_flag_unknown_warning_option=yes
   17709 else $as_nop
   17710   xorg_cv_cc_flag_unknown_warning_option=no
   17711 fi
   17712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17713 fi
   17714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17715 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17717 	CFLAGS="$xorg_testset_save_CFLAGS"
   17718 fi
   17719 
   17720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17723 	fi
   17724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17725 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17726 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17727 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17728 then :
   17729   printf %s "(cached) " >&6
   17730 else $as_nop
   17731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17732 /* end confdefs.h.  */
   17733 int i;
   17734 _ACEOF
   17735 if ac_fn_c_try_compile "$LINENO"
   17736 then :
   17737   xorg_cv_cc_flag_unused_command_line_argument=yes
   17738 else $as_nop
   17739   xorg_cv_cc_flag_unused_command_line_argument=no
   17740 fi
   17741 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17742 fi
   17743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17744 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17746 	CFLAGS="$xorg_testset_save_CFLAGS"
   17747 fi
   17748 
   17749 found="no"
   17750 
   17751 	if test $found = "no" ; then
   17752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17754 		fi
   17755 
   17756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17758 		fi
   17759 
   17760 		CFLAGS="$CFLAGS -Wsequence-point"
   17761 
   17762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17763 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17764 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17765 		if eval test \${$cacheid+y}
   17766 then :
   17767   printf %s "(cached) " >&6
   17768 else $as_nop
   17769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17770 /* end confdefs.h.  */
   17771 int i;
   17772 int
   17773 main (void)
   17774 {
   17775 
   17776   ;
   17777   return 0;
   17778 }
   17779 _ACEOF
   17780 if ac_fn_c_try_link "$LINENO"
   17781 then :
   17782   eval $cacheid=yes
   17783 else $as_nop
   17784   eval $cacheid=no
   17785 fi
   17786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17787     conftest$ac_exeext conftest.$ac_ext
   17788 fi
   17789 
   17790 
   17791 		CFLAGS="$xorg_testset_save_CFLAGS"
   17792 
   17793 		eval supported=\$$cacheid
   17794 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17795 printf "%s\n" "$supported" >&6; }
   17796 		if test "$supported" = "yes" ; then
   17797 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17798 			found="yes"
   17799 		fi
   17800 	fi
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807 
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 xorg_testset_save_CFLAGS="$CFLAGS"
   17817 
   17818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17820 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17821 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17822 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17823 then :
   17824   printf %s "(cached) " >&6
   17825 else $as_nop
   17826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17827 /* end confdefs.h.  */
   17828 int i;
   17829 _ACEOF
   17830 if ac_fn_c_try_compile "$LINENO"
   17831 then :
   17832   xorg_cv_cc_flag_unknown_warning_option=yes
   17833 else $as_nop
   17834   xorg_cv_cc_flag_unknown_warning_option=no
   17835 fi
   17836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17837 fi
   17838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17839 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17840 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17841 	CFLAGS="$xorg_testset_save_CFLAGS"
   17842 fi
   17843 
   17844 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17845 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17846 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17847 	fi
   17848 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17850 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17851 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17852 then :
   17853   printf %s "(cached) " >&6
   17854 else $as_nop
   17855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17856 /* end confdefs.h.  */
   17857 int i;
   17858 _ACEOF
   17859 if ac_fn_c_try_compile "$LINENO"
   17860 then :
   17861   xorg_cv_cc_flag_unused_command_line_argument=yes
   17862 else $as_nop
   17863   xorg_cv_cc_flag_unused_command_line_argument=no
   17864 fi
   17865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17866 fi
   17867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17868 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17870 	CFLAGS="$xorg_testset_save_CFLAGS"
   17871 fi
   17872 
   17873 found="no"
   17874 
   17875 	if test $found = "no" ; then
   17876 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17878 		fi
   17879 
   17880 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17882 		fi
   17883 
   17884 		CFLAGS="$CFLAGS -Wreturn-type"
   17885 
   17886 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17887 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17888 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17889 		if eval test \${$cacheid+y}
   17890 then :
   17891   printf %s "(cached) " >&6
   17892 else $as_nop
   17893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17894 /* end confdefs.h.  */
   17895 int i;
   17896 int
   17897 main (void)
   17898 {
   17899 
   17900   ;
   17901   return 0;
   17902 }
   17903 _ACEOF
   17904 if ac_fn_c_try_link "$LINENO"
   17905 then :
   17906   eval $cacheid=yes
   17907 else $as_nop
   17908   eval $cacheid=no
   17909 fi
   17910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17911     conftest$ac_exeext conftest.$ac_ext
   17912 fi
   17913 
   17914 
   17915 		CFLAGS="$xorg_testset_save_CFLAGS"
   17916 
   17917 		eval supported=\$$cacheid
   17918 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17919 printf "%s\n" "$supported" >&6; }
   17920 		if test "$supported" = "yes" ; then
   17921 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17922 			found="yes"
   17923 		fi
   17924 	fi
   17925 
   17926 
   17927 
   17928 
   17929 
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 xorg_testset_save_CFLAGS="$CFLAGS"
   17941 
   17942 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17943 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17944 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17945 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17946 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17947 then :
   17948   printf %s "(cached) " >&6
   17949 else $as_nop
   17950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17951 /* end confdefs.h.  */
   17952 int i;
   17953 _ACEOF
   17954 if ac_fn_c_try_compile "$LINENO"
   17955 then :
   17956   xorg_cv_cc_flag_unknown_warning_option=yes
   17957 else $as_nop
   17958   xorg_cv_cc_flag_unknown_warning_option=no
   17959 fi
   17960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17961 fi
   17962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17963 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17964 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17965 	CFLAGS="$xorg_testset_save_CFLAGS"
   17966 fi
   17967 
   17968 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17969 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17971 	fi
   17972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17974 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17975 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17976 then :
   17977   printf %s "(cached) " >&6
   17978 else $as_nop
   17979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17980 /* end confdefs.h.  */
   17981 int i;
   17982 _ACEOF
   17983 if ac_fn_c_try_compile "$LINENO"
   17984 then :
   17985   xorg_cv_cc_flag_unused_command_line_argument=yes
   17986 else $as_nop
   17987   xorg_cv_cc_flag_unused_command_line_argument=no
   17988 fi
   17989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17990 fi
   17991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17992 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17994 	CFLAGS="$xorg_testset_save_CFLAGS"
   17995 fi
   17996 
   17997 found="no"
   17998 
   17999 	if test $found = "no" ; then
   18000 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18002 		fi
   18003 
   18004 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18006 		fi
   18007 
   18008 		CFLAGS="$CFLAGS -Wtrigraphs"
   18009 
   18010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18011 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18012 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18013 		if eval test \${$cacheid+y}
   18014 then :
   18015   printf %s "(cached) " >&6
   18016 else $as_nop
   18017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18018 /* end confdefs.h.  */
   18019 int i;
   18020 int
   18021 main (void)
   18022 {
   18023 
   18024   ;
   18025   return 0;
   18026 }
   18027 _ACEOF
   18028 if ac_fn_c_try_link "$LINENO"
   18029 then :
   18030   eval $cacheid=yes
   18031 else $as_nop
   18032   eval $cacheid=no
   18033 fi
   18034 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18035     conftest$ac_exeext conftest.$ac_ext
   18036 fi
   18037 
   18038 
   18039 		CFLAGS="$xorg_testset_save_CFLAGS"
   18040 
   18041 		eval supported=\$$cacheid
   18042 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18043 printf "%s\n" "$supported" >&6; }
   18044 		if test "$supported" = "yes" ; then
   18045 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18046 			found="yes"
   18047 		fi
   18048 	fi
   18049 
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 xorg_testset_save_CFLAGS="$CFLAGS"
   18065 
   18066 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18067 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18068 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18069 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18070 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18071 then :
   18072   printf %s "(cached) " >&6
   18073 else $as_nop
   18074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18075 /* end confdefs.h.  */
   18076 int i;
   18077 _ACEOF
   18078 if ac_fn_c_try_compile "$LINENO"
   18079 then :
   18080   xorg_cv_cc_flag_unknown_warning_option=yes
   18081 else $as_nop
   18082   xorg_cv_cc_flag_unknown_warning_option=no
   18083 fi
   18084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18085 fi
   18086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18087 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18088 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18089 	CFLAGS="$xorg_testset_save_CFLAGS"
   18090 fi
   18091 
   18092 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18093 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18094 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18095 	fi
   18096 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18097 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18098 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18099 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18100 then :
   18101   printf %s "(cached) " >&6
   18102 else $as_nop
   18103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18104 /* end confdefs.h.  */
   18105 int i;
   18106 _ACEOF
   18107 if ac_fn_c_try_compile "$LINENO"
   18108 then :
   18109   xorg_cv_cc_flag_unused_command_line_argument=yes
   18110 else $as_nop
   18111   xorg_cv_cc_flag_unused_command_line_argument=no
   18112 fi
   18113 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18114 fi
   18115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18116 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18117 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18118 	CFLAGS="$xorg_testset_save_CFLAGS"
   18119 fi
   18120 
   18121 found="no"
   18122 
   18123 	if test $found = "no" ; then
   18124 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18125 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18126 		fi
   18127 
   18128 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18129 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18130 		fi
   18131 
   18132 		CFLAGS="$CFLAGS -Warray-bounds"
   18133 
   18134 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18135 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18136 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18137 		if eval test \${$cacheid+y}
   18138 then :
   18139   printf %s "(cached) " >&6
   18140 else $as_nop
   18141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18142 /* end confdefs.h.  */
   18143 int i;
   18144 int
   18145 main (void)
   18146 {
   18147 
   18148   ;
   18149   return 0;
   18150 }
   18151 _ACEOF
   18152 if ac_fn_c_try_link "$LINENO"
   18153 then :
   18154   eval $cacheid=yes
   18155 else $as_nop
   18156   eval $cacheid=no
   18157 fi
   18158 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18159     conftest$ac_exeext conftest.$ac_ext
   18160 fi
   18161 
   18162 
   18163 		CFLAGS="$xorg_testset_save_CFLAGS"
   18164 
   18165 		eval supported=\$$cacheid
   18166 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18167 printf "%s\n" "$supported" >&6; }
   18168 		if test "$supported" = "yes" ; then
   18169 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18170 			found="yes"
   18171 		fi
   18172 	fi
   18173 
   18174 
   18175 
   18176 
   18177 
   18178 
   18179 
   18180 
   18181 
   18182 
   18183 
   18184 
   18185 
   18186 
   18187 
   18188 xorg_testset_save_CFLAGS="$CFLAGS"
   18189 
   18190 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18191 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18192 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18193 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18194 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18195 then :
   18196   printf %s "(cached) " >&6
   18197 else $as_nop
   18198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18199 /* end confdefs.h.  */
   18200 int i;
   18201 _ACEOF
   18202 if ac_fn_c_try_compile "$LINENO"
   18203 then :
   18204   xorg_cv_cc_flag_unknown_warning_option=yes
   18205 else $as_nop
   18206   xorg_cv_cc_flag_unknown_warning_option=no
   18207 fi
   18208 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18209 fi
   18210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18211 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18212 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18213 	CFLAGS="$xorg_testset_save_CFLAGS"
   18214 fi
   18215 
   18216 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18217 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18218 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18219 	fi
   18220 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18221 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18222 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18223 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18224 then :
   18225   printf %s "(cached) " >&6
   18226 else $as_nop
   18227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18228 /* end confdefs.h.  */
   18229 int i;
   18230 _ACEOF
   18231 if ac_fn_c_try_compile "$LINENO"
   18232 then :
   18233   xorg_cv_cc_flag_unused_command_line_argument=yes
   18234 else $as_nop
   18235   xorg_cv_cc_flag_unused_command_line_argument=no
   18236 fi
   18237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18238 fi
   18239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18240 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18242 	CFLAGS="$xorg_testset_save_CFLAGS"
   18243 fi
   18244 
   18245 found="no"
   18246 
   18247 	if test $found = "no" ; then
   18248 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18250 		fi
   18251 
   18252 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18254 		fi
   18255 
   18256 		CFLAGS="$CFLAGS -Wwrite-strings"
   18257 
   18258 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18259 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18260 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18261 		if eval test \${$cacheid+y}
   18262 then :
   18263   printf %s "(cached) " >&6
   18264 else $as_nop
   18265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18266 /* end confdefs.h.  */
   18267 int i;
   18268 int
   18269 main (void)
   18270 {
   18271 
   18272   ;
   18273   return 0;
   18274 }
   18275 _ACEOF
   18276 if ac_fn_c_try_link "$LINENO"
   18277 then :
   18278   eval $cacheid=yes
   18279 else $as_nop
   18280   eval $cacheid=no
   18281 fi
   18282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18283     conftest$ac_exeext conftest.$ac_ext
   18284 fi
   18285 
   18286 
   18287 		CFLAGS="$xorg_testset_save_CFLAGS"
   18288 
   18289 		eval supported=\$$cacheid
   18290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18291 printf "%s\n" "$supported" >&6; }
   18292 		if test "$supported" = "yes" ; then
   18293 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18294 			found="yes"
   18295 		fi
   18296 	fi
   18297 
   18298 
   18299 
   18300 
   18301 
   18302 
   18303 
   18304 
   18305 
   18306 
   18307 
   18308 
   18309 
   18310 
   18311 
   18312 xorg_testset_save_CFLAGS="$CFLAGS"
   18313 
   18314 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18315 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18316 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18317 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18318 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18319 then :
   18320   printf %s "(cached) " >&6
   18321 else $as_nop
   18322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18323 /* end confdefs.h.  */
   18324 int i;
   18325 _ACEOF
   18326 if ac_fn_c_try_compile "$LINENO"
   18327 then :
   18328   xorg_cv_cc_flag_unknown_warning_option=yes
   18329 else $as_nop
   18330   xorg_cv_cc_flag_unknown_warning_option=no
   18331 fi
   18332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18333 fi
   18334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18335 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18336 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18337 	CFLAGS="$xorg_testset_save_CFLAGS"
   18338 fi
   18339 
   18340 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18341 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18342 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18343 	fi
   18344 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18346 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18347 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18348 then :
   18349   printf %s "(cached) " >&6
   18350 else $as_nop
   18351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18352 /* end confdefs.h.  */
   18353 int i;
   18354 _ACEOF
   18355 if ac_fn_c_try_compile "$LINENO"
   18356 then :
   18357   xorg_cv_cc_flag_unused_command_line_argument=yes
   18358 else $as_nop
   18359   xorg_cv_cc_flag_unused_command_line_argument=no
   18360 fi
   18361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18362 fi
   18363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18364 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18365 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18366 	CFLAGS="$xorg_testset_save_CFLAGS"
   18367 fi
   18368 
   18369 found="no"
   18370 
   18371 	if test $found = "no" ; then
   18372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18374 		fi
   18375 
   18376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18378 		fi
   18379 
   18380 		CFLAGS="$CFLAGS -Waddress"
   18381 
   18382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18383 printf %s "checking if $CC supports -Waddress... " >&6; }
   18384 		cacheid=xorg_cv_cc_flag__Waddress
   18385 		if eval test \${$cacheid+y}
   18386 then :
   18387   printf %s "(cached) " >&6
   18388 else $as_nop
   18389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18390 /* end confdefs.h.  */
   18391 int i;
   18392 int
   18393 main (void)
   18394 {
   18395 
   18396   ;
   18397   return 0;
   18398 }
   18399 _ACEOF
   18400 if ac_fn_c_try_link "$LINENO"
   18401 then :
   18402   eval $cacheid=yes
   18403 else $as_nop
   18404   eval $cacheid=no
   18405 fi
   18406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18407     conftest$ac_exeext conftest.$ac_ext
   18408 fi
   18409 
   18410 
   18411 		CFLAGS="$xorg_testset_save_CFLAGS"
   18412 
   18413 		eval supported=\$$cacheid
   18414 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18415 printf "%s\n" "$supported" >&6; }
   18416 		if test "$supported" = "yes" ; then
   18417 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18418 			found="yes"
   18419 		fi
   18420 	fi
   18421 
   18422 
   18423 
   18424 
   18425 
   18426 
   18427 
   18428 
   18429 
   18430 
   18431 
   18432 
   18433 
   18434 
   18435 
   18436 xorg_testset_save_CFLAGS="$CFLAGS"
   18437 
   18438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18441 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18442 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18443 then :
   18444   printf %s "(cached) " >&6
   18445 else $as_nop
   18446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18447 /* end confdefs.h.  */
   18448 int i;
   18449 _ACEOF
   18450 if ac_fn_c_try_compile "$LINENO"
   18451 then :
   18452   xorg_cv_cc_flag_unknown_warning_option=yes
   18453 else $as_nop
   18454   xorg_cv_cc_flag_unknown_warning_option=no
   18455 fi
   18456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18457 fi
   18458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18459 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18460 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18461 	CFLAGS="$xorg_testset_save_CFLAGS"
   18462 fi
   18463 
   18464 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18465 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18466 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18467 	fi
   18468 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18470 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18471 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18472 then :
   18473   printf %s "(cached) " >&6
   18474 else $as_nop
   18475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18476 /* end confdefs.h.  */
   18477 int i;
   18478 _ACEOF
   18479 if ac_fn_c_try_compile "$LINENO"
   18480 then :
   18481   xorg_cv_cc_flag_unused_command_line_argument=yes
   18482 else $as_nop
   18483   xorg_cv_cc_flag_unused_command_line_argument=no
   18484 fi
   18485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18486 fi
   18487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18488 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18490 	CFLAGS="$xorg_testset_save_CFLAGS"
   18491 fi
   18492 
   18493 found="no"
   18494 
   18495 	if test $found = "no" ; then
   18496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18498 		fi
   18499 
   18500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18502 		fi
   18503 
   18504 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18505 
   18506 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18507 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18508 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18509 		if eval test \${$cacheid+y}
   18510 then :
   18511   printf %s "(cached) " >&6
   18512 else $as_nop
   18513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18514 /* end confdefs.h.  */
   18515 int i;
   18516 int
   18517 main (void)
   18518 {
   18519 
   18520   ;
   18521   return 0;
   18522 }
   18523 _ACEOF
   18524 if ac_fn_c_try_link "$LINENO"
   18525 then :
   18526   eval $cacheid=yes
   18527 else $as_nop
   18528   eval $cacheid=no
   18529 fi
   18530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18531     conftest$ac_exeext conftest.$ac_ext
   18532 fi
   18533 
   18534 
   18535 		CFLAGS="$xorg_testset_save_CFLAGS"
   18536 
   18537 		eval supported=\$$cacheid
   18538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18539 printf "%s\n" "$supported" >&6; }
   18540 		if test "$supported" = "yes" ; then
   18541 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18542 			found="yes"
   18543 		fi
   18544 	fi
   18545 
   18546 
   18547 
   18548 
   18549 
   18550 
   18551 
   18552 
   18553 
   18554 
   18555 
   18556 
   18557 
   18558 
   18559 
   18560 xorg_testset_save_CFLAGS="$CFLAGS"
   18561 
   18562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18564 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18565 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18566 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18567 then :
   18568   printf %s "(cached) " >&6
   18569 else $as_nop
   18570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18571 /* end confdefs.h.  */
   18572 int i;
   18573 _ACEOF
   18574 if ac_fn_c_try_compile "$LINENO"
   18575 then :
   18576   xorg_cv_cc_flag_unknown_warning_option=yes
   18577 else $as_nop
   18578   xorg_cv_cc_flag_unknown_warning_option=no
   18579 fi
   18580 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18581 fi
   18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18583 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18585 	CFLAGS="$xorg_testset_save_CFLAGS"
   18586 fi
   18587 
   18588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18591 	fi
   18592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18593 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18594 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18595 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18596 then :
   18597   printf %s "(cached) " >&6
   18598 else $as_nop
   18599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18600 /* end confdefs.h.  */
   18601 int i;
   18602 _ACEOF
   18603 if ac_fn_c_try_compile "$LINENO"
   18604 then :
   18605   xorg_cv_cc_flag_unused_command_line_argument=yes
   18606 else $as_nop
   18607   xorg_cv_cc_flag_unused_command_line_argument=no
   18608 fi
   18609 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18610 fi
   18611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18612 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18614 	CFLAGS="$xorg_testset_save_CFLAGS"
   18615 fi
   18616 
   18617 found="no"
   18618 
   18619 	if test $found = "no" ; then
   18620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18622 		fi
   18623 
   18624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18626 		fi
   18627 
   18628 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18629 
   18630 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18631 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18632 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18633 		if eval test \${$cacheid+y}
   18634 then :
   18635   printf %s "(cached) " >&6
   18636 else $as_nop
   18637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18638 /* end confdefs.h.  */
   18639 int i;
   18640 int
   18641 main (void)
   18642 {
   18643 
   18644   ;
   18645   return 0;
   18646 }
   18647 _ACEOF
   18648 if ac_fn_c_try_link "$LINENO"
   18649 then :
   18650   eval $cacheid=yes
   18651 else $as_nop
   18652   eval $cacheid=no
   18653 fi
   18654 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18655     conftest$ac_exeext conftest.$ac_ext
   18656 fi
   18657 
   18658 
   18659 		CFLAGS="$xorg_testset_save_CFLAGS"
   18660 
   18661 		eval supported=\$$cacheid
   18662 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18663 printf "%s\n" "$supported" >&6; }
   18664 		if test "$supported" = "yes" ; then
   18665 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18666 			found="yes"
   18667 		fi
   18668 	fi
   18669 
   18670 
   18671 fi
   18672 
   18673 
   18674 
   18675 
   18676 
   18677 
   18678 
   18679 		CWARNFLAGS="$BASE_CFLAGS"
   18680 		if  test "x$GCC" = xyes ; then
   18681 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18682 		fi
   18683 
   18684 
   18685 
   18686 
   18687 
   18688 
   18689 
   18690 
   18691 # Check whether --enable-strict-compilation was given.
   18692 if test ${enable_strict_compilation+y}
   18693 then :
   18694   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18695 else $as_nop
   18696   STRICT_COMPILE=no
   18697 fi
   18698 
   18699 
   18700 
   18701 
   18702 
   18703 
   18704 STRICT_CFLAGS=""
   18705 
   18706 
   18707 
   18708 
   18709 
   18710 
   18711 
   18712 
   18713 
   18714 
   18715 
   18716 
   18717 
   18718 xorg_testset_save_CFLAGS="$CFLAGS"
   18719 
   18720 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18721 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18722 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18723 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18724 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18725 then :
   18726   printf %s "(cached) " >&6
   18727 else $as_nop
   18728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18729 /* end confdefs.h.  */
   18730 int i;
   18731 _ACEOF
   18732 if ac_fn_c_try_compile "$LINENO"
   18733 then :
   18734   xorg_cv_cc_flag_unknown_warning_option=yes
   18735 else $as_nop
   18736   xorg_cv_cc_flag_unknown_warning_option=no
   18737 fi
   18738 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18739 fi
   18740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18741 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18743 	CFLAGS="$xorg_testset_save_CFLAGS"
   18744 fi
   18745 
   18746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18749 	fi
   18750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18752 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18753 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18754 then :
   18755   printf %s "(cached) " >&6
   18756 else $as_nop
   18757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18758 /* end confdefs.h.  */
   18759 int i;
   18760 _ACEOF
   18761 if ac_fn_c_try_compile "$LINENO"
   18762 then :
   18763   xorg_cv_cc_flag_unused_command_line_argument=yes
   18764 else $as_nop
   18765   xorg_cv_cc_flag_unused_command_line_argument=no
   18766 fi
   18767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18768 fi
   18769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18770 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18771 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18772 	CFLAGS="$xorg_testset_save_CFLAGS"
   18773 fi
   18774 
   18775 found="no"
   18776 
   18777 	if test $found = "no" ; then
   18778 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18779 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18780 		fi
   18781 
   18782 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18783 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18784 		fi
   18785 
   18786 		CFLAGS="$CFLAGS -pedantic"
   18787 
   18788 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18789 printf %s "checking if $CC supports -pedantic... " >&6; }
   18790 		cacheid=xorg_cv_cc_flag__pedantic
   18791 		if eval test \${$cacheid+y}
   18792 then :
   18793   printf %s "(cached) " >&6
   18794 else $as_nop
   18795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18796 /* end confdefs.h.  */
   18797 int i;
   18798 int
   18799 main (void)
   18800 {
   18801 
   18802   ;
   18803   return 0;
   18804 }
   18805 _ACEOF
   18806 if ac_fn_c_try_link "$LINENO"
   18807 then :
   18808   eval $cacheid=yes
   18809 else $as_nop
   18810   eval $cacheid=no
   18811 fi
   18812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18813     conftest$ac_exeext conftest.$ac_ext
   18814 fi
   18815 
   18816 
   18817 		CFLAGS="$xorg_testset_save_CFLAGS"
   18818 
   18819 		eval supported=\$$cacheid
   18820 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18821 printf "%s\n" "$supported" >&6; }
   18822 		if test "$supported" = "yes" ; then
   18823 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18824 			found="yes"
   18825 		fi
   18826 	fi
   18827 
   18828 
   18829 
   18830 
   18831 
   18832 
   18833 
   18834 
   18835 
   18836 
   18837 
   18838 
   18839 
   18840 
   18841 
   18842 xorg_testset_save_CFLAGS="$CFLAGS"
   18843 
   18844 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18845 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18846 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18847 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18848 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18849 then :
   18850   printf %s "(cached) " >&6
   18851 else $as_nop
   18852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18853 /* end confdefs.h.  */
   18854 int i;
   18855 _ACEOF
   18856 if ac_fn_c_try_compile "$LINENO"
   18857 then :
   18858   xorg_cv_cc_flag_unknown_warning_option=yes
   18859 else $as_nop
   18860   xorg_cv_cc_flag_unknown_warning_option=no
   18861 fi
   18862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18863 fi
   18864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18865 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18867 	CFLAGS="$xorg_testset_save_CFLAGS"
   18868 fi
   18869 
   18870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18873 	fi
   18874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18876 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18877 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18878 then :
   18879   printf %s "(cached) " >&6
   18880 else $as_nop
   18881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18882 /* end confdefs.h.  */
   18883 int i;
   18884 _ACEOF
   18885 if ac_fn_c_try_compile "$LINENO"
   18886 then :
   18887   xorg_cv_cc_flag_unused_command_line_argument=yes
   18888 else $as_nop
   18889   xorg_cv_cc_flag_unused_command_line_argument=no
   18890 fi
   18891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18892 fi
   18893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18894 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18895 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18896 	CFLAGS="$xorg_testset_save_CFLAGS"
   18897 fi
   18898 
   18899 found="no"
   18900 
   18901 	if test $found = "no" ; then
   18902 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18903 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18904 		fi
   18905 
   18906 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18907 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18908 		fi
   18909 
   18910 		CFLAGS="$CFLAGS -Werror"
   18911 
   18912 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18913 printf %s "checking if $CC supports -Werror... " >&6; }
   18914 		cacheid=xorg_cv_cc_flag__Werror
   18915 		if eval test \${$cacheid+y}
   18916 then :
   18917   printf %s "(cached) " >&6
   18918 else $as_nop
   18919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18920 /* end confdefs.h.  */
   18921 int i;
   18922 int
   18923 main (void)
   18924 {
   18925 
   18926   ;
   18927   return 0;
   18928 }
   18929 _ACEOF
   18930 if ac_fn_c_try_link "$LINENO"
   18931 then :
   18932   eval $cacheid=yes
   18933 else $as_nop
   18934   eval $cacheid=no
   18935 fi
   18936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18937     conftest$ac_exeext conftest.$ac_ext
   18938 fi
   18939 
   18940 
   18941 		CFLAGS="$xorg_testset_save_CFLAGS"
   18942 
   18943 		eval supported=\$$cacheid
   18944 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18945 printf "%s\n" "$supported" >&6; }
   18946 		if test "$supported" = "yes" ; then
   18947 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18948 			found="yes"
   18949 		fi
   18950 	fi
   18951 
   18952 	if test $found = "no" ; then
   18953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18955 		fi
   18956 
   18957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18959 		fi
   18960 
   18961 		CFLAGS="$CFLAGS -errwarn"
   18962 
   18963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18964 printf %s "checking if $CC supports -errwarn... " >&6; }
   18965 		cacheid=xorg_cv_cc_flag__errwarn
   18966 		if eval test \${$cacheid+y}
   18967 then :
   18968   printf %s "(cached) " >&6
   18969 else $as_nop
   18970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18971 /* end confdefs.h.  */
   18972 int i;
   18973 int
   18974 main (void)
   18975 {
   18976 
   18977   ;
   18978   return 0;
   18979 }
   18980 _ACEOF
   18981 if ac_fn_c_try_link "$LINENO"
   18982 then :
   18983   eval $cacheid=yes
   18984 else $as_nop
   18985   eval $cacheid=no
   18986 fi
   18987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18988     conftest$ac_exeext conftest.$ac_ext
   18989 fi
   18990 
   18991 
   18992 		CFLAGS="$xorg_testset_save_CFLAGS"
   18993 
   18994 		eval supported=\$$cacheid
   18995 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18996 printf "%s\n" "$supported" >&6; }
   18997 		if test "$supported" = "yes" ; then
   18998 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18999 			found="yes"
   19000 		fi
   19001 	fi
   19002 
   19003 
   19004 
   19005 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19006 # activate it with -Werror, so we add it here explicitly.
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 
   19016 
   19017 
   19018 
   19019 
   19020 xorg_testset_save_CFLAGS="$CFLAGS"
   19021 
   19022 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19023 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19024 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19025 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19026 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19027 then :
   19028   printf %s "(cached) " >&6
   19029 else $as_nop
   19030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19031 /* end confdefs.h.  */
   19032 int i;
   19033 _ACEOF
   19034 if ac_fn_c_try_compile "$LINENO"
   19035 then :
   19036   xorg_cv_cc_flag_unknown_warning_option=yes
   19037 else $as_nop
   19038   xorg_cv_cc_flag_unknown_warning_option=no
   19039 fi
   19040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19041 fi
   19042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19043 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19045 	CFLAGS="$xorg_testset_save_CFLAGS"
   19046 fi
   19047 
   19048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19051 	fi
   19052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19054 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19055 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19056 then :
   19057   printf %s "(cached) " >&6
   19058 else $as_nop
   19059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19060 /* end confdefs.h.  */
   19061 int i;
   19062 _ACEOF
   19063 if ac_fn_c_try_compile "$LINENO"
   19064 then :
   19065   xorg_cv_cc_flag_unused_command_line_argument=yes
   19066 else $as_nop
   19067   xorg_cv_cc_flag_unused_command_line_argument=no
   19068 fi
   19069 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19070 fi
   19071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19072 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19073 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19074 	CFLAGS="$xorg_testset_save_CFLAGS"
   19075 fi
   19076 
   19077 found="no"
   19078 
   19079 	if test $found = "no" ; then
   19080 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19082 		fi
   19083 
   19084 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19086 		fi
   19087 
   19088 		CFLAGS="$CFLAGS -Werror=attributes"
   19089 
   19090 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19091 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19092 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19093 		if eval test \${$cacheid+y}
   19094 then :
   19095   printf %s "(cached) " >&6
   19096 else $as_nop
   19097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19098 /* end confdefs.h.  */
   19099 int i;
   19100 int
   19101 main (void)
   19102 {
   19103 
   19104   ;
   19105   return 0;
   19106 }
   19107 _ACEOF
   19108 if ac_fn_c_try_link "$LINENO"
   19109 then :
   19110   eval $cacheid=yes
   19111 else $as_nop
   19112   eval $cacheid=no
   19113 fi
   19114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19115     conftest$ac_exeext conftest.$ac_ext
   19116 fi
   19117 
   19118 
   19119 		CFLAGS="$xorg_testset_save_CFLAGS"
   19120 
   19121 		eval supported=\$$cacheid
   19122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19123 printf "%s\n" "$supported" >&6; }
   19124 		if test "$supported" = "yes" ; then
   19125 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19126 			found="yes"
   19127 		fi
   19128 	fi
   19129 
   19130 
   19131 
   19132 if test "x$STRICT_COMPILE" = "xyes"; then
   19133     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19134     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19135 fi
   19136 
   19137 
   19138 
   19139 
   19140 
   19141 
   19142 cat >>confdefs.h <<_ACEOF
   19143 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19144 _ACEOF
   19145 
   19146 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19147 	if test "x$PVM" = "x"; then
   19148 		PVM="0"
   19149 	fi
   19150 
   19151 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19152 
   19153 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19154 	if test "x$PVP" = "x"; then
   19155 		PVP="0"
   19156 	fi
   19157 
   19158 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19159 
   19160 
   19161 
   19162 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19163 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19164 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19165 touch \$(top_srcdir)/ChangeLog; \
   19166 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19167 
   19168 
   19169 
   19170 
   19171 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19172 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19173 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19174 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19175 touch \$(top_srcdir)/INSTALL; \
   19176 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19177 
   19178 
   19179 
   19180 
   19181 
   19182 
   19183 case $host_os in
   19184     solaris*)
   19185         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19186         # check for a man page file found in later versions that use
   19187         # traditional section numbers instead
   19188         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19189 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19190 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19191 then :
   19192   printf %s "(cached) " >&6
   19193 else $as_nop
   19194   test "$cross_compiling" = yes &&
   19195   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19196 if test -r "/usr/share/man/man7/attributes.7"; then
   19197   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19198 else
   19199   ac_cv_file__usr_share_man_man7_attributes_7=no
   19200 fi
   19201 fi
   19202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19203 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19204 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19205 then :
   19206   SYSV_MAN_SECTIONS=false
   19207 else $as_nop
   19208   SYSV_MAN_SECTIONS=true
   19209 fi
   19210 
   19211         ;;
   19212     *) SYSV_MAN_SECTIONS=false ;;
   19213 esac
   19214 
   19215 if test x$APP_MAN_SUFFIX = x    ; then
   19216     APP_MAN_SUFFIX=1
   19217 fi
   19218 if test x$APP_MAN_DIR = x    ; then
   19219     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19220 fi
   19221 
   19222 if test x$LIB_MAN_SUFFIX = x    ; then
   19223     LIB_MAN_SUFFIX=3
   19224 fi
   19225 if test x$LIB_MAN_DIR = x    ; then
   19226     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19227 fi
   19228 
   19229 if test x$FILE_MAN_SUFFIX = x    ; then
   19230     case $SYSV_MAN_SECTIONS in
   19231 	true)				FILE_MAN_SUFFIX=4  ;;
   19232 	*)				FILE_MAN_SUFFIX=5  ;;
   19233     esac
   19234 fi
   19235 if test x$FILE_MAN_DIR = x    ; then
   19236     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19237 fi
   19238 
   19239 if test x$MISC_MAN_SUFFIX = x    ; then
   19240     case $SYSV_MAN_SECTIONS in
   19241 	true)				MISC_MAN_SUFFIX=5  ;;
   19242 	*)				MISC_MAN_SUFFIX=7  ;;
   19243     esac
   19244 fi
   19245 if test x$MISC_MAN_DIR = x    ; then
   19246     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19247 fi
   19248 
   19249 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19250     case $SYSV_MAN_SECTIONS in
   19251 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19252 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19253     esac
   19254 fi
   19255 if test x$DRIVER_MAN_DIR = x    ; then
   19256     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19257 fi
   19258 
   19259 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19260     case $SYSV_MAN_SECTIONS in
   19261 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19262 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19263     esac
   19264 fi
   19265 if test x$ADMIN_MAN_DIR = x    ; then
   19266     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19267 fi
   19268 
   19269 
   19270 
   19271 
   19272 
   19273 
   19274 
   19275 
   19276 
   19277 
   19278 
   19279 
   19280 
   19281 
   19282 
   19283 XORG_MAN_PAGE="X Version 11"
   19284 
   19285 MAN_SUBSTS="\
   19286 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19287 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19288 	-e 's|__xservername__|Xorg|g' \
   19289 	-e 's|__xconfigfile__|xorg.conf|g' \
   19290 	-e 's|__projectroot__|\$(prefix)|g' \
   19291 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19292 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19293 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19294 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19295 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19296 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19297 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19298 
   19299 
   19300 
   19301 # Check whether --enable-silent-rules was given.
   19302 if test ${enable_silent_rules+y}
   19303 then :
   19304   enableval=$enable_silent_rules;
   19305 fi
   19306 
   19307 case $enable_silent_rules in # (((
   19308   yes) AM_DEFAULT_VERBOSITY=0;;
   19309    no) AM_DEFAULT_VERBOSITY=1;;
   19310     *) AM_DEFAULT_VERBOSITY=0;;
   19311 esac
   19312 am_make=${MAKE-make}
   19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19314 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19315 if test ${am_cv_make_support_nested_variables+y}
   19316 then :
   19317   printf %s "(cached) " >&6
   19318 else $as_nop
   19319   if printf "%s\n" 'TRUE=$(BAR$(V))
   19320 BAR0=false
   19321 BAR1=true
   19322 V=1
   19323 am__doit:
   19324 	@$(TRUE)
   19325 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19326   am_cv_make_support_nested_variables=yes
   19327 else
   19328   am_cv_make_support_nested_variables=no
   19329 fi
   19330 fi
   19331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19332 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19333 if test $am_cv_make_support_nested_variables = yes; then
   19334     AM_V='$(V)'
   19335   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19336 else
   19337   AM_V=$AM_DEFAULT_VERBOSITY
   19338   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19339 fi
   19340 AM_BACKSLASH='\'
   19341 
   19342 
   19343 
   19344 
   19345 # Check whether --enable-specs was given.
   19346 if test ${enable_specs+y}
   19347 then :
   19348   enableval=$enable_specs; build_specs=$enableval
   19349 else $as_nop
   19350   build_specs=yes
   19351 fi
   19352 
   19353 
   19354  if test x$build_specs = xyes; then
   19355   ENABLE_SPECS_TRUE=
   19356   ENABLE_SPECS_FALSE='#'
   19357 else
   19358   ENABLE_SPECS_TRUE='#'
   19359   ENABLE_SPECS_FALSE=
   19360 fi
   19361 
   19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   19363 printf %s "checking whether to build functional specifications... " >&6; }
   19364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   19365 printf "%s\n" "$build_specs" >&6; }
   19366 
   19367 
   19368 
   19369 
   19370 
   19371 # Check whether --with-xmlto was given.
   19372 if test ${with_xmlto+y}
   19373 then :
   19374   withval=$with_xmlto; use_xmlto=$withval
   19375 else $as_nop
   19376   use_xmlto=auto
   19377 fi
   19378 
   19379 
   19380 
   19381 if test "x$use_xmlto" = x"auto"; then
   19382    # Extract the first word of "xmlto", so it can be a program name with args.
   19383 set dummy xmlto; ac_word=$2
   19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19385 printf %s "checking for $ac_word... " >&6; }
   19386 if test ${ac_cv_path_XMLTO+y}
   19387 then :
   19388   printf %s "(cached) " >&6
   19389 else $as_nop
   19390   case $XMLTO in
   19391   [\\/]* | ?:[\\/]*)
   19392   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19393   ;;
   19394   *)
   19395   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19396 for as_dir in $PATH
   19397 do
   19398   IFS=$as_save_IFS
   19399   case $as_dir in #(((
   19400     '') as_dir=./ ;;
   19401     */) ;;
   19402     *) as_dir=$as_dir/ ;;
   19403   esac
   19404     for ac_exec_ext in '' $ac_executable_extensions; do
   19405   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19406     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19407     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19408     break 2
   19409   fi
   19410 done
   19411   done
   19412 IFS=$as_save_IFS
   19413 
   19414   ;;
   19415 esac
   19416 fi
   19417 XMLTO=$ac_cv_path_XMLTO
   19418 if test -n "$XMLTO"; then
   19419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19420 printf "%s\n" "$XMLTO" >&6; }
   19421 else
   19422   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19423 printf "%s\n" "no" >&6; }
   19424 fi
   19425 
   19426 
   19427    if test "x$XMLTO" = "x"; then
   19428         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19429 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19430 	have_xmlto=no
   19431    else
   19432         have_xmlto=yes
   19433    fi
   19434 elif test "x$use_xmlto" = x"yes" ; then
   19435    # Extract the first word of "xmlto", so it can be a program name with args.
   19436 set dummy xmlto; ac_word=$2
   19437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19438 printf %s "checking for $ac_word... " >&6; }
   19439 if test ${ac_cv_path_XMLTO+y}
   19440 then :
   19441   printf %s "(cached) " >&6
   19442 else $as_nop
   19443   case $XMLTO in
   19444   [\\/]* | ?:[\\/]*)
   19445   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19446   ;;
   19447   *)
   19448   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19449 for as_dir in $PATH
   19450 do
   19451   IFS=$as_save_IFS
   19452   case $as_dir in #(((
   19453     '') as_dir=./ ;;
   19454     */) ;;
   19455     *) as_dir=$as_dir/ ;;
   19456   esac
   19457     for ac_exec_ext in '' $ac_executable_extensions; do
   19458   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19459     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   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   ;;
   19468 esac
   19469 fi
   19470 XMLTO=$ac_cv_path_XMLTO
   19471 if test -n "$XMLTO"; then
   19472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19473 printf "%s\n" "$XMLTO" >&6; }
   19474 else
   19475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19476 printf "%s\n" "no" >&6; }
   19477 fi
   19478 
   19479 
   19480    if test "x$XMLTO" = "x"; then
   19481         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19482    fi
   19483    have_xmlto=yes
   19484 elif test "x$use_xmlto" = x"no" ; then
   19485    if test "x$XMLTO" != "x"; then
   19486       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19487 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19488    fi
   19489    have_xmlto=no
   19490 else
   19491    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19492 fi
   19493 
   19494 # Test for a minimum version of xmlto, if provided.
   19495 if test "$have_xmlto" = yes; then
   19496     # scrape the xmlto version
   19497     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19498 printf %s "checking the xmlto version... " >&6; }
   19499     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19500     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19501 printf "%s\n" "$xmlto_version" >&6; }
   19502     as_arg_v1=$xmlto_version
   19503 as_arg_v2=0.0.22
   19504 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19505 case $? in #(
   19506   1) :
   19507     if test "x$use_xmlto" = xauto; then
   19508             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   19509 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   19510             have_xmlto=no
   19511         else
   19512             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   19513         fi ;; #(
   19514   0) :
   19515      ;; #(
   19516   2) :
   19517      ;; #(
   19518   *) :
   19519      ;;
   19520 esac
   19521 fi
   19522 
   19523 # Test for the ability of xmlto to generate a text target
   19524 #
   19525 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19526 # following test for empty XML docbook files.
   19527 # For compatibility reasons use the following empty XML docbook file and if
   19528 # it fails try it again with a non-empty XML file.
   19529 have_xmlto_text=no
   19530 cat > conftest.xml << "EOF"
   19531 EOF
   19532 if test "$have_xmlto" = yes
   19533 then :
   19534   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19535 then :
   19536   have_xmlto_text=yes
   19537 else $as_nop
   19538   # Try it again with a non-empty XML file.
   19539               cat > conftest.xml << "EOF"
   19540 <x></x>
   19541 EOF
   19542               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19543 then :
   19544   have_xmlto_text=yes
   19545 else $as_nop
   19546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19547 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19548 fi
   19549 fi
   19550 fi
   19551 rm -f conftest.xml
   19552  if test $have_xmlto_text = yes; then
   19553   HAVE_XMLTO_TEXT_TRUE=
   19554   HAVE_XMLTO_TEXT_FALSE='#'
   19555 else
   19556   HAVE_XMLTO_TEXT_TRUE='#'
   19557   HAVE_XMLTO_TEXT_FALSE=
   19558 fi
   19559 
   19560  if test "$have_xmlto" = yes; then
   19561   HAVE_XMLTO_TRUE=
   19562   HAVE_XMLTO_FALSE='#'
   19563 else
   19564   HAVE_XMLTO_TRUE='#'
   19565   HAVE_XMLTO_FALSE=
   19566 fi
   19567 
   19568 
   19569 
   19570 
   19571 
   19572 
   19573 # Check whether --with-fop was given.
   19574 if test ${with_fop+y}
   19575 then :
   19576   withval=$with_fop; use_fop=$withval
   19577 else $as_nop
   19578   use_fop=auto
   19579 fi
   19580 
   19581 
   19582 
   19583 if test "x$use_fop" = x"auto"; then
   19584    # Extract the first word of "fop", so it can be a program name with args.
   19585 set dummy fop; ac_word=$2
   19586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19587 printf %s "checking for $ac_word... " >&6; }
   19588 if test ${ac_cv_path_FOP+y}
   19589 then :
   19590   printf %s "(cached) " >&6
   19591 else $as_nop
   19592   case $FOP in
   19593   [\\/]* | ?:[\\/]*)
   19594   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19595   ;;
   19596   *)
   19597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19598 for as_dir in $PATH
   19599 do
   19600   IFS=$as_save_IFS
   19601   case $as_dir in #(((
   19602     '') as_dir=./ ;;
   19603     */) ;;
   19604     *) as_dir=$as_dir/ ;;
   19605   esac
   19606     for ac_exec_ext in '' $ac_executable_extensions; do
   19607   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19608     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19609     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19610     break 2
   19611   fi
   19612 done
   19613   done
   19614 IFS=$as_save_IFS
   19615 
   19616   ;;
   19617 esac
   19618 fi
   19619 FOP=$ac_cv_path_FOP
   19620 if test -n "$FOP"; then
   19621   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19622 printf "%s\n" "$FOP" >&6; }
   19623 else
   19624   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19625 printf "%s\n" "no" >&6; }
   19626 fi
   19627 
   19628 
   19629    if test "x$FOP" = "x"; then
   19630         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   19631 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   19632 	have_fop=no
   19633    else
   19634         have_fop=yes
   19635    fi
   19636 elif test "x$use_fop" = x"yes" ; then
   19637    # Extract the first word of "fop", so it can be a program name with args.
   19638 set dummy fop; ac_word=$2
   19639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19640 printf %s "checking for $ac_word... " >&6; }
   19641 if test ${ac_cv_path_FOP+y}
   19642 then :
   19643   printf %s "(cached) " >&6
   19644 else $as_nop
   19645   case $FOP in
   19646   [\\/]* | ?:[\\/]*)
   19647   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19648   ;;
   19649   *)
   19650   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19651 for as_dir in $PATH
   19652 do
   19653   IFS=$as_save_IFS
   19654   case $as_dir in #(((
   19655     '') as_dir=./ ;;
   19656     */) ;;
   19657     *) as_dir=$as_dir/ ;;
   19658   esac
   19659     for ac_exec_ext in '' $ac_executable_extensions; do
   19660   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19661     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19662     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19663     break 2
   19664   fi
   19665 done
   19666   done
   19667 IFS=$as_save_IFS
   19668 
   19669   ;;
   19670 esac
   19671 fi
   19672 FOP=$ac_cv_path_FOP
   19673 if test -n "$FOP"; then
   19674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19675 printf "%s\n" "$FOP" >&6; }
   19676 else
   19677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19678 printf "%s\n" "no" >&6; }
   19679 fi
   19680 
   19681 
   19682    if test "x$FOP" = "x"; then
   19683         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   19684    fi
   19685    have_fop=yes
   19686 elif test "x$use_fop" = x"no" ; then
   19687    if test "x$FOP" != "x"; then
   19688       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   19689 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   19690    fi
   19691    have_fop=no
   19692 else
   19693    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   19694 fi
   19695 
   19696 # Test for a minimum version of fop, if provided.
   19697 
   19698  if test "$have_fop" = yes; then
   19699   HAVE_FOP_TRUE=
   19700   HAVE_FOP_FALSE='#'
   19701 else
   19702   HAVE_FOP_TRUE='#'
   19703   HAVE_FOP_FALSE=
   19704 fi
   19705 
   19706 
   19707 
   19708 
   19709 # Preserves the interface, should it be implemented later
   19710 
   19711 
   19712 
   19713 # Check whether --with-xsltproc was given.
   19714 if test ${with_xsltproc+y}
   19715 then :
   19716   withval=$with_xsltproc; use_xsltproc=$withval
   19717 else $as_nop
   19718   use_xsltproc=auto
   19719 fi
   19720 
   19721 
   19722 
   19723 if test "x$use_xsltproc" = x"auto"; then
   19724    # Extract the first word of "xsltproc", so it can be a program name with args.
   19725 set dummy xsltproc; ac_word=$2
   19726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19727 printf %s "checking for $ac_word... " >&6; }
   19728 if test ${ac_cv_path_XSLTPROC+y}
   19729 then :
   19730   printf %s "(cached) " >&6
   19731 else $as_nop
   19732   case $XSLTPROC in
   19733   [\\/]* | ?:[\\/]*)
   19734   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19735   ;;
   19736   *)
   19737   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19738 for as_dir in $PATH
   19739 do
   19740   IFS=$as_save_IFS
   19741   case $as_dir in #(((
   19742     '') as_dir=./ ;;
   19743     */) ;;
   19744     *) as_dir=$as_dir/ ;;
   19745   esac
   19746     for ac_exec_ext in '' $ac_executable_extensions; do
   19747   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19748     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19749     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19750     break 2
   19751   fi
   19752 done
   19753   done
   19754 IFS=$as_save_IFS
   19755 
   19756   ;;
   19757 esac
   19758 fi
   19759 XSLTPROC=$ac_cv_path_XSLTPROC
   19760 if test -n "$XSLTPROC"; then
   19761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19762 printf "%s\n" "$XSLTPROC" >&6; }
   19763 else
   19764   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19765 printf "%s\n" "no" >&6; }
   19766 fi
   19767 
   19768 
   19769    if test "x$XSLTPROC" = "x"; then
   19770         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   19771 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   19772 	have_xsltproc=no
   19773    else
   19774         have_xsltproc=yes
   19775    fi
   19776 elif test "x$use_xsltproc" = x"yes" ; then
   19777    # Extract the first word of "xsltproc", so it can be a program name with args.
   19778 set dummy xsltproc; ac_word=$2
   19779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19780 printf %s "checking for $ac_word... " >&6; }
   19781 if test ${ac_cv_path_XSLTPROC+y}
   19782 then :
   19783   printf %s "(cached) " >&6
   19784 else $as_nop
   19785   case $XSLTPROC in
   19786   [\\/]* | ?:[\\/]*)
   19787   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19788   ;;
   19789   *)
   19790   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19791 for as_dir in $PATH
   19792 do
   19793   IFS=$as_save_IFS
   19794   case $as_dir in #(((
   19795     '') as_dir=./ ;;
   19796     */) ;;
   19797     *) as_dir=$as_dir/ ;;
   19798   esac
   19799     for ac_exec_ext in '' $ac_executable_extensions; do
   19800   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19801     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19802     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19803     break 2
   19804   fi
   19805 done
   19806   done
   19807 IFS=$as_save_IFS
   19808 
   19809   ;;
   19810 esac
   19811 fi
   19812 XSLTPROC=$ac_cv_path_XSLTPROC
   19813 if test -n "$XSLTPROC"; then
   19814   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19815 printf "%s\n" "$XSLTPROC" >&6; }
   19816 else
   19817   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19818 printf "%s\n" "no" >&6; }
   19819 fi
   19820 
   19821 
   19822    if test "x$XSLTPROC" = "x"; then
   19823         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   19824    fi
   19825    have_xsltproc=yes
   19826 elif test "x$use_xsltproc" = x"no" ; then
   19827    if test "x$XSLTPROC" != "x"; then
   19828       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   19829 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   19830    fi
   19831    have_xsltproc=no
   19832 else
   19833    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   19834 fi
   19835 
   19836  if test "$have_xsltproc" = yes; then
   19837   HAVE_XSLTPROC_TRUE=
   19838   HAVE_XSLTPROC_FALSE='#'
   19839 else
   19840   HAVE_XSLTPROC_TRUE='#'
   19841   HAVE_XSLTPROC_FALSE=
   19842 fi
   19843 
   19844 
   19845 
   19846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   19847 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   19848 XORG_SGML_PATH=
   19849 if test -n "$PKG_CONFIG" && \
   19850     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   19851   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   19852   ac_status=$?
   19853   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19854   test $ac_status = 0; }; then
   19855   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19856 else
   19857   :
   19858 
   19859 fi
   19860 
   19861 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19862 # the path and the name of the doc stylesheet
   19863 if test "x$XORG_SGML_PATH" != "x" ; then
   19864    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19865 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   19866    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19867    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19868 else
   19869    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19870 printf "%s\n" "no" >&6; }
   19871 fi
   19872 
   19873 
   19874 
   19875 
   19876  if test "x$XSL_STYLESHEET" != "x"; then
   19877   HAVE_STYLESHEETS_TRUE=
   19878   HAVE_STYLESHEETS_FALSE='#'
   19879 else
   19880   HAVE_STYLESHEETS_TRUE='#'
   19881   HAVE_STYLESHEETS_FALSE=
   19882 fi
   19883 
   19884 
   19885 
   19886 # Some compilers do not support per target -c and -o flags
   19887 
   19888 
   19889 # Checks for programs.
   19890 for ac_prog in gawk mawk nawk awk
   19891 do
   19892   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19893 set dummy $ac_prog; ac_word=$2
   19894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19895 printf %s "checking for $ac_word... " >&6; }
   19896 if test ${ac_cv_prog_AWK+y}
   19897 then :
   19898   printf %s "(cached) " >&6
   19899 else $as_nop
   19900   if test -n "$AWK"; then
   19901   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   19902 else
   19903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19904 for as_dir in $PATH
   19905 do
   19906   IFS=$as_save_IFS
   19907   case $as_dir in #(((
   19908     '') as_dir=./ ;;
   19909     */) ;;
   19910     *) as_dir=$as_dir/ ;;
   19911   esac
   19912     for ac_exec_ext in '' $ac_executable_extensions; do
   19913   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19914     ac_cv_prog_AWK="$ac_prog"
   19915     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19916     break 2
   19917   fi
   19918 done
   19919   done
   19920 IFS=$as_save_IFS
   19921 
   19922 fi
   19923 fi
   19924 AWK=$ac_cv_prog_AWK
   19925 if test -n "$AWK"; then
   19926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   19927 printf "%s\n" "$AWK" >&6; }
   19928 else
   19929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19930 printf "%s\n" "no" >&6; }
   19931 fi
   19932 
   19933 
   19934   test -n "$AWK" && break
   19935 done
   19936 
   19937 
   19938 # Need to call this explicitly since the first call to PKG_CHECK_MODULES
   19939 # is in an if statement, and later calls would break if it's skipped.
   19940 
   19941 
   19942 
   19943 
   19944 
   19945 
   19946 
   19947 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19948 	if test -n "$ac_tool_prefix"; then
   19949   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19950 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19952 printf %s "checking for $ac_word... " >&6; }
   19953 if test ${ac_cv_path_PKG_CONFIG+y}
   19954 then :
   19955   printf %s "(cached) " >&6
   19956 else $as_nop
   19957   case $PKG_CONFIG in
   19958   [\\/]* | ?:[\\/]*)
   19959   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19960   ;;
   19961   *)
   19962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19963 for as_dir in $PATH
   19964 do
   19965   IFS=$as_save_IFS
   19966   case $as_dir in #(((
   19967     '') as_dir=./ ;;
   19968     */) ;;
   19969     *) as_dir=$as_dir/ ;;
   19970   esac
   19971     for ac_exec_ext in '' $ac_executable_extensions; do
   19972   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19973     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   19974     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19975     break 2
   19976   fi
   19977 done
   19978   done
   19979 IFS=$as_save_IFS
   19980 
   19981   ;;
   19982 esac
   19983 fi
   19984 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19985 if test -n "$PKG_CONFIG"; then
   19986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19987 printf "%s\n" "$PKG_CONFIG" >&6; }
   19988 else
   19989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19990 printf "%s\n" "no" >&6; }
   19991 fi
   19992 
   19993 
   19994 fi
   19995 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19996   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19997   # Extract the first word of "pkg-config", so it can be a program name with args.
   19998 set dummy pkg-config; ac_word=$2
   19999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20000 printf %s "checking for $ac_word... " >&6; }
   20001 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   20002 then :
   20003   printf %s "(cached) " >&6
   20004 else $as_nop
   20005   case $ac_pt_PKG_CONFIG in
   20006   [\\/]* | ?:[\\/]*)
   20007   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20008   ;;
   20009   *)
   20010   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20011 for as_dir in $PATH
   20012 do
   20013   IFS=$as_save_IFS
   20014   case $as_dir in #(((
   20015     '') as_dir=./ ;;
   20016     */) ;;
   20017     *) as_dir=$as_dir/ ;;
   20018   esac
   20019     for ac_exec_ext in '' $ac_executable_extensions; do
   20020   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20021     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   20022     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20023     break 2
   20024   fi
   20025 done
   20026   done
   20027 IFS=$as_save_IFS
   20028 
   20029   ;;
   20030 esac
   20031 fi
   20032 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20033 if test -n "$ac_pt_PKG_CONFIG"; then
   20034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   20035 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   20036 else
   20037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20038 printf "%s\n" "no" >&6; }
   20039 fi
   20040 
   20041   if test "x$ac_pt_PKG_CONFIG" = x; then
   20042     PKG_CONFIG=""
   20043   else
   20044     case $cross_compiling:$ac_tool_warned in
   20045 yes:)
   20046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   20047 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20048 ac_tool_warned=yes ;;
   20049 esac
   20050     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20051   fi
   20052 else
   20053   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20054 fi
   20055 
   20056 fi
   20057 if test -n "$PKG_CONFIG"; then
   20058 	_pkg_min_version=0.9.0
   20059 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   20060 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20061 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20062 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20063 printf "%s\n" "yes" >&6; }
   20064 	else
   20065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20066 printf "%s\n" "no" >&6; }
   20067 		PKG_CONFIG=""
   20068 	fi
   20069 fi
   20070 
   20071 #
   20072 # fix libtool to set SONAME to libXaw.so.$major
   20073 #
   20074 ac_config_commands="$ac_config_commands libtool_hack"
   20075 
   20076 
   20077 # OSX/Win32 rules are different.
   20078 platform_win32=no
   20079 platform_darwin=no
   20080 LIBEXT=so
   20081 case $host_os in
   20082     cygwin*|mingw*)
   20083 	LIBEXT=dll.a
   20084 	platform_win32=yes
   20085 	;;
   20086     darwin*)
   20087 	LIBEXT=dylib
   20088 	platform_darwin=yes
   20089 	;;
   20090 esac
   20091 
   20092  if test "x$platform_win32" = "xyes"; then
   20093   PLATFORM_WIN32_TRUE=
   20094   PLATFORM_WIN32_FALSE='#'
   20095 else
   20096   PLATFORM_WIN32_TRUE='#'
   20097   PLATFORM_WIN32_FALSE=
   20098 fi
   20099 
   20100  if test "x$platform_darwin" = "xyes"; then
   20101   PLATFORM_DARWIN_TRUE=
   20102   PLATFORM_DARWIN_FALSE='#'
   20103 else
   20104   PLATFORM_DARWIN_TRUE='#'
   20105   PLATFORM_DARWIN_FALSE=
   20106 fi
   20107 
   20108 
   20109 # Whether to build Xaw6
   20110 
   20111 # Check whether --enable-xaw6 was given.
   20112 if test ${enable_xaw6+y}
   20113 then :
   20114   enableval=$enable_xaw6; build_v6=$enableval
   20115 else $as_nop
   20116   build_v6=yes
   20117 fi
   20118 
   20119 
   20120 if test "x$build_v6" = xyes; then
   20121 
   20122 pkg_failed=no
   20123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xproto x11 xext xextproto xt xmu" >&5
   20124 printf %s "checking for xproto x11 xext xextproto xt xmu... " >&6; }
   20125 
   20126 if test -n "$XAW6_CFLAGS"; then
   20127     pkg_cv_XAW6_CFLAGS="$XAW6_CFLAGS"
   20128  elif test -n "$PKG_CONFIG"; then
   20129     if test -n "$PKG_CONFIG" && \
   20130     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\""; } >&5
   20131   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   20132   ac_status=$?
   20133   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20134   test $ac_status = 0; }; then
   20135   pkg_cv_XAW6_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   20136 		      test "x$?" != "x0" && pkg_failed=yes
   20137 else
   20138   pkg_failed=yes
   20139 fi
   20140  else
   20141     pkg_failed=untried
   20142 fi
   20143 if test -n "$XAW6_LIBS"; then
   20144     pkg_cv_XAW6_LIBS="$XAW6_LIBS"
   20145  elif test -n "$PKG_CONFIG"; then
   20146     if test -n "$PKG_CONFIG" && \
   20147     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\""; } >&5
   20148   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   20149   ac_status=$?
   20150   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20151   test $ac_status = 0; }; then
   20152   pkg_cv_XAW6_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   20153 		      test "x$?" != "x0" && pkg_failed=yes
   20154 else
   20155   pkg_failed=yes
   20156 fi
   20157  else
   20158     pkg_failed=untried
   20159 fi
   20160 
   20161 
   20162 
   20163 if test $pkg_failed = yes; then
   20164         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20165 printf "%s\n" "no" >&6; }
   20166 
   20167 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20168         _pkg_short_errors_supported=yes
   20169 else
   20170         _pkg_short_errors_supported=no
   20171 fi
   20172         if test $_pkg_short_errors_supported = yes; then
   20173                 XAW6_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11 xext xextproto xt xmu" 2>&1`
   20174         else
   20175                 XAW6_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11 xext xextproto xt xmu" 2>&1`
   20176         fi
   20177         # Put the nasty error message in config.log where it belongs
   20178         echo "$XAW6_PKG_ERRORS" >&5
   20179 
   20180         as_fn_error $? "Package requirements (xproto x11 xext xextproto xt xmu) were not met:
   20181 
   20182 $XAW6_PKG_ERRORS
   20183 
   20184 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20185 installed software in a non-standard prefix.
   20186 
   20187 Alternatively, you may set the environment variables XAW6_CFLAGS
   20188 and XAW6_LIBS to avoid the need to call pkg-config.
   20189 See the pkg-config man page for more details." "$LINENO" 5
   20190 elif test $pkg_failed = untried; then
   20191         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20192 printf "%s\n" "no" >&6; }
   20193         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20194 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20195 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20196 is in your PATH or set the PKG_CONFIG environment variable to the full
   20197 path to pkg-config.
   20198 
   20199 Alternatively, you may set the environment variables XAW6_CFLAGS
   20200 and XAW6_LIBS to avoid the need to call pkg-config.
   20201 See the pkg-config man page for more details.
   20202 
   20203 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20204 See \`config.log' for more details" "$LINENO" 5; }
   20205 else
   20206         XAW6_CFLAGS=$pkg_cv_XAW6_CFLAGS
   20207         XAW6_LIBS=$pkg_cv_XAW6_LIBS
   20208         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20209 printf "%s\n" "yes" >&6; }
   20210 
   20211 fi
   20212 fi
   20213 
   20214 
   20215 # Whether to build Xaw7
   20216 
   20217 # Check whether --enable-xaw7 was given.
   20218 if test ${enable_xaw7+y}
   20219 then :
   20220   enableval=$enable_xaw7; build_v7=$enableval
   20221 else $as_nop
   20222   build_v7=yes
   20223 fi
   20224 
   20225 
   20226 if test "x$build_v7" = xyes; then
   20227 
   20228 pkg_failed=no
   20229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xproto x11 xext xextproto xt xmu xpm" >&5
   20230 printf %s "checking for xproto x11 xext xextproto xt xmu xpm... " >&6; }
   20231 
   20232 if test -n "$XAW7_CFLAGS"; then
   20233     pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
   20234  elif test -n "$PKG_CONFIG"; then
   20235     if test -n "$PKG_CONFIG" && \
   20236     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\""; } >&5
   20237   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   20238   ac_status=$?
   20239   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20240   test $ac_status = 0; }; then
   20241   pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   20242 		      test "x$?" != "x0" && pkg_failed=yes
   20243 else
   20244   pkg_failed=yes
   20245 fi
   20246  else
   20247     pkg_failed=untried
   20248 fi
   20249 if test -n "$XAW7_LIBS"; then
   20250     pkg_cv_XAW7_LIBS="$XAW7_LIBS"
   20251  elif test -n "$PKG_CONFIG"; then
   20252     if test -n "$PKG_CONFIG" && \
   20253     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\""; } >&5
   20254   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   20255   ac_status=$?
   20256   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20257   test $ac_status = 0; }; then
   20258   pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   20259 		      test "x$?" != "x0" && pkg_failed=yes
   20260 else
   20261   pkg_failed=yes
   20262 fi
   20263  else
   20264     pkg_failed=untried
   20265 fi
   20266 
   20267 
   20268 
   20269 if test $pkg_failed = yes; then
   20270         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20271 printf "%s\n" "no" >&6; }
   20272 
   20273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20274         _pkg_short_errors_supported=yes
   20275 else
   20276         _pkg_short_errors_supported=no
   20277 fi
   20278         if test $_pkg_short_errors_supported = yes; then
   20279                 XAW7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   20280         else
   20281                 XAW7_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   20282         fi
   20283         # Put the nasty error message in config.log where it belongs
   20284         echo "$XAW7_PKG_ERRORS" >&5
   20285 
   20286         as_fn_error $? "Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
   20287 
   20288 $XAW7_PKG_ERRORS
   20289 
   20290 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20291 installed software in a non-standard prefix.
   20292 
   20293 Alternatively, you may set the environment variables XAW7_CFLAGS
   20294 and XAW7_LIBS to avoid the need to call pkg-config.
   20295 See the pkg-config man page for more details." "$LINENO" 5
   20296 elif test $pkg_failed = untried; then
   20297         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20298 printf "%s\n" "no" >&6; }
   20299         { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20300 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20301 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20302 is in your PATH or set the PKG_CONFIG environment variable to the full
   20303 path to pkg-config.
   20304 
   20305 Alternatively, you may set the environment variables XAW7_CFLAGS
   20306 and XAW7_LIBS to avoid the need to call pkg-config.
   20307 See the pkg-config man page for more details.
   20308 
   20309 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20310 See \`config.log' for more details" "$LINENO" 5; }
   20311 else
   20312         XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
   20313         XAW7_LIBS=$pkg_cv_XAW7_LIBS
   20314         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20315 printf "%s\n" "yes" >&6; }
   20316 
   20317 fi
   20318 fi
   20319 
   20320 
   20321  if test x$build_v6 = xyes; then
   20322   BUILD_XAW6_TRUE=
   20323   BUILD_XAW6_FALSE='#'
   20324 else
   20325   BUILD_XAW6_TRUE='#'
   20326   BUILD_XAW6_FALSE=
   20327 fi
   20328 
   20329  if test x$build_v7 = xyes; then
   20330   BUILD_XAW7_TRUE=
   20331   BUILD_XAW7_FALSE='#'
   20332 else
   20333   BUILD_XAW7_TRUE='#'
   20334   BUILD_XAW7_FALSE=
   20335 fi
   20336 
   20337 
   20338 # Checks for header files.
   20339 ac_fn_c_check_header_compile "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
   20340 if test "x$ac_cv_header_wctype_h" = xyes
   20341 then :
   20342   printf "%s\n" "#define HAVE_WCTYPE_H 1" >>confdefs.h
   20343 
   20344 fi
   20345 ac_fn_c_check_header_compile "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
   20346 if test "x$ac_cv_header_wchar_h" = xyes
   20347 then :
   20348   printf "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h
   20349 
   20350 fi
   20351 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default"
   20352 if test "x$ac_cv_header_widec_h" = xyes
   20353 then :
   20354   printf "%s\n" "#define HAVE_WIDEC_H 1" >>confdefs.h
   20355 
   20356 fi
   20357 
   20358 
   20359 # Checks for functions
   20360 ac_fn_c_check_func "$LINENO" "iswalnum" "ac_cv_func_iswalnum"
   20361 if test "x$ac_cv_func_iswalnum" = xyes
   20362 then :
   20363   printf "%s\n" "#define HAVE_ISWALNUM 1" >>confdefs.h
   20364 
   20365 fi
   20366 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   20367 if test "x$ac_cv_func_getpagesize" = xyes
   20368 then :
   20369   printf "%s\n" "#define HAVE_GETPAGESIZE 1" >>confdefs.h
   20370 
   20371 fi
   20372 
   20373 
   20374 # Link with winsock if mingw target
   20375 case $host_os in
   20376 	*mingw*)
   20377 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20378 printf %s "checking for main in -lws2_32... " >&6; }
   20379 if test ${ac_cv_lib_ws2_32_main+y}
   20380 then :
   20381   printf %s "(cached) " >&6
   20382 else $as_nop
   20383   ac_check_lib_save_LIBS=$LIBS
   20384 LIBS="-lws2_32  $LIBS"
   20385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20386 /* end confdefs.h.  */
   20387 
   20388 
   20389 int
   20390 main (void)
   20391 {
   20392 return main ();
   20393   ;
   20394   return 0;
   20395 }
   20396 _ACEOF
   20397 if ac_fn_c_try_link "$LINENO"
   20398 then :
   20399   ac_cv_lib_ws2_32_main=yes
   20400 else $as_nop
   20401   ac_cv_lib_ws2_32_main=no
   20402 fi
   20403 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20404     conftest$ac_exeext conftest.$ac_ext
   20405 LIBS=$ac_check_lib_save_LIBS
   20406 fi
   20407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20408 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   20409 if test "x$ac_cv_lib_ws2_32_main" = xyes
   20410 then :
   20411   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   20412 
   20413   LIBS="-lws2_32 $LIBS"
   20414 
   20415 fi
   20416 
   20417 	;;
   20418 	*)
   20419 	;;
   20420 esac
   20421 
   20422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C const-support is wanted" >&5
   20423 printf %s "checking if C const-support is wanted... " >&6; }
   20424 # Check whether --enable-const was given.
   20425 if test ${enable_const+y}
   20426 then :
   20427   enableval=$enable_const; USE_CONST="$enableval"
   20428 else $as_nop
   20429   USE_CONST="yes"
   20430 fi
   20431 
   20432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_CONST" >&5
   20433 printf "%s\n" "$USE_CONST" >&6; }
   20434 if test "x$USE_CONST" = "xyes" ; then
   20435 
   20436 printf "%s\n" "#define _CONST_X_STRING 1" >>confdefs.h
   20437 
   20438 fi
   20439 
   20440 # --enable-unit-tests
   20441 
   20442 
   20443 
   20444 
   20445 
   20446 # Check for different types of support on different platforms
   20447 case $host_os in
   20448     solaris*)
   20449         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   20450 printf %s "checking for umem_alloc in -lumem... " >&6; }
   20451 if test ${ac_cv_lib_umem_umem_alloc+y}
   20452 then :
   20453   printf %s "(cached) " >&6
   20454 else $as_nop
   20455   ac_check_lib_save_LIBS=$LIBS
   20456 LIBS="-lumem  $LIBS"
   20457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20458 /* end confdefs.h.  */
   20459 
   20460 /* Override any GCC internal prototype to avoid an error.
   20461    Use char because int might match the return type of a GCC
   20462    builtin and then its argument prototype would still apply.  */
   20463 char umem_alloc ();
   20464 int
   20465 main (void)
   20466 {
   20467 return umem_alloc ();
   20468   ;
   20469   return 0;
   20470 }
   20471 _ACEOF
   20472 if ac_fn_c_try_link "$LINENO"
   20473 then :
   20474   ac_cv_lib_umem_umem_alloc=yes
   20475 else $as_nop
   20476   ac_cv_lib_umem_umem_alloc=no
   20477 fi
   20478 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20479     conftest$ac_exeext conftest.$ac_ext
   20480 LIBS=$ac_check_lib_save_LIBS
   20481 fi
   20482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   20483 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   20484 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   20485 then :
   20486   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   20487 fi
   20488 
   20489         ;;
   20490     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   20491         # both directly and inverted, so should not be 0 or 255.
   20492         malloc_debug_env='MALLOC_PERTURB_=15'
   20493         ;;
   20494     darwin*)
   20495         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   20496         ;;
   20497     *bsd*)
   20498         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   20499         ;;
   20500 esac
   20501 
   20502 # User supplied flags override default flags
   20503 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   20504     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   20505 fi
   20506 
   20507 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   20508 
   20509 
   20510 
   20511 
   20512 
   20513 
   20514 
   20515 # Check whether --enable-unit-tests was given.
   20516 if test ${enable_unit_tests+y}
   20517 then :
   20518   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   20519 else $as_nop
   20520   enable_unit_tests=no
   20521 fi
   20522 
   20523 
   20524  if test "x$enable_unit_tests" != xno; then
   20525   ENABLE_UNIT_TESTS_TRUE=
   20526   ENABLE_UNIT_TESTS_FALSE='#'
   20527 else
   20528   ENABLE_UNIT_TESTS_TRUE='#'
   20529   ENABLE_UNIT_TESTS_FALSE=
   20530 fi
   20531 
   20532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   20533 printf %s "checking whether to build unit test cases... " >&6; }
   20534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   20535 printf "%s\n" "$enable_unit_tests" >&6; }
   20536 
   20537 
   20538 
   20539 
   20540 
   20541 
   20542 # Check for different types of support on different platforms
   20543 case $host_os in
   20544     solaris*)
   20545         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   20546 printf %s "checking for umem_alloc in -lumem... " >&6; }
   20547 if test ${ac_cv_lib_umem_umem_alloc+y}
   20548 then :
   20549   printf %s "(cached) " >&6
   20550 else $as_nop
   20551   ac_check_lib_save_LIBS=$LIBS
   20552 LIBS="-lumem  $LIBS"
   20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20554 /* end confdefs.h.  */
   20555 
   20556 /* Override any GCC internal prototype to avoid an error.
   20557    Use char because int might match the return type of a GCC
   20558    builtin and then its argument prototype would still apply.  */
   20559 char umem_alloc ();
   20560 int
   20561 main (void)
   20562 {
   20563 return umem_alloc ();
   20564   ;
   20565   return 0;
   20566 }
   20567 _ACEOF
   20568 if ac_fn_c_try_link "$LINENO"
   20569 then :
   20570   ac_cv_lib_umem_umem_alloc=yes
   20571 else $as_nop
   20572   ac_cv_lib_umem_umem_alloc=no
   20573 fi
   20574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20575     conftest$ac_exeext conftest.$ac_ext
   20576 LIBS=$ac_check_lib_save_LIBS
   20577 fi
   20578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   20579 printf "%s\n" "$ac_cv_lib_umem_umem_alloc" >&6; }
   20580 if test "x$ac_cv_lib_umem_umem_alloc" = xyes
   20581 then :
   20582   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   20583 fi
   20584 
   20585         ;;
   20586     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   20587         # both directly and inverted, so should not be 0 or 255.
   20588         malloc_debug_env='MALLOC_PERTURB_=15'
   20589         ;;
   20590     darwin*)
   20591         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   20592         ;;
   20593     *bsd*)
   20594         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   20595         ;;
   20596 esac
   20597 
   20598 # User supplied flags override default flags
   20599 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   20600     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   20601 fi
   20602 
   20603 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   20604 
   20605 
   20606 if test "x$enable_unit_tests" != "xno" ; then
   20607 	ac_fn_c_check_func "$LINENO" "malloc_usable_size" "ac_cv_func_malloc_usable_size"
   20608 if test "x$ac_cv_func_malloc_usable_size" = xyes
   20609 then :
   20610   printf "%s\n" "#define HAVE_MALLOC_USABLE_SIZE 1" >>confdefs.h
   20611 
   20612 fi
   20613 
   20614 	ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
   20615 if test "x$ac_cv_header_malloc_h" = xyes
   20616 then :
   20617   printf "%s\n" "#define HAVE_MALLOC_H 1" >>confdefs.h
   20618 
   20619 fi
   20620 
   20621 fi
   20622 
   20623 ac_config_files="$ac_config_files Makefile examples/Makefile include/Makefile man/Makefile specs/Makefile specs/libXaw.ent src/Makefile"
   20624 
   20625 
   20626 if test "x$build_v6" = xyes; then
   20627    ac_config_files="$ac_config_files xaw6.pc"
   20628 
   20629 fi
   20630 
   20631 if test "x$build_v7" = xyes; then
   20632    ac_config_files="$ac_config_files xaw7.pc"
   20633 
   20634 fi
   20635 
   20636 cat >confcache <<\_ACEOF
   20637 # This file is a shell script that caches the results of configure
   20638 # tests run on this system so they can be shared between configure
   20639 # scripts and configure runs, see configure's option --config-cache.
   20640 # It is not useful on other systems.  If it contains results you don't
   20641 # want to keep, you may remove or edit it.
   20642 #
   20643 # config.status only pays attention to the cache file if you give it
   20644 # the --recheck option to rerun configure.
   20645 #
   20646 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20647 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20648 # following values.
   20649 
   20650 _ACEOF
   20651 
   20652 # The following way of writing the cache mishandles newlines in values,
   20653 # but we know of no workaround that is simple, portable, and efficient.
   20654 # So, we kill variables containing newlines.
   20655 # Ultrix sh set writes to stderr and can't be redirected directly,
   20656 # and sets the high bit in the cache file unless we assign to the vars.
   20657 (
   20658   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20659     eval ac_val=\$$ac_var
   20660     case $ac_val in #(
   20661     *${as_nl}*)
   20662       case $ac_var in #(
   20663       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20664 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20665       esac
   20666       case $ac_var in #(
   20667       _ | IFS | as_nl) ;; #(
   20668       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20669       *) { eval $ac_var=; unset $ac_var;} ;;
   20670       esac ;;
   20671     esac
   20672   done
   20673 
   20674   (set) 2>&1 |
   20675     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20676     *${as_nl}ac_space=\ *)
   20677       # `set' does not quote correctly, so add quotes: double-quote
   20678       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20679       sed -n \
   20680 	"s/'/'\\\\''/g;
   20681 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20682       ;; #(
   20683     *)
   20684       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20685       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20686       ;;
   20687     esac |
   20688     sort
   20689 ) |
   20690   sed '
   20691      /^ac_cv_env_/b end
   20692      t clear
   20693      :clear
   20694      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20695      t end
   20696      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20697      :end' >>confcache
   20698 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20699   if test -w "$cache_file"; then
   20700     if test "x$cache_file" != "x/dev/null"; then
   20701       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20702 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20703       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20704 	cat confcache >"$cache_file"
   20705       else
   20706         case $cache_file in #(
   20707         */* | ?:*)
   20708 	  mv -f confcache "$cache_file"$$ &&
   20709 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20710         *)
   20711 	  mv -f confcache "$cache_file" ;;
   20712 	esac
   20713       fi
   20714     fi
   20715   else
   20716     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20717 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20718   fi
   20719 fi
   20720 rm -f confcache
   20721 
   20722 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20723 # Let make expand exec_prefix.
   20724 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20725 
   20726 DEFS=-DHAVE_CONFIG_H
   20727 
   20728 ac_libobjs=
   20729 ac_ltlibobjs=
   20730 U=
   20731 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20732   # 1. Remove the extension, and $U if already installed.
   20733   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20734   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20735   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20736   #    will be set to the directory where LIBOBJS objects are built.
   20737   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20738   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20739 done
   20740 LIBOBJS=$ac_libobjs
   20741 
   20742 LTLIBOBJS=$ac_ltlibobjs
   20743 
   20744 
   20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20746 printf %s "checking that generated files are newer than configure... " >&6; }
   20747    if test -n "$am_sleep_pid"; then
   20748      # Hide warnings about reused PIDs.
   20749      wait $am_sleep_pid 2>/dev/null
   20750    fi
   20751    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20752 printf "%s\n" "done" >&6; }
   20753  if test -n "$EXEEXT"; then
   20754   am__EXEEXT_TRUE=
   20755   am__EXEEXT_FALSE='#'
   20756 else
   20757   am__EXEEXT_TRUE='#'
   20758   am__EXEEXT_FALSE=
   20759 fi
   20760 
   20761 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20762   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20764 fi
   20765 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20766   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20768 fi
   20769 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   20770   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   20771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20772 fi
   20773 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   20774   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   20775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20776 fi
   20777 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   20778   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   20779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20780 fi
   20781 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   20782   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   20783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20784 fi
   20785 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   20786   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   20787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20788 fi
   20789 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   20790   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   20791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20792 fi
   20793 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   20794   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
   20795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20796 fi
   20797 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
   20798   as_fn_error $? "conditional \"PLATFORM_DARWIN\" was never defined.
   20799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20800 fi
   20801 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   20802   as_fn_error $? "conditional \"BUILD_XAW6\" was never defined.
   20803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20804 fi
   20805 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   20806   as_fn_error $? "conditional \"BUILD_XAW7\" was never defined.
   20807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20808 fi
   20809 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   20810   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   20811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20812 fi
   20813 
   20814 : "${CONFIG_STATUS=./config.status}"
   20815 ac_write_fail=0
   20816 ac_clean_files_save=$ac_clean_files
   20817 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20819 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20820 as_write_fail=0
   20821 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20822 #! $SHELL
   20823 # Generated by $as_me.
   20824 # Run this file to recreate the current configuration.
   20825 # Compiler output produced by configure, useful for debugging
   20826 # configure, is in config.log if it exists.
   20827 
   20828 debug=false
   20829 ac_cs_recheck=false
   20830 ac_cs_silent=false
   20831 
   20832 SHELL=\${CONFIG_SHELL-$SHELL}
   20833 export SHELL
   20834 _ASEOF
   20835 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20836 ## -------------------- ##
   20837 ## M4sh Initialization. ##
   20838 ## -------------------- ##
   20839 
   20840 # Be more Bourne compatible
   20841 DUALCASE=1; export DUALCASE # for MKS sh
   20842 as_nop=:
   20843 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20844 then :
   20845   emulate sh
   20846   NULLCMD=:
   20847   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20848   # is contrary to our usage.  Disable this feature.
   20849   alias -g '${1+"$@"}'='"$@"'
   20850   setopt NO_GLOB_SUBST
   20851 else $as_nop
   20852   case `(set -o) 2>/dev/null` in #(
   20853   *posix*) :
   20854     set -o posix ;; #(
   20855   *) :
   20856      ;;
   20857 esac
   20858 fi
   20859 
   20860 
   20861 
   20862 # Reset variables that may have inherited troublesome values from
   20863 # the environment.
   20864 
   20865 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20866 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20867 # side effect of setting IFS to empty, thus disabling word splitting.)
   20868 # Quoting is to prevent editors from complaining about space-tab.
   20869 as_nl='
   20870 '
   20871 export as_nl
   20872 IFS=" ""	$as_nl"
   20873 
   20874 PS1='$ '
   20875 PS2='> '
   20876 PS4='+ '
   20877 
   20878 # Ensure predictable behavior from utilities with locale-dependent output.
   20879 LC_ALL=C
   20880 export LC_ALL
   20881 LANGUAGE=C
   20882 export LANGUAGE
   20883 
   20884 # We cannot yet rely on "unset" to work, but we need these variables
   20885 # to be unset--not just set to an empty or harmless value--now, to
   20886 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20887 # also avoids known problems related to "unset" and subshell syntax
   20888 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20889 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20890 do eval test \${$as_var+y} \
   20891   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20892 done
   20893 
   20894 # Ensure that fds 0, 1, and 2 are open.
   20895 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20896 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20897 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20898 
   20899 # The user is always right.
   20900 if ${PATH_SEPARATOR+false} :; then
   20901   PATH_SEPARATOR=:
   20902   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20903     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20904       PATH_SEPARATOR=';'
   20905   }
   20906 fi
   20907 
   20908 
   20909 # Find who we are.  Look in the path if we contain no directory separator.
   20910 as_myself=
   20911 case $0 in #((
   20912   *[\\/]* ) as_myself=$0 ;;
   20913   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20914 for as_dir in $PATH
   20915 do
   20916   IFS=$as_save_IFS
   20917   case $as_dir in #(((
   20918     '') as_dir=./ ;;
   20919     */) ;;
   20920     *) as_dir=$as_dir/ ;;
   20921   esac
   20922     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20923   done
   20924 IFS=$as_save_IFS
   20925 
   20926      ;;
   20927 esac
   20928 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20929 # in which case we are not to be found in the path.
   20930 if test "x$as_myself" = x; then
   20931   as_myself=$0
   20932 fi
   20933 if test ! -f "$as_myself"; then
   20934   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20935   exit 1
   20936 fi
   20937 
   20938 
   20939 
   20940 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20941 # ----------------------------------------
   20942 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20943 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20944 # script with STATUS, using 1 if that was 0.
   20945 as_fn_error ()
   20946 {
   20947   as_status=$1; test $as_status -eq 0 && as_status=1
   20948   if test "$4"; then
   20949     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20950     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20951   fi
   20952   printf "%s\n" "$as_me: error: $2" >&2
   20953   as_fn_exit $as_status
   20954 } # as_fn_error
   20955 
   20956 
   20957 
   20958 # as_fn_set_status STATUS
   20959 # -----------------------
   20960 # Set $? to STATUS, without forking.
   20961 as_fn_set_status ()
   20962 {
   20963   return $1
   20964 } # as_fn_set_status
   20965 
   20966 # as_fn_exit STATUS
   20967 # -----------------
   20968 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20969 as_fn_exit ()
   20970 {
   20971   set +e
   20972   as_fn_set_status $1
   20973   exit $1
   20974 } # as_fn_exit
   20975 
   20976 # as_fn_unset VAR
   20977 # ---------------
   20978 # Portably unset VAR.
   20979 as_fn_unset ()
   20980 {
   20981   { eval $1=; unset $1;}
   20982 }
   20983 as_unset=as_fn_unset
   20984 
   20985 # as_fn_append VAR VALUE
   20986 # ----------------------
   20987 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20988 # advantage of any shell optimizations that allow amortized linear growth over
   20989 # repeated appends, instead of the typical quadratic growth present in naive
   20990 # implementations.
   20991 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20992 then :
   20993   eval 'as_fn_append ()
   20994   {
   20995     eval $1+=\$2
   20996   }'
   20997 else $as_nop
   20998   as_fn_append ()
   20999   {
   21000     eval $1=\$$1\$2
   21001   }
   21002 fi # as_fn_append
   21003 
   21004 # as_fn_arith ARG...
   21005 # ------------------
   21006 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21007 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21008 # must be portable across $(()) and expr.
   21009 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21010 then :
   21011   eval 'as_fn_arith ()
   21012   {
   21013     as_val=$(( $* ))
   21014   }'
   21015 else $as_nop
   21016   as_fn_arith ()
   21017   {
   21018     as_val=`expr "$@" || test $? -eq 1`
   21019   }
   21020 fi # as_fn_arith
   21021 
   21022 
   21023 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21024    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21025   as_expr=expr
   21026 else
   21027   as_expr=false
   21028 fi
   21029 
   21030 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21031   as_basename=basename
   21032 else
   21033   as_basename=false
   21034 fi
   21035 
   21036 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21037   as_dirname=dirname
   21038 else
   21039   as_dirname=false
   21040 fi
   21041 
   21042 as_me=`$as_basename -- "$0" ||
   21043 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21044 	 X"$0" : 'X\(//\)$' \| \
   21045 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21046 printf "%s\n" X/"$0" |
   21047     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21048 	    s//\1/
   21049 	    q
   21050 	  }
   21051 	  /^X\/\(\/\/\)$/{
   21052 	    s//\1/
   21053 	    q
   21054 	  }
   21055 	  /^X\/\(\/\).*/{
   21056 	    s//\1/
   21057 	    q
   21058 	  }
   21059 	  s/.*/./; q'`
   21060 
   21061 # Avoid depending upon Character Ranges.
   21062 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21063 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21064 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21065 as_cr_digits='0123456789'
   21066 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21067 
   21068 
   21069 # Determine whether it's possible to make 'echo' print without a newline.
   21070 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21071 # for compatibility with existing Makefiles.
   21072 ECHO_C= ECHO_N= ECHO_T=
   21073 case `echo -n x` in #(((((
   21074 -n*)
   21075   case `echo 'xy\c'` in
   21076   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21077   xy)  ECHO_C='\c';;
   21078   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21079        ECHO_T='	';;
   21080   esac;;
   21081 *)
   21082   ECHO_N='-n';;
   21083 esac
   21084 
   21085 # For backward compatibility with old third-party macros, we provide
   21086 # the shell variables $as_echo and $as_echo_n.  New code should use
   21087 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21088 as_echo='printf %s\n'
   21089 as_echo_n='printf %s'
   21090 
   21091 rm -f conf$$ conf$$.exe conf$$.file
   21092 if test -d conf$$.dir; then
   21093   rm -f conf$$.dir/conf$$.file
   21094 else
   21095   rm -f conf$$.dir
   21096   mkdir conf$$.dir 2>/dev/null
   21097 fi
   21098 if (echo >conf$$.file) 2>/dev/null; then
   21099   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21100     as_ln_s='ln -s'
   21101     # ... but there are two gotchas:
   21102     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21103     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21104     # In both cases, we have to default to `cp -pR'.
   21105     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21106       as_ln_s='cp -pR'
   21107   elif ln conf$$.file conf$$ 2>/dev/null; then
   21108     as_ln_s=ln
   21109   else
   21110     as_ln_s='cp -pR'
   21111   fi
   21112 else
   21113   as_ln_s='cp -pR'
   21114 fi
   21115 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21116 rmdir conf$$.dir 2>/dev/null
   21117 
   21118 
   21119 # as_fn_mkdir_p
   21120 # -------------
   21121 # Create "$as_dir" as a directory, including parents if necessary.
   21122 as_fn_mkdir_p ()
   21123 {
   21124 
   21125   case $as_dir in #(
   21126   -*) as_dir=./$as_dir;;
   21127   esac
   21128   test -d "$as_dir" || eval $as_mkdir_p || {
   21129     as_dirs=
   21130     while :; do
   21131       case $as_dir in #(
   21132       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21133       *) as_qdir=$as_dir;;
   21134       esac
   21135       as_dirs="'$as_qdir' $as_dirs"
   21136       as_dir=`$as_dirname -- "$as_dir" ||
   21137 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21138 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21139 	 X"$as_dir" : 'X\(//\)$' \| \
   21140 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21141 printf "%s\n" X"$as_dir" |
   21142     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21143 	    s//\1/
   21144 	    q
   21145 	  }
   21146 	  /^X\(\/\/\)[^/].*/{
   21147 	    s//\1/
   21148 	    q
   21149 	  }
   21150 	  /^X\(\/\/\)$/{
   21151 	    s//\1/
   21152 	    q
   21153 	  }
   21154 	  /^X\(\/\).*/{
   21155 	    s//\1/
   21156 	    q
   21157 	  }
   21158 	  s/.*/./; q'`
   21159       test -d "$as_dir" && break
   21160     done
   21161     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21162   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21163 
   21164 
   21165 } # as_fn_mkdir_p
   21166 if mkdir -p . 2>/dev/null; then
   21167   as_mkdir_p='mkdir -p "$as_dir"'
   21168 else
   21169   test -d ./-p && rmdir ./-p
   21170   as_mkdir_p=false
   21171 fi
   21172 
   21173 
   21174 # as_fn_executable_p FILE
   21175 # -----------------------
   21176 # Test if FILE is an executable regular file.
   21177 as_fn_executable_p ()
   21178 {
   21179   test -f "$1" && test -x "$1"
   21180 } # as_fn_executable_p
   21181 as_test_x='test -x'
   21182 as_executable_p=as_fn_executable_p
   21183 
   21184 # Sed expression to map a string onto a valid CPP name.
   21185 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21186 
   21187 # Sed expression to map a string onto a valid variable name.
   21188 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21189 
   21190 
   21191 exec 6>&1
   21192 ## ----------------------------------- ##
   21193 ## Main body of $CONFIG_STATUS script. ##
   21194 ## ----------------------------------- ##
   21195 _ASEOF
   21196 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21197 
   21198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21199 # Save the log message, to keep $0 and so on meaningful, and to
   21200 # report actual input values of CONFIG_FILES etc. instead of their
   21201 # values after options handling.
   21202 ac_log="
   21203 This file was extended by libXaw $as_me 1.0.16, which was
   21204 generated by GNU Autoconf 2.71.  Invocation command line was
   21205 
   21206   CONFIG_FILES    = $CONFIG_FILES
   21207   CONFIG_HEADERS  = $CONFIG_HEADERS
   21208   CONFIG_LINKS    = $CONFIG_LINKS
   21209   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21210   $ $0 $@
   21211 
   21212 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21213 "
   21214 
   21215 _ACEOF
   21216 
   21217 case $ac_config_files in *"
   21218 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21219 esac
   21220 
   21221 case $ac_config_headers in *"
   21222 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21223 esac
   21224 
   21225 
   21226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21227 # Files that config.status was made for.
   21228 config_files="$ac_config_files"
   21229 config_headers="$ac_config_headers"
   21230 config_commands="$ac_config_commands"
   21231 
   21232 _ACEOF
   21233 
   21234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21235 ac_cs_usage="\
   21236 \`$as_me' instantiates files and other configuration actions
   21237 from templates according to the current configuration.  Unless the files
   21238 and actions are specified as TAGs, all are instantiated by default.
   21239 
   21240 Usage: $0 [OPTION]... [TAG]...
   21241 
   21242   -h, --help       print this help, then exit
   21243   -V, --version    print version number and configuration settings, then exit
   21244       --config     print configuration, then exit
   21245   -q, --quiet, --silent
   21246                    do not print progress messages
   21247   -d, --debug      don't remove temporary files
   21248       --recheck    update $as_me by reconfiguring in the same conditions
   21249       --file=FILE[:TEMPLATE]
   21250                    instantiate the configuration file FILE
   21251       --header=FILE[:TEMPLATE]
   21252                    instantiate the configuration header FILE
   21253 
   21254 Configuration files:
   21255 $config_files
   21256 
   21257 Configuration headers:
   21258 $config_headers
   21259 
   21260 Configuration commands:
   21261 $config_commands
   21262 
   21263 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/issues>."
   21264 
   21265 _ACEOF
   21266 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21267 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21269 ac_cs_config='$ac_cs_config_escaped'
   21270 ac_cs_version="\\
   21271 libXaw config.status 1.0.16
   21272 configured by $0, generated by GNU Autoconf 2.71,
   21273   with options \\"\$ac_cs_config\\"
   21274 
   21275 Copyright (C) 2021 Free Software Foundation, Inc.
   21276 This config.status script is free software; the Free Software Foundation
   21277 gives unlimited permission to copy, distribute and modify it."
   21278 
   21279 ac_pwd='$ac_pwd'
   21280 srcdir='$srcdir'
   21281 INSTALL='$INSTALL'
   21282 MKDIR_P='$MKDIR_P'
   21283 AWK='$AWK'
   21284 test -n "\$AWK" || AWK=awk
   21285 _ACEOF
   21286 
   21287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21288 # The default lists apply if the user does not specify any file.
   21289 ac_need_defaults=:
   21290 while test $# != 0
   21291 do
   21292   case $1 in
   21293   --*=?*)
   21294     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21295     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21296     ac_shift=:
   21297     ;;
   21298   --*=)
   21299     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21300     ac_optarg=
   21301     ac_shift=:
   21302     ;;
   21303   *)
   21304     ac_option=$1
   21305     ac_optarg=$2
   21306     ac_shift=shift
   21307     ;;
   21308   esac
   21309 
   21310   case $ac_option in
   21311   # Handling of the options.
   21312   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21313     ac_cs_recheck=: ;;
   21314   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21315     printf "%s\n" "$ac_cs_version"; exit ;;
   21316   --config | --confi | --conf | --con | --co | --c )
   21317     printf "%s\n" "$ac_cs_config"; exit ;;
   21318   --debug | --debu | --deb | --de | --d | -d )
   21319     debug=: ;;
   21320   --file | --fil | --fi | --f )
   21321     $ac_shift
   21322     case $ac_optarg in
   21323     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21324     '') as_fn_error $? "missing file argument" ;;
   21325     esac
   21326     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21327     ac_need_defaults=false;;
   21328   --header | --heade | --head | --hea )
   21329     $ac_shift
   21330     case $ac_optarg in
   21331     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21332     esac
   21333     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21334     ac_need_defaults=false;;
   21335   --he | --h)
   21336     # Conflict between --help and --header
   21337     as_fn_error $? "ambiguous option: \`$1'
   21338 Try \`$0 --help' for more information.";;
   21339   --help | --hel | -h )
   21340     printf "%s\n" "$ac_cs_usage"; exit ;;
   21341   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21342   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21343     ac_cs_silent=: ;;
   21344 
   21345   # This is an error.
   21346   -*) as_fn_error $? "unrecognized option: \`$1'
   21347 Try \`$0 --help' for more information." ;;
   21348 
   21349   *) as_fn_append ac_config_targets " $1"
   21350      ac_need_defaults=false ;;
   21351 
   21352   esac
   21353   shift
   21354 done
   21355 
   21356 ac_configure_extra_args=
   21357 
   21358 if $ac_cs_silent; then
   21359   exec 6>/dev/null
   21360   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21361 fi
   21362 
   21363 _ACEOF
   21364 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21365 if \$ac_cs_recheck; then
   21366   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21367   shift
   21368   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21369   CONFIG_SHELL='$SHELL'
   21370   export CONFIG_SHELL
   21371   exec "\$@"
   21372 fi
   21373 
   21374 _ACEOF
   21375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21376 exec 5>>config.log
   21377 {
   21378   echo
   21379   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21380 ## Running $as_me. ##
   21381 _ASBOX
   21382   printf "%s\n" "$ac_log"
   21383 } >&5
   21384 
   21385 _ACEOF
   21386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21387 #
   21388 # INIT-COMMANDS
   21389 #
   21390 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21391 
   21392 
   21393 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21394 # if CDPATH is set.
   21395 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21396 
   21397 sed_quote_subst='$sed_quote_subst'
   21398 double_quote_subst='$double_quote_subst'
   21399 delay_variable_subst='$delay_variable_subst'
   21400 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21401 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21402 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21403 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21404 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21405 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21406 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21407 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21408 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21409 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21410 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21411 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21412 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21413 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21414 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21415 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21416 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21417 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21418 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21419 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21420 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21421 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21422 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21423 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21424 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21425 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21426 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21427 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21428 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21429 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21430 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21431 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21432 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21433 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21434 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21435 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21436 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21437 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21438 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21439 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21440 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21441 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21442 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21443 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21444 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21445 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21446 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21447 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21448 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21449 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21450 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21451 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21452 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21453 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21454 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21455 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21456 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21457 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21458 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21459 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21460 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"`'
   21461 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21462 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21463 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21464 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21465 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21466 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21467 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21468 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21469 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21470 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21471 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21472 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21473 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21474 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21475 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21476 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21477 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21478 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21479 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21480 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21481 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21482 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21483 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21484 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21485 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21486 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21487 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21488 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21489 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21490 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21491 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21492 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21493 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21494 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21495 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21496 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21497 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21498 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21499 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21500 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21501 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21502 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21503 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21504 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21505 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21506 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21507 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21508 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21509 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21510 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21511 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21512 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21513 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21514 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21515 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21516 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21517 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21518 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21519 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21520 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21521 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21522 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21523 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21524 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21525 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21526 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21527 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21528 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21529 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21530 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21531 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21532 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21533 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21534 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21535 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21536 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21537 
   21538 LTCC='$LTCC'
   21539 LTCFLAGS='$LTCFLAGS'
   21540 compiler='$compiler_DEFAULT'
   21541 
   21542 # A function that is used when there is no print builtin or printf.
   21543 func_fallback_echo ()
   21544 {
   21545   eval 'cat <<_LTECHO_EOF
   21546 \$1
   21547 _LTECHO_EOF'
   21548 }
   21549 
   21550 # Quote evaled strings.
   21551 for var in SHELL \
   21552 ECHO \
   21553 PATH_SEPARATOR \
   21554 SED \
   21555 GREP \
   21556 EGREP \
   21557 FGREP \
   21558 LD \
   21559 NM \
   21560 LN_S \
   21561 lt_SP2NL \
   21562 lt_NL2SP \
   21563 reload_flag \
   21564 FILECMD \
   21565 OBJDUMP \
   21566 deplibs_check_method \
   21567 file_magic_cmd \
   21568 file_magic_glob \
   21569 want_nocaseglob \
   21570 DLLTOOL \
   21571 sharedlib_from_linklib_cmd \
   21572 AR \
   21573 archiver_list_spec \
   21574 STRIP \
   21575 RANLIB \
   21576 CC \
   21577 CFLAGS \
   21578 compiler \
   21579 lt_cv_sys_global_symbol_pipe \
   21580 lt_cv_sys_global_symbol_to_cdecl \
   21581 lt_cv_sys_global_symbol_to_import \
   21582 lt_cv_sys_global_symbol_to_c_name_address \
   21583 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21584 lt_cv_nm_interface \
   21585 nm_file_list_spec \
   21586 lt_cv_truncate_bin \
   21587 lt_prog_compiler_no_builtin_flag \
   21588 lt_prog_compiler_pic \
   21589 lt_prog_compiler_wl \
   21590 lt_prog_compiler_static \
   21591 lt_cv_prog_compiler_c_o \
   21592 need_locks \
   21593 MANIFEST_TOOL \
   21594 DSYMUTIL \
   21595 NMEDIT \
   21596 LIPO \
   21597 OTOOL \
   21598 OTOOL64 \
   21599 shrext_cmds \
   21600 export_dynamic_flag_spec \
   21601 whole_archive_flag_spec \
   21602 compiler_needs_object \
   21603 with_gnu_ld \
   21604 allow_undefined_flag \
   21605 no_undefined_flag \
   21606 hardcode_libdir_flag_spec \
   21607 hardcode_libdir_separator \
   21608 exclude_expsyms \
   21609 include_expsyms \
   21610 file_list_spec \
   21611 variables_saved_for_relink \
   21612 libname_spec \
   21613 library_names_spec \
   21614 soname_spec \
   21615 install_override_mode \
   21616 finish_eval \
   21617 old_striplib \
   21618 striplib; do
   21619     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21620     *[\\\\\\\`\\"\\\$]*)
   21621       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21622       ;;
   21623     *)
   21624       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21625       ;;
   21626     esac
   21627 done
   21628 
   21629 # Double-quote double-evaled strings.
   21630 for var in reload_cmds \
   21631 old_postinstall_cmds \
   21632 old_postuninstall_cmds \
   21633 old_archive_cmds \
   21634 extract_expsyms_cmds \
   21635 old_archive_from_new_cmds \
   21636 old_archive_from_expsyms_cmds \
   21637 archive_cmds \
   21638 archive_expsym_cmds \
   21639 module_cmds \
   21640 module_expsym_cmds \
   21641 export_symbols_cmds \
   21642 prelink_cmds \
   21643 postlink_cmds \
   21644 postinstall_cmds \
   21645 postuninstall_cmds \
   21646 finish_cmds \
   21647 sys_lib_search_path_spec \
   21648 configure_time_dlsearch_path \
   21649 configure_time_lt_sys_library_path; do
   21650     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21651     *[\\\\\\\`\\"\\\$]*)
   21652       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21653       ;;
   21654     *)
   21655       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21656       ;;
   21657     esac
   21658 done
   21659 
   21660 ac_aux_dir='$ac_aux_dir'
   21661 
   21662 # See if we are running on zsh, and set the options that allow our
   21663 # commands through without removal of \ escapes INIT.
   21664 if test -n "\${ZSH_VERSION+set}"; then
   21665    setopt NO_GLOB_SUBST
   21666 fi
   21667 
   21668 
   21669     PACKAGE='$PACKAGE'
   21670     VERSION='$VERSION'
   21671     RM='$RM'
   21672     ofile='$ofile'
   21673 
   21674 
   21675 
   21676 
   21677 _ACEOF
   21678 
   21679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21680 
   21681 # Handling of arguments.
   21682 for ac_config_target in $ac_config_targets
   21683 do
   21684   case $ac_config_target in
   21685     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21686     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21687     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21688     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   21689     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21690     "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
   21691     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21692     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21693     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   21694     "specs/libXaw.ent") CONFIG_FILES="$CONFIG_FILES specs/libXaw.ent" ;;
   21695     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21696     "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
   21697     "xaw7.pc") CONFIG_FILES="$CONFIG_FILES xaw7.pc" ;;
   21698 
   21699   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21700   esac
   21701 done
   21702 
   21703 
   21704 # If the user did not use the arguments to specify the items to instantiate,
   21705 # then the envvar interface is used.  Set only those that are not.
   21706 # We use the long form for the default assignment because of an extremely
   21707 # bizarre bug on SunOS 4.1.3.
   21708 if $ac_need_defaults; then
   21709   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21710   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21711   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21712 fi
   21713 
   21714 # Have a temporary directory for convenience.  Make it in the build tree
   21715 # simply because there is no reason against having it here, and in addition,
   21716 # creating and moving files from /tmp can sometimes cause problems.
   21717 # Hook for its removal unless debugging.
   21718 # Note that there is a small window in which the directory will not be cleaned:
   21719 # after its creation but before its name has been assigned to `$tmp'.
   21720 $debug ||
   21721 {
   21722   tmp= ac_tmp=
   21723   trap 'exit_status=$?
   21724   : "${ac_tmp:=$tmp}"
   21725   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21726 ' 0
   21727   trap 'as_fn_exit 1' 1 2 13 15
   21728 }
   21729 # Create a (secure) tmp directory for tmp files.
   21730 
   21731 {
   21732   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21733   test -d "$tmp"
   21734 }  ||
   21735 {
   21736   tmp=./conf$$-$RANDOM
   21737   (umask 077 && mkdir "$tmp")
   21738 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21739 ac_tmp=$tmp
   21740 
   21741 # Set up the scripts for CONFIG_FILES section.
   21742 # No need to generate them if there are no CONFIG_FILES.
   21743 # This happens for instance with `./config.status config.h'.
   21744 if test -n "$CONFIG_FILES"; then
   21745 
   21746 
   21747 ac_cr=`echo X | tr X '\015'`
   21748 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21749 # But we know of no other shell where ac_cr would be empty at this
   21750 # point, so we can use a bashism as a fallback.
   21751 if test "x$ac_cr" = x; then
   21752   eval ac_cr=\$\'\\r\'
   21753 fi
   21754 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21755 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21756   ac_cs_awk_cr='\\r'
   21757 else
   21758   ac_cs_awk_cr=$ac_cr
   21759 fi
   21760 
   21761 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21762 _ACEOF
   21763 
   21764 
   21765 {
   21766   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21767   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21768   echo "_ACEOF"
   21769 } >conf$$subs.sh ||
   21770   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21771 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21772 ac_delim='%!_!# '
   21773 for ac_last_try in false false false false false :; do
   21774   . ./conf$$subs.sh ||
   21775     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21776 
   21777   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21778   if test $ac_delim_n = $ac_delim_num; then
   21779     break
   21780   elif $ac_last_try; then
   21781     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21782   else
   21783     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21784   fi
   21785 done
   21786 rm -f conf$$subs.sh
   21787 
   21788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21789 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21790 _ACEOF
   21791 sed -n '
   21792 h
   21793 s/^/S["/; s/!.*/"]=/
   21794 p
   21795 g
   21796 s/^[^!]*!//
   21797 :repl
   21798 t repl
   21799 s/'"$ac_delim"'$//
   21800 t delim
   21801 :nl
   21802 h
   21803 s/\(.\{148\}\)..*/\1/
   21804 t more1
   21805 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21806 p
   21807 n
   21808 b repl
   21809 :more1
   21810 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21811 p
   21812 g
   21813 s/.\{148\}//
   21814 t nl
   21815 :delim
   21816 h
   21817 s/\(.\{148\}\)..*/\1/
   21818 t more2
   21819 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21820 p
   21821 b
   21822 :more2
   21823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21824 p
   21825 g
   21826 s/.\{148\}//
   21827 t delim
   21828 ' <conf$$subs.awk | sed '
   21829 /^[^""]/{
   21830   N
   21831   s/\n//
   21832 }
   21833 ' >>$CONFIG_STATUS || ac_write_fail=1
   21834 rm -f conf$$subs.awk
   21835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21836 _ACAWK
   21837 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21838   for (key in S) S_is_set[key] = 1
   21839   FS = ""
   21840 
   21841 }
   21842 {
   21843   line = $ 0
   21844   nfields = split(line, field, "@")
   21845   substed = 0
   21846   len = length(field[1])
   21847   for (i = 2; i < nfields; i++) {
   21848     key = field[i]
   21849     keylen = length(key)
   21850     if (S_is_set[key]) {
   21851       value = S[key]
   21852       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21853       len += length(value) + length(field[++i])
   21854       substed = 1
   21855     } else
   21856       len += 1 + keylen
   21857   }
   21858 
   21859   print line
   21860 }
   21861 
   21862 _ACAWK
   21863 _ACEOF
   21864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21865 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21866   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21867 else
   21868   cat
   21869 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21870   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21871 _ACEOF
   21872 
   21873 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21874 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21875 # trailing colons and then remove the whole line if VPATH becomes empty
   21876 # (actually we leave an empty line to preserve line numbers).
   21877 if test "x$srcdir" = x.; then
   21878   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21879 h
   21880 s///
   21881 s/^/:/
   21882 s/[	 ]*$/:/
   21883 s/:\$(srcdir):/:/g
   21884 s/:\${srcdir}:/:/g
   21885 s/:@srcdir@:/:/g
   21886 s/^:*//
   21887 s/:*$//
   21888 x
   21889 s/\(=[	 ]*\).*/\1/
   21890 G
   21891 s/\n//
   21892 s/^[^=]*=[	 ]*$//
   21893 }'
   21894 fi
   21895 
   21896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21897 fi # test -n "$CONFIG_FILES"
   21898 
   21899 # Set up the scripts for CONFIG_HEADERS section.
   21900 # No need to generate them if there are no CONFIG_HEADERS.
   21901 # This happens for instance with `./config.status Makefile'.
   21902 if test -n "$CONFIG_HEADERS"; then
   21903 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21904 BEGIN {
   21905 _ACEOF
   21906 
   21907 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21908 # here-document in config.status, that substitutes the proper values into
   21909 # config.h.in to produce config.h.
   21910 
   21911 # Create a delimiter string that does not exist in confdefs.h, to ease
   21912 # handling of long lines.
   21913 ac_delim='%!_!# '
   21914 for ac_last_try in false false :; do
   21915   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21916   if test -z "$ac_tt"; then
   21917     break
   21918   elif $ac_last_try; then
   21919     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21920   else
   21921     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21922   fi
   21923 done
   21924 
   21925 # For the awk script, D is an array of macro values keyed by name,
   21926 # likewise P contains macro parameters if any.  Preserve backslash
   21927 # newline sequences.
   21928 
   21929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21930 sed -n '
   21931 s/.\{148\}/&'"$ac_delim"'/g
   21932 t rset
   21933 :rset
   21934 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21935 t def
   21936 d
   21937 :def
   21938 s/\\$//
   21939 t bsnl
   21940 s/["\\]/\\&/g
   21941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21942 D["\1"]=" \3"/p
   21943 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21944 d
   21945 :bsnl
   21946 s/["\\]/\\&/g
   21947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21948 D["\1"]=" \3\\\\\\n"\\/p
   21949 t cont
   21950 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21951 t cont
   21952 d
   21953 :cont
   21954 n
   21955 s/.\{148\}/&'"$ac_delim"'/g
   21956 t clear
   21957 :clear
   21958 s/\\$//
   21959 t bsnlc
   21960 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21961 d
   21962 :bsnlc
   21963 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21964 b cont
   21965 ' <confdefs.h | sed '
   21966 s/'"$ac_delim"'/"\\\
   21967 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21968 
   21969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21970   for (key in D) D_is_set[key] = 1
   21971   FS = ""
   21972 }
   21973 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21974   line = \$ 0
   21975   split(line, arg, " ")
   21976   if (arg[1] == "#") {
   21977     defundef = arg[2]
   21978     mac1 = arg[3]
   21979   } else {
   21980     defundef = substr(arg[1], 2)
   21981     mac1 = arg[2]
   21982   }
   21983   split(mac1, mac2, "(") #)
   21984   macro = mac2[1]
   21985   prefix = substr(line, 1, index(line, defundef) - 1)
   21986   if (D_is_set[macro]) {
   21987     # Preserve the white space surrounding the "#".
   21988     print prefix "define", macro P[macro] D[macro]
   21989     next
   21990   } else {
   21991     # Replace #undef with comments.  This is necessary, for example,
   21992     # in the case of _POSIX_SOURCE, which is predefined and required
   21993     # on some systems where configure will not decide to define it.
   21994     if (defundef == "undef") {
   21995       print "/*", prefix defundef, macro, "*/"
   21996       next
   21997     }
   21998   }
   21999 }
   22000 { print }
   22001 _ACAWK
   22002 _ACEOF
   22003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22004   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22005 fi # test -n "$CONFIG_HEADERS"
   22006 
   22007 
   22008 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22009 shift
   22010 for ac_tag
   22011 do
   22012   case $ac_tag in
   22013   :[FHLC]) ac_mode=$ac_tag; continue;;
   22014   esac
   22015   case $ac_mode$ac_tag in
   22016   :[FHL]*:*);;
   22017   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22018   :[FH]-) ac_tag=-:-;;
   22019   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22020   esac
   22021   ac_save_IFS=$IFS
   22022   IFS=:
   22023   set x $ac_tag
   22024   IFS=$ac_save_IFS
   22025   shift
   22026   ac_file=$1
   22027   shift
   22028 
   22029   case $ac_mode in
   22030   :L) ac_source=$1;;
   22031   :[FH])
   22032     ac_file_inputs=
   22033     for ac_f
   22034     do
   22035       case $ac_f in
   22036       -) ac_f="$ac_tmp/stdin";;
   22037       *) # Look for the file first in the build tree, then in the source tree
   22038 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22039 	 # because $ac_f cannot contain `:'.
   22040 	 test -f "$ac_f" ||
   22041 	   case $ac_f in
   22042 	   [\\/$]*) false;;
   22043 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22044 	   esac ||
   22045 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22046       esac
   22047       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22048       as_fn_append ac_file_inputs " '$ac_f'"
   22049     done
   22050 
   22051     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22052     # use $as_me), people would be surprised to read:
   22053     #    /* config.h.  Generated by config.status.  */
   22054     configure_input='Generated from '`
   22055 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22056 	`' by configure.'
   22057     if test x"$ac_file" != x-; then
   22058       configure_input="$ac_file.  $configure_input"
   22059       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22060 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22061     fi
   22062     # Neutralize special characters interpreted by sed in replacement strings.
   22063     case $configure_input in #(
   22064     *\&* | *\|* | *\\* )
   22065        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22066        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22067     *) ac_sed_conf_input=$configure_input;;
   22068     esac
   22069 
   22070     case $ac_tag in
   22071     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22072       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22073     esac
   22074     ;;
   22075   esac
   22076 
   22077   ac_dir=`$as_dirname -- "$ac_file" ||
   22078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22079 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22080 	 X"$ac_file" : 'X\(//\)$' \| \
   22081 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22082 printf "%s\n" X"$ac_file" |
   22083     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22084 	    s//\1/
   22085 	    q
   22086 	  }
   22087 	  /^X\(\/\/\)[^/].*/{
   22088 	    s//\1/
   22089 	    q
   22090 	  }
   22091 	  /^X\(\/\/\)$/{
   22092 	    s//\1/
   22093 	    q
   22094 	  }
   22095 	  /^X\(\/\).*/{
   22096 	    s//\1/
   22097 	    q
   22098 	  }
   22099 	  s/.*/./; q'`
   22100   as_dir="$ac_dir"; as_fn_mkdir_p
   22101   ac_builddir=.
   22102 
   22103 case "$ac_dir" in
   22104 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22105 *)
   22106   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22107   # A ".." for each directory in $ac_dir_suffix.
   22108   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22109   case $ac_top_builddir_sub in
   22110   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22111   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22112   esac ;;
   22113 esac
   22114 ac_abs_top_builddir=$ac_pwd
   22115 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22116 # for backward compatibility:
   22117 ac_top_builddir=$ac_top_build_prefix
   22118 
   22119 case $srcdir in
   22120   .)  # We are building in place.
   22121     ac_srcdir=.
   22122     ac_top_srcdir=$ac_top_builddir_sub
   22123     ac_abs_top_srcdir=$ac_pwd ;;
   22124   [\\/]* | ?:[\\/]* )  # Absolute name.
   22125     ac_srcdir=$srcdir$ac_dir_suffix;
   22126     ac_top_srcdir=$srcdir
   22127     ac_abs_top_srcdir=$srcdir ;;
   22128   *) # Relative name.
   22129     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22130     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22131     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22132 esac
   22133 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22134 
   22135 
   22136   case $ac_mode in
   22137   :F)
   22138   #
   22139   # CONFIG_FILE
   22140   #
   22141 
   22142   case $INSTALL in
   22143   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22144   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22145   esac
   22146   ac_MKDIR_P=$MKDIR_P
   22147   case $MKDIR_P in
   22148   [\\/$]* | ?:[\\/]* ) ;;
   22149   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22150   esac
   22151 _ACEOF
   22152 
   22153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22154 # If the template does not know about datarootdir, expand it.
   22155 # FIXME: This hack should be removed a few years after 2.60.
   22156 ac_datarootdir_hack=; ac_datarootdir_seen=
   22157 ac_sed_dataroot='
   22158 /datarootdir/ {
   22159   p
   22160   q
   22161 }
   22162 /@datadir@/p
   22163 /@docdir@/p
   22164 /@infodir@/p
   22165 /@localedir@/p
   22166 /@mandir@/p'
   22167 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22168 *datarootdir*) ac_datarootdir_seen=yes;;
   22169 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22171 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22172 _ACEOF
   22173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22174   ac_datarootdir_hack='
   22175   s&@datadir@&$datadir&g
   22176   s&@docdir@&$docdir&g
   22177   s&@infodir@&$infodir&g
   22178   s&@localedir@&$localedir&g
   22179   s&@mandir@&$mandir&g
   22180   s&\\\${datarootdir}&$datarootdir&g' ;;
   22181 esac
   22182 _ACEOF
   22183 
   22184 # Neutralize VPATH when `$srcdir' = `.'.
   22185 # Shell code in configure.ac might set extrasub.
   22186 # FIXME: do we really want to maintain this feature?
   22187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22188 ac_sed_extra="$ac_vpsub
   22189 $extrasub
   22190 _ACEOF
   22191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22192 :t
   22193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22194 s|@configure_input@|$ac_sed_conf_input|;t t
   22195 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22196 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22197 s&@srcdir@&$ac_srcdir&;t t
   22198 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22199 s&@top_srcdir@&$ac_top_srcdir&;t t
   22200 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22201 s&@builddir@&$ac_builddir&;t t
   22202 s&@abs_builddir@&$ac_abs_builddir&;t t
   22203 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22204 s&@INSTALL@&$ac_INSTALL&;t t
   22205 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22206 $ac_datarootdir_hack
   22207 "
   22208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22209   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22210 
   22211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22212   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22213   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22214       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22216 which seems to be undefined.  Please make sure it is defined" >&5
   22217 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22218 which seems to be undefined.  Please make sure it is defined" >&2;}
   22219 
   22220   rm -f "$ac_tmp/stdin"
   22221   case $ac_file in
   22222   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22223   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22224   esac \
   22225   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22226  ;;
   22227   :H)
   22228   #
   22229   # CONFIG_HEADER
   22230   #
   22231   if test x"$ac_file" != x-; then
   22232     {
   22233       printf "%s\n" "/* $configure_input  */" >&1 \
   22234       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22235     } >"$ac_tmp/config.h" \
   22236       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22237     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22238       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22239 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22240     else
   22241       rm -f "$ac_file"
   22242       mv "$ac_tmp/config.h" "$ac_file" \
   22243 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22244     fi
   22245   else
   22246     printf "%s\n" "/* $configure_input  */" >&1 \
   22247       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22248       || as_fn_error $? "could not create -" "$LINENO" 5
   22249   fi
   22250 # Compute "$ac_file"'s index in $config_headers.
   22251 _am_arg="$ac_file"
   22252 _am_stamp_count=1
   22253 for _am_header in $config_headers :; do
   22254   case $_am_header in
   22255     $_am_arg | $_am_arg:* )
   22256       break ;;
   22257     * )
   22258       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22259   esac
   22260 done
   22261 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22262 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22263 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22264 	 X"$_am_arg" : 'X\(//\)$' \| \
   22265 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22266 printf "%s\n" X"$_am_arg" |
   22267     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22268 	    s//\1/
   22269 	    q
   22270 	  }
   22271 	  /^X\(\/\/\)[^/].*/{
   22272 	    s//\1/
   22273 	    q
   22274 	  }
   22275 	  /^X\(\/\/\)$/{
   22276 	    s//\1/
   22277 	    q
   22278 	  }
   22279 	  /^X\(\/\).*/{
   22280 	    s//\1/
   22281 	    q
   22282 	  }
   22283 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22284  ;;
   22285 
   22286   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22287 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22288  ;;
   22289   esac
   22290 
   22291 
   22292   case $ac_file$ac_mode in
   22293     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22294   # Older Autoconf quotes --file arguments for eval, but not when files
   22295   # are listed without --file.  Let's play safe and only enable the eval
   22296   # if we detect the quoting.
   22297   # TODO: see whether this extra hack can be removed once we start
   22298   # requiring Autoconf 2.70 or later.
   22299   case $CONFIG_FILES in #(
   22300   *\'*) :
   22301     eval set x "$CONFIG_FILES" ;; #(
   22302   *) :
   22303     set x $CONFIG_FILES ;; #(
   22304   *) :
   22305      ;;
   22306 esac
   22307   shift
   22308   # Used to flag and report bootstrapping failures.
   22309   am_rc=0
   22310   for am_mf
   22311   do
   22312     # Strip MF so we end up with the name of the file.
   22313     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22314     # Check whether this is an Automake generated Makefile which includes
   22315     # dependency-tracking related rules and includes.
   22316     # Grep'ing the whole file directly is not great: AIX grep has a line
   22317     # limit of 2048, but all sed's we know have understand at least 4000.
   22318     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22319       || continue
   22320     am_dirpart=`$as_dirname -- "$am_mf" ||
   22321 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22322 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22323 	 X"$am_mf" : 'X\(//\)$' \| \
   22324 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22325 printf "%s\n" X"$am_mf" |
   22326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22327 	    s//\1/
   22328 	    q
   22329 	  }
   22330 	  /^X\(\/\/\)[^/].*/{
   22331 	    s//\1/
   22332 	    q
   22333 	  }
   22334 	  /^X\(\/\/\)$/{
   22335 	    s//\1/
   22336 	    q
   22337 	  }
   22338 	  /^X\(\/\).*/{
   22339 	    s//\1/
   22340 	    q
   22341 	  }
   22342 	  s/.*/./; q'`
   22343     am_filepart=`$as_basename -- "$am_mf" ||
   22344 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22345 	 X"$am_mf" : 'X\(//\)$' \| \
   22346 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22347 printf "%s\n" X/"$am_mf" |
   22348     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22349 	    s//\1/
   22350 	    q
   22351 	  }
   22352 	  /^X\/\(\/\/\)$/{
   22353 	    s//\1/
   22354 	    q
   22355 	  }
   22356 	  /^X\/\(\/\).*/{
   22357 	    s//\1/
   22358 	    q
   22359 	  }
   22360 	  s/.*/./; q'`
   22361     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22362       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22363         | $MAKE -f - am--depfiles" >&5
   22364    (cd "$am_dirpart" \
   22365       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22366         | $MAKE -f - am--depfiles) >&5 2>&5
   22367    ac_status=$?
   22368    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22369    (exit $ac_status); } || am_rc=$?
   22370   done
   22371   if test $am_rc -ne 0; then
   22372     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22373 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22374 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22375     for automatic dependency tracking.  If GNU make was not used, consider
   22376     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22377     necessary).  You can also try re-running configure with the
   22378     '--disable-dependency-tracking' option to at least be able to build
   22379     the package (albeit without support for automatic dependency tracking).
   22380 See \`config.log' for more details" "$LINENO" 5; }
   22381   fi
   22382   { am_dirpart=; unset am_dirpart;}
   22383   { am_filepart=; unset am_filepart;}
   22384   { am_mf=; unset am_mf;}
   22385   { am_rc=; unset am_rc;}
   22386   rm -f conftest-deps.mk
   22387 }
   22388  ;;
   22389     "libtool":C)
   22390 
   22391     # See if we are running on zsh, and set the options that allow our
   22392     # commands through without removal of \ escapes.
   22393     if test -n "${ZSH_VERSION+set}"; then
   22394       setopt NO_GLOB_SUBST
   22395     fi
   22396 
   22397     cfgfile=${ofile}T
   22398     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22399     $RM "$cfgfile"
   22400 
   22401     cat <<_LT_EOF >> "$cfgfile"
   22402 #! $SHELL
   22403 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22404 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22405 
   22406 # Provide generalized library-building support services.
   22407 # Written by Gordon Matzigkeit, 1996
   22408 
   22409 # Copyright (C) 2014 Free Software Foundation, Inc.
   22410 # This is free software; see the source for copying conditions.  There is NO
   22411 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22412 
   22413 # GNU Libtool is free software; you can redistribute it and/or modify
   22414 # it under the terms of the GNU General Public License as published by
   22415 # the Free Software Foundation; either version 2 of of the License, or
   22416 # (at your option) any later version.
   22417 #
   22418 # As a special exception to the GNU General Public License, if you
   22419 # distribute this file as part of a program or library that is built
   22420 # using GNU Libtool, you may include this file under the  same
   22421 # distribution terms that you use for the rest of that program.
   22422 #
   22423 # GNU Libtool is distributed in the hope that it will be useful, but
   22424 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22425 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22426 # GNU General Public License for more details.
   22427 #
   22428 # You should have received a copy of the GNU General Public License
   22429 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22430 
   22431 
   22432 # The names of the tagged configurations supported by this script.
   22433 available_tags=''
   22434 
   22435 # Configured defaults for sys_lib_dlsearch_path munging.
   22436 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22437 
   22438 # ### BEGIN LIBTOOL CONFIG
   22439 
   22440 # Which release of libtool.m4 was used?
   22441 macro_version=$macro_version
   22442 macro_revision=$macro_revision
   22443 
   22444 # Whether or not to build shared libraries.
   22445 build_libtool_libs=$enable_shared
   22446 
   22447 # Whether or not to build static libraries.
   22448 build_old_libs=$enable_static
   22449 
   22450 # What type of objects to build.
   22451 pic_mode=$pic_mode
   22452 
   22453 # Whether or not to optimize for fast installation.
   22454 fast_install=$enable_fast_install
   22455 
   22456 # Shared archive member basename,for filename based shared library versioning on AIX.
   22457 shared_archive_member_spec=$shared_archive_member_spec
   22458 
   22459 # Shell to use when invoking shell scripts.
   22460 SHELL=$lt_SHELL
   22461 
   22462 # An echo program that protects backslashes.
   22463 ECHO=$lt_ECHO
   22464 
   22465 # The PATH separator for the build system.
   22466 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22467 
   22468 # The host system.
   22469 host_alias=$host_alias
   22470 host=$host
   22471 host_os=$host_os
   22472 
   22473 # The build system.
   22474 build_alias=$build_alias
   22475 build=$build
   22476 build_os=$build_os
   22477 
   22478 # A sed program that does not truncate output.
   22479 SED=$lt_SED
   22480 
   22481 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22482 Xsed="\$SED -e 1s/^X//"
   22483 
   22484 # A grep program that handles long lines.
   22485 GREP=$lt_GREP
   22486 
   22487 # An ERE matcher.
   22488 EGREP=$lt_EGREP
   22489 
   22490 # A literal string matcher.
   22491 FGREP=$lt_FGREP
   22492 
   22493 # A BSD- or MS-compatible name lister.
   22494 NM=$lt_NM
   22495 
   22496 # Whether we need soft or hard links.
   22497 LN_S=$lt_LN_S
   22498 
   22499 # What is the maximum length of a command?
   22500 max_cmd_len=$max_cmd_len
   22501 
   22502 # Object file suffix (normally "o").
   22503 objext=$ac_objext
   22504 
   22505 # Executable file suffix (normally "").
   22506 exeext=$exeext
   22507 
   22508 # whether the shell understands "unset".
   22509 lt_unset=$lt_unset
   22510 
   22511 # turn spaces into newlines.
   22512 SP2NL=$lt_lt_SP2NL
   22513 
   22514 # turn newlines into spaces.
   22515 NL2SP=$lt_lt_NL2SP
   22516 
   22517 # convert \$build file names to \$host format.
   22518 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22519 
   22520 # convert \$build files to toolchain format.
   22521 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22522 
   22523 # A file(cmd) program that detects file types.
   22524 FILECMD=$lt_FILECMD
   22525 
   22526 # An object symbol dumper.
   22527 OBJDUMP=$lt_OBJDUMP
   22528 
   22529 # Method to check whether dependent libraries are shared objects.
   22530 deplibs_check_method=$lt_deplibs_check_method
   22531 
   22532 # Command to use when deplibs_check_method = "file_magic".
   22533 file_magic_cmd=$lt_file_magic_cmd
   22534 
   22535 # How to find potential files when deplibs_check_method = "file_magic".
   22536 file_magic_glob=$lt_file_magic_glob
   22537 
   22538 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22539 want_nocaseglob=$lt_want_nocaseglob
   22540 
   22541 # DLL creation program.
   22542 DLLTOOL=$lt_DLLTOOL
   22543 
   22544 # Command to associate shared and link libraries.
   22545 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22546 
   22547 # The archiver.
   22548 AR=$lt_AR
   22549 
   22550 # Flags to create an archive (by configure).
   22551 lt_ar_flags=$lt_ar_flags
   22552 
   22553 # Flags to create an archive.
   22554 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22555 
   22556 # How to feed a file listing to the archiver.
   22557 archiver_list_spec=$lt_archiver_list_spec
   22558 
   22559 # A symbol stripping program.
   22560 STRIP=$lt_STRIP
   22561 
   22562 # Commands used to install an old-style archive.
   22563 RANLIB=$lt_RANLIB
   22564 old_postinstall_cmds=$lt_old_postinstall_cmds
   22565 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22566 
   22567 # Whether to use a lock for old archive extraction.
   22568 lock_old_archive_extraction=$lock_old_archive_extraction
   22569 
   22570 # A C compiler.
   22571 LTCC=$lt_CC
   22572 
   22573 # LTCC compiler flags.
   22574 LTCFLAGS=$lt_CFLAGS
   22575 
   22576 # Take the output of nm and produce a listing of raw symbols and C names.
   22577 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22578 
   22579 # Transform the output of nm in a proper C declaration.
   22580 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22581 
   22582 # Transform the output of nm into a list of symbols to manually relocate.
   22583 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22584 
   22585 # Transform the output of nm in a C name address pair.
   22586 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22587 
   22588 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22589 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22590 
   22591 # The name lister interface.
   22592 nm_interface=$lt_lt_cv_nm_interface
   22593 
   22594 # Specify filename containing input files for \$NM.
   22595 nm_file_list_spec=$lt_nm_file_list_spec
   22596 
   22597 # The root where to search for dependent libraries,and where our libraries should be installed.
   22598 lt_sysroot=$lt_sysroot
   22599 
   22600 # Command to truncate a binary pipe.
   22601 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22602 
   22603 # The name of the directory that contains temporary libtool files.
   22604 objdir=$objdir
   22605 
   22606 # Used to examine libraries when file_magic_cmd begins with "file".
   22607 MAGIC_CMD=$MAGIC_CMD
   22608 
   22609 # Must we lock files when doing compilation?
   22610 need_locks=$lt_need_locks
   22611 
   22612 # Manifest tool.
   22613 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22614 
   22615 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22616 DSYMUTIL=$lt_DSYMUTIL
   22617 
   22618 # Tool to change global to local symbols on Mac OS X.
   22619 NMEDIT=$lt_NMEDIT
   22620 
   22621 # Tool to manipulate fat objects and archives on Mac OS X.
   22622 LIPO=$lt_LIPO
   22623 
   22624 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22625 OTOOL=$lt_OTOOL
   22626 
   22627 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22628 OTOOL64=$lt_OTOOL64
   22629 
   22630 # Old archive suffix (normally "a").
   22631 libext=$libext
   22632 
   22633 # Shared library suffix (normally ".so").
   22634 shrext_cmds=$lt_shrext_cmds
   22635 
   22636 # The commands to extract the exported symbol list from a shared archive.
   22637 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22638 
   22639 # Variables whose values should be saved in libtool wrapper scripts and
   22640 # restored at link time.
   22641 variables_saved_for_relink=$lt_variables_saved_for_relink
   22642 
   22643 # Do we need the "lib" prefix for modules?
   22644 need_lib_prefix=$need_lib_prefix
   22645 
   22646 # Do we need a version for libraries?
   22647 need_version=$need_version
   22648 
   22649 # Library versioning type.
   22650 version_type=$version_type
   22651 
   22652 # Shared library runtime path variable.
   22653 runpath_var=$runpath_var
   22654 
   22655 # Shared library path variable.
   22656 shlibpath_var=$shlibpath_var
   22657 
   22658 # Is shlibpath searched before the hard-coded library search path?
   22659 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22660 
   22661 # Format of library name prefix.
   22662 libname_spec=$lt_libname_spec
   22663 
   22664 # List of archive names.  First name is the real one, the rest are links.
   22665 # The last name is the one that the linker finds with -lNAME
   22666 library_names_spec=$lt_library_names_spec
   22667 
   22668 # The coded name of the library, if different from the real name.
   22669 soname_spec=$lt_soname_spec
   22670 
   22671 # Permission mode override for installation of shared libraries.
   22672 install_override_mode=$lt_install_override_mode
   22673 
   22674 # Command to use after installation of a shared archive.
   22675 postinstall_cmds=$lt_postinstall_cmds
   22676 
   22677 # Command to use after uninstallation of a shared archive.
   22678 postuninstall_cmds=$lt_postuninstall_cmds
   22679 
   22680 # Commands used to finish a libtool library installation in a directory.
   22681 finish_cmds=$lt_finish_cmds
   22682 
   22683 # As "finish_cmds", except a single script fragment to be evaled but
   22684 # not shown.
   22685 finish_eval=$lt_finish_eval
   22686 
   22687 # Whether we should hardcode library paths into libraries.
   22688 hardcode_into_libs=$hardcode_into_libs
   22689 
   22690 # Compile-time system search path for libraries.
   22691 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22692 
   22693 # Detected run-time system search path for libraries.
   22694 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22695 
   22696 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22697 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22698 
   22699 # Whether dlopen is supported.
   22700 dlopen_support=$enable_dlopen
   22701 
   22702 # Whether dlopen of programs is supported.
   22703 dlopen_self=$enable_dlopen_self
   22704 
   22705 # Whether dlopen of statically linked programs is supported.
   22706 dlopen_self_static=$enable_dlopen_self_static
   22707 
   22708 # Commands to strip libraries.
   22709 old_striplib=$lt_old_striplib
   22710 striplib=$lt_striplib
   22711 
   22712 
   22713 # The linker used to build libraries.
   22714 LD=$lt_LD
   22715 
   22716 # How to create reloadable object files.
   22717 reload_flag=$lt_reload_flag
   22718 reload_cmds=$lt_reload_cmds
   22719 
   22720 # Commands used to build an old-style archive.
   22721 old_archive_cmds=$lt_old_archive_cmds
   22722 
   22723 # A language specific compiler.
   22724 CC=$lt_compiler
   22725 
   22726 # Is the compiler the GNU compiler?
   22727 with_gcc=$GCC
   22728 
   22729 # Compiler flag to turn off builtin functions.
   22730 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22731 
   22732 # Additional compiler flags for building library objects.
   22733 pic_flag=$lt_lt_prog_compiler_pic
   22734 
   22735 # How to pass a linker flag through the compiler.
   22736 wl=$lt_lt_prog_compiler_wl
   22737 
   22738 # Compiler flag to prevent dynamic linking.
   22739 link_static_flag=$lt_lt_prog_compiler_static
   22740 
   22741 # Does compiler simultaneously support -c and -o options?
   22742 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22743 
   22744 # Whether or not to add -lc for building shared libraries.
   22745 build_libtool_need_lc=$archive_cmds_need_lc
   22746 
   22747 # Whether or not to disallow shared libs when runtime libs are static.
   22748 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22749 
   22750 # Compiler flag to allow reflexive dlopens.
   22751 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22752 
   22753 # Compiler flag to generate shared objects directly from archives.
   22754 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22755 
   22756 # Whether the compiler copes with passing no objects directly.
   22757 compiler_needs_object=$lt_compiler_needs_object
   22758 
   22759 # Create an old-style archive from a shared archive.
   22760 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22761 
   22762 # Create a temporary old-style archive to link instead of a shared archive.
   22763 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22764 
   22765 # Commands used to build a shared archive.
   22766 archive_cmds=$lt_archive_cmds
   22767 archive_expsym_cmds=$lt_archive_expsym_cmds
   22768 
   22769 # Commands used to build a loadable module if different from building
   22770 # a shared archive.
   22771 module_cmds=$lt_module_cmds
   22772 module_expsym_cmds=$lt_module_expsym_cmds
   22773 
   22774 # Whether we are building with GNU ld or not.
   22775 with_gnu_ld=$lt_with_gnu_ld
   22776 
   22777 # Flag that allows shared libraries with undefined symbols to be built.
   22778 allow_undefined_flag=$lt_allow_undefined_flag
   22779 
   22780 # Flag that enforces no undefined symbols.
   22781 no_undefined_flag=$lt_no_undefined_flag
   22782 
   22783 # Flag to hardcode \$libdir into a binary during linking.
   22784 # This must work even if \$libdir does not exist
   22785 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22786 
   22787 # Whether we need a single "-rpath" flag with a separated argument.
   22788 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22789 
   22790 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22791 # DIR into the resulting binary.
   22792 hardcode_direct=$hardcode_direct
   22793 
   22794 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22795 # DIR into the resulting binary and the resulting library dependency is
   22796 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22797 # library is relocated.
   22798 hardcode_direct_absolute=$hardcode_direct_absolute
   22799 
   22800 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22801 # into the resulting binary.
   22802 hardcode_minus_L=$hardcode_minus_L
   22803 
   22804 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22805 # into the resulting binary.
   22806 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22807 
   22808 # Set to "yes" if building a shared library automatically hardcodes DIR
   22809 # into the library and all subsequent libraries and executables linked
   22810 # against it.
   22811 hardcode_automatic=$hardcode_automatic
   22812 
   22813 # Set to yes if linker adds runtime paths of dependent libraries
   22814 # to runtime path list.
   22815 inherit_rpath=$inherit_rpath
   22816 
   22817 # Whether libtool must link a program against all its dependency libraries.
   22818 link_all_deplibs=$link_all_deplibs
   22819 
   22820 # Set to "yes" if exported symbols are required.
   22821 always_export_symbols=$always_export_symbols
   22822 
   22823 # The commands to list exported symbols.
   22824 export_symbols_cmds=$lt_export_symbols_cmds
   22825 
   22826 # Symbols that should not be listed in the preloaded symbols.
   22827 exclude_expsyms=$lt_exclude_expsyms
   22828 
   22829 # Symbols that must always be exported.
   22830 include_expsyms=$lt_include_expsyms
   22831 
   22832 # Commands necessary for linking programs (against libraries) with templates.
   22833 prelink_cmds=$lt_prelink_cmds
   22834 
   22835 # Commands necessary for finishing linking programs.
   22836 postlink_cmds=$lt_postlink_cmds
   22837 
   22838 # Specify filename containing input files.
   22839 file_list_spec=$lt_file_list_spec
   22840 
   22841 # How to hardcode a shared library path into an executable.
   22842 hardcode_action=$hardcode_action
   22843 
   22844 # ### END LIBTOOL CONFIG
   22845 
   22846 _LT_EOF
   22847 
   22848     cat <<'_LT_EOF' >> "$cfgfile"
   22849 
   22850 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22851 
   22852 # func_munge_path_list VARIABLE PATH
   22853 # -----------------------------------
   22854 # VARIABLE is name of variable containing _space_ separated list of
   22855 # directories to be munged by the contents of PATH, which is string
   22856 # having a format:
   22857 # "DIR[:DIR]:"
   22858 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22859 # ":DIR[:DIR]"
   22860 #       string "DIR[ DIR]" will be appended to VARIABLE
   22861 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22862 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22863 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22864 # "DIR[:DIR]"
   22865 #       VARIABLE will be replaced by "DIR[ DIR]"
   22866 func_munge_path_list ()
   22867 {
   22868     case x$2 in
   22869     x)
   22870         ;;
   22871     *:)
   22872         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22873         ;;
   22874     x:*)
   22875         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22876         ;;
   22877     *::*)
   22878         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22879         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22880         ;;
   22881     *)
   22882         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22883         ;;
   22884     esac
   22885 }
   22886 
   22887 
   22888 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22889 func_cc_basename ()
   22890 {
   22891     for cc_temp in $*""; do
   22892       case $cc_temp in
   22893         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22894         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22895         \-*) ;;
   22896         *) break;;
   22897       esac
   22898     done
   22899     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22900 }
   22901 
   22902 
   22903 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22904 
   22905 _LT_EOF
   22906 
   22907   case $host_os in
   22908   aix3*)
   22909     cat <<\_LT_EOF >> "$cfgfile"
   22910 # AIX sometimes has problems with the GCC collect2 program.  For some
   22911 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22912 # vanish in a puff of smoke.
   22913 if test set != "${COLLECT_NAMES+set}"; then
   22914   COLLECT_NAMES=
   22915   export COLLECT_NAMES
   22916 fi
   22917 _LT_EOF
   22918     ;;
   22919   esac
   22920 
   22921 
   22922 
   22923 ltmain=$ac_aux_dir/ltmain.sh
   22924 
   22925 
   22926   # We use sed instead of cat because bash on DJGPP gets confused if
   22927   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22928   # text mode, it properly converts lines to CR/LF.  This bash problem
   22929   # is reportedly fixed, but why not run on old versions too?
   22930   $SED '$q' "$ltmain" >> "$cfgfile" \
   22931      || (rm -f "$cfgfile"; exit 1)
   22932 
   22933    mv -f "$cfgfile" "$ofile" ||
   22934     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22935   chmod +x "$ofile"
   22936 
   22937  ;;
   22938     "libtool_hack":C)
   22939 	cp -f libtool libtool_
   22940 	test -z "$SED" && SED=sed
   22941 	$SED '1,/^soname_spec/{
   22942 /^soname_spec/i\
   22943 # X.Org hack to match monolithic Xaw SONAME\
   22944 xorglibxawname="libXaw"
   22945 /^soname_spec/s/libname/xorglibxawname/
   22946 }' libtool_ > libtool
   22947 	rm -f libtool_
   22948  ;;
   22949 
   22950   esac
   22951 done # for ac_tag
   22952 
   22953 
   22954 as_fn_exit 0
   22955 _ACEOF
   22956 ac_clean_files=$ac_clean_files_save
   22957 
   22958 test $ac_write_fail = 0 ||
   22959   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22960 
   22961 
   22962 # configure is writing to config.log, and then calls config.status.
   22963 # config.status does its own redirection, appending to config.log.
   22964 # Unfortunately, on DOS this fails, as config.log is still kept open
   22965 # by configure, so config.status won't be able to write to it; its
   22966 # output is simply discarded.  So we exec the FD to /dev/null,
   22967 # effectively closing config.log, so it can be properly (re)opened and
   22968 # appended to by config.status.  When coming back to configure, we
   22969 # need to make the FD available again.
   22970 if test "$no_create" != yes; then
   22971   ac_cs_success=:
   22972   ac_config_status_args=
   22973   test "$silent" = yes &&
   22974     ac_config_status_args="$ac_config_status_args --quiet"
   22975   exec 5>/dev/null
   22976   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22977   exec 5>>config.log
   22978   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22979   # would make configure fail if this is the last instruction.
   22980   $ac_cs_success || as_fn_exit 1
   22981 fi
   22982 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22984 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22985 fi
   22986 
   22987 
   22988