Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.11
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXaw 1.0.15.
      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.15'
    686 PACKAGE_STRING='libXaw 1.0.15'
    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 BUILD_XAW7_FALSE
    728 BUILD_XAW7_TRUE
    729 BUILD_XAW6_FALSE
    730 BUILD_XAW6_TRUE
    731 XAW7_LIBS
    732 XAW7_CFLAGS
    733 XAW6_LIBS
    734 XAW6_CFLAGS
    735 PLATFORM_DARWIN_FALSE
    736 PLATFORM_DARWIN_TRUE
    737 PLATFORM_WIN32_FALSE
    738 PLATFORM_WIN32_TRUE
    739 LIBEXT
    740 HAVE_STYLESHEETS_FALSE
    741 HAVE_STYLESHEETS_TRUE
    742 XSL_STYLESHEET
    743 STYLESHEET_SRCDIR
    744 XORG_SGML_PATH
    745 HAVE_XSLTPROC_FALSE
    746 HAVE_XSLTPROC_TRUE
    747 XSLTPROC
    748 HAVE_FOP_FALSE
    749 HAVE_FOP_TRUE
    750 FOP
    751 HAVE_XMLTO_FALSE
    752 HAVE_XMLTO_TRUE
    753 HAVE_XMLTO_TEXT_FALSE
    754 HAVE_XMLTO_TEXT_TRUE
    755 XMLTO
    756 ENABLE_SPECS_FALSE
    757 ENABLE_SPECS_TRUE
    758 MAN_SUBSTS
    759 XORG_MAN_PAGE
    760 ADMIN_MAN_DIR
    761 DRIVER_MAN_DIR
    762 MISC_MAN_DIR
    763 FILE_MAN_DIR
    764 LIB_MAN_DIR
    765 APP_MAN_DIR
    766 ADMIN_MAN_SUFFIX
    767 DRIVER_MAN_SUFFIX
    768 MISC_MAN_SUFFIX
    769 FILE_MAN_SUFFIX
    770 LIB_MAN_SUFFIX
    771 APP_MAN_SUFFIX
    772 INSTALL_CMD
    773 PKG_CONFIG_LIBDIR
    774 PKG_CONFIG_PATH
    775 PKG_CONFIG
    776 CHANGELOG_CMD
    777 STRICT_CFLAGS
    778 CWARNFLAGS
    779 BASE_CFLAGS
    780 LT_SYS_LIBRARY_PATH
    781 OTOOL64
    782 OTOOL
    783 LIPO
    784 NMEDIT
    785 DSYMUTIL
    786 MANIFEST_TOOL
    787 RANLIB
    788 ac_ct_AR
    789 AR
    790 DLLTOOL
    791 OBJDUMP
    792 FILECMD
    793 LN_S
    794 NM
    795 ac_ct_DUMPBIN
    796 DUMPBIN
    797 LD
    798 FGREP
    799 EGREP
    800 GREP
    801 SED
    802 am__fastdepCC_FALSE
    803 am__fastdepCC_TRUE
    804 CCDEPMODE
    805 am__nodep
    806 AMDEPBACKSLASH
    807 AMDEP_FALSE
    808 AMDEP_TRUE
    809 am__include
    810 DEPDIR
    811 OBJEXT
    812 EXEEXT
    813 ac_ct_CC
    814 CPPFLAGS
    815 LDFLAGS
    816 CFLAGS
    817 CC
    818 host_os
    819 host_vendor
    820 host_cpu
    821 host
    822 build_os
    823 build_vendor
    824 build_cpu
    825 build
    826 LIBTOOL
    827 AM_BACKSLASH
    828 AM_DEFAULT_VERBOSITY
    829 AM_DEFAULT_V
    830 AM_V
    831 CSCOPE
    832 ETAGS
    833 CTAGS
    834 am__untar
    835 am__tar
    836 AMTAR
    837 am__leading_dot
    838 SET_MAKE
    839 AWK
    840 mkdir_p
    841 MKDIR_P
    842 INSTALL_STRIP_PROGRAM
    843 STRIP
    844 install_sh
    845 MAKEINFO
    846 AUTOHEADER
    847 AUTOMAKE
    848 AUTOCONF
    849 ACLOCAL
    850 VERSION
    851 PACKAGE
    852 CYGPATH_W
    853 am__isrc
    854 INSTALL_DATA
    855 INSTALL_SCRIPT
    856 INSTALL_PROGRAM
    857 target_alias
    858 host_alias
    859 build_alias
    860 LIBS
    861 ECHO_T
    862 ECHO_N
    863 ECHO_C
    864 DEFS
    865 mandir
    866 localedir
    867 libdir
    868 psdir
    869 pdfdir
    870 dvidir
    871 htmldir
    872 infodir
    873 docdir
    874 oldincludedir
    875 includedir
    876 runstatedir
    877 localstatedir
    878 sharedstatedir
    879 sysconfdir
    880 datadir
    881 datarootdir
    882 libexecdir
    883 sbindir
    884 bindir
    885 program_transform_name
    886 prefix
    887 exec_prefix
    888 PACKAGE_URL
    889 PACKAGE_BUGREPORT
    890 PACKAGE_STRING
    891 PACKAGE_VERSION
    892 PACKAGE_TARNAME
    893 PACKAGE_NAME
    894 PATH_SEPARATOR
    895 SHELL
    896 am__quote'
    897 ac_subst_files=''
    898 ac_user_opts='
    899 enable_option_checking
    900 enable_silent_rules
    901 enable_shared
    902 enable_static
    903 with_pic
    904 enable_fast_install
    905 with_aix_soname
    906 enable_dependency_tracking
    907 with_gnu_ld
    908 with_sysroot
    909 enable_libtool_lock
    910 enable_selective_werror
    911 enable_strict_compilation
    912 enable_specs
    913 with_xmlto
    914 with_fop
    915 with_xsltproc
    916 enable_xaw6
    917 enable_xaw7
    918 enable_const
    919 '
    920       ac_precious_vars='build_alias
    921 host_alias
    922 target_alias
    923 CC
    924 CFLAGS
    925 LDFLAGS
    926 LIBS
    927 CPPFLAGS
    928 LT_SYS_LIBRARY_PATH
    929 PKG_CONFIG
    930 PKG_CONFIG_PATH
    931 PKG_CONFIG_LIBDIR
    932 XMLTO
    933 FOP
    934 XSLTPROC
    935 XAW6_CFLAGS
    936 XAW6_LIBS
    937 XAW7_CFLAGS
    938 XAW7_LIBS'
    939 
    940 
    941 # Initialize some variables set by options.
    942 ac_init_help=
    943 ac_init_version=false
    944 ac_unrecognized_opts=
    945 ac_unrecognized_sep=
    946 # The variables have the same names as the options, with
    947 # dashes changed to underlines.
    948 cache_file=/dev/null
    949 exec_prefix=NONE
    950 no_create=
    951 no_recursion=
    952 prefix=NONE
    953 program_prefix=NONE
    954 program_suffix=NONE
    955 program_transform_name=s,x,x,
    956 silent=
    957 site=
    958 srcdir=
    959 verbose=
    960 x_includes=NONE
    961 x_libraries=NONE
    962 
    963 # Installation directory options.
    964 # These are left unexpanded so users can "make install exec_prefix=/foo"
    965 # and all the variables that are supposed to be based on exec_prefix
    966 # by default will actually change.
    967 # Use braces instead of parens because sh, perl, etc. also accept them.
    968 # (The list follows the same order as the GNU Coding Standards.)
    969 bindir='${exec_prefix}/bin'
    970 sbindir='${exec_prefix}/sbin'
    971 libexecdir='${exec_prefix}/libexec'
    972 datarootdir='${prefix}/share'
    973 datadir='${datarootdir}'
    974 sysconfdir='${prefix}/etc'
    975 sharedstatedir='${prefix}/com'
    976 localstatedir='${prefix}/var'
    977 runstatedir='${localstatedir}/run'
    978 includedir='${prefix}/include'
    979 oldincludedir='/usr/include'
    980 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    981 infodir='${datarootdir}/info'
    982 htmldir='${docdir}'
    983 dvidir='${docdir}'
    984 pdfdir='${docdir}'
    985 psdir='${docdir}'
    986 libdir='${exec_prefix}/lib'
    987 localedir='${datarootdir}/locale'
    988 mandir='${datarootdir}/man'
    989 
    990 ac_prev=
    991 ac_dashdash=
    992 for ac_option
    993 do
    994   # If the previous option needs an argument, assign it.
    995   if test -n "$ac_prev"; then
    996     eval $ac_prev=\$ac_option
    997     ac_prev=
    998     continue
    999   fi
   1000 
   1001   case $ac_option in
   1002   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1003   *=)   ac_optarg= ;;
   1004   *)    ac_optarg=yes ;;
   1005   esac
   1006 
   1007   case $ac_dashdash$ac_option in
   1008   --)
   1009     ac_dashdash=yes ;;
   1010 
   1011   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1012     ac_prev=bindir ;;
   1013   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1014     bindir=$ac_optarg ;;
   1015 
   1016   -build | --build | --buil | --bui | --bu)
   1017     ac_prev=build_alias ;;
   1018   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1019     build_alias=$ac_optarg ;;
   1020 
   1021   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1022   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1023     ac_prev=cache_file ;;
   1024   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1025   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1026     cache_file=$ac_optarg ;;
   1027 
   1028   --config-cache | -C)
   1029     cache_file=config.cache ;;
   1030 
   1031   -datadir | --datadir | --datadi | --datad)
   1032     ac_prev=datadir ;;
   1033   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1034     datadir=$ac_optarg ;;
   1035 
   1036   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1037   | --dataroo | --dataro | --datar)
   1038     ac_prev=datarootdir ;;
   1039   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1040   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1041     datarootdir=$ac_optarg ;;
   1042 
   1043   -disable-* | --disable-*)
   1044     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1045     # Reject names that are not valid shell variable names.
   1046     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1047       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1048     ac_useropt_orig=$ac_useropt
   1049     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1050     case $ac_user_opts in
   1051       *"
   1052 "enable_$ac_useropt"
   1053 "*) ;;
   1054       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1055 	 ac_unrecognized_sep=', ';;
   1056     esac
   1057     eval enable_$ac_useropt=no ;;
   1058 
   1059   -docdir | --docdir | --docdi | --doc | --do)
   1060     ac_prev=docdir ;;
   1061   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1062     docdir=$ac_optarg ;;
   1063 
   1064   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1065     ac_prev=dvidir ;;
   1066   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1067     dvidir=$ac_optarg ;;
   1068 
   1069   -enable-* | --enable-*)
   1070     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1071     # Reject names that are not valid shell variable names.
   1072     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1073       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1074     ac_useropt_orig=$ac_useropt
   1075     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1076     case $ac_user_opts in
   1077       *"
   1078 "enable_$ac_useropt"
   1079 "*) ;;
   1080       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1081 	 ac_unrecognized_sep=', ';;
   1082     esac
   1083     eval enable_$ac_useropt=\$ac_optarg ;;
   1084 
   1085   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1086   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1087   | --exec | --exe | --ex)
   1088     ac_prev=exec_prefix ;;
   1089   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1090   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1091   | --exec=* | --exe=* | --ex=*)
   1092     exec_prefix=$ac_optarg ;;
   1093 
   1094   -gas | --gas | --ga | --g)
   1095     # Obsolete; use --with-gas.
   1096     with_gas=yes ;;
   1097 
   1098   -help | --help | --hel | --he | -h)
   1099     ac_init_help=long ;;
   1100   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1101     ac_init_help=recursive ;;
   1102   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1103     ac_init_help=short ;;
   1104 
   1105   -host | --host | --hos | --ho)
   1106     ac_prev=host_alias ;;
   1107   -host=* | --host=* | --hos=* | --ho=*)
   1108     host_alias=$ac_optarg ;;
   1109 
   1110   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1111     ac_prev=htmldir ;;
   1112   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1113   | --ht=*)
   1114     htmldir=$ac_optarg ;;
   1115 
   1116   -includedir | --includedir | --includedi | --included | --include \
   1117   | --includ | --inclu | --incl | --inc)
   1118     ac_prev=includedir ;;
   1119   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1120   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1121     includedir=$ac_optarg ;;
   1122 
   1123   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1124     ac_prev=infodir ;;
   1125   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1126     infodir=$ac_optarg ;;
   1127 
   1128   -libdir | --libdir | --libdi | --libd)
   1129     ac_prev=libdir ;;
   1130   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1131     libdir=$ac_optarg ;;
   1132 
   1133   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1134   | --libexe | --libex | --libe)
   1135     ac_prev=libexecdir ;;
   1136   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1137   | --libexe=* | --libex=* | --libe=*)
   1138     libexecdir=$ac_optarg ;;
   1139 
   1140   -localedir | --localedir | --localedi | --localed | --locale)
   1141     ac_prev=localedir ;;
   1142   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1143     localedir=$ac_optarg ;;
   1144 
   1145   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1146   | --localstate | --localstat | --localsta | --localst | --locals)
   1147     ac_prev=localstatedir ;;
   1148   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1149   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1150     localstatedir=$ac_optarg ;;
   1151 
   1152   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1153     ac_prev=mandir ;;
   1154   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1155     mandir=$ac_optarg ;;
   1156 
   1157   -nfp | --nfp | --nf)
   1158     # Obsolete; use --without-fp.
   1159     with_fp=no ;;
   1160 
   1161   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1162   | --no-cr | --no-c | -n)
   1163     no_create=yes ;;
   1164 
   1165   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1166   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1167     no_recursion=yes ;;
   1168 
   1169   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1170   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1171   | --oldin | --oldi | --old | --ol | --o)
   1172     ac_prev=oldincludedir ;;
   1173   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1174   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1175   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1176     oldincludedir=$ac_optarg ;;
   1177 
   1178   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1179     ac_prev=prefix ;;
   1180   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1181     prefix=$ac_optarg ;;
   1182 
   1183   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1184   | --program-pre | --program-pr | --program-p)
   1185     ac_prev=program_prefix ;;
   1186   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1187   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1188     program_prefix=$ac_optarg ;;
   1189 
   1190   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1191   | --program-suf | --program-su | --program-s)
   1192     ac_prev=program_suffix ;;
   1193   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1194   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1195     program_suffix=$ac_optarg ;;
   1196 
   1197   -program-transform-name | --program-transform-name \
   1198   | --program-transform-nam | --program-transform-na \
   1199   | --program-transform-n | --program-transform- \
   1200   | --program-transform | --program-transfor \
   1201   | --program-transfo | --program-transf \
   1202   | --program-trans | --program-tran \
   1203   | --progr-tra | --program-tr | --program-t)
   1204     ac_prev=program_transform_name ;;
   1205   -program-transform-name=* | --program-transform-name=* \
   1206   | --program-transform-nam=* | --program-transform-na=* \
   1207   | --program-transform-n=* | --program-transform-=* \
   1208   | --program-transform=* | --program-transfor=* \
   1209   | --program-transfo=* | --program-transf=* \
   1210   | --program-trans=* | --program-tran=* \
   1211   | --progr-tra=* | --program-tr=* | --program-t=*)
   1212     program_transform_name=$ac_optarg ;;
   1213 
   1214   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1215     ac_prev=pdfdir ;;
   1216   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1217     pdfdir=$ac_optarg ;;
   1218 
   1219   -psdir | --psdir | --psdi | --psd | --ps)
   1220     ac_prev=psdir ;;
   1221   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1222     psdir=$ac_optarg ;;
   1223 
   1224   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1225   | -silent | --silent | --silen | --sile | --sil)
   1226     silent=yes ;;
   1227 
   1228   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1229   | --runstate | --runstat | --runsta | --runst | --runs \
   1230   | --run | --ru | --r)
   1231     ac_prev=runstatedir ;;
   1232   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1233   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1234   | --run=* | --ru=* | --r=*)
   1235     runstatedir=$ac_optarg ;;
   1236 
   1237   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1238     ac_prev=sbindir ;;
   1239   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1240   | --sbi=* | --sb=*)
   1241     sbindir=$ac_optarg ;;
   1242 
   1243   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1244   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1245   | --sharedst | --shareds | --shared | --share | --shar \
   1246   | --sha | --sh)
   1247     ac_prev=sharedstatedir ;;
   1248   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1249   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1250   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1251   | --sha=* | --sh=*)
   1252     sharedstatedir=$ac_optarg ;;
   1253 
   1254   -site | --site | --sit)
   1255     ac_prev=site ;;
   1256   -site=* | --site=* | --sit=*)
   1257     site=$ac_optarg ;;
   1258 
   1259   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1260     ac_prev=srcdir ;;
   1261   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1262     srcdir=$ac_optarg ;;
   1263 
   1264   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1265   | --syscon | --sysco | --sysc | --sys | --sy)
   1266     ac_prev=sysconfdir ;;
   1267   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1268   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1269     sysconfdir=$ac_optarg ;;
   1270 
   1271   -target | --target | --targe | --targ | --tar | --ta | --t)
   1272     ac_prev=target_alias ;;
   1273   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1274     target_alias=$ac_optarg ;;
   1275 
   1276   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1277     verbose=yes ;;
   1278 
   1279   -version | --version | --versio | --versi | --vers | -V)
   1280     ac_init_version=: ;;
   1281 
   1282   -with-* | --with-*)
   1283     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1284     # Reject names that are not valid shell variable names.
   1285     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1286       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1287     ac_useropt_orig=$ac_useropt
   1288     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1289     case $ac_user_opts in
   1290       *"
   1291 "with_$ac_useropt"
   1292 "*) ;;
   1293       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1294 	 ac_unrecognized_sep=', ';;
   1295     esac
   1296     eval with_$ac_useropt=\$ac_optarg ;;
   1297 
   1298   -without-* | --without-*)
   1299     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1300     # Reject names that are not valid shell variable names.
   1301     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1302       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1303     ac_useropt_orig=$ac_useropt
   1304     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1305     case $ac_user_opts in
   1306       *"
   1307 "with_$ac_useropt"
   1308 "*) ;;
   1309       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1310 	 ac_unrecognized_sep=', ';;
   1311     esac
   1312     eval with_$ac_useropt=no ;;
   1313 
   1314   --x)
   1315     # Obsolete; use --with-x.
   1316     with_x=yes ;;
   1317 
   1318   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1319   | --x-incl | --x-inc | --x-in | --x-i)
   1320     ac_prev=x_includes ;;
   1321   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1322   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1323     x_includes=$ac_optarg ;;
   1324 
   1325   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1326   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1327     ac_prev=x_libraries ;;
   1328   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1329   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1330     x_libraries=$ac_optarg ;;
   1331 
   1332   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1333 Try \`$0 --help' for more information"
   1334     ;;
   1335 
   1336   *=*)
   1337     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1338     # Reject names that are not valid shell variable names.
   1339     case $ac_envvar in #(
   1340       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1341       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1342     esac
   1343     eval $ac_envvar=\$ac_optarg
   1344     export $ac_envvar ;;
   1345 
   1346   *)
   1347     # FIXME: should be removed in autoconf 3.0.
   1348     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1349     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1350       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1351     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1352     ;;
   1353 
   1354   esac
   1355 done
   1356 
   1357 if test -n "$ac_prev"; then
   1358   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1359   as_fn_error $? "missing argument to $ac_option"
   1360 fi
   1361 
   1362 if test -n "$ac_unrecognized_opts"; then
   1363   case $enable_option_checking in
   1364     no) ;;
   1365     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1366     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1367   esac
   1368 fi
   1369 
   1370 # Check all directory arguments for consistency.
   1371 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1372 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1373 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1374 		libdir localedir mandir runstatedir
   1375 do
   1376   eval ac_val=\$$ac_var
   1377   # Remove trailing slashes.
   1378   case $ac_val in
   1379     */ )
   1380       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1381       eval $ac_var=\$ac_val;;
   1382   esac
   1383   # Be sure to have absolute directory names.
   1384   case $ac_val in
   1385     [\\/$]* | ?:[\\/]* )  continue;;
   1386     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1387   esac
   1388   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1389 done
   1390 
   1391 # There might be people who depend on the old broken behavior: `$host'
   1392 # used to hold the argument of --host etc.
   1393 # FIXME: To remove some day.
   1394 build=$build_alias
   1395 host=$host_alias
   1396 target=$target_alias
   1397 
   1398 # FIXME: To remove some day.
   1399 if test "x$host_alias" != x; then
   1400   if test "x$build_alias" = x; then
   1401     cross_compiling=maybe
   1402   elif test "x$build_alias" != "x$host_alias"; then
   1403     cross_compiling=yes
   1404   fi
   1405 fi
   1406 
   1407 ac_tool_prefix=
   1408 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1409 
   1410 test "$silent" = yes && exec 6>/dev/null
   1411 
   1412 
   1413 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1414 ac_ls_di=`ls -di .` &&
   1415 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1416   as_fn_error $? "working directory cannot be determined"
   1417 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1418   as_fn_error $? "pwd does not report name of working directory"
   1419 
   1420 
   1421 # Find the source files, if location was not specified.
   1422 if test -z "$srcdir"; then
   1423   ac_srcdir_defaulted=yes
   1424   # Try the directory containing this script, then the parent directory.
   1425   ac_confdir=`$as_dirname -- "$as_myself" ||
   1426 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1427 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1428 	 X"$as_myself" : 'X\(//\)$' \| \
   1429 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1430 printf "%s\n" X"$as_myself" |
   1431     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1432 	    s//\1/
   1433 	    q
   1434 	  }
   1435 	  /^X\(\/\/\)[^/].*/{
   1436 	    s//\1/
   1437 	    q
   1438 	  }
   1439 	  /^X\(\/\/\)$/{
   1440 	    s//\1/
   1441 	    q
   1442 	  }
   1443 	  /^X\(\/\).*/{
   1444 	    s//\1/
   1445 	    q
   1446 	  }
   1447 	  s/.*/./; q'`
   1448   srcdir=$ac_confdir
   1449   if test ! -r "$srcdir/$ac_unique_file"; then
   1450     srcdir=..
   1451   fi
   1452 else
   1453   ac_srcdir_defaulted=no
   1454 fi
   1455 if test ! -r "$srcdir/$ac_unique_file"; then
   1456   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1457   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1458 fi
   1459 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1460 ac_abs_confdir=`(
   1461 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1462 	pwd)`
   1463 # When building in place, set srcdir=.
   1464 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1465   srcdir=.
   1466 fi
   1467 # Remove unnecessary trailing slashes from srcdir.
   1468 # Double slashes in file names in object file debugging info
   1469 # mess up M-x gdb in Emacs.
   1470 case $srcdir in
   1471 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1472 esac
   1473 for ac_var in $ac_precious_vars; do
   1474   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1475   eval ac_env_${ac_var}_value=\$${ac_var}
   1476   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1477   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1478 done
   1479 
   1480 #
   1481 # Report the --help message.
   1482 #
   1483 if test "$ac_init_help" = "long"; then
   1484   # Omit some internal or obsolete options to make the list less imposing.
   1485   # This message is too long to be a string in the A/UX 3.1 sh.
   1486   cat <<_ACEOF
   1487 \`configure' configures libXaw 1.0.15 to adapt to many kinds of systems.
   1488 
   1489 Usage: $0 [OPTION]... [VAR=VALUE]...
   1490 
   1491 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1492 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1493 
   1494 Defaults for the options are specified in brackets.
   1495 
   1496 Configuration:
   1497   -h, --help              display this help and exit
   1498       --help=short        display options specific to this package
   1499       --help=recursive    display the short help of all the included packages
   1500   -V, --version           display version information and exit
   1501   -q, --quiet, --silent   do not print \`checking ...' messages
   1502       --cache-file=FILE   cache test results in FILE [disabled]
   1503   -C, --config-cache      alias for \`--cache-file=config.cache'
   1504   -n, --no-create         do not create output files
   1505       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1506 
   1507 Installation directories:
   1508   --prefix=PREFIX         install architecture-independent files in PREFIX
   1509                           [$ac_default_prefix]
   1510   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1511                           [PREFIX]
   1512 
   1513 By default, \`make install' will install all the files in
   1514 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1515 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1516 for instance \`--prefix=\$HOME'.
   1517 
   1518 For better control, use the options below.
   1519 
   1520 Fine tuning of the installation directories:
   1521   --bindir=DIR            user executables [EPREFIX/bin]
   1522   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1523   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1524   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1525   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1526   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1527   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1528   --libdir=DIR            object code libraries [EPREFIX/lib]
   1529   --includedir=DIR        C header files [PREFIX/include]
   1530   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1531   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1532   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1533   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1534   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1535   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1536   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXaw]
   1537   --htmldir=DIR           html documentation [DOCDIR]
   1538   --dvidir=DIR            dvi documentation [DOCDIR]
   1539   --pdfdir=DIR            pdf documentation [DOCDIR]
   1540   --psdir=DIR             ps documentation [DOCDIR]
   1541 _ACEOF
   1542 
   1543   cat <<\_ACEOF
   1544 
   1545 Program names:
   1546   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1547   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1548   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1549 
   1550 System types:
   1551   --build=BUILD     configure for building on BUILD [guessed]
   1552   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1553 _ACEOF
   1554 fi
   1555 
   1556 if test -n "$ac_init_help"; then
   1557   case $ac_init_help in
   1558      short | recursive ) echo "Configuration of libXaw 1.0.15:";;
   1559    esac
   1560   cat <<\_ACEOF
   1561 
   1562 Optional Features:
   1563   --disable-option-checking  ignore unrecognized --enable/--with options
   1564   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1565   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1566   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1567   --disable-silent-rules  verbose build output (undo: "make V=0")
   1568   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1569   --enable-static[=PKGS]  build static libraries [default=yes]
   1570   --enable-fast-install[=PKGS]
   1571                           optimize for fast installation [default=yes]
   1572   --enable-dependency-tracking
   1573                           do not reject slow dependency extractors
   1574   --disable-dependency-tracking
   1575                           speeds up one-time build
   1576   --disable-libtool-lock  avoid locking (might break parallel builds)
   1577   --disable-selective-werror
   1578                           Turn off selective compiler errors. (default:
   1579                           enabled)
   1580   --enable-strict-compilation
   1581                           Enable all warnings from compiler and make them
   1582                           errors (default: disabled)
   1583   --enable-specs          Enable building the specs (default: yes)
   1584   --disable-xaw6          Disable building of libXaw.so.6
   1585   --disable-xaw7          Disable building of libXaw.so.7
   1586   --disable-const         Disable const-support
   1587 
   1588 Optional Packages:
   1589   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1590   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1591   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1592                           both]
   1593   --with-aix-soname=aix|svr4|both
   1594                           shared library versioning (aka "SONAME") variant to
   1595                           provide on AIX, [default=aix].
   1596   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1597   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1598                           compiler's sysroot if not specified).
   1599   --with-xmlto            Use xmlto to regenerate documentation (default:
   1600                           auto)
   1601   --with-fop              Use fop to regenerate documentation (default: auto)
   1602   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1603                           (default: auto)
   1604 
   1605 Some influential environment variables:
   1606   CC          C compiler command
   1607   CFLAGS      C compiler flags
   1608   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1609               nonstandard directory <lib dir>
   1610   LIBS        libraries to pass to the linker, e.g. -l<library>
   1611   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1612               you have headers in a nonstandard directory <include dir>
   1613   LT_SYS_LIBRARY_PATH
   1614               User-defined run-time library search path.
   1615   PKG_CONFIG  path to pkg-config utility
   1616   PKG_CONFIG_PATH
   1617               directories to add to pkg-config's search path
   1618   PKG_CONFIG_LIBDIR
   1619               path overriding pkg-config's built-in search path
   1620   XMLTO       Path to xmlto command
   1621   FOP         Path to fop command
   1622   XSLTPROC    Path to xsltproc command
   1623   XAW6_CFLAGS C compiler flags for XAW6, overriding pkg-config
   1624   XAW6_LIBS   linker flags for XAW6, overriding pkg-config
   1625   XAW7_CFLAGS C compiler flags for XAW7, overriding pkg-config
   1626   XAW7_LIBS   linker flags for XAW7, overriding pkg-config
   1627 
   1628 Use these variables to override the choices made by `configure' or to help
   1629 it to find libraries and programs with nonstandard names/locations.
   1630 
   1631 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/issues>.
   1632 _ACEOF
   1633 ac_status=$?
   1634 fi
   1635 
   1636 if test "$ac_init_help" = "recursive"; then
   1637   # If there are subdirs, report their specific --help.
   1638   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1639     test -d "$ac_dir" ||
   1640       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1641       continue
   1642     ac_builddir=.
   1643 
   1644 case "$ac_dir" in
   1645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1646 *)
   1647   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1648   # A ".." for each directory in $ac_dir_suffix.
   1649   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1650   case $ac_top_builddir_sub in
   1651   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1652   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1653   esac ;;
   1654 esac
   1655 ac_abs_top_builddir=$ac_pwd
   1656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1657 # for backward compatibility:
   1658 ac_top_builddir=$ac_top_build_prefix
   1659 
   1660 case $srcdir in
   1661   .)  # We are building in place.
   1662     ac_srcdir=.
   1663     ac_top_srcdir=$ac_top_builddir_sub
   1664     ac_abs_top_srcdir=$ac_pwd ;;
   1665   [\\/]* | ?:[\\/]* )  # Absolute name.
   1666     ac_srcdir=$srcdir$ac_dir_suffix;
   1667     ac_top_srcdir=$srcdir
   1668     ac_abs_top_srcdir=$srcdir ;;
   1669   *) # Relative name.
   1670     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1671     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1672     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1673 esac
   1674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1675 
   1676     cd "$ac_dir" || { ac_status=$?; continue; }
   1677     # Check for configure.gnu first; this name is used for a wrapper for
   1678     # Metaconfig's "Configure" on case-insensitive file systems.
   1679     if test -f "$ac_srcdir/configure.gnu"; then
   1680       echo &&
   1681       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1682     elif test -f "$ac_srcdir/configure"; then
   1683       echo &&
   1684       $SHELL "$ac_srcdir/configure" --help=recursive
   1685     else
   1686       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1687     fi || ac_status=$?
   1688     cd "$ac_pwd" || { ac_status=$?; break; }
   1689   done
   1690 fi
   1691 
   1692 test -n "$ac_init_help" && exit $ac_status
   1693 if $ac_init_version; then
   1694   cat <<\_ACEOF
   1695 libXaw configure 1.0.15
   1696 generated by GNU Autoconf 2.71
   1697 
   1698 Copyright (C) 2021 Free Software Foundation, Inc.
   1699 This configure script is free software; the Free Software Foundation
   1700 gives unlimited permission to copy, distribute and modify it.
   1701 _ACEOF
   1702   exit
   1703 fi
   1704 
   1705 ## ------------------------ ##
   1706 ## Autoconf initialization. ##
   1707 ## ------------------------ ##
   1708 
   1709 # ac_fn_c_try_compile LINENO
   1710 # --------------------------
   1711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1712 ac_fn_c_try_compile ()
   1713 {
   1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1715   rm -f conftest.$ac_objext conftest.beam
   1716   if { { ac_try="$ac_compile"
   1717 case "(($ac_try" in
   1718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1719   *) ac_try_echo=$ac_try;;
   1720 esac
   1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1722 printf "%s\n" "$ac_try_echo"; } >&5
   1723   (eval "$ac_compile") 2>conftest.err
   1724   ac_status=$?
   1725   if test -s conftest.err; then
   1726     grep -v '^ *+' conftest.err >conftest.er1
   1727     cat conftest.er1 >&5
   1728     mv -f conftest.er1 conftest.err
   1729   fi
   1730   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1731   test $ac_status = 0; } && {
   1732 	 test -z "$ac_c_werror_flag" ||
   1733 	 test ! -s conftest.err
   1734        } && test -s conftest.$ac_objext
   1735 then :
   1736   ac_retval=0
   1737 else $as_nop
   1738   printf "%s\n" "$as_me: failed program was:" >&5
   1739 sed 's/^/| /' conftest.$ac_ext >&5
   1740 
   1741 	ac_retval=1
   1742 fi
   1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1744   as_fn_set_status $ac_retval
   1745 
   1746 } # ac_fn_c_try_compile
   1747 
   1748 # ac_fn_c_try_link LINENO
   1749 # -----------------------
   1750 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1751 ac_fn_c_try_link ()
   1752 {
   1753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1754   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1755   if { { ac_try="$ac_link"
   1756 case "(($ac_try" in
   1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1758   *) ac_try_echo=$ac_try;;
   1759 esac
   1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1761 printf "%s\n" "$ac_try_echo"; } >&5
   1762   (eval "$ac_link") 2>conftest.err
   1763   ac_status=$?
   1764   if test -s conftest.err; then
   1765     grep -v '^ *+' conftest.err >conftest.er1
   1766     cat conftest.er1 >&5
   1767     mv -f conftest.er1 conftest.err
   1768   fi
   1769   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1770   test $ac_status = 0; } && {
   1771 	 test -z "$ac_c_werror_flag" ||
   1772 	 test ! -s conftest.err
   1773        } && test -s conftest$ac_exeext && {
   1774 	 test "$cross_compiling" = yes ||
   1775 	 test -x conftest$ac_exeext
   1776        }
   1777 then :
   1778   ac_retval=0
   1779 else $as_nop
   1780   printf "%s\n" "$as_me: failed program was:" >&5
   1781 sed 's/^/| /' conftest.$ac_ext >&5
   1782 
   1783 	ac_retval=1
   1784 fi
   1785   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1786   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1787   # interfere with the next link command; also delete a directory that is
   1788   # left behind by Apple's compiler.  We do this before executing the actions.
   1789   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791   as_fn_set_status $ac_retval
   1792 
   1793 } # ac_fn_c_try_link
   1794 
   1795 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1796 # -------------------------------------------------------
   1797 # Tests whether HEADER exists and can be compiled using the include files in
   1798 # INCLUDES, setting the cache variable VAR accordingly.
   1799 ac_fn_c_check_header_compile ()
   1800 {
   1801   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1803 printf %s "checking for $2... " >&6; }
   1804 if eval test \${$3+y}
   1805 then :
   1806   printf %s "(cached) " >&6
   1807 else $as_nop
   1808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1809 /* end confdefs.h.  */
   1810 $4
   1811 #include <$2>
   1812 _ACEOF
   1813 if ac_fn_c_try_compile "$LINENO"
   1814 then :
   1815   eval "$3=yes"
   1816 else $as_nop
   1817   eval "$3=no"
   1818 fi
   1819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1820 fi
   1821 eval ac_res=\$$3
   1822 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1823 printf "%s\n" "$ac_res" >&6; }
   1824   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1825 
   1826 } # ac_fn_c_check_header_compile
   1827 
   1828 # ac_fn_c_check_func LINENO FUNC VAR
   1829 # ----------------------------------
   1830 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1831 ac_fn_c_check_func ()
   1832 {
   1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1835 printf %s "checking for $2... " >&6; }
   1836 if eval test \${$3+y}
   1837 then :
   1838   printf %s "(cached) " >&6
   1839 else $as_nop
   1840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1841 /* end confdefs.h.  */
   1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1844 #define $2 innocuous_$2
   1845 
   1846 /* System header to define __stub macros and hopefully few prototypes,
   1847    which can conflict with char $2 (); below.  */
   1848 
   1849 #include <limits.h>
   1850 #undef $2
   1851 
   1852 /* Override any GCC internal prototype to avoid an error.
   1853    Use char because int might match the return type of a GCC
   1854    builtin and then its argument prototype would still apply.  */
   1855 #ifdef __cplusplus
   1856 extern "C"
   1857 #endif
   1858 char $2 ();
   1859 /* The GNU C library defines this for functions which it implements
   1860     to always fail with ENOSYS.  Some functions are actually named
   1861     something starting with __ and the normal name is an alias.  */
   1862 #if defined __stub_$2 || defined __stub___$2
   1863 choke me
   1864 #endif
   1865 
   1866 int
   1867 main (void)
   1868 {
   1869 return $2 ();
   1870   ;
   1871   return 0;
   1872 }
   1873 _ACEOF
   1874 if ac_fn_c_try_link "$LINENO"
   1875 then :
   1876   eval "$3=yes"
   1877 else $as_nop
   1878   eval "$3=no"
   1879 fi
   1880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1881     conftest$ac_exeext conftest.$ac_ext
   1882 fi
   1883 eval ac_res=\$$3
   1884 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1885 printf "%s\n" "$ac_res" >&6; }
   1886   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1887 
   1888 } # ac_fn_c_check_func
   1889 
   1890 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1891 # ------------------------------------------------------------------
   1892 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1893 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1894 ac_fn_check_decl ()
   1895 {
   1896   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1897   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1899 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1900 if eval test \${$3+y}
   1901 then :
   1902   printf %s "(cached) " >&6
   1903 else $as_nop
   1904   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1905   eval ac_save_FLAGS=\$$6
   1906   as_fn_append $6 " $5"
   1907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1908 /* end confdefs.h.  */
   1909 $4
   1910 int
   1911 main (void)
   1912 {
   1913 #ifndef $as_decl_name
   1914 #ifdef __cplusplus
   1915   (void) $as_decl_use;
   1916 #else
   1917   (void) $as_decl_name;
   1918 #endif
   1919 #endif
   1920 
   1921   ;
   1922   return 0;
   1923 }
   1924 _ACEOF
   1925 if ac_fn_c_try_compile "$LINENO"
   1926 then :
   1927   eval "$3=yes"
   1928 else $as_nop
   1929   eval "$3=no"
   1930 fi
   1931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1932   eval $6=\$ac_save_FLAGS
   1933 
   1934 fi
   1935 eval ac_res=\$$3
   1936 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1937 printf "%s\n" "$ac_res" >&6; }
   1938   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1939 
   1940 } # ac_fn_check_decl
   1941 ac_configure_args_raw=
   1942 for ac_arg
   1943 do
   1944   case $ac_arg in
   1945   *\'*)
   1946     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1947   esac
   1948   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1949 done
   1950 
   1951 case $ac_configure_args_raw in
   1952   *$as_nl*)
   1953     ac_safe_unquote= ;;
   1954   *)
   1955     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1956     ac_unsafe_a="$ac_unsafe_z#~"
   1957     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1958     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1959 esac
   1960 
   1961 cat >config.log <<_ACEOF
   1962 This file contains any messages produced by compilers while
   1963 running configure, to aid debugging if configure makes a mistake.
   1964 
   1965 It was created by libXaw $as_me 1.0.15, which was
   1966 generated by GNU Autoconf 2.71.  Invocation command line was
   1967 
   1968   $ $0$ac_configure_args_raw
   1969 
   1970 _ACEOF
   1971 exec 5>>config.log
   1972 {
   1973 cat <<_ASUNAME
   1974 ## --------- ##
   1975 ## Platform. ##
   1976 ## --------- ##
   1977 
   1978 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1979 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1980 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1981 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1982 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1983 
   1984 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1985 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1986 
   1987 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1988 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1989 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1990 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1991 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1992 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1993 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1994 
   1995 _ASUNAME
   1996 
   1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1998 for as_dir in $PATH
   1999 do
   2000   IFS=$as_save_IFS
   2001   case $as_dir in #(((
   2002     '') as_dir=./ ;;
   2003     */) ;;
   2004     *) as_dir=$as_dir/ ;;
   2005   esac
   2006     printf "%s\n" "PATH: $as_dir"
   2007   done
   2008 IFS=$as_save_IFS
   2009 
   2010 } >&5
   2011 
   2012 cat >&5 <<_ACEOF
   2013 
   2014 
   2015 ## ----------- ##
   2016 ## Core tests. ##
   2017 ## ----------- ##
   2018 
   2019 _ACEOF
   2020 
   2021 
   2022 # Keep a trace of the command line.
   2023 # Strip out --no-create and --no-recursion so they do not pile up.
   2024 # Strip out --silent because we don't want to record it for future runs.
   2025 # Also quote any args containing shell meta-characters.
   2026 # Make two passes to allow for proper duplicate-argument suppression.
   2027 ac_configure_args=
   2028 ac_configure_args0=
   2029 ac_configure_args1=
   2030 ac_must_keep_next=false
   2031 for ac_pass in 1 2
   2032 do
   2033   for ac_arg
   2034   do
   2035     case $ac_arg in
   2036     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2037     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2038     | -silent | --silent | --silen | --sile | --sil)
   2039       continue ;;
   2040     *\'*)
   2041       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2042     esac
   2043     case $ac_pass in
   2044     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2045     2)
   2046       as_fn_append ac_configure_args1 " '$ac_arg'"
   2047       if test $ac_must_keep_next = true; then
   2048 	ac_must_keep_next=false # Got value, back to normal.
   2049       else
   2050 	case $ac_arg in
   2051 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2052 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2053 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2054 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2055 	    case "$ac_configure_args0 " in
   2056 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2057 	    esac
   2058 	    ;;
   2059 	  -* ) ac_must_keep_next=true ;;
   2060 	esac
   2061       fi
   2062       as_fn_append ac_configure_args " '$ac_arg'"
   2063       ;;
   2064     esac
   2065   done
   2066 done
   2067 { ac_configure_args0=; unset ac_configure_args0;}
   2068 { ac_configure_args1=; unset ac_configure_args1;}
   2069 
   2070 # When interrupted or exit'd, cleanup temporary files, and complete
   2071 # config.log.  We remove comments because anyway the quotes in there
   2072 # would cause problems or look ugly.
   2073 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2074 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2075 trap 'exit_status=$?
   2076   # Sanitize IFS.
   2077   IFS=" ""	$as_nl"
   2078   # Save into config.log some information that might help in debugging.
   2079   {
   2080     echo
   2081 
   2082     printf "%s\n" "## ---------------- ##
   2083 ## Cache variables. ##
   2084 ## ---------------- ##"
   2085     echo
   2086     # The following way of writing the cache mishandles newlines in values,
   2087 (
   2088   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2089     eval ac_val=\$$ac_var
   2090     case $ac_val in #(
   2091     *${as_nl}*)
   2092       case $ac_var in #(
   2093       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2094 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2095       esac
   2096       case $ac_var in #(
   2097       _ | IFS | as_nl) ;; #(
   2098       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2099       *) { eval $ac_var=; unset $ac_var;} ;;
   2100       esac ;;
   2101     esac
   2102   done
   2103   (set) 2>&1 |
   2104     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2105     *${as_nl}ac_space=\ *)
   2106       sed -n \
   2107 	"s/'\''/'\''\\\\'\'''\''/g;
   2108 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2109       ;; #(
   2110     *)
   2111       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2112       ;;
   2113     esac |
   2114     sort
   2115 )
   2116     echo
   2117 
   2118     printf "%s\n" "## ----------------- ##
   2119 ## Output variables. ##
   2120 ## ----------------- ##"
   2121     echo
   2122     for ac_var in $ac_subst_vars
   2123     do
   2124       eval ac_val=\$$ac_var
   2125       case $ac_val in
   2126       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2127       esac
   2128       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2129     done | sort
   2130     echo
   2131 
   2132     if test -n "$ac_subst_files"; then
   2133       printf "%s\n" "## ------------------- ##
   2134 ## File substitutions. ##
   2135 ## ------------------- ##"
   2136       echo
   2137       for ac_var in $ac_subst_files
   2138       do
   2139 	eval ac_val=\$$ac_var
   2140 	case $ac_val in
   2141 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2142 	esac
   2143 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2144       done | sort
   2145       echo
   2146     fi
   2147 
   2148     if test -s confdefs.h; then
   2149       printf "%s\n" "## ----------- ##
   2150 ## confdefs.h. ##
   2151 ## ----------- ##"
   2152       echo
   2153       cat confdefs.h
   2154       echo
   2155     fi
   2156     test "$ac_signal" != 0 &&
   2157       printf "%s\n" "$as_me: caught signal $ac_signal"
   2158     printf "%s\n" "$as_me: exit $exit_status"
   2159   } >&5
   2160   rm -f core *.core core.conftest.* &&
   2161     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2162     exit $exit_status
   2163 ' 0
   2164 for ac_signal in 1 2 13 15; do
   2165   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2166 done
   2167 ac_signal=0
   2168 
   2169 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2170 rm -f -r conftest* confdefs.h
   2171 
   2172 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2173 
   2174 # Predefined preprocessor variables.
   2175 
   2176 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2177 
   2178 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2179 
   2180 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2181 
   2182 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2183 
   2184 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2185 
   2186 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2187 
   2188 
   2189 # Let the site file select an alternate cache file if it wants to.
   2190 # Prefer an explicitly selected file to automatically selected ones.
   2191 if test -n "$CONFIG_SITE"; then
   2192   ac_site_files="$CONFIG_SITE"
   2193 elif test "x$prefix" != xNONE; then
   2194   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2195 else
   2196   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2197 fi
   2198 
   2199 for ac_site_file in $ac_site_files
   2200 do
   2201   case $ac_site_file in #(
   2202   */*) :
   2203      ;; #(
   2204   *) :
   2205     ac_site_file=./$ac_site_file ;;
   2206 esac
   2207   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2208     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2209 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2210     sed 's/^/| /' "$ac_site_file" >&5
   2211     . "$ac_site_file" \
   2212       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2213 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2214 as_fn_error $? "failed to load site script $ac_site_file
   2215 See \`config.log' for more details" "$LINENO" 5; }
   2216   fi
   2217 done
   2218 
   2219 if test -r "$cache_file"; then
   2220   # Some versions of bash will fail to source /dev/null (special files
   2221   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2222   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2223     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2224 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2225     case $cache_file in
   2226       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2227       *)                      . "./$cache_file";;
   2228     esac
   2229   fi
   2230 else
   2231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2232 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2233   >$cache_file
   2234 fi
   2235 
   2236 # Test code for whether the C compiler supports C89 (global declarations)
   2237 ac_c_conftest_c89_globals='
   2238 /* Does the compiler advertise C89 conformance?
   2239    Do not test the value of __STDC__, because some compilers set it to 0
   2240    while being otherwise adequately conformant. */
   2241 #if !defined __STDC__
   2242 # error "Compiler does not advertise C89 conformance"
   2243 #endif
   2244 
   2245 #include <stddef.h>
   2246 #include <stdarg.h>
   2247 struct stat;
   2248 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2249 struct buf { int x; };
   2250 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2251 static char *e (p, i)
   2252      char **p;
   2253      int i;
   2254 {
   2255   return p[i];
   2256 }
   2257 static char *f (char * (*g) (char **, int), char **p, ...)
   2258 {
   2259   char *s;
   2260   va_list v;
   2261   va_start (v,p);
   2262   s = g (p, va_arg (v,int));
   2263   va_end (v);
   2264   return s;
   2265 }
   2266 
   2267 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2268    function prototypes and stuff, but not \xHH hex character constants.
   2269    These do not provoke an error unfortunately, instead are silently treated
   2270    as an "x".  The following induces an error, until -std is added to get
   2271    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2272    array size at least.  It is necessary to write \x00 == 0 to get something
   2273    that is true only with -std.  */
   2274 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2275 
   2276 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2277    inside strings and character constants.  */
   2278 #define FOO(x) '\''x'\''
   2279 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2280 
   2281 int test (int i, double x);
   2282 struct s1 {int (*f) (int a);};
   2283 struct s2 {int (*f) (double a);};
   2284 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2285                int, int);'
   2286 
   2287 # Test code for whether the C compiler supports C89 (body of main).
   2288 ac_c_conftest_c89_main='
   2289 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2290 '
   2291 
   2292 # Test code for whether the C compiler supports C99 (global declarations)
   2293 ac_c_conftest_c99_globals='
   2294 // Does the compiler advertise C99 conformance?
   2295 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2296 # error "Compiler does not advertise C99 conformance"
   2297 #endif
   2298 
   2299 #include <stdbool.h>
   2300 extern int puts (const char *);
   2301 extern int printf (const char *, ...);
   2302 extern int dprintf (int, const char *, ...);
   2303 extern void *malloc (size_t);
   2304 
   2305 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2306 // dprintf is used instead of fprintf to avoid needing to declare
   2307 // FILE and stderr.
   2308 #define debug(...) dprintf (2, __VA_ARGS__)
   2309 #define showlist(...) puts (#__VA_ARGS__)
   2310 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2311 static void
   2312 test_varargs_macros (void)
   2313 {
   2314   int x = 1234;
   2315   int y = 5678;
   2316   debug ("Flag");
   2317   debug ("X = %d\n", x);
   2318   showlist (The first, second, and third items.);
   2319   report (x>y, "x is %d but y is %d", x, y);
   2320 }
   2321 
   2322 // Check long long types.
   2323 #define BIG64 18446744073709551615ull
   2324 #define BIG32 4294967295ul
   2325 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2326 #if !BIG_OK
   2327   #error "your preprocessor is broken"
   2328 #endif
   2329 #if BIG_OK
   2330 #else
   2331   #error "your preprocessor is broken"
   2332 #endif
   2333 static long long int bignum = -9223372036854775807LL;
   2334 static unsigned long long int ubignum = BIG64;
   2335 
   2336 struct incomplete_array
   2337 {
   2338   int datasize;
   2339   double data[];
   2340 };
   2341 
   2342 struct named_init {
   2343   int number;
   2344   const wchar_t *name;
   2345   double average;
   2346 };
   2347 
   2348 typedef const char *ccp;
   2349 
   2350 static inline int
   2351 test_restrict (ccp restrict text)
   2352 {
   2353   // See if C++-style comments work.
   2354   // Iterate through items via the restricted pointer.
   2355   // Also check for declarations in for loops.
   2356   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2357     continue;
   2358   return 0;
   2359 }
   2360 
   2361 // Check varargs and va_copy.
   2362 static bool
   2363 test_varargs (const char *format, ...)
   2364 {
   2365   va_list args;
   2366   va_start (args, format);
   2367   va_list args_copy;
   2368   va_copy (args_copy, args);
   2369 
   2370   const char *str = "";
   2371   int number = 0;
   2372   float fnumber = 0;
   2373 
   2374   while (*format)
   2375     {
   2376       switch (*format++)
   2377 	{
   2378 	case '\''s'\'': // string
   2379 	  str = va_arg (args_copy, const char *);
   2380 	  break;
   2381 	case '\''d'\'': // int
   2382 	  number = va_arg (args_copy, int);
   2383 	  break;
   2384 	case '\''f'\'': // float
   2385 	  fnumber = va_arg (args_copy, double);
   2386 	  break;
   2387 	default:
   2388 	  break;
   2389 	}
   2390     }
   2391   va_end (args_copy);
   2392   va_end (args);
   2393 
   2394   return *str && number && fnumber;
   2395 }
   2396 '
   2397 
   2398 # Test code for whether the C compiler supports C99 (body of main).
   2399 ac_c_conftest_c99_main='
   2400   // Check bool.
   2401   _Bool success = false;
   2402   success |= (argc != 0);
   2403 
   2404   // Check restrict.
   2405   if (test_restrict ("String literal") == 0)
   2406     success = true;
   2407   char *restrict newvar = "Another string";
   2408 
   2409   // Check varargs.
   2410   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2411   test_varargs_macros ();
   2412 
   2413   // Check flexible array members.
   2414   struct incomplete_array *ia =
   2415     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2416   ia->datasize = 10;
   2417   for (int i = 0; i < ia->datasize; ++i)
   2418     ia->data[i] = i * 1.234;
   2419 
   2420   // Check named initializers.
   2421   struct named_init ni = {
   2422     .number = 34,
   2423     .name = L"Test wide string",
   2424     .average = 543.34343,
   2425   };
   2426 
   2427   ni.number = 58;
   2428 
   2429   int dynamic_array[ni.number];
   2430   dynamic_array[0] = argv[0][0];
   2431   dynamic_array[ni.number - 1] = 543;
   2432 
   2433   // work around unused variable warnings
   2434   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2435 	 || dynamic_array[ni.number - 1] != 543);
   2436 '
   2437 
   2438 # Test code for whether the C compiler supports C11 (global declarations)
   2439 ac_c_conftest_c11_globals='
   2440 // Does the compiler advertise C11 conformance?
   2441 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2442 # error "Compiler does not advertise C11 conformance"
   2443 #endif
   2444 
   2445 // Check _Alignas.
   2446 char _Alignas (double) aligned_as_double;
   2447 char _Alignas (0) no_special_alignment;
   2448 extern char aligned_as_int;
   2449 char _Alignas (0) _Alignas (int) aligned_as_int;
   2450 
   2451 // Check _Alignof.
   2452 enum
   2453 {
   2454   int_alignment = _Alignof (int),
   2455   int_array_alignment = _Alignof (int[100]),
   2456   char_alignment = _Alignof (char)
   2457 };
   2458 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2459 
   2460 // Check _Noreturn.
   2461 int _Noreturn does_not_return (void) { for (;;) continue; }
   2462 
   2463 // Check _Static_assert.
   2464 struct test_static_assert
   2465 {
   2466   int x;
   2467   _Static_assert (sizeof (int) <= sizeof (long int),
   2468                   "_Static_assert does not work in struct");
   2469   long int y;
   2470 };
   2471 
   2472 // Check UTF-8 literals.
   2473 #define u8 syntax error!
   2474 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2475 
   2476 // Check duplicate typedefs.
   2477 typedef long *long_ptr;
   2478 typedef long int *long_ptr;
   2479 typedef long_ptr long_ptr;
   2480 
   2481 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2482 struct anonymous
   2483 {
   2484   union {
   2485     struct { int i; int j; };
   2486     struct { int k; long int l; } w;
   2487   };
   2488   int m;
   2489 } v1;
   2490 '
   2491 
   2492 # Test code for whether the C compiler supports C11 (body of main).
   2493 ac_c_conftest_c11_main='
   2494   _Static_assert ((offsetof (struct anonymous, i)
   2495 		   == offsetof (struct anonymous, w.k)),
   2496 		  "Anonymous union alignment botch");
   2497   v1.i = 2;
   2498   v1.w.k = 5;
   2499   ok |= v1.i != 5;
   2500 '
   2501 
   2502 # Test code for whether the C compiler supports C11 (complete).
   2503 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2504 ${ac_c_conftest_c99_globals}
   2505 ${ac_c_conftest_c11_globals}
   2506 
   2507 int
   2508 main (int argc, char **argv)
   2509 {
   2510   int ok = 0;
   2511   ${ac_c_conftest_c89_main}
   2512   ${ac_c_conftest_c99_main}
   2513   ${ac_c_conftest_c11_main}
   2514   return ok;
   2515 }
   2516 "
   2517 
   2518 # Test code for whether the C compiler supports C99 (complete).
   2519 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2520 ${ac_c_conftest_c99_globals}
   2521 
   2522 int
   2523 main (int argc, char **argv)
   2524 {
   2525   int ok = 0;
   2526   ${ac_c_conftest_c89_main}
   2527   ${ac_c_conftest_c99_main}
   2528   return ok;
   2529 }
   2530 "
   2531 
   2532 # Test code for whether the C compiler supports C89 (complete).
   2533 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2534 
   2535 int
   2536 main (int argc, char **argv)
   2537 {
   2538   int ok = 0;
   2539   ${ac_c_conftest_c89_main}
   2540   return ok;
   2541 }
   2542 "
   2543 
   2544 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2545 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2546 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2547 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2548 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2549 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2550 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2551 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2552 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2553 
   2554 # Auxiliary files required by this configure script.
   2555 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2556 
   2557 # Locations in which to look for auxiliary files.
   2558 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2559 
   2560 # Search for a directory containing all of the required auxiliary files,
   2561 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2562 # If we don't find one directory that contains all the files we need,
   2563 # we report the set of missing files from the *first* directory in
   2564 # $ac_aux_dir_candidates and give up.
   2565 ac_missing_aux_files=""
   2566 ac_first_candidate=:
   2567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2569 as_found=false
   2570 for as_dir in $ac_aux_dir_candidates
   2571 do
   2572   IFS=$as_save_IFS
   2573   case $as_dir in #(((
   2574     '') as_dir=./ ;;
   2575     */) ;;
   2576     *) as_dir=$as_dir/ ;;
   2577   esac
   2578   as_found=:
   2579 
   2580   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2581   ac_aux_dir_found=yes
   2582   ac_install_sh=
   2583   for ac_aux in $ac_aux_files
   2584   do
   2585     # As a special case, if "install-sh" is required, that requirement
   2586     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2587     # and $ac_install_sh is set appropriately for whichever one is found.
   2588     if test x"$ac_aux" = x"install-sh"
   2589     then
   2590       if test -f "${as_dir}install-sh"; then
   2591         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2592         ac_install_sh="${as_dir}install-sh -c"
   2593       elif test -f "${as_dir}install.sh"; then
   2594         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2595         ac_install_sh="${as_dir}install.sh -c"
   2596       elif test -f "${as_dir}shtool"; then
   2597         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2598         ac_install_sh="${as_dir}shtool install -c"
   2599       else
   2600         ac_aux_dir_found=no
   2601         if $ac_first_candidate; then
   2602           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2603         else
   2604           break
   2605         fi
   2606       fi
   2607     else
   2608       if test -f "${as_dir}${ac_aux}"; then
   2609         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2610       else
   2611         ac_aux_dir_found=no
   2612         if $ac_first_candidate; then
   2613           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2614         else
   2615           break
   2616         fi
   2617       fi
   2618     fi
   2619   done
   2620   if test "$ac_aux_dir_found" = yes; then
   2621     ac_aux_dir="$as_dir"
   2622     break
   2623   fi
   2624   ac_first_candidate=false
   2625 
   2626   as_found=false
   2627 done
   2628 IFS=$as_save_IFS
   2629 if $as_found
   2630 then :
   2631 
   2632 else $as_nop
   2633   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2634 fi
   2635 
   2636 
   2637 # These three variables are undocumented and unsupported,
   2638 # and are intended to be withdrawn in a future Autoconf release.
   2639 # They can cause serious problems if a builder's source tree is in a directory
   2640 # whose full name contains unusual characters.
   2641 if test -f "${ac_aux_dir}config.guess"; then
   2642   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2643 fi
   2644 if test -f "${ac_aux_dir}config.sub"; then
   2645   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2646 fi
   2647 if test -f "$ac_aux_dir/configure"; then
   2648   ac_configure="$SHELL ${ac_aux_dir}configure"
   2649 fi
   2650 
   2651 # Check that the precious variables saved in the cache have kept the same
   2652 # value.
   2653 ac_cache_corrupted=false
   2654 for ac_var in $ac_precious_vars; do
   2655   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2656   eval ac_new_set=\$ac_env_${ac_var}_set
   2657   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2658   eval ac_new_val=\$ac_env_${ac_var}_value
   2659   case $ac_old_set,$ac_new_set in
   2660     set,)
   2661       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2662 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2663       ac_cache_corrupted=: ;;
   2664     ,set)
   2665       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2666 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2667       ac_cache_corrupted=: ;;
   2668     ,);;
   2669     *)
   2670       if test "x$ac_old_val" != "x$ac_new_val"; then
   2671 	# differences in whitespace do not lead to failure.
   2672 	ac_old_val_w=`echo x $ac_old_val`
   2673 	ac_new_val_w=`echo x $ac_new_val`
   2674 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2675 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2676 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2677 	  ac_cache_corrupted=:
   2678 	else
   2679 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2680 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2681 	  eval $ac_var=\$ac_old_val
   2682 	fi
   2683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2684 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2685 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2686 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2687       fi;;
   2688   esac
   2689   # Pass precious variables to config.status.
   2690   if test "$ac_new_set" = set; then
   2691     case $ac_new_val in
   2692     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2693     *) ac_arg=$ac_var=$ac_new_val ;;
   2694     esac
   2695     case " $ac_configure_args " in
   2696       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2697       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2698     esac
   2699   fi
   2700 done
   2701 if $ac_cache_corrupted; then
   2702   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2703 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2705 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2706   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2707 	    and start over" "$LINENO" 5
   2708 fi
   2709 ## -------------------- ##
   2710 ## Main body of script. ##
   2711 ## -------------------- ##
   2712 
   2713 ac_ext=c
   2714 ac_cpp='$CPP $CPPFLAGS'
   2715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2718 
   2719 
   2720 
   2721 ac_config_headers="$ac_config_headers config.h"
   2722 
   2723 
   2724 
   2725 # Initialize Automake
   2726 am__api_version='1.16'
   2727 
   2728 
   2729 
   2730   # Find a good install program.  We prefer a C program (faster),
   2731 # so one script is as good as another.  But avoid the broken or
   2732 # incompatible versions:
   2733 # SysV /etc/install, /usr/sbin/install
   2734 # SunOS /usr/etc/install
   2735 # IRIX /sbin/install
   2736 # AIX /bin/install
   2737 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2738 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2739 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2740 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2741 # OS/2's system install, which has a completely different semantic
   2742 # ./install, which can be erroneously created by make from ./install.sh.
   2743 # Reject install programs that cannot install multiple files.
   2744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2745 printf %s "checking for a BSD-compatible install... " >&6; }
   2746 if test -z "$INSTALL"; then
   2747 if test ${ac_cv_path_install+y}
   2748 then :
   2749   printf %s "(cached) " >&6
   2750 else $as_nop
   2751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2752 for as_dir in $PATH
   2753 do
   2754   IFS=$as_save_IFS
   2755   case $as_dir in #(((
   2756     '') as_dir=./ ;;
   2757     */) ;;
   2758     *) as_dir=$as_dir/ ;;
   2759   esac
   2760     # Account for fact that we put trailing slashes in our PATH walk.
   2761 case $as_dir in #((
   2762   ./ | /[cC]/* | \
   2763   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2764   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2765   /usr/ucb/* ) ;;
   2766   *)
   2767     # OSF1 and SCO ODT 3.0 have their own names for install.
   2768     # Don't use installbsd from OSF since it installs stuff as root
   2769     # by default.
   2770     for ac_prog in ginstall scoinst install; do
   2771       for ac_exec_ext in '' $ac_executable_extensions; do
   2772 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2773 	  if test $ac_prog = install &&
   2774 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2775 	    # AIX install.  It has an incompatible calling convention.
   2776 	    :
   2777 	  elif test $ac_prog = install &&
   2778 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2779 	    # program-specific install script used by HP pwplus--don't use.
   2780 	    :
   2781 	  else
   2782 	    rm -rf conftest.one conftest.two conftest.dir
   2783 	    echo one > conftest.one
   2784 	    echo two > conftest.two
   2785 	    mkdir conftest.dir
   2786 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2787 	      test -s conftest.one && test -s conftest.two &&
   2788 	      test -s conftest.dir/conftest.one &&
   2789 	      test -s conftest.dir/conftest.two
   2790 	    then
   2791 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2792 	      break 3
   2793 	    fi
   2794 	  fi
   2795 	fi
   2796       done
   2797     done
   2798     ;;
   2799 esac
   2800 
   2801   done
   2802 IFS=$as_save_IFS
   2803 
   2804 rm -rf conftest.one conftest.two conftest.dir
   2805 
   2806 fi
   2807   if test ${ac_cv_path_install+y}; then
   2808     INSTALL=$ac_cv_path_install
   2809   else
   2810     # As a last resort, use the slow shell script.  Don't cache a
   2811     # value for INSTALL within a source directory, because that will
   2812     # break other packages using the cache if that directory is
   2813     # removed, or if the value is a relative name.
   2814     INSTALL=$ac_install_sh
   2815   fi
   2816 fi
   2817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2818 printf "%s\n" "$INSTALL" >&6; }
   2819 
   2820 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2821 # It thinks the first close brace ends the variable substitution.
   2822 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2823 
   2824 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2825 
   2826 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2827 
   2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2829 printf %s "checking whether build environment is sane... " >&6; }
   2830 # Reject unsafe characters in $srcdir or the absolute working directory
   2831 # name.  Accept space and tab only in the latter.
   2832 am_lf='
   2833 '
   2834 case `pwd` in
   2835   *[\\\"\#\$\&\'\`$am_lf]*)
   2836     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2837 esac
   2838 case $srcdir in
   2839   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2840     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2841 esac
   2842 
   2843 # Do 'set' in a subshell so we don't clobber the current shell's
   2844 # arguments.  Must try -L first in case configure is actually a
   2845 # symlink; some systems play weird games with the mod time of symlinks
   2846 # (eg FreeBSD returns the mod time of the symlink's containing
   2847 # directory).
   2848 if (
   2849    am_has_slept=no
   2850    for am_try in 1 2; do
   2851      echo "timestamp, slept: $am_has_slept" > conftest.file
   2852      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2853      if test "$*" = "X"; then
   2854 	# -L didn't work.
   2855 	set X `ls -t "$srcdir/configure" conftest.file`
   2856      fi
   2857      if test "$*" != "X $srcdir/configure conftest.file" \
   2858 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2859 
   2860 	# If neither matched, then we have a broken ls.  This can happen
   2861 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2862 	# broken ls alias from the environment.  This has actually
   2863 	# happened.  Such a system could not be considered "sane".
   2864 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2865   alias in your environment" "$LINENO" 5
   2866      fi
   2867      if test "$2" = conftest.file || test $am_try -eq 2; then
   2868        break
   2869      fi
   2870      # Just in case.
   2871      sleep 1
   2872      am_has_slept=yes
   2873    done
   2874    test "$2" = conftest.file
   2875    )
   2876 then
   2877    # Ok.
   2878    :
   2879 else
   2880    as_fn_error $? "newly created file is older than distributed files!
   2881 Check your system clock" "$LINENO" 5
   2882 fi
   2883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2884 printf "%s\n" "yes" >&6; }
   2885 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2886 # generated files are strictly newer.
   2887 am_sleep_pid=
   2888 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2889   ( sleep 1 ) &
   2890   am_sleep_pid=$!
   2891 fi
   2892 
   2893 rm -f conftest.file
   2894 
   2895 test "$program_prefix" != NONE &&
   2896   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2897 # Use a double $ so make ignores it.
   2898 test "$program_suffix" != NONE &&
   2899   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2900 # Double any \ or $.
   2901 # By default was `s,x,x', remove it if useless.
   2902 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2903 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2904 
   2905 
   2906 # Expand $ac_aux_dir to an absolute path.
   2907 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2908 
   2909 
   2910   if test x"${MISSING+set}" != xset; then
   2911   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2912 fi
   2913 # Use eval to expand $SHELL
   2914 if eval "$MISSING --is-lightweight"; then
   2915   am_missing_run="$MISSING "
   2916 else
   2917   am_missing_run=
   2918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2919 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2920 fi
   2921 
   2922 if test x"${install_sh+set}" != xset; then
   2923   case $am_aux_dir in
   2924   *\ * | *\	*)
   2925     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2926   *)
   2927     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2928   esac
   2929 fi
   2930 
   2931 # Installed binaries are usually stripped using 'strip' when the user
   2932 # run "make install-strip".  However 'strip' might not be the right
   2933 # tool to use in cross-compilation environments, therefore Automake
   2934 # will honor the 'STRIP' environment variable to overrule this program.
   2935 if test "$cross_compiling" != no; then
   2936   if test -n "$ac_tool_prefix"; then
   2937   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2938 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2940 printf %s "checking for $ac_word... " >&6; }
   2941 if test ${ac_cv_prog_STRIP+y}
   2942 then :
   2943   printf %s "(cached) " >&6
   2944 else $as_nop
   2945   if test -n "$STRIP"; then
   2946   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2947 else
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   case $as_dir in #(((
   2953     '') as_dir=./ ;;
   2954     */) ;;
   2955     *) as_dir=$as_dir/ ;;
   2956   esac
   2957     for ac_exec_ext in '' $ac_executable_extensions; do
   2958   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2959     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2960     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2961     break 2
   2962   fi
   2963 done
   2964   done
   2965 IFS=$as_save_IFS
   2966 
   2967 fi
   2968 fi
   2969 STRIP=$ac_cv_prog_STRIP
   2970 if test -n "$STRIP"; then
   2971   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2972 printf "%s\n" "$STRIP" >&6; }
   2973 else
   2974   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2975 printf "%s\n" "no" >&6; }
   2976 fi
   2977 
   2978 
   2979 fi
   2980 if test -z "$ac_cv_prog_STRIP"; then
   2981   ac_ct_STRIP=$STRIP
   2982   # Extract the first word of "strip", so it can be a program name with args.
   2983 set dummy strip; ac_word=$2
   2984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2985 printf %s "checking for $ac_word... " >&6; }
   2986 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2987 then :
   2988   printf %s "(cached) " >&6
   2989 else $as_nop
   2990   if test -n "$ac_ct_STRIP"; then
   2991   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2992 else
   2993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2994 for as_dir in $PATH
   2995 do
   2996   IFS=$as_save_IFS
   2997   case $as_dir in #(((
   2998     '') as_dir=./ ;;
   2999     */) ;;
   3000     *) as_dir=$as_dir/ ;;
   3001   esac
   3002     for ac_exec_ext in '' $ac_executable_extensions; do
   3003   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3004     ac_cv_prog_ac_ct_STRIP="strip"
   3005     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3006     break 2
   3007   fi
   3008 done
   3009   done
   3010 IFS=$as_save_IFS
   3011 
   3012 fi
   3013 fi
   3014 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3015 if test -n "$ac_ct_STRIP"; then
   3016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3017 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3018 else
   3019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3020 printf "%s\n" "no" >&6; }
   3021 fi
   3022 
   3023   if test "x$ac_ct_STRIP" = x; then
   3024     STRIP=":"
   3025   else
   3026     case $cross_compiling:$ac_tool_warned in
   3027 yes:)
   3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3029 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3030 ac_tool_warned=yes ;;
   3031 esac
   3032     STRIP=$ac_ct_STRIP
   3033   fi
   3034 else
   3035   STRIP="$ac_cv_prog_STRIP"
   3036 fi
   3037 
   3038 fi
   3039 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3040 
   3041 
   3042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3043 printf %s "checking for a race-free mkdir -p... " >&6; }
   3044 if test -z "$MKDIR_P"; then
   3045   if test ${ac_cv_path_mkdir+y}
   3046 then :
   3047   printf %s "(cached) " >&6
   3048 else $as_nop
   3049   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3050 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3051 do
   3052   IFS=$as_save_IFS
   3053   case $as_dir in #(((
   3054     '') as_dir=./ ;;
   3055     */) ;;
   3056     *) as_dir=$as_dir/ ;;
   3057   esac
   3058     for ac_prog in mkdir gmkdir; do
   3059 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3060 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3061 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3062 	     'mkdir ('*'coreutils) '* | \
   3063 	     'BusyBox '* | \
   3064 	     'mkdir (fileutils) '4.1*)
   3065 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3066 	       break 3;;
   3067 	   esac
   3068 	 done
   3069        done
   3070   done
   3071 IFS=$as_save_IFS
   3072 
   3073 fi
   3074 
   3075   test -d ./--version && rmdir ./--version
   3076   if test ${ac_cv_path_mkdir+y}; then
   3077     MKDIR_P="$ac_cv_path_mkdir -p"
   3078   else
   3079     # As a last resort, use the slow shell script.  Don't cache a
   3080     # value for MKDIR_P within a source directory, because that will
   3081     # break other packages using the cache if that directory is
   3082     # removed, or if the value is a relative name.
   3083     MKDIR_P="$ac_install_sh -d"
   3084   fi
   3085 fi
   3086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3087 printf "%s\n" "$MKDIR_P" >&6; }
   3088 
   3089 for ac_prog in gawk mawk nawk awk
   3090 do
   3091   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3092 set dummy $ac_prog; ac_word=$2
   3093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3094 printf %s "checking for $ac_word... " >&6; }
   3095 if test ${ac_cv_prog_AWK+y}
   3096 then :
   3097   printf %s "(cached) " >&6
   3098 else $as_nop
   3099   if test -n "$AWK"; then
   3100   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3101 else
   3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3103 for as_dir in $PATH
   3104 do
   3105   IFS=$as_save_IFS
   3106   case $as_dir in #(((
   3107     '') as_dir=./ ;;
   3108     */) ;;
   3109     *) as_dir=$as_dir/ ;;
   3110   esac
   3111     for ac_exec_ext in '' $ac_executable_extensions; do
   3112   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3113     ac_cv_prog_AWK="$ac_prog"
   3114     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3115     break 2
   3116   fi
   3117 done
   3118   done
   3119 IFS=$as_save_IFS
   3120 
   3121 fi
   3122 fi
   3123 AWK=$ac_cv_prog_AWK
   3124 if test -n "$AWK"; then
   3125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3126 printf "%s\n" "$AWK" >&6; }
   3127 else
   3128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3129 printf "%s\n" "no" >&6; }
   3130 fi
   3131 
   3132 
   3133   test -n "$AWK" && break
   3134 done
   3135 
   3136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3137 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3138 set x ${MAKE-make}
   3139 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3140 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3141 then :
   3142   printf %s "(cached) " >&6
   3143 else $as_nop
   3144   cat >conftest.make <<\_ACEOF
   3145 SHELL = /bin/sh
   3146 all:
   3147 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3148 _ACEOF
   3149 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3150 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3151   *@@@%%%=?*=@@@%%%*)
   3152     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3153   *)
   3154     eval ac_cv_prog_make_${ac_make}_set=no;;
   3155 esac
   3156 rm -f conftest.make
   3157 fi
   3158 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3160 printf "%s\n" "yes" >&6; }
   3161   SET_MAKE=
   3162 else
   3163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3164 printf "%s\n" "no" >&6; }
   3165   SET_MAKE="MAKE=${MAKE-make}"
   3166 fi
   3167 
   3168 rm -rf .tst 2>/dev/null
   3169 mkdir .tst 2>/dev/null
   3170 if test -d .tst; then
   3171   am__leading_dot=.
   3172 else
   3173   am__leading_dot=_
   3174 fi
   3175 rmdir .tst 2>/dev/null
   3176 
   3177 # Check whether --enable-silent-rules was given.
   3178 if test ${enable_silent_rules+y}
   3179 then :
   3180   enableval=$enable_silent_rules;
   3181 fi
   3182 
   3183 case $enable_silent_rules in # (((
   3184   yes) AM_DEFAULT_VERBOSITY=0;;
   3185    no) AM_DEFAULT_VERBOSITY=1;;
   3186     *) AM_DEFAULT_VERBOSITY=1;;
   3187 esac
   3188 am_make=${MAKE-make}
   3189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3190 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3191 if test ${am_cv_make_support_nested_variables+y}
   3192 then :
   3193   printf %s "(cached) " >&6
   3194 else $as_nop
   3195   if printf "%s\n" 'TRUE=$(BAR$(V))
   3196 BAR0=false
   3197 BAR1=true
   3198 V=1
   3199 am__doit:
   3200 	@$(TRUE)
   3201 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3202   am_cv_make_support_nested_variables=yes
   3203 else
   3204   am_cv_make_support_nested_variables=no
   3205 fi
   3206 fi
   3207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3208 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3209 if test $am_cv_make_support_nested_variables = yes; then
   3210     AM_V='$(V)'
   3211   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3212 else
   3213   AM_V=$AM_DEFAULT_VERBOSITY
   3214   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3215 fi
   3216 AM_BACKSLASH='\'
   3217 
   3218 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3219   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3220   # is not polluted with repeated "-I."
   3221   am__isrc=' -I$(srcdir)'
   3222   # test to see if srcdir already configured
   3223   if test -f $srcdir/config.status; then
   3224     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3225   fi
   3226 fi
   3227 
   3228 # test whether we have cygpath
   3229 if test -z "$CYGPATH_W"; then
   3230   if (cygpath --version) >/dev/null 2>/dev/null; then
   3231     CYGPATH_W='cygpath -w'
   3232   else
   3233     CYGPATH_W=echo
   3234   fi
   3235 fi
   3236 
   3237 
   3238 # Define the identity of the package.
   3239  PACKAGE='libXaw'
   3240  VERSION='1.0.15'
   3241 
   3242 
   3243 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3244 
   3245 
   3246 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3247 
   3248 # Some tools Automake needs.
   3249 
   3250 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3251 
   3252 
   3253 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3254 
   3255 
   3256 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3257 
   3258 
   3259 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3260 
   3261 
   3262 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3263 
   3264 # For better backward compatibility.  To be removed once Automake 1.9.x
   3265 # dies out for good.  For more background, see:
   3266 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3267 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3268 mkdir_p='$(MKDIR_P)'
   3269 
   3270 # We need awk for the "check" target (and possibly the TAP driver).  The
   3271 # system "awk" is bad on some platforms.
   3272 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3273 # in the wild :-(  We should find a proper way to deprecate it ...
   3274 AMTAR='$${TAR-tar}'
   3275 
   3276 
   3277 # We'll loop over all known methods to create a tar archive until one works.
   3278 _am_tools='gnutar  pax cpio none'
   3279 
   3280 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3281 
   3282 
   3283 
   3284 
   3285 
   3286 # Variables for tags utilities; see am/tags.am
   3287 if test -z "$CTAGS"; then
   3288   CTAGS=ctags
   3289 fi
   3290 
   3291 if test -z "$ETAGS"; then
   3292   ETAGS=etags
   3293 fi
   3294 
   3295 if test -z "$CSCOPE"; then
   3296   CSCOPE=cscope
   3297 fi
   3298 
   3299 
   3300 
   3301 # POSIX will say in a future version that running "rm -f" with no argument
   3302 # is OK; and we want to be able to make that assumption in our Makefile
   3303 # recipes.  So use an aggressive probe to check that the usage we want is
   3304 # actually supported "in the wild" to an acceptable degree.
   3305 # See automake bug#10828.
   3306 # To make any issue more visible, cause the running configure to be aborted
   3307 # by default if the 'rm' program in use doesn't match our expectations; the
   3308 # user can still override this though.
   3309 if rm -f && rm -fr && rm -rf; then : OK; else
   3310   cat >&2 <<'END'
   3311 Oops!
   3312 
   3313 Your 'rm' program seems unable to run without file operands specified
   3314 on the command line, even when the '-f' option is present.  This is contrary
   3315 to the behaviour of most rm programs out there, and not conforming with
   3316 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3317 
   3318 Please tell bug-automake@gnu.org about your system, including the value
   3319 of your $PATH and any error possibly output before this message.  This
   3320 can help us improve future automake versions.
   3321 
   3322 END
   3323   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3324     echo 'Configuration will proceed anyway, since you have set the' >&2
   3325     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3326     echo >&2
   3327   else
   3328     cat >&2 <<'END'
   3329 Aborting the configuration process, to ensure you take notice of the issue.
   3330 
   3331 You can download and install GNU coreutils to get an 'rm' implementation
   3332 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3333 
   3334 If you want to complete the configuration process using your problematic
   3335 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3336 to "yes", and re-run configure.
   3337 
   3338 END
   3339     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3340   fi
   3341 fi
   3342 
   3343 
   3344 # Initialize libtool
   3345 case `pwd` in
   3346   *\ * | *\	*)
   3347     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3348 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3349 esac
   3350 
   3351 
   3352 
   3353 macro_version='2.4.7'
   3354 macro_revision='2.4.7'
   3355 
   3356 
   3357 
   3358 
   3359 
   3360 
   3361 
   3362 
   3363 
   3364 
   3365 
   3366 
   3367 
   3368 
   3369 ltmain=$ac_aux_dir/ltmain.sh
   3370 
   3371 
   3372 
   3373   # Make sure we can run config.sub.
   3374 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3375   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3376 
   3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3378 printf %s "checking build system type... " >&6; }
   3379 if test ${ac_cv_build+y}
   3380 then :
   3381   printf %s "(cached) " >&6
   3382 else $as_nop
   3383   ac_build_alias=$build_alias
   3384 test "x$ac_build_alias" = x &&
   3385   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3386 test "x$ac_build_alias" = x &&
   3387   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3388 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3389   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3390 
   3391 fi
   3392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3393 printf "%s\n" "$ac_cv_build" >&6; }
   3394 case $ac_cv_build in
   3395 *-*-*) ;;
   3396 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3397 esac
   3398 build=$ac_cv_build
   3399 ac_save_IFS=$IFS; IFS='-'
   3400 set x $ac_cv_build
   3401 shift
   3402 build_cpu=$1
   3403 build_vendor=$2
   3404 shift; shift
   3405 # Remember, the first character of IFS is used to create $*,
   3406 # except with old shells:
   3407 build_os=$*
   3408 IFS=$ac_save_IFS
   3409 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3410 
   3411 
   3412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3413 printf %s "checking host system type... " >&6; }
   3414 if test ${ac_cv_host+y}
   3415 then :
   3416   printf %s "(cached) " >&6
   3417 else $as_nop
   3418   if test "x$host_alias" = x; then
   3419   ac_cv_host=$ac_cv_build
   3420 else
   3421   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3422     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3423 fi
   3424 
   3425 fi
   3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3427 printf "%s\n" "$ac_cv_host" >&6; }
   3428 case $ac_cv_host in
   3429 *-*-*) ;;
   3430 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3431 esac
   3432 host=$ac_cv_host
   3433 ac_save_IFS=$IFS; IFS='-'
   3434 set x $ac_cv_host
   3435 shift
   3436 host_cpu=$1
   3437 host_vendor=$2
   3438 shift; shift
   3439 # Remember, the first character of IFS is used to create $*,
   3440 # except with old shells:
   3441 host_os=$*
   3442 IFS=$ac_save_IFS
   3443 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3444 
   3445 
   3446 # Backslashify metacharacters that are still active within
   3447 # double-quoted strings.
   3448 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3449 
   3450 # Same as above, but do not quote variable references.
   3451 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3452 
   3453 # Sed substitution to delay expansion of an escaped shell variable in a
   3454 # double_quote_subst'ed string.
   3455 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3456 
   3457 # Sed substitution to delay expansion of an escaped single quote.
   3458 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3459 
   3460 # Sed substitution to avoid accidental globbing in evaled expressions
   3461 no_glob_subst='s/\*/\\\*/g'
   3462 
   3463 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3464 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3465 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3466 
   3467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3468 printf %s "checking how to print strings... " >&6; }
   3469 # Test print first, because it will be a builtin if present.
   3470 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3471    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3472   ECHO='print -r --'
   3473 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3474   ECHO='printf %s\n'
   3475 else
   3476   # Use this function as a fallback that always works.
   3477   func_fallback_echo ()
   3478   {
   3479     eval 'cat <<_LTECHO_EOF
   3480 $1
   3481 _LTECHO_EOF'
   3482   }
   3483   ECHO='func_fallback_echo'
   3484 fi
   3485 
   3486 # func_echo_all arg...
   3487 # Invoke $ECHO with all args, space-separated.
   3488 func_echo_all ()
   3489 {
   3490     $ECHO ""
   3491 }
   3492 
   3493 case $ECHO in
   3494   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3495 printf "%s\n" "printf" >&6; } ;;
   3496   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3497 printf "%s\n" "print -r" >&6; } ;;
   3498   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3499 printf "%s\n" "cat" >&6; } ;;
   3500 esac
   3501 
   3502 
   3503 
   3504 
   3505 
   3506 
   3507 
   3508 
   3509 
   3510 
   3511 
   3512 
   3513 
   3514 
   3515 
   3516 
   3517 
   3518 
   3519 
   3520 
   3521 
   3522 
   3523 
   3524 DEPDIR="${am__leading_dot}deps"
   3525 
   3526 ac_config_commands="$ac_config_commands depfiles"
   3527 
   3528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3529 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3530 cat > confinc.mk << 'END'
   3531 am__doit:
   3532 	@echo this is the am__doit target >confinc.out
   3533 .PHONY: am__doit
   3534 END
   3535 am__include="#"
   3536 am__quote=
   3537 # BSD make does it like this.
   3538 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3539 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3540 echo 'include confinc.mk # ignored' > confmf.GNU
   3541 _am_result=no
   3542 for s in GNU BSD; do
   3543   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3544    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3545    ac_status=$?
   3546    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3547    (exit $ac_status); }
   3548   case $?:`cat confinc.out 2>/dev/null` in #(
   3549   '0:this is the am__doit target') :
   3550     case $s in #(
   3551   BSD) :
   3552     am__include='.include' am__quote='"' ;; #(
   3553   *) :
   3554     am__include='include' am__quote='' ;;
   3555 esac ;; #(
   3556   *) :
   3557      ;;
   3558 esac
   3559   if test "$am__include" != "#"; then
   3560     _am_result="yes ($s style)"
   3561     break
   3562   fi
   3563 done
   3564 rm -f confinc.* confmf.*
   3565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3566 printf "%s\n" "${_am_result}" >&6; }
   3567 
   3568 # Check whether --enable-dependency-tracking was given.
   3569 if test ${enable_dependency_tracking+y}
   3570 then :
   3571   enableval=$enable_dependency_tracking;
   3572 fi
   3573 
   3574 if test "x$enable_dependency_tracking" != xno; then
   3575   am_depcomp="$ac_aux_dir/depcomp"
   3576   AMDEPBACKSLASH='\'
   3577   am__nodep='_no'
   3578 fi
   3579  if test "x$enable_dependency_tracking" != xno; then
   3580   AMDEP_TRUE=
   3581   AMDEP_FALSE='#'
   3582 else
   3583   AMDEP_TRUE='#'
   3584   AMDEP_FALSE=
   3585 fi
   3586 
   3587 
   3588 ac_ext=c
   3589 ac_cpp='$CPP $CPPFLAGS'
   3590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3593 if test -n "$ac_tool_prefix"; then
   3594   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3595 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3597 printf %s "checking for $ac_word... " >&6; }
   3598 if test ${ac_cv_prog_CC+y}
   3599 then :
   3600   printf %s "(cached) " >&6
   3601 else $as_nop
   3602   if test -n "$CC"; then
   3603   ac_cv_prog_CC="$CC" # Let the user override the test.
   3604 else
   3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3606 for as_dir in $PATH
   3607 do
   3608   IFS=$as_save_IFS
   3609   case $as_dir in #(((
   3610     '') as_dir=./ ;;
   3611     */) ;;
   3612     *) as_dir=$as_dir/ ;;
   3613   esac
   3614     for ac_exec_ext in '' $ac_executable_extensions; do
   3615   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3616     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3617     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3618     break 2
   3619   fi
   3620 done
   3621   done
   3622 IFS=$as_save_IFS
   3623 
   3624 fi
   3625 fi
   3626 CC=$ac_cv_prog_CC
   3627 if test -n "$CC"; then
   3628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3629 printf "%s\n" "$CC" >&6; }
   3630 else
   3631   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3632 printf "%s\n" "no" >&6; }
   3633 fi
   3634 
   3635 
   3636 fi
   3637 if test -z "$ac_cv_prog_CC"; then
   3638   ac_ct_CC=$CC
   3639   # Extract the first word of "gcc", so it can be a program name with args.
   3640 set dummy gcc; ac_word=$2
   3641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3642 printf %s "checking for $ac_word... " >&6; }
   3643 if test ${ac_cv_prog_ac_ct_CC+y}
   3644 then :
   3645   printf %s "(cached) " >&6
   3646 else $as_nop
   3647   if test -n "$ac_ct_CC"; then
   3648   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3649 else
   3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3651 for as_dir in $PATH
   3652 do
   3653   IFS=$as_save_IFS
   3654   case $as_dir in #(((
   3655     '') as_dir=./ ;;
   3656     */) ;;
   3657     *) as_dir=$as_dir/ ;;
   3658   esac
   3659     for ac_exec_ext in '' $ac_executable_extensions; do
   3660   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3661     ac_cv_prog_ac_ct_CC="gcc"
   3662     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3663     break 2
   3664   fi
   3665 done
   3666   done
   3667 IFS=$as_save_IFS
   3668 
   3669 fi
   3670 fi
   3671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3672 if test -n "$ac_ct_CC"; then
   3673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3674 printf "%s\n" "$ac_ct_CC" >&6; }
   3675 else
   3676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3677 printf "%s\n" "no" >&6; }
   3678 fi
   3679 
   3680   if test "x$ac_ct_CC" = x; then
   3681     CC=""
   3682   else
   3683     case $cross_compiling:$ac_tool_warned in
   3684 yes:)
   3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3686 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3687 ac_tool_warned=yes ;;
   3688 esac
   3689     CC=$ac_ct_CC
   3690   fi
   3691 else
   3692   CC="$ac_cv_prog_CC"
   3693 fi
   3694 
   3695 if test -z "$CC"; then
   3696           if test -n "$ac_tool_prefix"; then
   3697     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3698 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3700 printf %s "checking for $ac_word... " >&6; }
   3701 if test ${ac_cv_prog_CC+y}
   3702 then :
   3703   printf %s "(cached) " >&6
   3704 else $as_nop
   3705   if test -n "$CC"; then
   3706   ac_cv_prog_CC="$CC" # Let the user override the test.
   3707 else
   3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3709 for as_dir in $PATH
   3710 do
   3711   IFS=$as_save_IFS
   3712   case $as_dir in #(((
   3713     '') as_dir=./ ;;
   3714     */) ;;
   3715     *) as_dir=$as_dir/ ;;
   3716   esac
   3717     for ac_exec_ext in '' $ac_executable_extensions; do
   3718   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3719     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3720     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3721     break 2
   3722   fi
   3723 done
   3724   done
   3725 IFS=$as_save_IFS
   3726 
   3727 fi
   3728 fi
   3729 CC=$ac_cv_prog_CC
   3730 if test -n "$CC"; then
   3731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3732 printf "%s\n" "$CC" >&6; }
   3733 else
   3734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3735 printf "%s\n" "no" >&6; }
   3736 fi
   3737 
   3738 
   3739   fi
   3740 fi
   3741 if test -z "$CC"; then
   3742   # Extract the first word of "cc", so it can be a program name with args.
   3743 set dummy cc; ac_word=$2
   3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3745 printf %s "checking for $ac_word... " >&6; }
   3746 if test ${ac_cv_prog_CC+y}
   3747 then :
   3748   printf %s "(cached) " >&6
   3749 else $as_nop
   3750   if test -n "$CC"; then
   3751   ac_cv_prog_CC="$CC" # Let the user override the test.
   3752 else
   3753   ac_prog_rejected=no
   3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3755 for as_dir in $PATH
   3756 do
   3757   IFS=$as_save_IFS
   3758   case $as_dir in #(((
   3759     '') as_dir=./ ;;
   3760     */) ;;
   3761     *) as_dir=$as_dir/ ;;
   3762   esac
   3763     for ac_exec_ext in '' $ac_executable_extensions; do
   3764   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3765     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3766        ac_prog_rejected=yes
   3767        continue
   3768      fi
   3769     ac_cv_prog_CC="cc"
   3770     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3771     break 2
   3772   fi
   3773 done
   3774   done
   3775 IFS=$as_save_IFS
   3776 
   3777 if test $ac_prog_rejected = yes; then
   3778   # We found a bogon in the path, so make sure we never use it.
   3779   set dummy $ac_cv_prog_CC
   3780   shift
   3781   if test $# != 0; then
   3782     # We chose a different compiler from the bogus one.
   3783     # However, it has the same basename, so the bogon will be chosen
   3784     # first if we set CC to just the basename; use the full file name.
   3785     shift
   3786     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3787   fi
   3788 fi
   3789 fi
   3790 fi
   3791 CC=$ac_cv_prog_CC
   3792 if test -n "$CC"; then
   3793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3794 printf "%s\n" "$CC" >&6; }
   3795 else
   3796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3797 printf "%s\n" "no" >&6; }
   3798 fi
   3799 
   3800 
   3801 fi
   3802 if test -z "$CC"; then
   3803   if test -n "$ac_tool_prefix"; then
   3804   for ac_prog in cl.exe
   3805   do
   3806     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3809 printf %s "checking for $ac_word... " >&6; }
   3810 if test ${ac_cv_prog_CC+y}
   3811 then :
   3812   printf %s "(cached) " >&6
   3813 else $as_nop
   3814   if test -n "$CC"; then
   3815   ac_cv_prog_CC="$CC" # Let the user override the test.
   3816 else
   3817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3818 for as_dir in $PATH
   3819 do
   3820   IFS=$as_save_IFS
   3821   case $as_dir in #(((
   3822     '') as_dir=./ ;;
   3823     */) ;;
   3824     *) as_dir=$as_dir/ ;;
   3825   esac
   3826     for ac_exec_ext in '' $ac_executable_extensions; do
   3827   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3828     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3829     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3830     break 2
   3831   fi
   3832 done
   3833   done
   3834 IFS=$as_save_IFS
   3835 
   3836 fi
   3837 fi
   3838 CC=$ac_cv_prog_CC
   3839 if test -n "$CC"; then
   3840   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3841 printf "%s\n" "$CC" >&6; }
   3842 else
   3843   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3844 printf "%s\n" "no" >&6; }
   3845 fi
   3846 
   3847 
   3848     test -n "$CC" && break
   3849   done
   3850 fi
   3851 if test -z "$CC"; then
   3852   ac_ct_CC=$CC
   3853   for ac_prog in cl.exe
   3854 do
   3855   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3856 set dummy $ac_prog; ac_word=$2
   3857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3858 printf %s "checking for $ac_word... " >&6; }
   3859 if test ${ac_cv_prog_ac_ct_CC+y}
   3860 then :
   3861   printf %s "(cached) " >&6
   3862 else $as_nop
   3863   if test -n "$ac_ct_CC"; then
   3864   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3865 else
   3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3867 for as_dir in $PATH
   3868 do
   3869   IFS=$as_save_IFS
   3870   case $as_dir in #(((
   3871     '') as_dir=./ ;;
   3872     */) ;;
   3873     *) as_dir=$as_dir/ ;;
   3874   esac
   3875     for ac_exec_ext in '' $ac_executable_extensions; do
   3876   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3877     ac_cv_prog_ac_ct_CC="$ac_prog"
   3878     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3879     break 2
   3880   fi
   3881 done
   3882   done
   3883 IFS=$as_save_IFS
   3884 
   3885 fi
   3886 fi
   3887 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3888 if test -n "$ac_ct_CC"; then
   3889   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3890 printf "%s\n" "$ac_ct_CC" >&6; }
   3891 else
   3892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3893 printf "%s\n" "no" >&6; }
   3894 fi
   3895 
   3896 
   3897   test -n "$ac_ct_CC" && break
   3898 done
   3899 
   3900   if test "x$ac_ct_CC" = x; then
   3901     CC=""
   3902   else
   3903     case $cross_compiling:$ac_tool_warned in
   3904 yes:)
   3905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3906 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3907 ac_tool_warned=yes ;;
   3908 esac
   3909     CC=$ac_ct_CC
   3910   fi
   3911 fi
   3912 
   3913 fi
   3914 if test -z "$CC"; then
   3915   if test -n "$ac_tool_prefix"; then
   3916   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3917 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3919 printf %s "checking for $ac_word... " >&6; }
   3920 if test ${ac_cv_prog_CC+y}
   3921 then :
   3922   printf %s "(cached) " >&6
   3923 else $as_nop
   3924   if test -n "$CC"; then
   3925   ac_cv_prog_CC="$CC" # Let the user override the test.
   3926 else
   3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3928 for as_dir in $PATH
   3929 do
   3930   IFS=$as_save_IFS
   3931   case $as_dir in #(((
   3932     '') as_dir=./ ;;
   3933     */) ;;
   3934     *) as_dir=$as_dir/ ;;
   3935   esac
   3936     for ac_exec_ext in '' $ac_executable_extensions; do
   3937   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3938     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3939     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3940     break 2
   3941   fi
   3942 done
   3943   done
   3944 IFS=$as_save_IFS
   3945 
   3946 fi
   3947 fi
   3948 CC=$ac_cv_prog_CC
   3949 if test -n "$CC"; then
   3950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3951 printf "%s\n" "$CC" >&6; }
   3952 else
   3953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3954 printf "%s\n" "no" >&6; }
   3955 fi
   3956 
   3957 
   3958 fi
   3959 if test -z "$ac_cv_prog_CC"; then
   3960   ac_ct_CC=$CC
   3961   # Extract the first word of "clang", so it can be a program name with args.
   3962 set dummy clang; ac_word=$2
   3963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3964 printf %s "checking for $ac_word... " >&6; }
   3965 if test ${ac_cv_prog_ac_ct_CC+y}
   3966 then :
   3967   printf %s "(cached) " >&6
   3968 else $as_nop
   3969   if test -n "$ac_ct_CC"; then
   3970   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3971 else
   3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3973 for as_dir in $PATH
   3974 do
   3975   IFS=$as_save_IFS
   3976   case $as_dir in #(((
   3977     '') as_dir=./ ;;
   3978     */) ;;
   3979     *) as_dir=$as_dir/ ;;
   3980   esac
   3981     for ac_exec_ext in '' $ac_executable_extensions; do
   3982   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3983     ac_cv_prog_ac_ct_CC="clang"
   3984     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3985     break 2
   3986   fi
   3987 done
   3988   done
   3989 IFS=$as_save_IFS
   3990 
   3991 fi
   3992 fi
   3993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3994 if test -n "$ac_ct_CC"; then
   3995   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3996 printf "%s\n" "$ac_ct_CC" >&6; }
   3997 else
   3998   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3999 printf "%s\n" "no" >&6; }
   4000 fi
   4001 
   4002   if test "x$ac_ct_CC" = x; then
   4003     CC=""
   4004   else
   4005     case $cross_compiling:$ac_tool_warned in
   4006 yes:)
   4007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4008 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4009 ac_tool_warned=yes ;;
   4010 esac
   4011     CC=$ac_ct_CC
   4012   fi
   4013 else
   4014   CC="$ac_cv_prog_CC"
   4015 fi
   4016 
   4017 fi
   4018 
   4019 
   4020 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4021 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4022 as_fn_error $? "no acceptable C compiler found in \$PATH
   4023 See \`config.log' for more details" "$LINENO" 5; }
   4024 
   4025 # Provide some information about the compiler.
   4026 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4027 set X $ac_compile
   4028 ac_compiler=$2
   4029 for ac_option in --version -v -V -qversion -version; do
   4030   { { ac_try="$ac_compiler $ac_option >&5"
   4031 case "(($ac_try" in
   4032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4033   *) ac_try_echo=$ac_try;;
   4034 esac
   4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4036 printf "%s\n" "$ac_try_echo"; } >&5
   4037   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4038   ac_status=$?
   4039   if test -s conftest.err; then
   4040     sed '10a\
   4041 ... rest of stderr output deleted ...
   4042          10q' conftest.err >conftest.er1
   4043     cat conftest.er1 >&5
   4044   fi
   4045   rm -f conftest.er1 conftest.err
   4046   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4047   test $ac_status = 0; }
   4048 done
   4049 
   4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4051 /* end confdefs.h.  */
   4052 
   4053 int
   4054 main (void)
   4055 {
   4056 
   4057   ;
   4058   return 0;
   4059 }
   4060 _ACEOF
   4061 ac_clean_files_save=$ac_clean_files
   4062 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4063 # Try to create an executable without -o first, disregard a.out.
   4064 # It will help us diagnose broken compilers, and finding out an intuition
   4065 # of exeext.
   4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4067 printf %s "checking whether the C compiler works... " >&6; }
   4068 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4069 
   4070 # The possible output files:
   4071 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4072 
   4073 ac_rmfiles=
   4074 for ac_file in $ac_files
   4075 do
   4076   case $ac_file in
   4077     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4078     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4079   esac
   4080 done
   4081 rm -f $ac_rmfiles
   4082 
   4083 if { { ac_try="$ac_link_default"
   4084 case "(($ac_try" in
   4085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4086   *) ac_try_echo=$ac_try;;
   4087 esac
   4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4089 printf "%s\n" "$ac_try_echo"; } >&5
   4090   (eval "$ac_link_default") 2>&5
   4091   ac_status=$?
   4092   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4093   test $ac_status = 0; }
   4094 then :
   4095   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4096 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4097 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4098 # so that the user can short-circuit this test for compilers unknown to
   4099 # Autoconf.
   4100 for ac_file in $ac_files ''
   4101 do
   4102   test -f "$ac_file" || continue
   4103   case $ac_file in
   4104     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4105 	;;
   4106     [ab].out )
   4107 	# We found the default executable, but exeext='' is most
   4108 	# certainly right.
   4109 	break;;
   4110     *.* )
   4111 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4112 	then :; else
   4113 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4114 	fi
   4115 	# We set ac_cv_exeext here because the later test for it is not
   4116 	# safe: cross compilers may not add the suffix if given an `-o'
   4117 	# argument, so we may need to know it at that point already.
   4118 	# Even if this section looks crufty: it has the advantage of
   4119 	# actually working.
   4120 	break;;
   4121     * )
   4122 	break;;
   4123   esac
   4124 done
   4125 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4126 
   4127 else $as_nop
   4128   ac_file=''
   4129 fi
   4130 if test -z "$ac_file"
   4131 then :
   4132   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4133 printf "%s\n" "no" >&6; }
   4134 printf "%s\n" "$as_me: failed program was:" >&5
   4135 sed 's/^/| /' conftest.$ac_ext >&5
   4136 
   4137 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4138 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4139 as_fn_error 77 "C compiler cannot create executables
   4140 See \`config.log' for more details" "$LINENO" 5; }
   4141 else $as_nop
   4142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4143 printf "%s\n" "yes" >&6; }
   4144 fi
   4145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4146 printf %s "checking for C compiler default output file name... " >&6; }
   4147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4148 printf "%s\n" "$ac_file" >&6; }
   4149 ac_exeext=$ac_cv_exeext
   4150 
   4151 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4152 ac_clean_files=$ac_clean_files_save
   4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4154 printf %s "checking for suffix of executables... " >&6; }
   4155 if { { ac_try="$ac_link"
   4156 case "(($ac_try" in
   4157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4158   *) ac_try_echo=$ac_try;;
   4159 esac
   4160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4161 printf "%s\n" "$ac_try_echo"; } >&5
   4162   (eval "$ac_link") 2>&5
   4163   ac_status=$?
   4164   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4165   test $ac_status = 0; }
   4166 then :
   4167   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4168 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4169 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4170 # `rm'.
   4171 for ac_file in conftest.exe conftest conftest.*; do
   4172   test -f "$ac_file" || continue
   4173   case $ac_file in
   4174     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4175     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4176 	  break;;
   4177     * ) break;;
   4178   esac
   4179 done
   4180 else $as_nop
   4181   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4182 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4183 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4184 See \`config.log' for more details" "$LINENO" 5; }
   4185 fi
   4186 rm -f conftest conftest$ac_cv_exeext
   4187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4188 printf "%s\n" "$ac_cv_exeext" >&6; }
   4189 
   4190 rm -f conftest.$ac_ext
   4191 EXEEXT=$ac_cv_exeext
   4192 ac_exeext=$EXEEXT
   4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4194 /* end confdefs.h.  */
   4195 #include <stdio.h>
   4196 int
   4197 main (void)
   4198 {
   4199 FILE *f = fopen ("conftest.out", "w");
   4200  return ferror (f) || fclose (f) != 0;
   4201 
   4202   ;
   4203   return 0;
   4204 }
   4205 _ACEOF
   4206 ac_clean_files="$ac_clean_files conftest.out"
   4207 # Check that the compiler produces executables we can run.  If not, either
   4208 # the compiler is broken, or we cross compile.
   4209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4210 printf %s "checking whether we are cross compiling... " >&6; }
   4211 if test "$cross_compiling" != yes; then
   4212   { { ac_try="$ac_link"
   4213 case "(($ac_try" in
   4214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4215   *) ac_try_echo=$ac_try;;
   4216 esac
   4217 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4218 printf "%s\n" "$ac_try_echo"; } >&5
   4219   (eval "$ac_link") 2>&5
   4220   ac_status=$?
   4221   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4222   test $ac_status = 0; }
   4223   if { ac_try='./conftest$ac_cv_exeext'
   4224   { { case "(($ac_try" in
   4225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4226   *) ac_try_echo=$ac_try;;
   4227 esac
   4228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4229 printf "%s\n" "$ac_try_echo"; } >&5
   4230   (eval "$ac_try") 2>&5
   4231   ac_status=$?
   4232   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4233   test $ac_status = 0; }; }; then
   4234     cross_compiling=no
   4235   else
   4236     if test "$cross_compiling" = maybe; then
   4237 	cross_compiling=yes
   4238     else
   4239 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4240 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4241 as_fn_error 77 "cannot run C compiled programs.
   4242 If you meant to cross compile, use \`--host'.
   4243 See \`config.log' for more details" "$LINENO" 5; }
   4244     fi
   4245   fi
   4246 fi
   4247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4248 printf "%s\n" "$cross_compiling" >&6; }
   4249 
   4250 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4251 ac_clean_files=$ac_clean_files_save
   4252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4253 printf %s "checking for suffix of object files... " >&6; }
   4254 if test ${ac_cv_objext+y}
   4255 then :
   4256   printf %s "(cached) " >&6
   4257 else $as_nop
   4258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4259 /* end confdefs.h.  */
   4260 
   4261 int
   4262 main (void)
   4263 {
   4264 
   4265   ;
   4266   return 0;
   4267 }
   4268 _ACEOF
   4269 rm -f conftest.o conftest.obj
   4270 if { { ac_try="$ac_compile"
   4271 case "(($ac_try" in
   4272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4273   *) ac_try_echo=$ac_try;;
   4274 esac
   4275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4276 printf "%s\n" "$ac_try_echo"; } >&5
   4277   (eval "$ac_compile") 2>&5
   4278   ac_status=$?
   4279   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4280   test $ac_status = 0; }
   4281 then :
   4282   for ac_file in conftest.o conftest.obj conftest.*; do
   4283   test -f "$ac_file" || continue;
   4284   case $ac_file in
   4285     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4286     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4287        break;;
   4288   esac
   4289 done
   4290 else $as_nop
   4291   printf "%s\n" "$as_me: failed program was:" >&5
   4292 sed 's/^/| /' conftest.$ac_ext >&5
   4293 
   4294 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4295 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4296 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4297 See \`config.log' for more details" "$LINENO" 5; }
   4298 fi
   4299 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4300 fi
   4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4302 printf "%s\n" "$ac_cv_objext" >&6; }
   4303 OBJEXT=$ac_cv_objext
   4304 ac_objext=$OBJEXT
   4305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4306 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4307 if test ${ac_cv_c_compiler_gnu+y}
   4308 then :
   4309   printf %s "(cached) " >&6
   4310 else $as_nop
   4311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4312 /* end confdefs.h.  */
   4313 
   4314 int
   4315 main (void)
   4316 {
   4317 #ifndef __GNUC__
   4318        choke me
   4319 #endif
   4320 
   4321   ;
   4322   return 0;
   4323 }
   4324 _ACEOF
   4325 if ac_fn_c_try_compile "$LINENO"
   4326 then :
   4327   ac_compiler_gnu=yes
   4328 else $as_nop
   4329   ac_compiler_gnu=no
   4330 fi
   4331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4332 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4333 
   4334 fi
   4335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4336 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4338 
   4339 if test $ac_compiler_gnu = yes; then
   4340   GCC=yes
   4341 else
   4342   GCC=
   4343 fi
   4344 ac_test_CFLAGS=${CFLAGS+y}
   4345 ac_save_CFLAGS=$CFLAGS
   4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4347 printf %s "checking whether $CC accepts -g... " >&6; }
   4348 if test ${ac_cv_prog_cc_g+y}
   4349 then :
   4350   printf %s "(cached) " >&6
   4351 else $as_nop
   4352   ac_save_c_werror_flag=$ac_c_werror_flag
   4353    ac_c_werror_flag=yes
   4354    ac_cv_prog_cc_g=no
   4355    CFLAGS="-g"
   4356    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4357 /* end confdefs.h.  */
   4358 
   4359 int
   4360 main (void)
   4361 {
   4362 
   4363   ;
   4364   return 0;
   4365 }
   4366 _ACEOF
   4367 if ac_fn_c_try_compile "$LINENO"
   4368 then :
   4369   ac_cv_prog_cc_g=yes
   4370 else $as_nop
   4371   CFLAGS=""
   4372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4373 /* end confdefs.h.  */
   4374 
   4375 int
   4376 main (void)
   4377 {
   4378 
   4379   ;
   4380   return 0;
   4381 }
   4382 _ACEOF
   4383 if ac_fn_c_try_compile "$LINENO"
   4384 then :
   4385 
   4386 else $as_nop
   4387   ac_c_werror_flag=$ac_save_c_werror_flag
   4388 	 CFLAGS="-g"
   4389 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4390 /* end confdefs.h.  */
   4391 
   4392 int
   4393 main (void)
   4394 {
   4395 
   4396   ;
   4397   return 0;
   4398 }
   4399 _ACEOF
   4400 if ac_fn_c_try_compile "$LINENO"
   4401 then :
   4402   ac_cv_prog_cc_g=yes
   4403 fi
   4404 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4405 fi
   4406 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4407 fi
   4408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4409    ac_c_werror_flag=$ac_save_c_werror_flag
   4410 fi
   4411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4412 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4413 if test $ac_test_CFLAGS; then
   4414   CFLAGS=$ac_save_CFLAGS
   4415 elif test $ac_cv_prog_cc_g = yes; then
   4416   if test "$GCC" = yes; then
   4417     CFLAGS="-g -O2"
   4418   else
   4419     CFLAGS="-g"
   4420   fi
   4421 else
   4422   if test "$GCC" = yes; then
   4423     CFLAGS="-O2"
   4424   else
   4425     CFLAGS=
   4426   fi
   4427 fi
   4428 ac_prog_cc_stdc=no
   4429 if test x$ac_prog_cc_stdc = xno
   4430 then :
   4431   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4432 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4433 if test ${ac_cv_prog_cc_c11+y}
   4434 then :
   4435   printf %s "(cached) " >&6
   4436 else $as_nop
   4437   ac_cv_prog_cc_c11=no
   4438 ac_save_CC=$CC
   4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4440 /* end confdefs.h.  */
   4441 $ac_c_conftest_c11_program
   4442 _ACEOF
   4443 for ac_arg in '' -std=gnu11
   4444 do
   4445   CC="$ac_save_CC $ac_arg"
   4446   if ac_fn_c_try_compile "$LINENO"
   4447 then :
   4448   ac_cv_prog_cc_c11=$ac_arg
   4449 fi
   4450 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4451   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4452 done
   4453 rm -f conftest.$ac_ext
   4454 CC=$ac_save_CC
   4455 fi
   4456 
   4457 if test "x$ac_cv_prog_cc_c11" = xno
   4458 then :
   4459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4460 printf "%s\n" "unsupported" >&6; }
   4461 else $as_nop
   4462   if test "x$ac_cv_prog_cc_c11" = x
   4463 then :
   4464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4465 printf "%s\n" "none needed" >&6; }
   4466 else $as_nop
   4467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4468 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4469      CC="$CC $ac_cv_prog_cc_c11"
   4470 fi
   4471   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4472   ac_prog_cc_stdc=c11
   4473 fi
   4474 fi
   4475 if test x$ac_prog_cc_stdc = xno
   4476 then :
   4477   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4478 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4479 if test ${ac_cv_prog_cc_c99+y}
   4480 then :
   4481   printf %s "(cached) " >&6
   4482 else $as_nop
   4483   ac_cv_prog_cc_c99=no
   4484 ac_save_CC=$CC
   4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4486 /* end confdefs.h.  */
   4487 $ac_c_conftest_c99_program
   4488 _ACEOF
   4489 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4490 do
   4491   CC="$ac_save_CC $ac_arg"
   4492   if ac_fn_c_try_compile "$LINENO"
   4493 then :
   4494   ac_cv_prog_cc_c99=$ac_arg
   4495 fi
   4496 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4497   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4498 done
   4499 rm -f conftest.$ac_ext
   4500 CC=$ac_save_CC
   4501 fi
   4502 
   4503 if test "x$ac_cv_prog_cc_c99" = xno
   4504 then :
   4505   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4506 printf "%s\n" "unsupported" >&6; }
   4507 else $as_nop
   4508   if test "x$ac_cv_prog_cc_c99" = x
   4509 then :
   4510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4511 printf "%s\n" "none needed" >&6; }
   4512 else $as_nop
   4513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4514 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4515      CC="$CC $ac_cv_prog_cc_c99"
   4516 fi
   4517   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4518   ac_prog_cc_stdc=c99
   4519 fi
   4520 fi
   4521 if test x$ac_prog_cc_stdc = xno
   4522 then :
   4523   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4524 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4525 if test ${ac_cv_prog_cc_c89+y}
   4526 then :
   4527   printf %s "(cached) " >&6
   4528 else $as_nop
   4529   ac_cv_prog_cc_c89=no
   4530 ac_save_CC=$CC
   4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4532 /* end confdefs.h.  */
   4533 $ac_c_conftest_c89_program
   4534 _ACEOF
   4535 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4536 do
   4537   CC="$ac_save_CC $ac_arg"
   4538   if ac_fn_c_try_compile "$LINENO"
   4539 then :
   4540   ac_cv_prog_cc_c89=$ac_arg
   4541 fi
   4542 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4543   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4544 done
   4545 rm -f conftest.$ac_ext
   4546 CC=$ac_save_CC
   4547 fi
   4548 
   4549 if test "x$ac_cv_prog_cc_c89" = xno
   4550 then :
   4551   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4552 printf "%s\n" "unsupported" >&6; }
   4553 else $as_nop
   4554   if test "x$ac_cv_prog_cc_c89" = x
   4555 then :
   4556   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4557 printf "%s\n" "none needed" >&6; }
   4558 else $as_nop
   4559   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4560 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4561      CC="$CC $ac_cv_prog_cc_c89"
   4562 fi
   4563   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4564   ac_prog_cc_stdc=c89
   4565 fi
   4566 fi
   4567 
   4568 ac_ext=c
   4569 ac_cpp='$CPP $CPPFLAGS'
   4570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4573 
   4574 
   4575   ac_ext=c
   4576 ac_cpp='$CPP $CPPFLAGS'
   4577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4581 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4582 if test ${am_cv_prog_cc_c_o+y}
   4583 then :
   4584   printf %s "(cached) " >&6
   4585 else $as_nop
   4586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4587 /* end confdefs.h.  */
   4588 
   4589 int
   4590 main (void)
   4591 {
   4592 
   4593   ;
   4594   return 0;
   4595 }
   4596 _ACEOF
   4597   # Make sure it works both with $CC and with simple cc.
   4598   # Following AC_PROG_CC_C_O, we do the test twice because some
   4599   # compilers refuse to overwrite an existing .o file with -o,
   4600   # though they will create one.
   4601   am_cv_prog_cc_c_o=yes
   4602   for am_i in 1 2; do
   4603     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4604    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4605    ac_status=$?
   4606    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4607    (exit $ac_status); } \
   4608          && test -f conftest2.$ac_objext; then
   4609       : OK
   4610     else
   4611       am_cv_prog_cc_c_o=no
   4612       break
   4613     fi
   4614   done
   4615   rm -f core conftest*
   4616   unset am_i
   4617 fi
   4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4619 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4620 if test "$am_cv_prog_cc_c_o" != yes; then
   4621    # Losing compiler, so override with the script.
   4622    # FIXME: It is wrong to rewrite CC.
   4623    # But if we don't then we get into trouble of one sort or another.
   4624    # A longer-term fix would be to have automake use am__CC in this case,
   4625    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4626    CC="$am_aux_dir/compile $CC"
   4627 fi
   4628 ac_ext=c
   4629 ac_cpp='$CPP $CPPFLAGS'
   4630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4633 
   4634 
   4635 depcc="$CC"   am_compiler_list=
   4636 
   4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4638 printf %s "checking dependency style of $depcc... " >&6; }
   4639 if test ${am_cv_CC_dependencies_compiler_type+y}
   4640 then :
   4641   printf %s "(cached) " >&6
   4642 else $as_nop
   4643   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4644   # We make a subdir and do the tests there.  Otherwise we can end up
   4645   # making bogus files that we don't know about and never remove.  For
   4646   # instance it was reported that on HP-UX the gcc test will end up
   4647   # making a dummy file named 'D' -- because '-MD' means "put the output
   4648   # in D".
   4649   rm -rf conftest.dir
   4650   mkdir conftest.dir
   4651   # Copy depcomp to subdir because otherwise we won't find it if we're
   4652   # using a relative directory.
   4653   cp "$am_depcomp" conftest.dir
   4654   cd conftest.dir
   4655   # We will build objects and dependencies in a subdirectory because
   4656   # it helps to detect inapplicable dependency modes.  For instance
   4657   # both Tru64's cc and ICC support -MD to output dependencies as a
   4658   # side effect of compilation, but ICC will put the dependencies in
   4659   # the current directory while Tru64 will put them in the object
   4660   # directory.
   4661   mkdir sub
   4662 
   4663   am_cv_CC_dependencies_compiler_type=none
   4664   if test "$am_compiler_list" = ""; then
   4665      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4666   fi
   4667   am__universal=false
   4668   case " $depcc " in #(
   4669      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4670      esac
   4671 
   4672   for depmode in $am_compiler_list; do
   4673     # Setup a source with many dependencies, because some compilers
   4674     # like to wrap large dependency lists on column 80 (with \), and
   4675     # we should not choose a depcomp mode which is confused by this.
   4676     #
   4677     # We need to recreate these files for each test, as the compiler may
   4678     # overwrite some of them when testing with obscure command lines.
   4679     # This happens at least with the AIX C compiler.
   4680     : > sub/conftest.c
   4681     for i in 1 2 3 4 5 6; do
   4682       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4683       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4684       # Solaris 10 /bin/sh.
   4685       echo '/* dummy */' > sub/conftst$i.h
   4686     done
   4687     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4688 
   4689     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4690     # mode.  It turns out that the SunPro C++ compiler does not properly
   4691     # handle '-M -o', and we need to detect this.  Also, some Intel
   4692     # versions had trouble with output in subdirs.
   4693     am__obj=sub/conftest.${OBJEXT-o}
   4694     am__minus_obj="-o $am__obj"
   4695     case $depmode in
   4696     gcc)
   4697       # This depmode causes a compiler race in universal mode.
   4698       test "$am__universal" = false || continue
   4699       ;;
   4700     nosideeffect)
   4701       # After this tag, mechanisms are not by side-effect, so they'll
   4702       # only be used when explicitly requested.
   4703       if test "x$enable_dependency_tracking" = xyes; then
   4704 	continue
   4705       else
   4706 	break
   4707       fi
   4708       ;;
   4709     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4710       # This compiler won't grok '-c -o', but also, the minuso test has
   4711       # not run yet.  These depmodes are late enough in the game, and
   4712       # so weak that their functioning should not be impacted.
   4713       am__obj=conftest.${OBJEXT-o}
   4714       am__minus_obj=
   4715       ;;
   4716     none) break ;;
   4717     esac
   4718     if depmode=$depmode \
   4719        source=sub/conftest.c object=$am__obj \
   4720        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4721        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4722          >/dev/null 2>conftest.err &&
   4723        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4724        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4725        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4726        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4727       # icc doesn't choke on unknown options, it will just issue warnings
   4728       # or remarks (even with -Werror).  So we grep stderr for any message
   4729       # that says an option was ignored or not supported.
   4730       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4731       #   icc: Command line warning: ignoring option '-M'; no argument required
   4732       # The diagnosis changed in icc 8.0:
   4733       #   icc: Command line remark: option '-MP' not supported
   4734       if (grep 'ignoring option' conftest.err ||
   4735           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4736         am_cv_CC_dependencies_compiler_type=$depmode
   4737         break
   4738       fi
   4739     fi
   4740   done
   4741 
   4742   cd ..
   4743   rm -rf conftest.dir
   4744 else
   4745   am_cv_CC_dependencies_compiler_type=none
   4746 fi
   4747 
   4748 fi
   4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4750 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4751 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4752 
   4753  if
   4754   test "x$enable_dependency_tracking" != xno \
   4755   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4756   am__fastdepCC_TRUE=
   4757   am__fastdepCC_FALSE='#'
   4758 else
   4759   am__fastdepCC_TRUE='#'
   4760   am__fastdepCC_FALSE=
   4761 fi
   4762 
   4763 
   4764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4765 printf %s "checking for a sed that does not truncate output... " >&6; }
   4766 if test ${ac_cv_path_SED+y}
   4767 then :
   4768   printf %s "(cached) " >&6
   4769 else $as_nop
   4770             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4771      for ac_i in 1 2 3 4 5 6 7; do
   4772        ac_script="$ac_script$as_nl$ac_script"
   4773      done
   4774      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4775      { ac_script=; unset ac_script;}
   4776      if test -z "$SED"; then
   4777   ac_path_SED_found=false
   4778   # Loop through the user's path and test for each of PROGNAME-LIST
   4779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4780 for as_dir in $PATH
   4781 do
   4782   IFS=$as_save_IFS
   4783   case $as_dir in #(((
   4784     '') as_dir=./ ;;
   4785     */) ;;
   4786     *) as_dir=$as_dir/ ;;
   4787   esac
   4788     for ac_prog in sed gsed
   4789    do
   4790     for ac_exec_ext in '' $ac_executable_extensions; do
   4791       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4792       as_fn_executable_p "$ac_path_SED" || continue
   4793 # Check for GNU ac_path_SED and select it if it is found.
   4794   # Check for GNU $ac_path_SED
   4795 case `"$ac_path_SED" --version 2>&1` in
   4796 *GNU*)
   4797   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4798 *)
   4799   ac_count=0
   4800   printf %s 0123456789 >"conftest.in"
   4801   while :
   4802   do
   4803     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4804     mv "conftest.tmp" "conftest.in"
   4805     cp "conftest.in" "conftest.nl"
   4806     printf "%s\n" '' >> "conftest.nl"
   4807     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4808     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4809     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4810     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4811       # Best one so far, save it but keep looking for a better one
   4812       ac_cv_path_SED="$ac_path_SED"
   4813       ac_path_SED_max=$ac_count
   4814     fi
   4815     # 10*(2^10) chars as input seems more than enough
   4816     test $ac_count -gt 10 && break
   4817   done
   4818   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4819 esac
   4820 
   4821       $ac_path_SED_found && break 3
   4822     done
   4823   done
   4824   done
   4825 IFS=$as_save_IFS
   4826   if test -z "$ac_cv_path_SED"; then
   4827     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4828   fi
   4829 else
   4830   ac_cv_path_SED=$SED
   4831 fi
   4832 
   4833 fi
   4834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4835 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4836  SED="$ac_cv_path_SED"
   4837   rm -f conftest.sed
   4838 
   4839 test -z "$SED" && SED=sed
   4840 Xsed="$SED -e 1s/^X//"
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4853 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4854 if test ${ac_cv_path_GREP+y}
   4855 then :
   4856   printf %s "(cached) " >&6
   4857 else $as_nop
   4858   if test -z "$GREP"; then
   4859   ac_path_GREP_found=false
   4860   # Loop through the user's path and test for each of PROGNAME-LIST
   4861   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4862 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4863 do
   4864   IFS=$as_save_IFS
   4865   case $as_dir in #(((
   4866     '') as_dir=./ ;;
   4867     */) ;;
   4868     *) as_dir=$as_dir/ ;;
   4869   esac
   4870     for ac_prog in grep ggrep
   4871    do
   4872     for ac_exec_ext in '' $ac_executable_extensions; do
   4873       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4874       as_fn_executable_p "$ac_path_GREP" || continue
   4875 # Check for GNU ac_path_GREP and select it if it is found.
   4876   # Check for GNU $ac_path_GREP
   4877 case `"$ac_path_GREP" --version 2>&1` in
   4878 *GNU*)
   4879   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4880 *)
   4881   ac_count=0
   4882   printf %s 0123456789 >"conftest.in"
   4883   while :
   4884   do
   4885     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4886     mv "conftest.tmp" "conftest.in"
   4887     cp "conftest.in" "conftest.nl"
   4888     printf "%s\n" 'GREP' >> "conftest.nl"
   4889     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4890     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4891     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4892     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4893       # Best one so far, save it but keep looking for a better one
   4894       ac_cv_path_GREP="$ac_path_GREP"
   4895       ac_path_GREP_max=$ac_count
   4896     fi
   4897     # 10*(2^10) chars as input seems more than enough
   4898     test $ac_count -gt 10 && break
   4899   done
   4900   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4901 esac
   4902 
   4903       $ac_path_GREP_found && break 3
   4904     done
   4905   done
   4906   done
   4907 IFS=$as_save_IFS
   4908   if test -z "$ac_cv_path_GREP"; then
   4909     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4910   fi
   4911 else
   4912   ac_cv_path_GREP=$GREP
   4913 fi
   4914 
   4915 fi
   4916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4917 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4918  GREP="$ac_cv_path_GREP"
   4919 
   4920 
   4921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4922 printf %s "checking for egrep... " >&6; }
   4923 if test ${ac_cv_path_EGREP+y}
   4924 then :
   4925   printf %s "(cached) " >&6
   4926 else $as_nop
   4927   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4928    then ac_cv_path_EGREP="$GREP -E"
   4929    else
   4930      if test -z "$EGREP"; then
   4931   ac_path_EGREP_found=false
   4932   # Loop through the user's path and test for each of PROGNAME-LIST
   4933   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4934 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4935 do
   4936   IFS=$as_save_IFS
   4937   case $as_dir in #(((
   4938     '') as_dir=./ ;;
   4939     */) ;;
   4940     *) as_dir=$as_dir/ ;;
   4941   esac
   4942     for ac_prog in egrep
   4943    do
   4944     for ac_exec_ext in '' $ac_executable_extensions; do
   4945       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4946       as_fn_executable_p "$ac_path_EGREP" || continue
   4947 # Check for GNU ac_path_EGREP and select it if it is found.
   4948   # Check for GNU $ac_path_EGREP
   4949 case `"$ac_path_EGREP" --version 2>&1` in
   4950 *GNU*)
   4951   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4952 *)
   4953   ac_count=0
   4954   printf %s 0123456789 >"conftest.in"
   4955   while :
   4956   do
   4957     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4958     mv "conftest.tmp" "conftest.in"
   4959     cp "conftest.in" "conftest.nl"
   4960     printf "%s\n" 'EGREP' >> "conftest.nl"
   4961     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4962     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4963     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4964     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4965       # Best one so far, save it but keep looking for a better one
   4966       ac_cv_path_EGREP="$ac_path_EGREP"
   4967       ac_path_EGREP_max=$ac_count
   4968     fi
   4969     # 10*(2^10) chars as input seems more than enough
   4970     test $ac_count -gt 10 && break
   4971   done
   4972   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4973 esac
   4974 
   4975       $ac_path_EGREP_found && break 3
   4976     done
   4977   done
   4978   done
   4979 IFS=$as_save_IFS
   4980   if test -z "$ac_cv_path_EGREP"; then
   4981     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4982   fi
   4983 else
   4984   ac_cv_path_EGREP=$EGREP
   4985 fi
   4986 
   4987    fi
   4988 fi
   4989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4990 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4991  EGREP="$ac_cv_path_EGREP"
   4992 
   4993 
   4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4995 printf %s "checking for fgrep... " >&6; }
   4996 if test ${ac_cv_path_FGREP+y}
   4997 then :
   4998   printf %s "(cached) " >&6
   4999 else $as_nop
   5000   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5001    then ac_cv_path_FGREP="$GREP -F"
   5002    else
   5003      if test -z "$FGREP"; then
   5004   ac_path_FGREP_found=false
   5005   # Loop through the user's path and test for each of PROGNAME-LIST
   5006   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5007 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5008 do
   5009   IFS=$as_save_IFS
   5010   case $as_dir in #(((
   5011     '') as_dir=./ ;;
   5012     */) ;;
   5013     *) as_dir=$as_dir/ ;;
   5014   esac
   5015     for ac_prog in fgrep
   5016    do
   5017     for ac_exec_ext in '' $ac_executable_extensions; do
   5018       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5019       as_fn_executable_p "$ac_path_FGREP" || continue
   5020 # Check for GNU ac_path_FGREP and select it if it is found.
   5021   # Check for GNU $ac_path_FGREP
   5022 case `"$ac_path_FGREP" --version 2>&1` in
   5023 *GNU*)
   5024   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5025 *)
   5026   ac_count=0
   5027   printf %s 0123456789 >"conftest.in"
   5028   while :
   5029   do
   5030     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5031     mv "conftest.tmp" "conftest.in"
   5032     cp "conftest.in" "conftest.nl"
   5033     printf "%s\n" 'FGREP' >> "conftest.nl"
   5034     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5035     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5036     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5037     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5038       # Best one so far, save it but keep looking for a better one
   5039       ac_cv_path_FGREP="$ac_path_FGREP"
   5040       ac_path_FGREP_max=$ac_count
   5041     fi
   5042     # 10*(2^10) chars as input seems more than enough
   5043     test $ac_count -gt 10 && break
   5044   done
   5045   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5046 esac
   5047 
   5048       $ac_path_FGREP_found && break 3
   5049     done
   5050   done
   5051   done
   5052 IFS=$as_save_IFS
   5053   if test -z "$ac_cv_path_FGREP"; then
   5054     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5055   fi
   5056 else
   5057   ac_cv_path_FGREP=$FGREP
   5058 fi
   5059 
   5060    fi
   5061 fi
   5062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5063 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5064  FGREP="$ac_cv_path_FGREP"
   5065 
   5066 
   5067 test -z "$GREP" && GREP=grep
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 # Check whether --with-gnu-ld was given.
   5088 if test ${with_gnu_ld+y}
   5089 then :
   5090   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5091 else $as_nop
   5092   with_gnu_ld=no
   5093 fi
   5094 
   5095 ac_prog=ld
   5096 if test yes = "$GCC"; then
   5097   # Check if gcc -print-prog-name=ld gives a path.
   5098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5099 printf %s "checking for ld used by $CC... " >&6; }
   5100   case $host in
   5101   *-*-mingw*)
   5102     # gcc leaves a trailing carriage return, which upsets mingw
   5103     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5104   *)
   5105     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5106   esac
   5107   case $ac_prog in
   5108     # Accept absolute paths.
   5109     [\\/]* | ?:[\\/]*)
   5110       re_direlt='/[^/][^/]*/\.\./'
   5111       # Canonicalize the pathname of ld
   5112       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5113       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5114 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5115       done
   5116       test -z "$LD" && LD=$ac_prog
   5117       ;;
   5118   "")
   5119     # If it fails, then pretend we aren't using GCC.
   5120     ac_prog=ld
   5121     ;;
   5122   *)
   5123     # If it is relative, then search for the first ld in PATH.
   5124     with_gnu_ld=unknown
   5125     ;;
   5126   esac
   5127 elif test yes = "$with_gnu_ld"; then
   5128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5129 printf %s "checking for GNU ld... " >&6; }
   5130 else
   5131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5132 printf %s "checking for non-GNU ld... " >&6; }
   5133 fi
   5134 if test ${lt_cv_path_LD+y}
   5135 then :
   5136   printf %s "(cached) " >&6
   5137 else $as_nop
   5138   if test -z "$LD"; then
   5139   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5140   for ac_dir in $PATH; do
   5141     IFS=$lt_save_ifs
   5142     test -z "$ac_dir" && ac_dir=.
   5143     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5144       lt_cv_path_LD=$ac_dir/$ac_prog
   5145       # Check to see if the program is GNU ld.  I'd rather use --version,
   5146       # but apparently some variants of GNU ld only accept -v.
   5147       # Break only if it was the GNU/non-GNU ld that we prefer.
   5148       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5149       *GNU* | *'with BFD'*)
   5150 	test no != "$with_gnu_ld" && break
   5151 	;;
   5152       *)
   5153 	test yes != "$with_gnu_ld" && break
   5154 	;;
   5155       esac
   5156     fi
   5157   done
   5158   IFS=$lt_save_ifs
   5159 else
   5160   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5161 fi
   5162 fi
   5163 
   5164 LD=$lt_cv_path_LD
   5165 if test -n "$LD"; then
   5166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5167 printf "%s\n" "$LD" >&6; }
   5168 else
   5169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5170 printf "%s\n" "no" >&6; }
   5171 fi
   5172 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5174 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5175 if test ${lt_cv_prog_gnu_ld+y}
   5176 then :
   5177   printf %s "(cached) " >&6
   5178 else $as_nop
   5179   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5180 case `$LD -v 2>&1 </dev/null` in
   5181 *GNU* | *'with BFD'*)
   5182   lt_cv_prog_gnu_ld=yes
   5183   ;;
   5184 *)
   5185   lt_cv_prog_gnu_ld=no
   5186   ;;
   5187 esac
   5188 fi
   5189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5190 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5191 with_gnu_ld=$lt_cv_prog_gnu_ld
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5202 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5203 if test ${lt_cv_path_NM+y}
   5204 then :
   5205   printf %s "(cached) " >&6
   5206 else $as_nop
   5207   if test -n "$NM"; then
   5208   # Let the user override the test.
   5209   lt_cv_path_NM=$NM
   5210 else
   5211   lt_nm_to_check=${ac_tool_prefix}nm
   5212   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5213     lt_nm_to_check="$lt_nm_to_check nm"
   5214   fi
   5215   for lt_tmp_nm in $lt_nm_to_check; do
   5216     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5217     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5218       IFS=$lt_save_ifs
   5219       test -z "$ac_dir" && ac_dir=.
   5220       tmp_nm=$ac_dir/$lt_tmp_nm
   5221       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5222 	# Check to see if the nm accepts a BSD-compat flag.
   5223 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5224 	#   nm: unknown option "B" ignored
   5225 	# Tru64's nm complains that /dev/null is an invalid object file
   5226 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5227 	case $build_os in
   5228 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5229 	*) lt_bad_file=/dev/null ;;
   5230 	esac
   5231 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5232 	*$lt_bad_file* | *'Invalid file or object type'*)
   5233 	  lt_cv_path_NM="$tmp_nm -B"
   5234 	  break 2
   5235 	  ;;
   5236 	*)
   5237 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5238 	  */dev/null*)
   5239 	    lt_cv_path_NM="$tmp_nm -p"
   5240 	    break 2
   5241 	    ;;
   5242 	  *)
   5243 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5244 	    continue # so that we can try to find one that supports BSD flags
   5245 	    ;;
   5246 	  esac
   5247 	  ;;
   5248 	esac
   5249       fi
   5250     done
   5251     IFS=$lt_save_ifs
   5252   done
   5253   : ${lt_cv_path_NM=no}
   5254 fi
   5255 fi
   5256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5257 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5258 if test no != "$lt_cv_path_NM"; then
   5259   NM=$lt_cv_path_NM
   5260 else
   5261   # Didn't find any BSD compatible name lister, look for dumpbin.
   5262   if test -n "$DUMPBIN"; then :
   5263     # Let the user override the test.
   5264   else
   5265     if test -n "$ac_tool_prefix"; then
   5266   for ac_prog in dumpbin "link -dump"
   5267   do
   5268     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5269 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5271 printf %s "checking for $ac_word... " >&6; }
   5272 if test ${ac_cv_prog_DUMPBIN+y}
   5273 then :
   5274   printf %s "(cached) " >&6
   5275 else $as_nop
   5276   if test -n "$DUMPBIN"; then
   5277   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5278 else
   5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5280 for as_dir in $PATH
   5281 do
   5282   IFS=$as_save_IFS
   5283   case $as_dir in #(((
   5284     '') as_dir=./ ;;
   5285     */) ;;
   5286     *) as_dir=$as_dir/ ;;
   5287   esac
   5288     for ac_exec_ext in '' $ac_executable_extensions; do
   5289   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5290     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5291     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5292     break 2
   5293   fi
   5294 done
   5295   done
   5296 IFS=$as_save_IFS
   5297 
   5298 fi
   5299 fi
   5300 DUMPBIN=$ac_cv_prog_DUMPBIN
   5301 if test -n "$DUMPBIN"; then
   5302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5303 printf "%s\n" "$DUMPBIN" >&6; }
   5304 else
   5305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5306 printf "%s\n" "no" >&6; }
   5307 fi
   5308 
   5309 
   5310     test -n "$DUMPBIN" && break
   5311   done
   5312 fi
   5313 if test -z "$DUMPBIN"; then
   5314   ac_ct_DUMPBIN=$DUMPBIN
   5315   for ac_prog in dumpbin "link -dump"
   5316 do
   5317   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5318 set dummy $ac_prog; ac_word=$2
   5319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5320 printf %s "checking for $ac_word... " >&6; }
   5321 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5322 then :
   5323   printf %s "(cached) " >&6
   5324 else $as_nop
   5325   if test -n "$ac_ct_DUMPBIN"; then
   5326   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5327 else
   5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5329 for as_dir in $PATH
   5330 do
   5331   IFS=$as_save_IFS
   5332   case $as_dir in #(((
   5333     '') as_dir=./ ;;
   5334     */) ;;
   5335     *) as_dir=$as_dir/ ;;
   5336   esac
   5337     for ac_exec_ext in '' $ac_executable_extensions; do
   5338   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5339     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5340     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5341     break 2
   5342   fi
   5343 done
   5344   done
   5345 IFS=$as_save_IFS
   5346 
   5347 fi
   5348 fi
   5349 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5350 if test -n "$ac_ct_DUMPBIN"; then
   5351   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5352 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5353 else
   5354   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5355 printf "%s\n" "no" >&6; }
   5356 fi
   5357 
   5358 
   5359   test -n "$ac_ct_DUMPBIN" && break
   5360 done
   5361 
   5362   if test "x$ac_ct_DUMPBIN" = x; then
   5363     DUMPBIN=":"
   5364   else
   5365     case $cross_compiling:$ac_tool_warned in
   5366 yes:)
   5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5368 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5369 ac_tool_warned=yes ;;
   5370 esac
   5371     DUMPBIN=$ac_ct_DUMPBIN
   5372   fi
   5373 fi
   5374 
   5375     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5376     *COFF*)
   5377       DUMPBIN="$DUMPBIN -symbols -headers"
   5378       ;;
   5379     *)
   5380       DUMPBIN=:
   5381       ;;
   5382     esac
   5383   fi
   5384 
   5385   if test : != "$DUMPBIN"; then
   5386     NM=$DUMPBIN
   5387   fi
   5388 fi
   5389 test -z "$NM" && NM=nm
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5397 printf %s "checking the name lister ($NM) interface... " >&6; }
   5398 if test ${lt_cv_nm_interface+y}
   5399 then :
   5400   printf %s "(cached) " >&6
   5401 else $as_nop
   5402   lt_cv_nm_interface="BSD nm"
   5403   echo "int some_variable = 0;" > conftest.$ac_ext
   5404   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5405   (eval "$ac_compile" 2>conftest.err)
   5406   cat conftest.err >&5
   5407   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5408   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5409   cat conftest.err >&5
   5410   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5411   cat conftest.out >&5
   5412   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5413     lt_cv_nm_interface="MS dumpbin"
   5414   fi
   5415   rm -f conftest*
   5416 fi
   5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5418 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5419 
   5420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5421 printf %s "checking whether ln -s works... " >&6; }
   5422 LN_S=$as_ln_s
   5423 if test "$LN_S" = "ln -s"; then
   5424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5425 printf "%s\n" "yes" >&6; }
   5426 else
   5427   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5428 printf "%s\n" "no, using $LN_S" >&6; }
   5429 fi
   5430 
   5431 # find the maximum length of command line arguments
   5432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5433 printf %s "checking the maximum length of command line arguments... " >&6; }
   5434 if test ${lt_cv_sys_max_cmd_len+y}
   5435 then :
   5436   printf %s "(cached) " >&6
   5437 else $as_nop
   5438     i=0
   5439   teststring=ABCD
   5440 
   5441   case $build_os in
   5442   msdosdjgpp*)
   5443     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5444     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5445     # during glob expansion).  Even if it were fixed, the result of this
   5446     # check would be larger than it should be.
   5447     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5448     ;;
   5449 
   5450   gnu*)
   5451     # Under GNU Hurd, this test is not required because there is
   5452     # no limit to the length of command line arguments.
   5453     # Libtool will interpret -1 as no limit whatsoever
   5454     lt_cv_sys_max_cmd_len=-1;
   5455     ;;
   5456 
   5457   cygwin* | mingw* | cegcc*)
   5458     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5459     # about 5 minutes as the teststring grows exponentially.
   5460     # Worse, since 9x/ME are not pre-emptively multitasking,
   5461     # you end up with a "frozen" computer, even though with patience
   5462     # the test eventually succeeds (with a max line length of 256k).
   5463     # Instead, let's just punt: use the minimum linelength reported by
   5464     # all of the supported platforms: 8192 (on NT/2K/XP).
   5465     lt_cv_sys_max_cmd_len=8192;
   5466     ;;
   5467 
   5468   mint*)
   5469     # On MiNT this can take a long time and run out of memory.
   5470     lt_cv_sys_max_cmd_len=8192;
   5471     ;;
   5472 
   5473   amigaos*)
   5474     # On AmigaOS with pdksh, this test takes hours, literally.
   5475     # So we just punt and use a minimum line length of 8192.
   5476     lt_cv_sys_max_cmd_len=8192;
   5477     ;;
   5478 
   5479   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5480     # This has been around since 386BSD, at least.  Likely further.
   5481     if test -x /sbin/sysctl; then
   5482       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5483     elif test -x /usr/sbin/sysctl; then
   5484       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5485     else
   5486       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5487     fi
   5488     # And add a safety zone
   5489     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5490     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5491     ;;
   5492 
   5493   interix*)
   5494     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5495     lt_cv_sys_max_cmd_len=196608
   5496     ;;
   5497 
   5498   os2*)
   5499     # The test takes a long time on OS/2.
   5500     lt_cv_sys_max_cmd_len=8192
   5501     ;;
   5502 
   5503   osf*)
   5504     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5505     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5506     # nice to cause kernel panics so lets avoid the loop below.
   5507     # First set a reasonable default.
   5508     lt_cv_sys_max_cmd_len=16384
   5509     #
   5510     if test -x /sbin/sysconfig; then
   5511       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5512         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5513       esac
   5514     fi
   5515     ;;
   5516   sco3.2v5*)
   5517     lt_cv_sys_max_cmd_len=102400
   5518     ;;
   5519   sysv5* | sco5v6* | sysv4.2uw2*)
   5520     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5521     if test -n "$kargmax"; then
   5522       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5523     else
   5524       lt_cv_sys_max_cmd_len=32768
   5525     fi
   5526     ;;
   5527   *)
   5528     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5529     if test -n "$lt_cv_sys_max_cmd_len" && \
   5530        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5531       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5532       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5533     else
   5534       # Make teststring a little bigger before we do anything with it.
   5535       # a 1K string should be a reasonable start.
   5536       for i in 1 2 3 4 5 6 7 8; do
   5537         teststring=$teststring$teststring
   5538       done
   5539       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5540       # If test is not a shell built-in, we'll probably end up computing a
   5541       # maximum length that is only half of the actual maximum length, but
   5542       # we can't tell.
   5543       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5544 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5545 	      test 17 != "$i" # 1/2 MB should be enough
   5546       do
   5547         i=`expr $i + 1`
   5548         teststring=$teststring$teststring
   5549       done
   5550       # Only check the string length outside the loop.
   5551       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5552       teststring=
   5553       # Add a significant safety factor because C++ compilers can tack on
   5554       # massive amounts of additional arguments before passing them to the
   5555       # linker.  It appears as though 1/2 is a usable value.
   5556       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5557     fi
   5558     ;;
   5559   esac
   5560 
   5561 fi
   5562 
   5563 if test -n "$lt_cv_sys_max_cmd_len"; then
   5564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5565 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5566 else
   5567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5568 printf "%s\n" "none" >&6; }
   5569 fi
   5570 max_cmd_len=$lt_cv_sys_max_cmd_len
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 : ${CP="cp -f"}
   5578 : ${MV="mv -f"}
   5579 : ${RM="rm -f"}
   5580 
   5581 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5582   lt_unset=unset
   5583 else
   5584   lt_unset=false
   5585 fi
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 # test EBCDIC or ASCII
   5592 case `echo X|tr X '\101'` in
   5593  A) # ASCII based system
   5594     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5595   lt_SP2NL='tr \040 \012'
   5596   lt_NL2SP='tr \015\012 \040\040'
   5597   ;;
   5598  *) # EBCDIC based system
   5599   lt_SP2NL='tr \100 \n'
   5600   lt_NL2SP='tr \r\n \100\100'
   5601   ;;
   5602 esac
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5613 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5614 if test ${lt_cv_to_host_file_cmd+y}
   5615 then :
   5616   printf %s "(cached) " >&6
   5617 else $as_nop
   5618   case $host in
   5619   *-*-mingw* )
   5620     case $build in
   5621       *-*-mingw* ) # actually msys
   5622         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5623         ;;
   5624       *-*-cygwin* )
   5625         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5626         ;;
   5627       * ) # otherwise, assume *nix
   5628         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5629         ;;
   5630     esac
   5631     ;;
   5632   *-*-cygwin* )
   5633     case $build in
   5634       *-*-mingw* ) # actually msys
   5635         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5636         ;;
   5637       *-*-cygwin* )
   5638         lt_cv_to_host_file_cmd=func_convert_file_noop
   5639         ;;
   5640       * ) # otherwise, assume *nix
   5641         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5642         ;;
   5643     esac
   5644     ;;
   5645   * ) # unhandled hosts (and "normal" native builds)
   5646     lt_cv_to_host_file_cmd=func_convert_file_noop
   5647     ;;
   5648 esac
   5649 
   5650 fi
   5651 
   5652 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5654 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5661 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5662 if test ${lt_cv_to_tool_file_cmd+y}
   5663 then :
   5664   printf %s "(cached) " >&6
   5665 else $as_nop
   5666   #assume ordinary cross tools, or native build.
   5667 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5668 case $host in
   5669   *-*-mingw* )
   5670     case $build in
   5671       *-*-mingw* ) # actually msys
   5672         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5673         ;;
   5674     esac
   5675     ;;
   5676 esac
   5677 
   5678 fi
   5679 
   5680 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5682 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5689 printf %s "checking for $LD option to reload object files... " >&6; }
   5690 if test ${lt_cv_ld_reload_flag+y}
   5691 then :
   5692   printf %s "(cached) " >&6
   5693 else $as_nop
   5694   lt_cv_ld_reload_flag='-r'
   5695 fi
   5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5697 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5698 reload_flag=$lt_cv_ld_reload_flag
   5699 case $reload_flag in
   5700 "" | " "*) ;;
   5701 *) reload_flag=" $reload_flag" ;;
   5702 esac
   5703 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5704 case $host_os in
   5705   cygwin* | mingw* | pw32* | cegcc*)
   5706     if test yes != "$GCC"; then
   5707       reload_cmds=false
   5708     fi
   5709     ;;
   5710   darwin*)
   5711     if test yes = "$GCC"; then
   5712       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5713     else
   5714       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5715     fi
   5716     ;;
   5717 esac
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 if test -n "$ac_tool_prefix"; then
   5728   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5729 set dummy ${ac_tool_prefix}file; ac_word=$2
   5730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5731 printf %s "checking for $ac_word... " >&6; }
   5732 if test ${ac_cv_prog_FILECMD+y}
   5733 then :
   5734   printf %s "(cached) " >&6
   5735 else $as_nop
   5736   if test -n "$FILECMD"; then
   5737   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5738 else
   5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5740 for as_dir in $PATH
   5741 do
   5742   IFS=$as_save_IFS
   5743   case $as_dir in #(((
   5744     '') as_dir=./ ;;
   5745     */) ;;
   5746     *) as_dir=$as_dir/ ;;
   5747   esac
   5748     for ac_exec_ext in '' $ac_executable_extensions; do
   5749   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5750     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5751     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5752     break 2
   5753   fi
   5754 done
   5755   done
   5756 IFS=$as_save_IFS
   5757 
   5758 fi
   5759 fi
   5760 FILECMD=$ac_cv_prog_FILECMD
   5761 if test -n "$FILECMD"; then
   5762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5763 printf "%s\n" "$FILECMD" >&6; }
   5764 else
   5765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5766 printf "%s\n" "no" >&6; }
   5767 fi
   5768 
   5769 
   5770 fi
   5771 if test -z "$ac_cv_prog_FILECMD"; then
   5772   ac_ct_FILECMD=$FILECMD
   5773   # Extract the first word of "file", so it can be a program name with args.
   5774 set dummy file; ac_word=$2
   5775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5776 printf %s "checking for $ac_word... " >&6; }
   5777 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5778 then :
   5779   printf %s "(cached) " >&6
   5780 else $as_nop
   5781   if test -n "$ac_ct_FILECMD"; then
   5782   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5783 else
   5784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5785 for as_dir in $PATH
   5786 do
   5787   IFS=$as_save_IFS
   5788   case $as_dir in #(((
   5789     '') as_dir=./ ;;
   5790     */) ;;
   5791     *) as_dir=$as_dir/ ;;
   5792   esac
   5793     for ac_exec_ext in '' $ac_executable_extensions; do
   5794   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5795     ac_cv_prog_ac_ct_FILECMD="file"
   5796     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5797     break 2
   5798   fi
   5799 done
   5800   done
   5801 IFS=$as_save_IFS
   5802 
   5803 fi
   5804 fi
   5805 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5806 if test -n "$ac_ct_FILECMD"; then
   5807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5808 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5809 else
   5810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5811 printf "%s\n" "no" >&6; }
   5812 fi
   5813 
   5814   if test "x$ac_ct_FILECMD" = x; then
   5815     FILECMD=":"
   5816   else
   5817     case $cross_compiling:$ac_tool_warned in
   5818 yes:)
   5819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5820 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5821 ac_tool_warned=yes ;;
   5822 esac
   5823     FILECMD=$ac_ct_FILECMD
   5824   fi
   5825 else
   5826   FILECMD="$ac_cv_prog_FILECMD"
   5827 fi
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 if test -n "$ac_tool_prefix"; then
   5836   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5837 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5839 printf %s "checking for $ac_word... " >&6; }
   5840 if test ${ac_cv_prog_OBJDUMP+y}
   5841 then :
   5842   printf %s "(cached) " >&6
   5843 else $as_nop
   5844   if test -n "$OBJDUMP"; then
   5845   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5846 else
   5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5848 for as_dir in $PATH
   5849 do
   5850   IFS=$as_save_IFS
   5851   case $as_dir in #(((
   5852     '') as_dir=./ ;;
   5853     */) ;;
   5854     *) as_dir=$as_dir/ ;;
   5855   esac
   5856     for ac_exec_ext in '' $ac_executable_extensions; do
   5857   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5858     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5859     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5860     break 2
   5861   fi
   5862 done
   5863   done
   5864 IFS=$as_save_IFS
   5865 
   5866 fi
   5867 fi
   5868 OBJDUMP=$ac_cv_prog_OBJDUMP
   5869 if test -n "$OBJDUMP"; then
   5870   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5871 printf "%s\n" "$OBJDUMP" >&6; }
   5872 else
   5873   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5874 printf "%s\n" "no" >&6; }
   5875 fi
   5876 
   5877 
   5878 fi
   5879 if test -z "$ac_cv_prog_OBJDUMP"; then
   5880   ac_ct_OBJDUMP=$OBJDUMP
   5881   # Extract the first word of "objdump", so it can be a program name with args.
   5882 set dummy objdump; ac_word=$2
   5883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5884 printf %s "checking for $ac_word... " >&6; }
   5885 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5886 then :
   5887   printf %s "(cached) " >&6
   5888 else $as_nop
   5889   if test -n "$ac_ct_OBJDUMP"; then
   5890   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5891 else
   5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5893 for as_dir in $PATH
   5894 do
   5895   IFS=$as_save_IFS
   5896   case $as_dir in #(((
   5897     '') as_dir=./ ;;
   5898     */) ;;
   5899     *) as_dir=$as_dir/ ;;
   5900   esac
   5901     for ac_exec_ext in '' $ac_executable_extensions; do
   5902   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5903     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5904     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5905     break 2
   5906   fi
   5907 done
   5908   done
   5909 IFS=$as_save_IFS
   5910 
   5911 fi
   5912 fi
   5913 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5914 if test -n "$ac_ct_OBJDUMP"; then
   5915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5916 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5917 else
   5918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5919 printf "%s\n" "no" >&6; }
   5920 fi
   5921 
   5922   if test "x$ac_ct_OBJDUMP" = x; then
   5923     OBJDUMP="false"
   5924   else
   5925     case $cross_compiling:$ac_tool_warned in
   5926 yes:)
   5927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5928 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5929 ac_tool_warned=yes ;;
   5930 esac
   5931     OBJDUMP=$ac_ct_OBJDUMP
   5932   fi
   5933 else
   5934   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5935 fi
   5936 
   5937 test -z "$OBJDUMP" && OBJDUMP=objdump
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 
   5944 
   5945 
   5946 
   5947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5948 printf %s "checking how to recognize dependent libraries... " >&6; }
   5949 if test ${lt_cv_deplibs_check_method+y}
   5950 then :
   5951   printf %s "(cached) " >&6
   5952 else $as_nop
   5953   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5954 lt_cv_file_magic_test_file=
   5955 lt_cv_deplibs_check_method='unknown'
   5956 # Need to set the preceding variable on all platforms that support
   5957 # interlibrary dependencies.
   5958 # 'none' -- dependencies not supported.
   5959 # 'unknown' -- same as none, but documents that we really don't know.
   5960 # 'pass_all' -- all dependencies passed with no checks.
   5961 # 'test_compile' -- check by making test program.
   5962 # 'file_magic [[regex]]' -- check by looking for files in library path
   5963 # that responds to the $file_magic_cmd with a given extended regex.
   5964 # If you have 'file' or equivalent on your system and you're not sure
   5965 # whether 'pass_all' will *always* work, you probably want this one.
   5966 
   5967 case $host_os in
   5968 aix[4-9]*)
   5969   lt_cv_deplibs_check_method=pass_all
   5970   ;;
   5971 
   5972 beos*)
   5973   lt_cv_deplibs_check_method=pass_all
   5974   ;;
   5975 
   5976 bsdi[45]*)
   5977   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5978   lt_cv_file_magic_cmd='$FILECMD -L'
   5979   lt_cv_file_magic_test_file=/shlib/libc.so
   5980   ;;
   5981 
   5982 cygwin*)
   5983   # func_win32_libid is a shell function defined in ltmain.sh
   5984   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5985   lt_cv_file_magic_cmd='func_win32_libid'
   5986   ;;
   5987 
   5988 mingw* | pw32*)
   5989   # Base MSYS/MinGW do not provide the 'file' command needed by
   5990   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5991   # unless we find 'file', for example because we are cross-compiling.
   5992   if ( file / ) >/dev/null 2>&1; then
   5993     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5994     lt_cv_file_magic_cmd='func_win32_libid'
   5995   else
   5996     # Keep this pattern in sync with the one in func_win32_libid.
   5997     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5998     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5999   fi
   6000   ;;
   6001 
   6002 cegcc*)
   6003   # use the weaker test based on 'objdump'. See mingw*.
   6004   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6005   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6006   ;;
   6007 
   6008 darwin* | rhapsody*)
   6009   lt_cv_deplibs_check_method=pass_all
   6010   ;;
   6011 
   6012 freebsd* | dragonfly* | midnightbsd*)
   6013   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6014     case $host_cpu in
   6015     i*86 )
   6016       # Not sure whether the presence of OpenBSD here was a mistake.
   6017       # Let's accept both of them until this is cleared up.
   6018       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6019       lt_cv_file_magic_cmd=$FILECMD
   6020       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6021       ;;
   6022     esac
   6023   else
   6024     lt_cv_deplibs_check_method=pass_all
   6025   fi
   6026   ;;
   6027 
   6028 haiku*)
   6029   lt_cv_deplibs_check_method=pass_all
   6030   ;;
   6031 
   6032 hpux10.20* | hpux11*)
   6033   lt_cv_file_magic_cmd=$FILECMD
   6034   case $host_cpu in
   6035   ia64*)
   6036     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6037     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6038     ;;
   6039   hppa*64*)
   6040     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]'
   6041     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6042     ;;
   6043   *)
   6044     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6045     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6046     ;;
   6047   esac
   6048   ;;
   6049 
   6050 interix[3-9]*)
   6051   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6052   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6053   ;;
   6054 
   6055 irix5* | irix6* | nonstopux*)
   6056   case $LD in
   6057   *-32|*"-32 ") libmagic=32-bit;;
   6058   *-n32|*"-n32 ") libmagic=N32;;
   6059   *-64|*"-64 ") libmagic=64-bit;;
   6060   *) libmagic=never-match;;
   6061   esac
   6062   lt_cv_deplibs_check_method=pass_all
   6063   ;;
   6064 
   6065 # This must be glibc/ELF.
   6066 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6067   lt_cv_deplibs_check_method=pass_all
   6068   ;;
   6069 
   6070 netbsd*)
   6071   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6072     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6073   else
   6074     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6075   fi
   6076   ;;
   6077 
   6078 newos6*)
   6079   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6080   lt_cv_file_magic_cmd=$FILECMD
   6081   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6082   ;;
   6083 
   6084 *nto* | *qnx*)
   6085   lt_cv_deplibs_check_method=pass_all
   6086   ;;
   6087 
   6088 openbsd* | bitrig*)
   6089   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6090     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6091   else
   6092     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6093   fi
   6094   ;;
   6095 
   6096 osf3* | osf4* | osf5*)
   6097   lt_cv_deplibs_check_method=pass_all
   6098   ;;
   6099 
   6100 rdos*)
   6101   lt_cv_deplibs_check_method=pass_all
   6102   ;;
   6103 
   6104 solaris*)
   6105   lt_cv_deplibs_check_method=pass_all
   6106   ;;
   6107 
   6108 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6109   lt_cv_deplibs_check_method=pass_all
   6110   ;;
   6111 
   6112 sysv4 | sysv4.3*)
   6113   case $host_vendor in
   6114   motorola)
   6115     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]'
   6116     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6117     ;;
   6118   ncr)
   6119     lt_cv_deplibs_check_method=pass_all
   6120     ;;
   6121   sequent)
   6122     lt_cv_file_magic_cmd='/bin/file'
   6123     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6124     ;;
   6125   sni)
   6126     lt_cv_file_magic_cmd='/bin/file'
   6127     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6128     lt_cv_file_magic_test_file=/lib/libc.so
   6129     ;;
   6130   siemens)
   6131     lt_cv_deplibs_check_method=pass_all
   6132     ;;
   6133   pc)
   6134     lt_cv_deplibs_check_method=pass_all
   6135     ;;
   6136   esac
   6137   ;;
   6138 
   6139 tpf*)
   6140   lt_cv_deplibs_check_method=pass_all
   6141   ;;
   6142 os2*)
   6143   lt_cv_deplibs_check_method=pass_all
   6144   ;;
   6145 esac
   6146 
   6147 fi
   6148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6149 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6150 
   6151 file_magic_glob=
   6152 want_nocaseglob=no
   6153 if test "$build" = "$host"; then
   6154   case $host_os in
   6155   mingw* | pw32*)
   6156     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6157       want_nocaseglob=yes
   6158     else
   6159       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6160     fi
   6161     ;;
   6162   esac
   6163 fi
   6164 
   6165 file_magic_cmd=$lt_cv_file_magic_cmd
   6166 deplibs_check_method=$lt_cv_deplibs_check_method
   6167 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 if test -n "$ac_tool_prefix"; then
   6191   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6192 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6194 printf %s "checking for $ac_word... " >&6; }
   6195 if test ${ac_cv_prog_DLLTOOL+y}
   6196 then :
   6197   printf %s "(cached) " >&6
   6198 else $as_nop
   6199   if test -n "$DLLTOOL"; then
   6200   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6201 else
   6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6203 for as_dir in $PATH
   6204 do
   6205   IFS=$as_save_IFS
   6206   case $as_dir in #(((
   6207     '') as_dir=./ ;;
   6208     */) ;;
   6209     *) as_dir=$as_dir/ ;;
   6210   esac
   6211     for ac_exec_ext in '' $ac_executable_extensions; do
   6212   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6213     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6214     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6215     break 2
   6216   fi
   6217 done
   6218   done
   6219 IFS=$as_save_IFS
   6220 
   6221 fi
   6222 fi
   6223 DLLTOOL=$ac_cv_prog_DLLTOOL
   6224 if test -n "$DLLTOOL"; then
   6225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6226 printf "%s\n" "$DLLTOOL" >&6; }
   6227 else
   6228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6229 printf "%s\n" "no" >&6; }
   6230 fi
   6231 
   6232 
   6233 fi
   6234 if test -z "$ac_cv_prog_DLLTOOL"; then
   6235   ac_ct_DLLTOOL=$DLLTOOL
   6236   # Extract the first word of "dlltool", so it can be a program name with args.
   6237 set dummy dlltool; ac_word=$2
   6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6239 printf %s "checking for $ac_word... " >&6; }
   6240 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6241 then :
   6242   printf %s "(cached) " >&6
   6243 else $as_nop
   6244   if test -n "$ac_ct_DLLTOOL"; then
   6245   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6246 else
   6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6248 for as_dir in $PATH
   6249 do
   6250   IFS=$as_save_IFS
   6251   case $as_dir in #(((
   6252     '') as_dir=./ ;;
   6253     */) ;;
   6254     *) as_dir=$as_dir/ ;;
   6255   esac
   6256     for ac_exec_ext in '' $ac_executable_extensions; do
   6257   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6258     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6259     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6260     break 2
   6261   fi
   6262 done
   6263   done
   6264 IFS=$as_save_IFS
   6265 
   6266 fi
   6267 fi
   6268 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6269 if test -n "$ac_ct_DLLTOOL"; then
   6270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6271 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6272 else
   6273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6274 printf "%s\n" "no" >&6; }
   6275 fi
   6276 
   6277   if test "x$ac_ct_DLLTOOL" = x; then
   6278     DLLTOOL="false"
   6279   else
   6280     case $cross_compiling:$ac_tool_warned in
   6281 yes:)
   6282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6283 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6284 ac_tool_warned=yes ;;
   6285 esac
   6286     DLLTOOL=$ac_ct_DLLTOOL
   6287   fi
   6288 else
   6289   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6290 fi
   6291 
   6292 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6304 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6305 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6306 then :
   6307   printf %s "(cached) " >&6
   6308 else $as_nop
   6309   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6310 
   6311 case $host_os in
   6312 cygwin* | mingw* | pw32* | cegcc*)
   6313   # two different shell functions defined in ltmain.sh;
   6314   # decide which one to use based on capabilities of $DLLTOOL
   6315   case `$DLLTOOL --help 2>&1` in
   6316   *--identify-strict*)
   6317     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6318     ;;
   6319   *)
   6320     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6321     ;;
   6322   esac
   6323   ;;
   6324 *)
   6325   # fallback: assume linklib IS sharedlib
   6326   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6327   ;;
   6328 esac
   6329 
   6330 fi
   6331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6332 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6333 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6334 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 if test -n "$ac_tool_prefix"; then
   6344   for ac_prog in ar
   6345   do
   6346     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6349 printf %s "checking for $ac_word... " >&6; }
   6350 if test ${ac_cv_prog_AR+y}
   6351 then :
   6352   printf %s "(cached) " >&6
   6353 else $as_nop
   6354   if test -n "$AR"; then
   6355   ac_cv_prog_AR="$AR" # Let the user override the test.
   6356 else
   6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6358 for as_dir in $PATH
   6359 do
   6360   IFS=$as_save_IFS
   6361   case $as_dir in #(((
   6362     '') as_dir=./ ;;
   6363     */) ;;
   6364     *) as_dir=$as_dir/ ;;
   6365   esac
   6366     for ac_exec_ext in '' $ac_executable_extensions; do
   6367   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6368     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6369     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6370     break 2
   6371   fi
   6372 done
   6373   done
   6374 IFS=$as_save_IFS
   6375 
   6376 fi
   6377 fi
   6378 AR=$ac_cv_prog_AR
   6379 if test -n "$AR"; then
   6380   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6381 printf "%s\n" "$AR" >&6; }
   6382 else
   6383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6384 printf "%s\n" "no" >&6; }
   6385 fi
   6386 
   6387 
   6388     test -n "$AR" && break
   6389   done
   6390 fi
   6391 if test -z "$AR"; then
   6392   ac_ct_AR=$AR
   6393   for ac_prog in ar
   6394 do
   6395   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6396 set dummy $ac_prog; ac_word=$2
   6397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6398 printf %s "checking for $ac_word... " >&6; }
   6399 if test ${ac_cv_prog_ac_ct_AR+y}
   6400 then :
   6401   printf %s "(cached) " >&6
   6402 else $as_nop
   6403   if test -n "$ac_ct_AR"; then
   6404   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6405 else
   6406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6407 for as_dir in $PATH
   6408 do
   6409   IFS=$as_save_IFS
   6410   case $as_dir in #(((
   6411     '') as_dir=./ ;;
   6412     */) ;;
   6413     *) as_dir=$as_dir/ ;;
   6414   esac
   6415     for ac_exec_ext in '' $ac_executable_extensions; do
   6416   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6417     ac_cv_prog_ac_ct_AR="$ac_prog"
   6418     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6419     break 2
   6420   fi
   6421 done
   6422   done
   6423 IFS=$as_save_IFS
   6424 
   6425 fi
   6426 fi
   6427 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6428 if test -n "$ac_ct_AR"; then
   6429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6430 printf "%s\n" "$ac_ct_AR" >&6; }
   6431 else
   6432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6433 printf "%s\n" "no" >&6; }
   6434 fi
   6435 
   6436 
   6437   test -n "$ac_ct_AR" && break
   6438 done
   6439 
   6440   if test "x$ac_ct_AR" = x; then
   6441     AR="false"
   6442   else
   6443     case $cross_compiling:$ac_tool_warned in
   6444 yes:)
   6445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6446 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6447 ac_tool_warned=yes ;;
   6448 esac
   6449     AR=$ac_ct_AR
   6450   fi
   6451 fi
   6452 
   6453 : ${AR=ar}
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6461 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6462 # higher priority because thats what people were doing historically (setting
   6463 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6464 # variable obsoleted/removed.
   6465 
   6466 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6467 lt_ar_flags=$AR_FLAGS
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6475 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6483 printf %s "checking for archiver @FILE support... " >&6; }
   6484 if test ${lt_cv_ar_at_file+y}
   6485 then :
   6486   printf %s "(cached) " >&6
   6487 else $as_nop
   6488   lt_cv_ar_at_file=no
   6489    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6490 /* end confdefs.h.  */
   6491 
   6492 int
   6493 main (void)
   6494 {
   6495 
   6496   ;
   6497   return 0;
   6498 }
   6499 _ACEOF
   6500 if ac_fn_c_try_compile "$LINENO"
   6501 then :
   6502   echo conftest.$ac_objext > conftest.lst
   6503       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6504       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6505   (eval $lt_ar_try) 2>&5
   6506   ac_status=$?
   6507   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6508   test $ac_status = 0; }
   6509       if test 0 -eq "$ac_status"; then
   6510 	# Ensure the archiver fails upon bogus file names.
   6511 	rm -f conftest.$ac_objext libconftest.a
   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 -ne "$ac_status"; then
   6518           lt_cv_ar_at_file=@
   6519         fi
   6520       fi
   6521       rm -f conftest.* libconftest.a
   6522 
   6523 fi
   6524 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6525 
   6526 fi
   6527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6528 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6529 
   6530 if test no = "$lt_cv_ar_at_file"; then
   6531   archiver_list_spec=
   6532 else
   6533   archiver_list_spec=$lt_cv_ar_at_file
   6534 fi
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 if test -n "$ac_tool_prefix"; then
   6543   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6544 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6546 printf %s "checking for $ac_word... " >&6; }
   6547 if test ${ac_cv_prog_STRIP+y}
   6548 then :
   6549   printf %s "(cached) " >&6
   6550 else $as_nop
   6551   if test -n "$STRIP"; then
   6552   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6553 else
   6554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6555 for as_dir in $PATH
   6556 do
   6557   IFS=$as_save_IFS
   6558   case $as_dir in #(((
   6559     '') as_dir=./ ;;
   6560     */) ;;
   6561     *) as_dir=$as_dir/ ;;
   6562   esac
   6563     for ac_exec_ext in '' $ac_executable_extensions; do
   6564   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6565     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6566     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6567     break 2
   6568   fi
   6569 done
   6570   done
   6571 IFS=$as_save_IFS
   6572 
   6573 fi
   6574 fi
   6575 STRIP=$ac_cv_prog_STRIP
   6576 if test -n "$STRIP"; then
   6577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6578 printf "%s\n" "$STRIP" >&6; }
   6579 else
   6580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6581 printf "%s\n" "no" >&6; }
   6582 fi
   6583 
   6584 
   6585 fi
   6586 if test -z "$ac_cv_prog_STRIP"; then
   6587   ac_ct_STRIP=$STRIP
   6588   # Extract the first word of "strip", so it can be a program name with args.
   6589 set dummy strip; ac_word=$2
   6590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6591 printf %s "checking for $ac_word... " >&6; }
   6592 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6593 then :
   6594   printf %s "(cached) " >&6
   6595 else $as_nop
   6596   if test -n "$ac_ct_STRIP"; then
   6597   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6598 else
   6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6600 for as_dir in $PATH
   6601 do
   6602   IFS=$as_save_IFS
   6603   case $as_dir in #(((
   6604     '') as_dir=./ ;;
   6605     */) ;;
   6606     *) as_dir=$as_dir/ ;;
   6607   esac
   6608     for ac_exec_ext in '' $ac_executable_extensions; do
   6609   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6610     ac_cv_prog_ac_ct_STRIP="strip"
   6611     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6612     break 2
   6613   fi
   6614 done
   6615   done
   6616 IFS=$as_save_IFS
   6617 
   6618 fi
   6619 fi
   6620 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6621 if test -n "$ac_ct_STRIP"; then
   6622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6623 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6624 else
   6625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6626 printf "%s\n" "no" >&6; }
   6627 fi
   6628 
   6629   if test "x$ac_ct_STRIP" = x; then
   6630     STRIP=":"
   6631   else
   6632     case $cross_compiling:$ac_tool_warned in
   6633 yes:)
   6634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6635 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6636 ac_tool_warned=yes ;;
   6637 esac
   6638     STRIP=$ac_ct_STRIP
   6639   fi
   6640 else
   6641   STRIP="$ac_cv_prog_STRIP"
   6642 fi
   6643 
   6644 test -z "$STRIP" && STRIP=:
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 if test -n "$ac_tool_prefix"; then
   6652   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6653 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6655 printf %s "checking for $ac_word... " >&6; }
   6656 if test ${ac_cv_prog_RANLIB+y}
   6657 then :
   6658   printf %s "(cached) " >&6
   6659 else $as_nop
   6660   if test -n "$RANLIB"; then
   6661   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6662 else
   6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6664 for as_dir in $PATH
   6665 do
   6666   IFS=$as_save_IFS
   6667   case $as_dir in #(((
   6668     '') as_dir=./ ;;
   6669     */) ;;
   6670     *) as_dir=$as_dir/ ;;
   6671   esac
   6672     for ac_exec_ext in '' $ac_executable_extensions; do
   6673   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6674     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6675     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6676     break 2
   6677   fi
   6678 done
   6679   done
   6680 IFS=$as_save_IFS
   6681 
   6682 fi
   6683 fi
   6684 RANLIB=$ac_cv_prog_RANLIB
   6685 if test -n "$RANLIB"; then
   6686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6687 printf "%s\n" "$RANLIB" >&6; }
   6688 else
   6689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6690 printf "%s\n" "no" >&6; }
   6691 fi
   6692 
   6693 
   6694 fi
   6695 if test -z "$ac_cv_prog_RANLIB"; then
   6696   ac_ct_RANLIB=$RANLIB
   6697   # Extract the first word of "ranlib", so it can be a program name with args.
   6698 set dummy ranlib; ac_word=$2
   6699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6700 printf %s "checking for $ac_word... " >&6; }
   6701 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6702 then :
   6703   printf %s "(cached) " >&6
   6704 else $as_nop
   6705   if test -n "$ac_ct_RANLIB"; then
   6706   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6707 else
   6708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6709 for as_dir in $PATH
   6710 do
   6711   IFS=$as_save_IFS
   6712   case $as_dir in #(((
   6713     '') as_dir=./ ;;
   6714     */) ;;
   6715     *) as_dir=$as_dir/ ;;
   6716   esac
   6717     for ac_exec_ext in '' $ac_executable_extensions; do
   6718   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6719     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6720     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6721     break 2
   6722   fi
   6723 done
   6724   done
   6725 IFS=$as_save_IFS
   6726 
   6727 fi
   6728 fi
   6729 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6730 if test -n "$ac_ct_RANLIB"; then
   6731   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6732 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6733 else
   6734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6735 printf "%s\n" "no" >&6; }
   6736 fi
   6737 
   6738   if test "x$ac_ct_RANLIB" = x; then
   6739     RANLIB=":"
   6740   else
   6741     case $cross_compiling:$ac_tool_warned in
   6742 yes:)
   6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6744 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6745 ac_tool_warned=yes ;;
   6746 esac
   6747     RANLIB=$ac_ct_RANLIB
   6748   fi
   6749 else
   6750   RANLIB="$ac_cv_prog_RANLIB"
   6751 fi
   6752 
   6753 test -z "$RANLIB" && RANLIB=:
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 # Determine commands to create old-style static archives.
   6761 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6762 old_postinstall_cmds='chmod 644 $oldlib'
   6763 old_postuninstall_cmds=
   6764 
   6765 if test -n "$RANLIB"; then
   6766   case $host_os in
   6767   bitrig* | openbsd*)
   6768     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6769     ;;
   6770   *)
   6771     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6772     ;;
   6773   esac
   6774   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6775 fi
   6776 
   6777 case $host_os in
   6778   darwin*)
   6779     lock_old_archive_extraction=yes ;;
   6780   *)
   6781     lock_old_archive_extraction=no ;;
   6782 esac
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   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 # If no C compiler was specified, use CC.
   6823 LTCC=${LTCC-"$CC"}
   6824 
   6825 # If no C compiler flags were specified, use CFLAGS.
   6826 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6827 
   6828 # Allow CC to be a program name with arguments.
   6829 compiler=$CC
   6830 
   6831 
   6832 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6834 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6835 if test ${lt_cv_sys_global_symbol_pipe+y}
   6836 then :
   6837   printf %s "(cached) " >&6
   6838 else $as_nop
   6839 
   6840 # These are sane defaults that work on at least a few old systems.
   6841 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6842 
   6843 # Character class describing NM global symbol codes.
   6844 symcode='[BCDEGRST]'
   6845 
   6846 # Regexp to match symbols that can be accessed directly from C.
   6847 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6848 
   6849 # Define system-specific variables.
   6850 case $host_os in
   6851 aix*)
   6852   symcode='[BCDT]'
   6853   ;;
   6854 cygwin* | mingw* | pw32* | cegcc*)
   6855   symcode='[ABCDGISTW]'
   6856   ;;
   6857 hpux*)
   6858   if test ia64 = "$host_cpu"; then
   6859     symcode='[ABCDEGRST]'
   6860   fi
   6861   ;;
   6862 irix* | nonstopux*)
   6863   symcode='[BCDEGRST]'
   6864   ;;
   6865 osf*)
   6866   symcode='[BCDEGQRST]'
   6867   ;;
   6868 solaris*)
   6869   symcode='[BDRT]'
   6870   ;;
   6871 sco3.2v5*)
   6872   symcode='[DT]'
   6873   ;;
   6874 sysv4.2uw2*)
   6875   symcode='[DT]'
   6876   ;;
   6877 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6878   symcode='[ABDT]'
   6879   ;;
   6880 sysv4)
   6881   symcode='[DFNSTU]'
   6882   ;;
   6883 esac
   6884 
   6885 # If we're using GNU nm, then use its standard symbol codes.
   6886 case `$NM -V 2>&1` in
   6887 *GNU* | *'with BFD'*)
   6888   symcode='[ABCDGIRSTW]' ;;
   6889 esac
   6890 
   6891 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6892   # Gets list of data symbols to import.
   6893   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6894   # Adjust the below global symbol transforms to fixup imported variables.
   6895   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6896   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6897   lt_c_name_lib_hook="\
   6898   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6899   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6900 else
   6901   # Disable hooks by default.
   6902   lt_cv_sys_global_symbol_to_import=
   6903   lt_cdecl_hook=
   6904   lt_c_name_hook=
   6905   lt_c_name_lib_hook=
   6906 fi
   6907 
   6908 # Transform an extracted symbol line into a proper C declaration.
   6909 # Some systems (esp. on ia64) link data and code symbols differently,
   6910 # so use this general approach.
   6911 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6912 $lt_cdecl_hook\
   6913 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6914 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6915 
   6916 # Transform an extracted symbol line into symbol name and symbol address
   6917 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6918 $lt_c_name_hook\
   6919 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6920 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6921 
   6922 # Transform an extracted symbol line into symbol name with lib prefix and
   6923 # symbol address.
   6924 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6925 $lt_c_name_lib_hook\
   6926 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6927 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6928 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6929 
   6930 # Handle CRLF in mingw tool chain
   6931 opt_cr=
   6932 case $build_os in
   6933 mingw*)
   6934   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6935   ;;
   6936 esac
   6937 
   6938 # Try without a prefix underscore, then with it.
   6939 for ac_symprfx in "" "_"; do
   6940 
   6941   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6942   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6943 
   6944   # Write the raw and C identifiers.
   6945   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6946     # Fake it for dumpbin and say T for any non-static function,
   6947     # D for any global variable and I for any imported variable.
   6948     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6949     # which start with @ or ?.
   6950     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6951 "     {last_section=section; section=\$ 3};"\
   6952 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6953 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6954 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6955 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6956 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6957 "     \$ 0!~/External *\|/{next};"\
   6958 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6959 "     {if(hide[section]) next};"\
   6960 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6961 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6962 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6963 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6964 "     ' prfx=^$ac_symprfx"
   6965   else
   6966     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6967   fi
   6968   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6969 
   6970   # Check to see that the pipe works correctly.
   6971   pipe_works=no
   6972 
   6973   rm -f conftest*
   6974   cat > conftest.$ac_ext <<_LT_EOF
   6975 #ifdef __cplusplus
   6976 extern "C" {
   6977 #endif
   6978 char nm_test_var;
   6979 void nm_test_func(void);
   6980 void nm_test_func(void){}
   6981 #ifdef __cplusplus
   6982 }
   6983 #endif
   6984 int main(){nm_test_var='a';nm_test_func();return(0);}
   6985 _LT_EOF
   6986 
   6987   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6988   (eval $ac_compile) 2>&5
   6989   ac_status=$?
   6990   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6991   test $ac_status = 0; }; then
   6992     # Now try to grab the symbols.
   6993     nlist=conftest.nm
   6994     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6995   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6996   ac_status=$?
   6997   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6998   test $ac_status = 0; } && test -s "$nlist"; then
   6999       # Try sorting and uniquifying the output.
   7000       if sort "$nlist" | uniq > "$nlist"T; then
   7001 	mv -f "$nlist"T "$nlist"
   7002       else
   7003 	rm -f "$nlist"T
   7004       fi
   7005 
   7006       # Make sure that we snagged all the symbols we need.
   7007       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7008 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7009 	  cat <<_LT_EOF > conftest.$ac_ext
   7010 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7011 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7012 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7013    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7014 # define LT_DLSYM_CONST
   7015 #elif defined __osf__
   7016 /* This system does not cope well with relocations in const data.  */
   7017 # define LT_DLSYM_CONST
   7018 #else
   7019 # define LT_DLSYM_CONST const
   7020 #endif
   7021 
   7022 #ifdef __cplusplus
   7023 extern "C" {
   7024 #endif
   7025 
   7026 _LT_EOF
   7027 	  # Now generate the symbol file.
   7028 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7029 
   7030 	  cat <<_LT_EOF >> conftest.$ac_ext
   7031 
   7032 /* The mapping between symbol names and symbols.  */
   7033 LT_DLSYM_CONST struct {
   7034   const char *name;
   7035   void       *address;
   7036 }
   7037 lt__PROGRAM__LTX_preloaded_symbols[] =
   7038 {
   7039   { "@PROGRAM@", (void *) 0 },
   7040 _LT_EOF
   7041 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7042 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7043   {0, (void *) 0}
   7044 };
   7045 
   7046 /* This works around a problem in FreeBSD linker */
   7047 #ifdef FREEBSD_WORKAROUND
   7048 static const void *lt_preloaded_setup() {
   7049   return lt__PROGRAM__LTX_preloaded_symbols;
   7050 }
   7051 #endif
   7052 
   7053 #ifdef __cplusplus
   7054 }
   7055 #endif
   7056 _LT_EOF
   7057 	  # Now try linking the two files.
   7058 	  mv conftest.$ac_objext conftstm.$ac_objext
   7059 	  lt_globsym_save_LIBS=$LIBS
   7060 	  lt_globsym_save_CFLAGS=$CFLAGS
   7061 	  LIBS=conftstm.$ac_objext
   7062 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7063 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7064   (eval $ac_link) 2>&5
   7065   ac_status=$?
   7066   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7067   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7068 	    pipe_works=yes
   7069 	  fi
   7070 	  LIBS=$lt_globsym_save_LIBS
   7071 	  CFLAGS=$lt_globsym_save_CFLAGS
   7072 	else
   7073 	  echo "cannot find nm_test_func in $nlist" >&5
   7074 	fi
   7075       else
   7076 	echo "cannot find nm_test_var in $nlist" >&5
   7077       fi
   7078     else
   7079       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7080     fi
   7081   else
   7082     echo "$progname: failed program was:" >&5
   7083     cat conftest.$ac_ext >&5
   7084   fi
   7085   rm -rf conftest* conftst*
   7086 
   7087   # Do not use the global_symbol_pipe unless it works.
   7088   if test yes = "$pipe_works"; then
   7089     break
   7090   else
   7091     lt_cv_sys_global_symbol_pipe=
   7092   fi
   7093 done
   7094 
   7095 fi
   7096 
   7097 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7098   lt_cv_sys_global_symbol_to_cdecl=
   7099 fi
   7100 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7102 printf "%s\n" "failed" >&6; }
   7103 else
   7104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7105 printf "%s\n" "ok" >&6; }
   7106 fi
   7107 
   7108 # Response file support.
   7109 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7110   nm_file_list_spec='@'
   7111 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7112   nm_file_list_spec='@'
   7113 fi
   7114 
   7115 
   7116 
   7117 
   7118 
   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 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7152 printf %s "checking for sysroot... " >&6; }
   7153 
   7154 # Check whether --with-sysroot was given.
   7155 if test ${with_sysroot+y}
   7156 then :
   7157   withval=$with_sysroot;
   7158 else $as_nop
   7159   with_sysroot=no
   7160 fi
   7161 
   7162 
   7163 lt_sysroot=
   7164 case $with_sysroot in #(
   7165  yes)
   7166    if test yes = "$GCC"; then
   7167      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7168    fi
   7169    ;; #(
   7170  /*)
   7171    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7172    ;; #(
   7173  no|'')
   7174    ;; #(
   7175  *)
   7176    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7177 printf "%s\n" "$with_sysroot" >&6; }
   7178    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7179    ;;
   7180 esac
   7181 
   7182  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7183 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7190 printf %s "checking for a working dd... " >&6; }
   7191 if test ${ac_cv_path_lt_DD+y}
   7192 then :
   7193   printf %s "(cached) " >&6
   7194 else $as_nop
   7195   printf 0123456789abcdef0123456789abcdef >conftest.i
   7196 cat conftest.i conftest.i >conftest2.i
   7197 : ${lt_DD:=$DD}
   7198 if test -z "$lt_DD"; then
   7199   ac_path_lt_DD_found=false
   7200   # Loop through the user's path and test for each of PROGNAME-LIST
   7201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7202 for as_dir in $PATH
   7203 do
   7204   IFS=$as_save_IFS
   7205   case $as_dir in #(((
   7206     '') as_dir=./ ;;
   7207     */) ;;
   7208     *) as_dir=$as_dir/ ;;
   7209   esac
   7210     for ac_prog in dd
   7211    do
   7212     for ac_exec_ext in '' $ac_executable_extensions; do
   7213       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7214       as_fn_executable_p "$ac_path_lt_DD" || continue
   7215 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7216   cmp -s conftest.i conftest.out \
   7217   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7218 fi
   7219       $ac_path_lt_DD_found && break 3
   7220     done
   7221   done
   7222   done
   7223 IFS=$as_save_IFS
   7224   if test -z "$ac_cv_path_lt_DD"; then
   7225     :
   7226   fi
   7227 else
   7228   ac_cv_path_lt_DD=$lt_DD
   7229 fi
   7230 
   7231 rm -f conftest.i conftest2.i conftest.out
   7232 fi
   7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7234 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7235 
   7236 
   7237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7238 printf %s "checking how to truncate binary pipes... " >&6; }
   7239 if test ${lt_cv_truncate_bin+y}
   7240 then :
   7241   printf %s "(cached) " >&6
   7242 else $as_nop
   7243   printf 0123456789abcdef0123456789abcdef >conftest.i
   7244 cat conftest.i conftest.i >conftest2.i
   7245 lt_cv_truncate_bin=
   7246 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7247   cmp -s conftest.i conftest.out \
   7248   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7249 fi
   7250 rm -f conftest.i conftest2.i conftest.out
   7251 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7252 fi
   7253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7254 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7263 func_cc_basename ()
   7264 {
   7265     for cc_temp in $*""; do
   7266       case $cc_temp in
   7267         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7268         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7269         \-*) ;;
   7270         *) break;;
   7271       esac
   7272     done
   7273     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7274 }
   7275 
   7276 # Check whether --enable-libtool-lock was given.
   7277 if test ${enable_libtool_lock+y}
   7278 then :
   7279   enableval=$enable_libtool_lock;
   7280 fi
   7281 
   7282 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7283 
   7284 # Some flags need to be propagated to the compiler or linker for good
   7285 # libtool support.
   7286 case $host in
   7287 ia64-*-hpux*)
   7288   # Find out what ABI is being produced by ac_compile, and set mode
   7289   # options accordingly.
   7290   echo 'int i;' > conftest.$ac_ext
   7291   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7292   (eval $ac_compile) 2>&5
   7293   ac_status=$?
   7294   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7295   test $ac_status = 0; }; then
   7296     case `$FILECMD conftest.$ac_objext` in
   7297       *ELF-32*)
   7298 	HPUX_IA64_MODE=32
   7299 	;;
   7300       *ELF-64*)
   7301 	HPUX_IA64_MODE=64
   7302 	;;
   7303     esac
   7304   fi
   7305   rm -rf conftest*
   7306   ;;
   7307 *-*-irix6*)
   7308   # Find out what ABI is being produced by ac_compile, and set linker
   7309   # options accordingly.
   7310   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7311   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7312   (eval $ac_compile) 2>&5
   7313   ac_status=$?
   7314   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7315   test $ac_status = 0; }; then
   7316     if test yes = "$lt_cv_prog_gnu_ld"; then
   7317       case `$FILECMD conftest.$ac_objext` in
   7318 	*32-bit*)
   7319 	  LD="${LD-ld} -melf32bsmip"
   7320 	  ;;
   7321 	*N32*)
   7322 	  LD="${LD-ld} -melf32bmipn32"
   7323 	  ;;
   7324 	*64-bit*)
   7325 	  LD="${LD-ld} -melf64bmip"
   7326 	;;
   7327       esac
   7328     else
   7329       case `$FILECMD conftest.$ac_objext` in
   7330 	*32-bit*)
   7331 	  LD="${LD-ld} -32"
   7332 	  ;;
   7333 	*N32*)
   7334 	  LD="${LD-ld} -n32"
   7335 	  ;;
   7336 	*64-bit*)
   7337 	  LD="${LD-ld} -64"
   7338 	  ;;
   7339       esac
   7340     fi
   7341   fi
   7342   rm -rf conftest*
   7343   ;;
   7344 
   7345 mips64*-*linux*)
   7346   # Find out what ABI is being produced by ac_compile, and set linker
   7347   # options accordingly.
   7348   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7349   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7350   (eval $ac_compile) 2>&5
   7351   ac_status=$?
   7352   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7353   test $ac_status = 0; }; then
   7354     emul=elf
   7355     case `$FILECMD conftest.$ac_objext` in
   7356       *32-bit*)
   7357 	emul="${emul}32"
   7358 	;;
   7359       *64-bit*)
   7360 	emul="${emul}64"
   7361 	;;
   7362     esac
   7363     case `$FILECMD conftest.$ac_objext` in
   7364       *MSB*)
   7365 	emul="${emul}btsmip"
   7366 	;;
   7367       *LSB*)
   7368 	emul="${emul}ltsmip"
   7369 	;;
   7370     esac
   7371     case `$FILECMD conftest.$ac_objext` in
   7372       *N32*)
   7373 	emul="${emul}n32"
   7374 	;;
   7375     esac
   7376     LD="${LD-ld} -m $emul"
   7377   fi
   7378   rm -rf conftest*
   7379   ;;
   7380 
   7381 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7382 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7383   # Find out what ABI is being produced by ac_compile, and set linker
   7384   # options accordingly.  Note that the listed cases only cover the
   7385   # situations where additional linker options are needed (such as when
   7386   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7387   # vice versa); the common cases where no linker options are needed do
   7388   # not appear in the list.
   7389   echo 'int i;' > conftest.$ac_ext
   7390   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7391   (eval $ac_compile) 2>&5
   7392   ac_status=$?
   7393   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7394   test $ac_status = 0; }; then
   7395     case `$FILECMD conftest.o` in
   7396       *32-bit*)
   7397 	case $host in
   7398 	  x86_64-*kfreebsd*-gnu)
   7399 	    LD="${LD-ld} -m elf_i386_fbsd"
   7400 	    ;;
   7401 	  x86_64-*linux*)
   7402 	    case `$FILECMD conftest.o` in
   7403 	      *x86-64*)
   7404 		LD="${LD-ld} -m elf32_x86_64"
   7405 		;;
   7406 	      *)
   7407 		LD="${LD-ld} -m elf_i386"
   7408 		;;
   7409 	    esac
   7410 	    ;;
   7411 	  powerpc64le-*linux*)
   7412 	    LD="${LD-ld} -m elf32lppclinux"
   7413 	    ;;
   7414 	  powerpc64-*linux*)
   7415 	    LD="${LD-ld} -m elf32ppclinux"
   7416 	    ;;
   7417 	  s390x-*linux*)
   7418 	    LD="${LD-ld} -m elf_s390"
   7419 	    ;;
   7420 	  sparc64-*linux*)
   7421 	    LD="${LD-ld} -m elf32_sparc"
   7422 	    ;;
   7423 	esac
   7424 	;;
   7425       *64-bit*)
   7426 	case $host in
   7427 	  x86_64-*kfreebsd*-gnu)
   7428 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7429 	    ;;
   7430 	  x86_64-*linux*)
   7431 	    LD="${LD-ld} -m elf_x86_64"
   7432 	    ;;
   7433 	  powerpcle-*linux*)
   7434 	    LD="${LD-ld} -m elf64lppc"
   7435 	    ;;
   7436 	  powerpc-*linux*)
   7437 	    LD="${LD-ld} -m elf64ppc"
   7438 	    ;;
   7439 	  s390*-*linux*|s390*-*tpf*)
   7440 	    LD="${LD-ld} -m elf64_s390"
   7441 	    ;;
   7442 	  sparc*-*linux*)
   7443 	    LD="${LD-ld} -m elf64_sparc"
   7444 	    ;;
   7445 	esac
   7446 	;;
   7447     esac
   7448   fi
   7449   rm -rf conftest*
   7450   ;;
   7451 
   7452 *-*-sco3.2v5*)
   7453   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7454   SAVE_CFLAGS=$CFLAGS
   7455   CFLAGS="$CFLAGS -belf"
   7456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7457 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7458 if test ${lt_cv_cc_needs_belf+y}
   7459 then :
   7460   printf %s "(cached) " >&6
   7461 else $as_nop
   7462   ac_ext=c
   7463 ac_cpp='$CPP $CPPFLAGS'
   7464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7467 
   7468      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7469 /* end confdefs.h.  */
   7470 
   7471 int
   7472 main (void)
   7473 {
   7474 
   7475   ;
   7476   return 0;
   7477 }
   7478 _ACEOF
   7479 if ac_fn_c_try_link "$LINENO"
   7480 then :
   7481   lt_cv_cc_needs_belf=yes
   7482 else $as_nop
   7483   lt_cv_cc_needs_belf=no
   7484 fi
   7485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7486     conftest$ac_exeext conftest.$ac_ext
   7487      ac_ext=c
   7488 ac_cpp='$CPP $CPPFLAGS'
   7489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7492 
   7493 fi
   7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7495 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7496   if test yes != "$lt_cv_cc_needs_belf"; then
   7497     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7498     CFLAGS=$SAVE_CFLAGS
   7499   fi
   7500   ;;
   7501 *-*solaris*)
   7502   # Find out what ABI is being produced by ac_compile, and set linker
   7503   # options accordingly.
   7504   echo 'int i;' > conftest.$ac_ext
   7505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7506   (eval $ac_compile) 2>&5
   7507   ac_status=$?
   7508   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7509   test $ac_status = 0; }; then
   7510     case `$FILECMD conftest.o` in
   7511     *64-bit*)
   7512       case $lt_cv_prog_gnu_ld in
   7513       yes*)
   7514         case $host in
   7515         i?86-*-solaris*|x86_64-*-solaris*)
   7516           LD="${LD-ld} -m elf_x86_64"
   7517           ;;
   7518         sparc*-*-solaris*)
   7519           LD="${LD-ld} -m elf64_sparc"
   7520           ;;
   7521         esac
   7522         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7523         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7524           LD=${LD-ld}_sol2
   7525         fi
   7526         ;;
   7527       *)
   7528 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7529 	  LD="${LD-ld} -64"
   7530 	fi
   7531 	;;
   7532       esac
   7533       ;;
   7534     esac
   7535   fi
   7536   rm -rf conftest*
   7537   ;;
   7538 esac
   7539 
   7540 need_locks=$enable_libtool_lock
   7541 
   7542 if test -n "$ac_tool_prefix"; then
   7543   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7544 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7546 printf %s "checking for $ac_word... " >&6; }
   7547 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7548 then :
   7549   printf %s "(cached) " >&6
   7550 else $as_nop
   7551   if test -n "$MANIFEST_TOOL"; then
   7552   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7553 else
   7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7555 for as_dir in $PATH
   7556 do
   7557   IFS=$as_save_IFS
   7558   case $as_dir in #(((
   7559     '') as_dir=./ ;;
   7560     */) ;;
   7561     *) as_dir=$as_dir/ ;;
   7562   esac
   7563     for ac_exec_ext in '' $ac_executable_extensions; do
   7564   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7565     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7566     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7567     break 2
   7568   fi
   7569 done
   7570   done
   7571 IFS=$as_save_IFS
   7572 
   7573 fi
   7574 fi
   7575 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7576 if test -n "$MANIFEST_TOOL"; then
   7577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7578 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7579 else
   7580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7581 printf "%s\n" "no" >&6; }
   7582 fi
   7583 
   7584 
   7585 fi
   7586 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7587   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7588   # Extract the first word of "mt", so it can be a program name with args.
   7589 set dummy mt; ac_word=$2
   7590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7591 printf %s "checking for $ac_word... " >&6; }
   7592 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7593 then :
   7594   printf %s "(cached) " >&6
   7595 else $as_nop
   7596   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7597   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7598 else
   7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7600 for as_dir in $PATH
   7601 do
   7602   IFS=$as_save_IFS
   7603   case $as_dir in #(((
   7604     '') as_dir=./ ;;
   7605     */) ;;
   7606     *) as_dir=$as_dir/ ;;
   7607   esac
   7608     for ac_exec_ext in '' $ac_executable_extensions; do
   7609   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7610     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7611     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7612     break 2
   7613   fi
   7614 done
   7615   done
   7616 IFS=$as_save_IFS
   7617 
   7618 fi
   7619 fi
   7620 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7621 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7622   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7623 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7624 else
   7625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7626 printf "%s\n" "no" >&6; }
   7627 fi
   7628 
   7629   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7630     MANIFEST_TOOL=":"
   7631   else
   7632     case $cross_compiling:$ac_tool_warned in
   7633 yes:)
   7634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7635 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7636 ac_tool_warned=yes ;;
   7637 esac
   7638     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7639   fi
   7640 else
   7641   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7642 fi
   7643 
   7644 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7646 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7647 if test ${lt_cv_path_mainfest_tool+y}
   7648 then :
   7649   printf %s "(cached) " >&6
   7650 else $as_nop
   7651   lt_cv_path_mainfest_tool=no
   7652   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7653   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7654   cat conftest.err >&5
   7655   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7656     lt_cv_path_mainfest_tool=yes
   7657   fi
   7658   rm -f conftest*
   7659 fi
   7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7661 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7662 if test yes != "$lt_cv_path_mainfest_tool"; then
   7663   MANIFEST_TOOL=:
   7664 fi
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671   case $host_os in
   7672     rhapsody* | darwin*)
   7673     if test -n "$ac_tool_prefix"; then
   7674   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7675 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7677 printf %s "checking for $ac_word... " >&6; }
   7678 if test ${ac_cv_prog_DSYMUTIL+y}
   7679 then :
   7680   printf %s "(cached) " >&6
   7681 else $as_nop
   7682   if test -n "$DSYMUTIL"; then
   7683   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7684 else
   7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7686 for as_dir in $PATH
   7687 do
   7688   IFS=$as_save_IFS
   7689   case $as_dir in #(((
   7690     '') as_dir=./ ;;
   7691     */) ;;
   7692     *) as_dir=$as_dir/ ;;
   7693   esac
   7694     for ac_exec_ext in '' $ac_executable_extensions; do
   7695   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7696     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7698     break 2
   7699   fi
   7700 done
   7701   done
   7702 IFS=$as_save_IFS
   7703 
   7704 fi
   7705 fi
   7706 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7707 if test -n "$DSYMUTIL"; then
   7708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7709 printf "%s\n" "$DSYMUTIL" >&6; }
   7710 else
   7711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7712 printf "%s\n" "no" >&6; }
   7713 fi
   7714 
   7715 
   7716 fi
   7717 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7718   ac_ct_DSYMUTIL=$DSYMUTIL
   7719   # Extract the first word of "dsymutil", so it can be a program name with args.
   7720 set dummy dsymutil; ac_word=$2
   7721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7722 printf %s "checking for $ac_word... " >&6; }
   7723 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7724 then :
   7725   printf %s "(cached) " >&6
   7726 else $as_nop
   7727   if test -n "$ac_ct_DSYMUTIL"; then
   7728   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7729 else
   7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7731 for as_dir in $PATH
   7732 do
   7733   IFS=$as_save_IFS
   7734   case $as_dir in #(((
   7735     '') as_dir=./ ;;
   7736     */) ;;
   7737     *) as_dir=$as_dir/ ;;
   7738   esac
   7739     for ac_exec_ext in '' $ac_executable_extensions; do
   7740   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7741     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7742     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7743     break 2
   7744   fi
   7745 done
   7746   done
   7747 IFS=$as_save_IFS
   7748 
   7749 fi
   7750 fi
   7751 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7752 if test -n "$ac_ct_DSYMUTIL"; then
   7753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7754 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7755 else
   7756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7757 printf "%s\n" "no" >&6; }
   7758 fi
   7759 
   7760   if test "x$ac_ct_DSYMUTIL" = x; then
   7761     DSYMUTIL=":"
   7762   else
   7763     case $cross_compiling:$ac_tool_warned in
   7764 yes:)
   7765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7766 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7767 ac_tool_warned=yes ;;
   7768 esac
   7769     DSYMUTIL=$ac_ct_DSYMUTIL
   7770   fi
   7771 else
   7772   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7773 fi
   7774 
   7775     if test -n "$ac_tool_prefix"; then
   7776   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7777 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7779 printf %s "checking for $ac_word... " >&6; }
   7780 if test ${ac_cv_prog_NMEDIT+y}
   7781 then :
   7782   printf %s "(cached) " >&6
   7783 else $as_nop
   7784   if test -n "$NMEDIT"; then
   7785   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7786 else
   7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7788 for as_dir in $PATH
   7789 do
   7790   IFS=$as_save_IFS
   7791   case $as_dir in #(((
   7792     '') as_dir=./ ;;
   7793     */) ;;
   7794     *) as_dir=$as_dir/ ;;
   7795   esac
   7796     for ac_exec_ext in '' $ac_executable_extensions; do
   7797   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7798     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7799     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7800     break 2
   7801   fi
   7802 done
   7803   done
   7804 IFS=$as_save_IFS
   7805 
   7806 fi
   7807 fi
   7808 NMEDIT=$ac_cv_prog_NMEDIT
   7809 if test -n "$NMEDIT"; then
   7810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7811 printf "%s\n" "$NMEDIT" >&6; }
   7812 else
   7813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7814 printf "%s\n" "no" >&6; }
   7815 fi
   7816 
   7817 
   7818 fi
   7819 if test -z "$ac_cv_prog_NMEDIT"; then
   7820   ac_ct_NMEDIT=$NMEDIT
   7821   # Extract the first word of "nmedit", so it can be a program name with args.
   7822 set dummy nmedit; ac_word=$2
   7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7824 printf %s "checking for $ac_word... " >&6; }
   7825 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7826 then :
   7827   printf %s "(cached) " >&6
   7828 else $as_nop
   7829   if test -n "$ac_ct_NMEDIT"; then
   7830   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7831 else
   7832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7833 for as_dir in $PATH
   7834 do
   7835   IFS=$as_save_IFS
   7836   case $as_dir in #(((
   7837     '') as_dir=./ ;;
   7838     */) ;;
   7839     *) as_dir=$as_dir/ ;;
   7840   esac
   7841     for ac_exec_ext in '' $ac_executable_extensions; do
   7842   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7843     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7844     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7845     break 2
   7846   fi
   7847 done
   7848   done
   7849 IFS=$as_save_IFS
   7850 
   7851 fi
   7852 fi
   7853 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7854 if test -n "$ac_ct_NMEDIT"; then
   7855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7856 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7857 else
   7858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7859 printf "%s\n" "no" >&6; }
   7860 fi
   7861 
   7862   if test "x$ac_ct_NMEDIT" = x; then
   7863     NMEDIT=":"
   7864   else
   7865     case $cross_compiling:$ac_tool_warned in
   7866 yes:)
   7867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7868 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7869 ac_tool_warned=yes ;;
   7870 esac
   7871     NMEDIT=$ac_ct_NMEDIT
   7872   fi
   7873 else
   7874   NMEDIT="$ac_cv_prog_NMEDIT"
   7875 fi
   7876 
   7877     if test -n "$ac_tool_prefix"; then
   7878   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7879 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7881 printf %s "checking for $ac_word... " >&6; }
   7882 if test ${ac_cv_prog_LIPO+y}
   7883 then :
   7884   printf %s "(cached) " >&6
   7885 else $as_nop
   7886   if test -n "$LIPO"; then
   7887   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7888 else
   7889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7890 for as_dir in $PATH
   7891 do
   7892   IFS=$as_save_IFS
   7893   case $as_dir in #(((
   7894     '') as_dir=./ ;;
   7895     */) ;;
   7896     *) as_dir=$as_dir/ ;;
   7897   esac
   7898     for ac_exec_ext in '' $ac_executable_extensions; do
   7899   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7900     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7901     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7902     break 2
   7903   fi
   7904 done
   7905   done
   7906 IFS=$as_save_IFS
   7907 
   7908 fi
   7909 fi
   7910 LIPO=$ac_cv_prog_LIPO
   7911 if test -n "$LIPO"; then
   7912   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7913 printf "%s\n" "$LIPO" >&6; }
   7914 else
   7915   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7916 printf "%s\n" "no" >&6; }
   7917 fi
   7918 
   7919 
   7920 fi
   7921 if test -z "$ac_cv_prog_LIPO"; then
   7922   ac_ct_LIPO=$LIPO
   7923   # Extract the first word of "lipo", so it can be a program name with args.
   7924 set dummy lipo; ac_word=$2
   7925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7926 printf %s "checking for $ac_word... " >&6; }
   7927 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7928 then :
   7929   printf %s "(cached) " >&6
   7930 else $as_nop
   7931   if test -n "$ac_ct_LIPO"; then
   7932   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7933 else
   7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7935 for as_dir in $PATH
   7936 do
   7937   IFS=$as_save_IFS
   7938   case $as_dir in #(((
   7939     '') as_dir=./ ;;
   7940     */) ;;
   7941     *) as_dir=$as_dir/ ;;
   7942   esac
   7943     for ac_exec_ext in '' $ac_executable_extensions; do
   7944   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7945     ac_cv_prog_ac_ct_LIPO="lipo"
   7946     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7947     break 2
   7948   fi
   7949 done
   7950   done
   7951 IFS=$as_save_IFS
   7952 
   7953 fi
   7954 fi
   7955 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7956 if test -n "$ac_ct_LIPO"; then
   7957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7958 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7959 else
   7960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7961 printf "%s\n" "no" >&6; }
   7962 fi
   7963 
   7964   if test "x$ac_ct_LIPO" = x; then
   7965     LIPO=":"
   7966   else
   7967     case $cross_compiling:$ac_tool_warned in
   7968 yes:)
   7969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7970 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7971 ac_tool_warned=yes ;;
   7972 esac
   7973     LIPO=$ac_ct_LIPO
   7974   fi
   7975 else
   7976   LIPO="$ac_cv_prog_LIPO"
   7977 fi
   7978 
   7979     if test -n "$ac_tool_prefix"; then
   7980   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7981 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7983 printf %s "checking for $ac_word... " >&6; }
   7984 if test ${ac_cv_prog_OTOOL+y}
   7985 then :
   7986   printf %s "(cached) " >&6
   7987 else $as_nop
   7988   if test -n "$OTOOL"; then
   7989   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7990 else
   7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7992 for as_dir in $PATH
   7993 do
   7994   IFS=$as_save_IFS
   7995   case $as_dir in #(((
   7996     '') as_dir=./ ;;
   7997     */) ;;
   7998     *) as_dir=$as_dir/ ;;
   7999   esac
   8000     for ac_exec_ext in '' $ac_executable_extensions; do
   8001   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8002     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8003     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8004     break 2
   8005   fi
   8006 done
   8007   done
   8008 IFS=$as_save_IFS
   8009 
   8010 fi
   8011 fi
   8012 OTOOL=$ac_cv_prog_OTOOL
   8013 if test -n "$OTOOL"; then
   8014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8015 printf "%s\n" "$OTOOL" >&6; }
   8016 else
   8017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8018 printf "%s\n" "no" >&6; }
   8019 fi
   8020 
   8021 
   8022 fi
   8023 if test -z "$ac_cv_prog_OTOOL"; then
   8024   ac_ct_OTOOL=$OTOOL
   8025   # Extract the first word of "otool", so it can be a program name with args.
   8026 set dummy otool; ac_word=$2
   8027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8028 printf %s "checking for $ac_word... " >&6; }
   8029 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8030 then :
   8031   printf %s "(cached) " >&6
   8032 else $as_nop
   8033   if test -n "$ac_ct_OTOOL"; then
   8034   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8035 else
   8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8037 for as_dir in $PATH
   8038 do
   8039   IFS=$as_save_IFS
   8040   case $as_dir in #(((
   8041     '') as_dir=./ ;;
   8042     */) ;;
   8043     *) as_dir=$as_dir/ ;;
   8044   esac
   8045     for ac_exec_ext in '' $ac_executable_extensions; do
   8046   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8047     ac_cv_prog_ac_ct_OTOOL="otool"
   8048     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8049     break 2
   8050   fi
   8051 done
   8052   done
   8053 IFS=$as_save_IFS
   8054 
   8055 fi
   8056 fi
   8057 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8058 if test -n "$ac_ct_OTOOL"; then
   8059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8060 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8061 else
   8062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8063 printf "%s\n" "no" >&6; }
   8064 fi
   8065 
   8066   if test "x$ac_ct_OTOOL" = x; then
   8067     OTOOL=":"
   8068   else
   8069     case $cross_compiling:$ac_tool_warned in
   8070 yes:)
   8071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8072 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8073 ac_tool_warned=yes ;;
   8074 esac
   8075     OTOOL=$ac_ct_OTOOL
   8076   fi
   8077 else
   8078   OTOOL="$ac_cv_prog_OTOOL"
   8079 fi
   8080 
   8081     if test -n "$ac_tool_prefix"; then
   8082   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8083 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8085 printf %s "checking for $ac_word... " >&6; }
   8086 if test ${ac_cv_prog_OTOOL64+y}
   8087 then :
   8088   printf %s "(cached) " >&6
   8089 else $as_nop
   8090   if test -n "$OTOOL64"; then
   8091   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8092 else
   8093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8094 for as_dir in $PATH
   8095 do
   8096   IFS=$as_save_IFS
   8097   case $as_dir in #(((
   8098     '') as_dir=./ ;;
   8099     */) ;;
   8100     *) as_dir=$as_dir/ ;;
   8101   esac
   8102     for ac_exec_ext in '' $ac_executable_extensions; do
   8103   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8104     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8105     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8106     break 2
   8107   fi
   8108 done
   8109   done
   8110 IFS=$as_save_IFS
   8111 
   8112 fi
   8113 fi
   8114 OTOOL64=$ac_cv_prog_OTOOL64
   8115 if test -n "$OTOOL64"; then
   8116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8117 printf "%s\n" "$OTOOL64" >&6; }
   8118 else
   8119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8120 printf "%s\n" "no" >&6; }
   8121 fi
   8122 
   8123 
   8124 fi
   8125 if test -z "$ac_cv_prog_OTOOL64"; then
   8126   ac_ct_OTOOL64=$OTOOL64
   8127   # Extract the first word of "otool64", so it can be a program name with args.
   8128 set dummy otool64; ac_word=$2
   8129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8130 printf %s "checking for $ac_word... " >&6; }
   8131 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8132 then :
   8133   printf %s "(cached) " >&6
   8134 else $as_nop
   8135   if test -n "$ac_ct_OTOOL64"; then
   8136   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8137 else
   8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8139 for as_dir in $PATH
   8140 do
   8141   IFS=$as_save_IFS
   8142   case $as_dir in #(((
   8143     '') as_dir=./ ;;
   8144     */) ;;
   8145     *) as_dir=$as_dir/ ;;
   8146   esac
   8147     for ac_exec_ext in '' $ac_executable_extensions; do
   8148   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8149     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8150     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8151     break 2
   8152   fi
   8153 done
   8154   done
   8155 IFS=$as_save_IFS
   8156 
   8157 fi
   8158 fi
   8159 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8160 if test -n "$ac_ct_OTOOL64"; then
   8161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8162 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8163 else
   8164   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8165 printf "%s\n" "no" >&6; }
   8166 fi
   8167 
   8168   if test "x$ac_ct_OTOOL64" = x; then
   8169     OTOOL64=":"
   8170   else
   8171     case $cross_compiling:$ac_tool_warned in
   8172 yes:)
   8173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8174 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8175 ac_tool_warned=yes ;;
   8176 esac
   8177     OTOOL64=$ac_ct_OTOOL64
   8178   fi
   8179 else
   8180   OTOOL64="$ac_cv_prog_OTOOL64"
   8181 fi
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8210 printf %s "checking for -single_module linker flag... " >&6; }
   8211 if test ${lt_cv_apple_cc_single_mod+y}
   8212 then :
   8213   printf %s "(cached) " >&6
   8214 else $as_nop
   8215   lt_cv_apple_cc_single_mod=no
   8216       if test -z "$LT_MULTI_MODULE"; then
   8217 	# By default we will add the -single_module flag. You can override
   8218 	# by either setting the environment variable LT_MULTI_MODULE
   8219 	# non-empty at configure time, or by adding -multi_module to the
   8220 	# link flags.
   8221 	rm -rf libconftest.dylib*
   8222 	echo "int foo(void){return 1;}" > conftest.c
   8223 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8224 -dynamiclib -Wl,-single_module conftest.c" >&5
   8225 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8226 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8227         _lt_result=$?
   8228 	# If there is a non-empty error log, and "single_module"
   8229 	# appears in it, assume the flag caused a linker warning
   8230         if test -s conftest.err && $GREP single_module conftest.err; then
   8231 	  cat conftest.err >&5
   8232 	# Otherwise, if the output was created with a 0 exit code from
   8233 	# the compiler, it worked.
   8234 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8235 	  lt_cv_apple_cc_single_mod=yes
   8236 	else
   8237 	  cat conftest.err >&5
   8238 	fi
   8239 	rm -rf libconftest.dylib*
   8240 	rm -f conftest.*
   8241       fi
   8242 fi
   8243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8244 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8245 
   8246     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8247 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8248 if test ${lt_cv_ld_exported_symbols_list+y}
   8249 then :
   8250   printf %s "(cached) " >&6
   8251 else $as_nop
   8252   lt_cv_ld_exported_symbols_list=no
   8253       save_LDFLAGS=$LDFLAGS
   8254       echo "_main" > conftest.sym
   8255       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8256       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8257 /* end confdefs.h.  */
   8258 
   8259 int
   8260 main (void)
   8261 {
   8262 
   8263   ;
   8264   return 0;
   8265 }
   8266 _ACEOF
   8267 if ac_fn_c_try_link "$LINENO"
   8268 then :
   8269   lt_cv_ld_exported_symbols_list=yes
   8270 else $as_nop
   8271   lt_cv_ld_exported_symbols_list=no
   8272 fi
   8273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8274     conftest$ac_exeext conftest.$ac_ext
   8275 	LDFLAGS=$save_LDFLAGS
   8276 
   8277 fi
   8278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8279 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8280 
   8281     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8282 printf %s "checking for -force_load linker flag... " >&6; }
   8283 if test ${lt_cv_ld_force_load+y}
   8284 then :
   8285   printf %s "(cached) " >&6
   8286 else $as_nop
   8287   lt_cv_ld_force_load=no
   8288       cat > conftest.c << _LT_EOF
   8289 int forced_loaded() { return 2;}
   8290 _LT_EOF
   8291       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8292       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8293       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8294       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8295       echo "$RANLIB libconftest.a" >&5
   8296       $RANLIB libconftest.a 2>&5
   8297       cat > conftest.c << _LT_EOF
   8298 int main() { return 0;}
   8299 _LT_EOF
   8300       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8301       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8302       _lt_result=$?
   8303       if test -s conftest.err && $GREP force_load conftest.err; then
   8304 	cat conftest.err >&5
   8305       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8306 	lt_cv_ld_force_load=yes
   8307       else
   8308 	cat conftest.err >&5
   8309       fi
   8310         rm -f conftest.err libconftest.a conftest conftest.c
   8311         rm -rf conftest.dSYM
   8312 
   8313 fi
   8314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8315 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8316     case $host_os in
   8317     rhapsody* | darwin1.[012])
   8318       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8319     darwin1.*)
   8320       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8321     darwin*)
   8322       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8323         10.[012],*|,*powerpc*-darwin[5-8]*)
   8324           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8325         *)
   8326           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8327       esac
   8328     ;;
   8329   esac
   8330     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8331       _lt_dar_single_mod='$single_module'
   8332     fi
   8333     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8334       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8335     else
   8336       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8337     fi
   8338     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8339       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8340     else
   8341       _lt_dsymutil=
   8342     fi
   8343     ;;
   8344   esac
   8345 
   8346 # func_munge_path_list VARIABLE PATH
   8347 # -----------------------------------
   8348 # VARIABLE is name of variable containing _space_ separated list of
   8349 # directories to be munged by the contents of PATH, which is string
   8350 # having a format:
   8351 # "DIR[:DIR]:"
   8352 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8353 # ":DIR[:DIR]"
   8354 #       string "DIR[ DIR]" will be appended to VARIABLE
   8355 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8356 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8357 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8358 # "DIR[:DIR]"
   8359 #       VARIABLE will be replaced by "DIR[ DIR]"
   8360 func_munge_path_list ()
   8361 {
   8362     case x$2 in
   8363     x)
   8364         ;;
   8365     *:)
   8366         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8367         ;;
   8368     x:*)
   8369         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8370         ;;
   8371     *::*)
   8372         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8373         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8374         ;;
   8375     *)
   8376         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8377         ;;
   8378     esac
   8379 }
   8380 
   8381 ac_header= ac_cache=
   8382 for ac_item in $ac_header_c_list
   8383 do
   8384   if test $ac_cache; then
   8385     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8386     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8387       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8388     fi
   8389     ac_header= ac_cache=
   8390   elif test $ac_header; then
   8391     ac_cache=$ac_item
   8392   else
   8393     ac_header=$ac_item
   8394   fi
   8395 done
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8405 then :
   8406 
   8407 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8408 
   8409 fi
   8410 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8411 "
   8412 if test "x$ac_cv_header_dlfcn_h" = xyes
   8413 then :
   8414   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8415 
   8416 fi
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 # Set options
   8423 
   8424 
   8425 
   8426         enable_dlopen=no
   8427 
   8428 
   8429   enable_win32_dll=no
   8430 
   8431 
   8432             # Check whether --enable-shared was given.
   8433 if test ${enable_shared+y}
   8434 then :
   8435   enableval=$enable_shared; p=${PACKAGE-default}
   8436     case $enableval in
   8437     yes) enable_shared=yes ;;
   8438     no) enable_shared=no ;;
   8439     *)
   8440       enable_shared=no
   8441       # Look at the argument we got.  We use all the common list separators.
   8442       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8443       for pkg in $enableval; do
   8444 	IFS=$lt_save_ifs
   8445 	if test "X$pkg" = "X$p"; then
   8446 	  enable_shared=yes
   8447 	fi
   8448       done
   8449       IFS=$lt_save_ifs
   8450       ;;
   8451     esac
   8452 else $as_nop
   8453   enable_shared=yes
   8454 fi
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463 
   8464   # Check whether --enable-static was given.
   8465 if test ${enable_static+y}
   8466 then :
   8467   enableval=$enable_static; p=${PACKAGE-default}
   8468     case $enableval in
   8469     yes) enable_static=yes ;;
   8470     no) enable_static=no ;;
   8471     *)
   8472      enable_static=no
   8473       # Look at the argument we got.  We use all the common list separators.
   8474       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8475       for pkg in $enableval; do
   8476 	IFS=$lt_save_ifs
   8477 	if test "X$pkg" = "X$p"; then
   8478 	  enable_static=yes
   8479 	fi
   8480       done
   8481       IFS=$lt_save_ifs
   8482       ;;
   8483     esac
   8484 else $as_nop
   8485   enable_static=yes
   8486 fi
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 # Check whether --with-pic was given.
   8498 if test ${with_pic+y}
   8499 then :
   8500   withval=$with_pic; lt_p=${PACKAGE-default}
   8501     case $withval in
   8502     yes|no) pic_mode=$withval ;;
   8503     *)
   8504       pic_mode=default
   8505       # Look at the argument we got.  We use all the common list separators.
   8506       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8507       for lt_pkg in $withval; do
   8508 	IFS=$lt_save_ifs
   8509 	if test "X$lt_pkg" = "X$lt_p"; then
   8510 	  pic_mode=yes
   8511 	fi
   8512       done
   8513       IFS=$lt_save_ifs
   8514       ;;
   8515     esac
   8516 else $as_nop
   8517   pic_mode=default
   8518 fi
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527   # Check whether --enable-fast-install was given.
   8528 if test ${enable_fast_install+y}
   8529 then :
   8530   enableval=$enable_fast_install; p=${PACKAGE-default}
   8531     case $enableval in
   8532     yes) enable_fast_install=yes ;;
   8533     no) enable_fast_install=no ;;
   8534     *)
   8535       enable_fast_install=no
   8536       # Look at the argument we got.  We use all the common list separators.
   8537       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8538       for pkg in $enableval; do
   8539 	IFS=$lt_save_ifs
   8540 	if test "X$pkg" = "X$p"; then
   8541 	  enable_fast_install=yes
   8542 	fi
   8543       done
   8544       IFS=$lt_save_ifs
   8545       ;;
   8546     esac
   8547 else $as_nop
   8548   enable_fast_install=yes
   8549 fi
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558   shared_archive_member_spec=
   8559 case $host,$enable_shared in
   8560 power*-*-aix[5-9]*,yes)
   8561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8562 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8563 
   8564 # Check whether --with-aix-soname was given.
   8565 if test ${with_aix_soname+y}
   8566 then :
   8567   withval=$with_aix_soname; case $withval in
   8568     aix|svr4|both)
   8569       ;;
   8570     *)
   8571       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8572       ;;
   8573     esac
   8574     lt_cv_with_aix_soname=$with_aix_soname
   8575 else $as_nop
   8576   if test ${lt_cv_with_aix_soname+y}
   8577 then :
   8578   printf %s "(cached) " >&6
   8579 else $as_nop
   8580   lt_cv_with_aix_soname=aix
   8581 fi
   8582 
   8583     with_aix_soname=$lt_cv_with_aix_soname
   8584 fi
   8585 
   8586   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8587 printf "%s\n" "$with_aix_soname" >&6; }
   8588   if test aix != "$with_aix_soname"; then
   8589     # For the AIX way of multilib, we name the shared archive member
   8590     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8591     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8592     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8593     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8594     if test 64 = "${OBJECT_MODE-32}"; then
   8595       shared_archive_member_spec=shr_64
   8596     else
   8597       shared_archive_member_spec=shr
   8598     fi
   8599   fi
   8600   ;;
   8601 *)
   8602   with_aix_soname=aix
   8603   ;;
   8604 esac
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 # This can be used to rebuild libtool when needed
   8616 LIBTOOL_DEPS=$ltmain
   8617 
   8618 # Always use our own libtool.
   8619 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8620 
   8621 
   8622 
   8623 
   8624 
   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 test -z "$LN_S" && LN_S="ln -s"
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 if test -n "${ZSH_VERSION+set}"; then
   8666    setopt NO_GLOB_SUBST
   8667 fi
   8668 
   8669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8670 printf %s "checking for objdir... " >&6; }
   8671 if test ${lt_cv_objdir+y}
   8672 then :
   8673   printf %s "(cached) " >&6
   8674 else $as_nop
   8675   rm -f .libs 2>/dev/null
   8676 mkdir .libs 2>/dev/null
   8677 if test -d .libs; then
   8678   lt_cv_objdir=.libs
   8679 else
   8680   # MS-DOS does not allow filenames that begin with a dot.
   8681   lt_cv_objdir=_libs
   8682 fi
   8683 rmdir .libs 2>/dev/null
   8684 fi
   8685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8686 printf "%s\n" "$lt_cv_objdir" >&6; }
   8687 objdir=$lt_cv_objdir
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8694 
   8695 
   8696 
   8697 
   8698 case $host_os in
   8699 aix3*)
   8700   # AIX sometimes has problems with the GCC collect2 program.  For some
   8701   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8702   # vanish in a puff of smoke.
   8703   if test set != "${COLLECT_NAMES+set}"; then
   8704     COLLECT_NAMES=
   8705     export COLLECT_NAMES
   8706   fi
   8707   ;;
   8708 esac
   8709 
   8710 # Global variables:
   8711 ofile=libtool
   8712 can_build_shared=yes
   8713 
   8714 # All known linkers require a '.a' archive for static linking (except MSVC and
   8715 # ICC, which need '.lib').
   8716 libext=a
   8717 
   8718 with_gnu_ld=$lt_cv_prog_gnu_ld
   8719 
   8720 old_CC=$CC
   8721 old_CFLAGS=$CFLAGS
   8722 
   8723 # Set sane defaults for various variables
   8724 test -z "$CC" && CC=cc
   8725 test -z "$LTCC" && LTCC=$CC
   8726 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8727 test -z "$LD" && LD=ld
   8728 test -z "$ac_objext" && ac_objext=o
   8729 
   8730 func_cc_basename $compiler
   8731 cc_basename=$func_cc_basename_result
   8732 
   8733 
   8734 # Only perform the check for file, if the check method requires it
   8735 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8736 case $deplibs_check_method in
   8737 file_magic*)
   8738   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8739     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8740 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8741 if test ${lt_cv_path_MAGIC_CMD+y}
   8742 then :
   8743   printf %s "(cached) " >&6
   8744 else $as_nop
   8745   case $MAGIC_CMD in
   8746 [\\/*] |  ?:[\\/]*)
   8747   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8748   ;;
   8749 *)
   8750   lt_save_MAGIC_CMD=$MAGIC_CMD
   8751   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8752   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8753   for ac_dir in $ac_dummy; do
   8754     IFS=$lt_save_ifs
   8755     test -z "$ac_dir" && ac_dir=.
   8756     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8757       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8758       if test -n "$file_magic_test_file"; then
   8759 	case $deplibs_check_method in
   8760 	"file_magic "*)
   8761 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8762 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8763 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8764 	    $EGREP "$file_magic_regex" > /dev/null; then
   8765 	    :
   8766 	  else
   8767 	    cat <<_LT_EOF 1>&2
   8768 
   8769 *** Warning: the command libtool uses to detect shared libraries,
   8770 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8771 *** The result is that libtool may fail to recognize shared libraries
   8772 *** as such.  This will affect the creation of libtool libraries that
   8773 *** depend on shared libraries, but programs linked with such libtool
   8774 *** libraries will work regardless of this problem.  Nevertheless, you
   8775 *** may want to report the problem to your system manager and/or to
   8776 *** bug-libtool@gnu.org
   8777 
   8778 _LT_EOF
   8779 	  fi ;;
   8780 	esac
   8781       fi
   8782       break
   8783     fi
   8784   done
   8785   IFS=$lt_save_ifs
   8786   MAGIC_CMD=$lt_save_MAGIC_CMD
   8787   ;;
   8788 esac
   8789 fi
   8790 
   8791 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8792 if test -n "$MAGIC_CMD"; then
   8793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8794 printf "%s\n" "$MAGIC_CMD" >&6; }
   8795 else
   8796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8797 printf "%s\n" "no" >&6; }
   8798 fi
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8805   if test -n "$ac_tool_prefix"; then
   8806     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8807 printf %s "checking for file... " >&6; }
   8808 if test ${lt_cv_path_MAGIC_CMD+y}
   8809 then :
   8810   printf %s "(cached) " >&6
   8811 else $as_nop
   8812   case $MAGIC_CMD in
   8813 [\\/*] |  ?:[\\/]*)
   8814   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8815   ;;
   8816 *)
   8817   lt_save_MAGIC_CMD=$MAGIC_CMD
   8818   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8819   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8820   for ac_dir in $ac_dummy; do
   8821     IFS=$lt_save_ifs
   8822     test -z "$ac_dir" && ac_dir=.
   8823     if test -f "$ac_dir/file"; then
   8824       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8825       if test -n "$file_magic_test_file"; then
   8826 	case $deplibs_check_method in
   8827 	"file_magic "*)
   8828 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8829 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8830 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8831 	    $EGREP "$file_magic_regex" > /dev/null; then
   8832 	    :
   8833 	  else
   8834 	    cat <<_LT_EOF 1>&2
   8835 
   8836 *** Warning: the command libtool uses to detect shared libraries,
   8837 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8838 *** The result is that libtool may fail to recognize shared libraries
   8839 *** as such.  This will affect the creation of libtool libraries that
   8840 *** depend on shared libraries, but programs linked with such libtool
   8841 *** libraries will work regardless of this problem.  Nevertheless, you
   8842 *** may want to report the problem to your system manager and/or to
   8843 *** bug-libtool@gnu.org
   8844 
   8845 _LT_EOF
   8846 	  fi ;;
   8847 	esac
   8848       fi
   8849       break
   8850     fi
   8851   done
   8852   IFS=$lt_save_ifs
   8853   MAGIC_CMD=$lt_save_MAGIC_CMD
   8854   ;;
   8855 esac
   8856 fi
   8857 
   8858 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8859 if test -n "$MAGIC_CMD"; then
   8860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8861 printf "%s\n" "$MAGIC_CMD" >&6; }
   8862 else
   8863   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8864 printf "%s\n" "no" >&6; }
   8865 fi
   8866 
   8867 
   8868   else
   8869     MAGIC_CMD=:
   8870   fi
   8871 fi
   8872 
   8873   fi
   8874   ;;
   8875 esac
   8876 
   8877 # Use C for the default configuration in the libtool script
   8878 
   8879 lt_save_CC=$CC
   8880 ac_ext=c
   8881 ac_cpp='$CPP $CPPFLAGS'
   8882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8885 
   8886 
   8887 # Source file extension for C test sources.
   8888 ac_ext=c
   8889 
   8890 # Object file extension for compiled C test sources.
   8891 objext=o
   8892 objext=$objext
   8893 
   8894 # Code to be used in simple compile tests
   8895 lt_simple_compile_test_code="int some_variable = 0;"
   8896 
   8897 # Code to be used in simple link tests
   8898 lt_simple_link_test_code='int main(){return(0);}'
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 # If no C compiler was specified, use CC.
   8907 LTCC=${LTCC-"$CC"}
   8908 
   8909 # If no C compiler flags were specified, use CFLAGS.
   8910 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8911 
   8912 # Allow CC to be a program name with arguments.
   8913 compiler=$CC
   8914 
   8915 # Save the default compiler, since it gets overwritten when the other
   8916 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8917 compiler_DEFAULT=$CC
   8918 
   8919 # save warnings/boilerplate of simple test code
   8920 ac_outfile=conftest.$ac_objext
   8921 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8922 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8923 _lt_compiler_boilerplate=`cat conftest.err`
   8924 $RM conftest*
   8925 
   8926 ac_outfile=conftest.$ac_objext
   8927 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8928 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8929 _lt_linker_boilerplate=`cat conftest.err`
   8930 $RM -r conftest*
   8931 
   8932 
   8933 ## CAVEAT EMPTOR:
   8934 ## There is no encapsulation within the following macros, do not change
   8935 ## the running order or otherwise move them around unless you know exactly
   8936 ## what you are doing...
   8937 if test -n "$compiler"; then
   8938 
   8939 lt_prog_compiler_no_builtin_flag=
   8940 
   8941 if test yes = "$GCC"; then
   8942   case $cc_basename in
   8943   nvcc*)
   8944     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8945   *)
   8946     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8947   esac
   8948 
   8949   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8950 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8951 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8952 then :
   8953   printf %s "(cached) " >&6
   8954 else $as_nop
   8955   lt_cv_prog_compiler_rtti_exceptions=no
   8956    ac_outfile=conftest.$ac_objext
   8957    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8958    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8959    # Insert the option either (1) after the last *FLAGS variable, or
   8960    # (2) before a word containing "conftest.", or (3) at the end.
   8961    # Note that $ac_compile itself does not contain backslashes and begins
   8962    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8963    # The option is referenced via a variable to avoid confusing sed.
   8964    lt_compile=`echo "$ac_compile" | $SED \
   8965    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8966    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8967    -e 's:$: $lt_compiler_flag:'`
   8968    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8969    (eval "$lt_compile" 2>conftest.err)
   8970    ac_status=$?
   8971    cat conftest.err >&5
   8972    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8973    if (exit $ac_status) && test -s "$ac_outfile"; then
   8974      # The compiler can only warn and ignore the option if not recognized
   8975      # So say no if there are warnings other than the usual output.
   8976      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8977      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8978      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8979        lt_cv_prog_compiler_rtti_exceptions=yes
   8980      fi
   8981    fi
   8982    $RM conftest*
   8983 
   8984 fi
   8985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8986 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8987 
   8988 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8989     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8990 else
   8991     :
   8992 fi
   8993 
   8994 fi
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001   lt_prog_compiler_wl=
   9002 lt_prog_compiler_pic=
   9003 lt_prog_compiler_static=
   9004 
   9005 
   9006   if test yes = "$GCC"; then
   9007     lt_prog_compiler_wl='-Wl,'
   9008     lt_prog_compiler_static='-static'
   9009 
   9010     case $host_os in
   9011       aix*)
   9012       # All AIX code is PIC.
   9013       if test ia64 = "$host_cpu"; then
   9014 	# AIX 5 now supports IA64 processor
   9015 	lt_prog_compiler_static='-Bstatic'
   9016       fi
   9017       lt_prog_compiler_pic='-fPIC'
   9018       ;;
   9019 
   9020     amigaos*)
   9021       case $host_cpu in
   9022       powerpc)
   9023             # see comment about AmigaOS4 .so support
   9024             lt_prog_compiler_pic='-fPIC'
   9025         ;;
   9026       m68k)
   9027             # FIXME: we need at least 68020 code to build shared libraries, but
   9028             # adding the '-m68020' flag to GCC prevents building anything better,
   9029             # like '-m68040'.
   9030             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9031         ;;
   9032       esac
   9033       ;;
   9034 
   9035     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9036       # PIC is the default for these OSes.
   9037       ;;
   9038 
   9039     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9040       # This hack is so that the source file can tell whether it is being
   9041       # built for inclusion in a dll (and should export symbols for example).
   9042       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9043       # (--disable-auto-import) libraries
   9044       lt_prog_compiler_pic='-DDLL_EXPORT'
   9045       case $host_os in
   9046       os2*)
   9047 	lt_prog_compiler_static='$wl-static'
   9048 	;;
   9049       esac
   9050       ;;
   9051 
   9052     darwin* | rhapsody*)
   9053       # PIC is the default on this platform
   9054       # Common symbols not allowed in MH_DYLIB files
   9055       lt_prog_compiler_pic='-fno-common'
   9056       ;;
   9057 
   9058     haiku*)
   9059       # PIC is the default for Haiku.
   9060       # The "-static" flag exists, but is broken.
   9061       lt_prog_compiler_static=
   9062       ;;
   9063 
   9064     hpux*)
   9065       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9066       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9067       # sets the default TLS model and affects inlining.
   9068       case $host_cpu in
   9069       hppa*64*)
   9070 	# +Z the default
   9071 	;;
   9072       *)
   9073 	lt_prog_compiler_pic='-fPIC'
   9074 	;;
   9075       esac
   9076       ;;
   9077 
   9078     interix[3-9]*)
   9079       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9080       # Instead, we relocate shared libraries at runtime.
   9081       ;;
   9082 
   9083     msdosdjgpp*)
   9084       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9085       # on systems that don't support them.
   9086       lt_prog_compiler_can_build_shared=no
   9087       enable_shared=no
   9088       ;;
   9089 
   9090     *nto* | *qnx*)
   9091       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9092       # it will coredump.
   9093       lt_prog_compiler_pic='-fPIC -shared'
   9094       ;;
   9095 
   9096     sysv4*MP*)
   9097       if test -d /usr/nec; then
   9098 	lt_prog_compiler_pic=-Kconform_pic
   9099       fi
   9100       ;;
   9101 
   9102     *)
   9103       lt_prog_compiler_pic='-fPIC'
   9104       ;;
   9105     esac
   9106 
   9107     case $cc_basename in
   9108     nvcc*) # Cuda Compiler Driver 2.2
   9109       lt_prog_compiler_wl='-Xlinker '
   9110       if test -n "$lt_prog_compiler_pic"; then
   9111         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9112       fi
   9113       ;;
   9114     esac
   9115   else
   9116     # PORTME Check for flag to pass linker flags through the system compiler.
   9117     case $host_os in
   9118     aix*)
   9119       lt_prog_compiler_wl='-Wl,'
   9120       if test ia64 = "$host_cpu"; then
   9121 	# AIX 5 now supports IA64 processor
   9122 	lt_prog_compiler_static='-Bstatic'
   9123       else
   9124 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9125       fi
   9126       ;;
   9127 
   9128     darwin* | rhapsody*)
   9129       # PIC is the default on this platform
   9130       # Common symbols not allowed in MH_DYLIB files
   9131       lt_prog_compiler_pic='-fno-common'
   9132       case $cc_basename in
   9133       nagfor*)
   9134         # NAG Fortran compiler
   9135         lt_prog_compiler_wl='-Wl,-Wl,,'
   9136         lt_prog_compiler_pic='-PIC'
   9137         lt_prog_compiler_static='-Bstatic'
   9138         ;;
   9139       esac
   9140       ;;
   9141 
   9142     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9143       # This hack is so that the source file can tell whether it is being
   9144       # built for inclusion in a dll (and should export symbols for example).
   9145       lt_prog_compiler_pic='-DDLL_EXPORT'
   9146       case $host_os in
   9147       os2*)
   9148 	lt_prog_compiler_static='$wl-static'
   9149 	;;
   9150       esac
   9151       ;;
   9152 
   9153     hpux9* | hpux10* | hpux11*)
   9154       lt_prog_compiler_wl='-Wl,'
   9155       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9156       # not for PA HP-UX.
   9157       case $host_cpu in
   9158       hppa*64*|ia64*)
   9159 	# +Z the default
   9160 	;;
   9161       *)
   9162 	lt_prog_compiler_pic='+Z'
   9163 	;;
   9164       esac
   9165       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9166       lt_prog_compiler_static='$wl-a ${wl}archive'
   9167       ;;
   9168 
   9169     irix5* | irix6* | nonstopux*)
   9170       lt_prog_compiler_wl='-Wl,'
   9171       # PIC (with -KPIC) is the default.
   9172       lt_prog_compiler_static='-non_shared'
   9173       ;;
   9174 
   9175     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9176       case $cc_basename in
   9177       # old Intel for x86_64, which still supported -KPIC.
   9178       ecc*)
   9179 	lt_prog_compiler_wl='-Wl,'
   9180 	lt_prog_compiler_pic='-KPIC'
   9181 	lt_prog_compiler_static='-static'
   9182         ;;
   9183       # icc used to be incompatible with GCC.
   9184       # ICC 10 doesn't accept -KPIC any more.
   9185       icc* | ifort*)
   9186 	lt_prog_compiler_wl='-Wl,'
   9187 	lt_prog_compiler_pic='-fPIC'
   9188 	lt_prog_compiler_static='-static'
   9189         ;;
   9190       # Lahey Fortran 8.1.
   9191       lf95*)
   9192 	lt_prog_compiler_wl='-Wl,'
   9193 	lt_prog_compiler_pic='--shared'
   9194 	lt_prog_compiler_static='--static'
   9195 	;;
   9196       nagfor*)
   9197 	# NAG Fortran compiler
   9198 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9199 	lt_prog_compiler_pic='-PIC'
   9200 	lt_prog_compiler_static='-Bstatic'
   9201 	;;
   9202       tcc*)
   9203 	# Fabrice Bellard et al's Tiny C Compiler
   9204 	lt_prog_compiler_wl='-Wl,'
   9205 	lt_prog_compiler_pic='-fPIC'
   9206 	lt_prog_compiler_static='-static'
   9207 	;;
   9208       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9209         # Portland Group compilers (*not* the Pentium gcc compiler,
   9210 	# which looks to be a dead project)
   9211 	lt_prog_compiler_wl='-Wl,'
   9212 	lt_prog_compiler_pic='-fpic'
   9213 	lt_prog_compiler_static='-Bstatic'
   9214         ;;
   9215       ccc*)
   9216         lt_prog_compiler_wl='-Wl,'
   9217         # All Alpha code is PIC.
   9218         lt_prog_compiler_static='-non_shared'
   9219         ;;
   9220       xl* | bgxl* | bgf* | mpixl*)
   9221 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9222 	lt_prog_compiler_wl='-Wl,'
   9223 	lt_prog_compiler_pic='-qpic'
   9224 	lt_prog_compiler_static='-qstaticlink'
   9225 	;;
   9226       *)
   9227 	case `$CC -V 2>&1 | $SED 5q` in
   9228 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9229 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9230 	  lt_prog_compiler_pic='-KPIC'
   9231 	  lt_prog_compiler_static='-Bstatic'
   9232 	  lt_prog_compiler_wl=''
   9233 	  ;;
   9234 	*Sun\ F* | *Sun*Fortran*)
   9235 	  lt_prog_compiler_pic='-KPIC'
   9236 	  lt_prog_compiler_static='-Bstatic'
   9237 	  lt_prog_compiler_wl='-Qoption ld '
   9238 	  ;;
   9239 	*Sun\ C*)
   9240 	  # Sun C 5.9
   9241 	  lt_prog_compiler_pic='-KPIC'
   9242 	  lt_prog_compiler_static='-Bstatic'
   9243 	  lt_prog_compiler_wl='-Wl,'
   9244 	  ;;
   9245         *Intel*\ [CF]*Compiler*)
   9246 	  lt_prog_compiler_wl='-Wl,'
   9247 	  lt_prog_compiler_pic='-fPIC'
   9248 	  lt_prog_compiler_static='-static'
   9249 	  ;;
   9250 	*Portland\ Group*)
   9251 	  lt_prog_compiler_wl='-Wl,'
   9252 	  lt_prog_compiler_pic='-fpic'
   9253 	  lt_prog_compiler_static='-Bstatic'
   9254 	  ;;
   9255 	esac
   9256 	;;
   9257       esac
   9258       ;;
   9259 
   9260     newsos6)
   9261       lt_prog_compiler_pic='-KPIC'
   9262       lt_prog_compiler_static='-Bstatic'
   9263       ;;
   9264 
   9265     *nto* | *qnx*)
   9266       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9267       # it will coredump.
   9268       lt_prog_compiler_pic='-fPIC -shared'
   9269       ;;
   9270 
   9271     osf3* | osf4* | osf5*)
   9272       lt_prog_compiler_wl='-Wl,'
   9273       # All OSF/1 code is PIC.
   9274       lt_prog_compiler_static='-non_shared'
   9275       ;;
   9276 
   9277     rdos*)
   9278       lt_prog_compiler_static='-non_shared'
   9279       ;;
   9280 
   9281     solaris*)
   9282       lt_prog_compiler_pic='-KPIC'
   9283       lt_prog_compiler_static='-Bstatic'
   9284       case $cc_basename in
   9285       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9286 	lt_prog_compiler_wl='-Qoption ld ';;
   9287       *)
   9288 	lt_prog_compiler_wl='-Wl,';;
   9289       esac
   9290       ;;
   9291 
   9292     sunos4*)
   9293       lt_prog_compiler_wl='-Qoption ld '
   9294       lt_prog_compiler_pic='-PIC'
   9295       lt_prog_compiler_static='-Bstatic'
   9296       ;;
   9297 
   9298     sysv4 | sysv4.2uw2* | sysv4.3*)
   9299       lt_prog_compiler_wl='-Wl,'
   9300       lt_prog_compiler_pic='-KPIC'
   9301       lt_prog_compiler_static='-Bstatic'
   9302       ;;
   9303 
   9304     sysv4*MP*)
   9305       if test -d /usr/nec; then
   9306 	lt_prog_compiler_pic='-Kconform_pic'
   9307 	lt_prog_compiler_static='-Bstatic'
   9308       fi
   9309       ;;
   9310 
   9311     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9312       lt_prog_compiler_wl='-Wl,'
   9313       lt_prog_compiler_pic='-KPIC'
   9314       lt_prog_compiler_static='-Bstatic'
   9315       ;;
   9316 
   9317     unicos*)
   9318       lt_prog_compiler_wl='-Wl,'
   9319       lt_prog_compiler_can_build_shared=no
   9320       ;;
   9321 
   9322     uts4*)
   9323       lt_prog_compiler_pic='-pic'
   9324       lt_prog_compiler_static='-Bstatic'
   9325       ;;
   9326 
   9327     *)
   9328       lt_prog_compiler_can_build_shared=no
   9329       ;;
   9330     esac
   9331   fi
   9332 
   9333 case $host_os in
   9334   # For platforms that do not support PIC, -DPIC is meaningless:
   9335   *djgpp*)
   9336     lt_prog_compiler_pic=
   9337     ;;
   9338   *)
   9339     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9340     ;;
   9341 esac
   9342 
   9343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9344 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9345 if test ${lt_cv_prog_compiler_pic+y}
   9346 then :
   9347   printf %s "(cached) " >&6
   9348 else $as_nop
   9349   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9350 fi
   9351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9352 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9353 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9354 
   9355 #
   9356 # Check to make sure the PIC flag actually works.
   9357 #
   9358 if test -n "$lt_prog_compiler_pic"; then
   9359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9360 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9361 if test ${lt_cv_prog_compiler_pic_works+y}
   9362 then :
   9363   printf %s "(cached) " >&6
   9364 else $as_nop
   9365   lt_cv_prog_compiler_pic_works=no
   9366    ac_outfile=conftest.$ac_objext
   9367    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9368    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9369    # Insert the option either (1) after the last *FLAGS variable, or
   9370    # (2) before a word containing "conftest.", or (3) at the end.
   9371    # Note that $ac_compile itself does not contain backslashes and begins
   9372    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9373    # The option is referenced via a variable to avoid confusing sed.
   9374    lt_compile=`echo "$ac_compile" | $SED \
   9375    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9376    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9377    -e 's:$: $lt_compiler_flag:'`
   9378    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9379    (eval "$lt_compile" 2>conftest.err)
   9380    ac_status=$?
   9381    cat conftest.err >&5
   9382    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9383    if (exit $ac_status) && test -s "$ac_outfile"; then
   9384      # The compiler can only warn and ignore the option if not recognized
   9385      # So say no if there are warnings other than the usual output.
   9386      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9387      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9388      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9389        lt_cv_prog_compiler_pic_works=yes
   9390      fi
   9391    fi
   9392    $RM conftest*
   9393 
   9394 fi
   9395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9396 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9397 
   9398 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9399     case $lt_prog_compiler_pic in
   9400      "" | " "*) ;;
   9401      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9402      esac
   9403 else
   9404     lt_prog_compiler_pic=
   9405      lt_prog_compiler_can_build_shared=no
   9406 fi
   9407 
   9408 fi
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 #
   9421 # Check to make sure the static flag actually works.
   9422 #
   9423 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9425 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9426 if test ${lt_cv_prog_compiler_static_works+y}
   9427 then :
   9428   printf %s "(cached) " >&6
   9429 else $as_nop
   9430   lt_cv_prog_compiler_static_works=no
   9431    save_LDFLAGS=$LDFLAGS
   9432    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9433    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9434    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9435      # The linker can only warn and ignore the option if not recognized
   9436      # So say no if there are warnings
   9437      if test -s conftest.err; then
   9438        # Append any errors to the config.log.
   9439        cat conftest.err 1>&5
   9440        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9441        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9442        if diff conftest.exp conftest.er2 >/dev/null; then
   9443          lt_cv_prog_compiler_static_works=yes
   9444        fi
   9445      else
   9446        lt_cv_prog_compiler_static_works=yes
   9447      fi
   9448    fi
   9449    $RM -r conftest*
   9450    LDFLAGS=$save_LDFLAGS
   9451 
   9452 fi
   9453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9454 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9455 
   9456 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9457     :
   9458 else
   9459     lt_prog_compiler_static=
   9460 fi
   9461 
   9462 
   9463 
   9464 
   9465 
   9466 
   9467 
   9468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9469 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9470 if test ${lt_cv_prog_compiler_c_o+y}
   9471 then :
   9472   printf %s "(cached) " >&6
   9473 else $as_nop
   9474   lt_cv_prog_compiler_c_o=no
   9475    $RM -r conftest 2>/dev/null
   9476    mkdir conftest
   9477    cd conftest
   9478    mkdir out
   9479    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9480 
   9481    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9482    # Insert the option either (1) after the last *FLAGS variable, or
   9483    # (2) before a word containing "conftest.", or (3) at the end.
   9484    # Note that $ac_compile itself does not contain backslashes and begins
   9485    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9486    lt_compile=`echo "$ac_compile" | $SED \
   9487    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9488    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9489    -e 's:$: $lt_compiler_flag:'`
   9490    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9491    (eval "$lt_compile" 2>out/conftest.err)
   9492    ac_status=$?
   9493    cat out/conftest.err >&5
   9494    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9495    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9496    then
   9497      # The compiler can only warn and ignore the option if not recognized
   9498      # So say no if there are warnings
   9499      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9500      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9501      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9502        lt_cv_prog_compiler_c_o=yes
   9503      fi
   9504    fi
   9505    chmod u+w . 2>&5
   9506    $RM conftest*
   9507    # SGI C++ compiler will create directory out/ii_files/ for
   9508    # template instantiation
   9509    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9510    $RM out/* && rmdir out
   9511    cd ..
   9512    $RM -r conftest
   9513    $RM conftest*
   9514 
   9515 fi
   9516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9517 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9518 
   9519 
   9520 
   9521 
   9522 
   9523 
   9524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9525 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9526 if test ${lt_cv_prog_compiler_c_o+y}
   9527 then :
   9528   printf %s "(cached) " >&6
   9529 else $as_nop
   9530   lt_cv_prog_compiler_c_o=no
   9531    $RM -r conftest 2>/dev/null
   9532    mkdir conftest
   9533    cd conftest
   9534    mkdir out
   9535    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9536 
   9537    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9538    # Insert the option either (1) after the last *FLAGS variable, or
   9539    # (2) before a word containing "conftest.", or (3) at the end.
   9540    # Note that $ac_compile itself does not contain backslashes and begins
   9541    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9542    lt_compile=`echo "$ac_compile" | $SED \
   9543    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9544    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9545    -e 's:$: $lt_compiler_flag:'`
   9546    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9547    (eval "$lt_compile" 2>out/conftest.err)
   9548    ac_status=$?
   9549    cat out/conftest.err >&5
   9550    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9551    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9552    then
   9553      # The compiler can only warn and ignore the option if not recognized
   9554      # So say no if there are warnings
   9555      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9556      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9557      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9558        lt_cv_prog_compiler_c_o=yes
   9559      fi
   9560    fi
   9561    chmod u+w . 2>&5
   9562    $RM conftest*
   9563    # SGI C++ compiler will create directory out/ii_files/ for
   9564    # template instantiation
   9565    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9566    $RM out/* && rmdir out
   9567    cd ..
   9568    $RM -r conftest
   9569    $RM conftest*
   9570 
   9571 fi
   9572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9573 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9574 
   9575 
   9576 
   9577 
   9578 hard_links=nottested
   9579 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9580   # do not overwrite the value of need_locks provided by the user
   9581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9582 printf %s "checking if we can lock with hard links... " >&6; }
   9583   hard_links=yes
   9584   $RM conftest*
   9585   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9586   touch conftest.a
   9587   ln conftest.a conftest.b 2>&5 || hard_links=no
   9588   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9590 printf "%s\n" "$hard_links" >&6; }
   9591   if test no = "$hard_links"; then
   9592     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9593 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9594     need_locks=warn
   9595   fi
   9596 else
   9597   need_locks=no
   9598 fi
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9606 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9607 
   9608   runpath_var=
   9609   allow_undefined_flag=
   9610   always_export_symbols=no
   9611   archive_cmds=
   9612   archive_expsym_cmds=
   9613   compiler_needs_object=no
   9614   enable_shared_with_static_runtimes=no
   9615   export_dynamic_flag_spec=
   9616   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9617   hardcode_automatic=no
   9618   hardcode_direct=no
   9619   hardcode_direct_absolute=no
   9620   hardcode_libdir_flag_spec=
   9621   hardcode_libdir_separator=
   9622   hardcode_minus_L=no
   9623   hardcode_shlibpath_var=unsupported
   9624   inherit_rpath=no
   9625   link_all_deplibs=unknown
   9626   module_cmds=
   9627   module_expsym_cmds=
   9628   old_archive_from_new_cmds=
   9629   old_archive_from_expsyms_cmds=
   9630   thread_safe_flag_spec=
   9631   whole_archive_flag_spec=
   9632   # include_expsyms should be a list of space-separated symbols to be *always*
   9633   # included in the symbol list
   9634   include_expsyms=
   9635   # exclude_expsyms can be an extended regexp of symbols to exclude
   9636   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9637   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9638   # as well as any symbol that contains 'd'.
   9639   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9640   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9641   # platforms (ab)use it in PIC code, but their linkers get confused if
   9642   # the symbol is explicitly referenced.  Since portable code cannot
   9643   # rely on this symbol name, it's probably fine to never include it in
   9644   # preloaded symbol tables.
   9645   # Exclude shared library initialization/finalization symbols.
   9646   extract_expsyms_cmds=
   9647 
   9648   case $host_os in
   9649   cygwin* | mingw* | pw32* | cegcc*)
   9650     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9651     # When not using gcc, we currently assume that we are using
   9652     # Microsoft Visual C++ or Intel C++ Compiler.
   9653     if test yes != "$GCC"; then
   9654       with_gnu_ld=no
   9655     fi
   9656     ;;
   9657   interix*)
   9658     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9659     with_gnu_ld=yes
   9660     ;;
   9661   openbsd* | bitrig*)
   9662     with_gnu_ld=no
   9663     ;;
   9664   esac
   9665 
   9666   ld_shlibs=yes
   9667 
   9668   # On some targets, GNU ld is compatible enough with the native linker
   9669   # that we're better off using the native interface for both.
   9670   lt_use_gnu_ld_interface=no
   9671   if test yes = "$with_gnu_ld"; then
   9672     case $host_os in
   9673       aix*)
   9674 	# The AIX port of GNU ld has always aspired to compatibility
   9675 	# with the native linker.  However, as the warning in the GNU ld
   9676 	# block says, versions before 2.19.5* couldn't really create working
   9677 	# shared libraries, regardless of the interface used.
   9678 	case `$LD -v 2>&1` in
   9679 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9680 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9681 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9682 	  *)
   9683 	    lt_use_gnu_ld_interface=yes
   9684 	    ;;
   9685 	esac
   9686 	;;
   9687       *)
   9688 	lt_use_gnu_ld_interface=yes
   9689 	;;
   9690     esac
   9691   fi
   9692 
   9693   if test yes = "$lt_use_gnu_ld_interface"; then
   9694     # If archive_cmds runs LD, not CC, wlarc should be empty
   9695     wlarc='$wl'
   9696 
   9697     # Set some defaults for GNU ld with shared library support. These
   9698     # are reset later if shared libraries are not supported. Putting them
   9699     # here allows them to be overridden if necessary.
   9700     runpath_var=LD_RUN_PATH
   9701     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9702     export_dynamic_flag_spec='$wl--export-dynamic'
   9703     # ancient GNU ld didn't support --whole-archive et. al.
   9704     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9705       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9706     else
   9707       whole_archive_flag_spec=
   9708     fi
   9709     supports_anon_versioning=no
   9710     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9711       *GNU\ gold*) supports_anon_versioning=yes ;;
   9712       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9713       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9714       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9715       *\ 2.11.*) ;; # other 2.11 versions
   9716       *) supports_anon_versioning=yes ;;
   9717     esac
   9718 
   9719     # See if GNU ld supports shared libraries.
   9720     case $host_os in
   9721     aix[3-9]*)
   9722       # On AIX/PPC, the GNU linker is very broken
   9723       if test ia64 != "$host_cpu"; then
   9724 	ld_shlibs=no
   9725 	cat <<_LT_EOF 1>&2
   9726 
   9727 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9728 *** to be unable to reliably create shared libraries on AIX.
   9729 *** Therefore, libtool is disabling shared libraries support.  If you
   9730 *** really care for shared libraries, you may want to install binutils
   9731 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9732 *** You will then need to restart the configuration process.
   9733 
   9734 _LT_EOF
   9735       fi
   9736       ;;
   9737 
   9738     amigaos*)
   9739       case $host_cpu in
   9740       powerpc)
   9741             # see comment about AmigaOS4 .so support
   9742             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9743             archive_expsym_cmds=''
   9744         ;;
   9745       m68k)
   9746             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)'
   9747             hardcode_libdir_flag_spec='-L$libdir'
   9748             hardcode_minus_L=yes
   9749         ;;
   9750       esac
   9751       ;;
   9752 
   9753     beos*)
   9754       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9755 	allow_undefined_flag=unsupported
   9756 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9757 	# support --undefined.  This deserves some investigation.  FIXME
   9758 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9759       else
   9760 	ld_shlibs=no
   9761       fi
   9762       ;;
   9763 
   9764     cygwin* | mingw* | pw32* | cegcc*)
   9765       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9766       # as there is no search path for DLLs.
   9767       hardcode_libdir_flag_spec='-L$libdir'
   9768       export_dynamic_flag_spec='$wl--export-all-symbols'
   9769       allow_undefined_flag=unsupported
   9770       always_export_symbols=no
   9771       enable_shared_with_static_runtimes=yes
   9772       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'
   9773       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9774 
   9775       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9776         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9777 	# If the export-symbols file already is a .def file, use it as
   9778 	# is; otherwise, prepend EXPORTS...
   9779 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9780           cp $export_symbols $output_objdir/$soname.def;
   9781         else
   9782           echo EXPORTS > $output_objdir/$soname.def;
   9783           cat $export_symbols >> $output_objdir/$soname.def;
   9784         fi~
   9785         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9786       else
   9787 	ld_shlibs=no
   9788       fi
   9789       ;;
   9790 
   9791     haiku*)
   9792       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9793       link_all_deplibs=yes
   9794       ;;
   9795 
   9796     os2*)
   9797       hardcode_libdir_flag_spec='-L$libdir'
   9798       hardcode_minus_L=yes
   9799       allow_undefined_flag=unsupported
   9800       shrext_cmds=.dll
   9801       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9802 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9803 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9804 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9805 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9806 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9807 	emximp -o $lib $output_objdir/$libname.def'
   9808       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9809 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9810 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9811 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9812 	prefix_cmds="$SED"~
   9813 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9814 	  prefix_cmds="$prefix_cmds -e 1d";
   9815 	fi~
   9816 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9817 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9818 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9819 	emximp -o $lib $output_objdir/$libname.def'
   9820       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9821       enable_shared_with_static_runtimes=yes
   9822       file_list_spec='@'
   9823       ;;
   9824 
   9825     interix[3-9]*)
   9826       hardcode_direct=no
   9827       hardcode_shlibpath_var=no
   9828       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9829       export_dynamic_flag_spec='$wl-E'
   9830       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9831       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9832       # default) and relocated if they conflict, which is a slow very memory
   9833       # consuming and fragmenting process.  To avoid this, we pick a random,
   9834       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9835       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9836       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9837       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'
   9838       ;;
   9839 
   9840     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9841       tmp_diet=no
   9842       if test linux-dietlibc = "$host_os"; then
   9843 	case $cc_basename in
   9844 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9845 	esac
   9846       fi
   9847       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9848 	 && test no = "$tmp_diet"
   9849       then
   9850 	tmp_addflag=' $pic_flag'
   9851 	tmp_sharedflag='-shared'
   9852 	case $cc_basename,$host_cpu in
   9853         pgcc*)				# Portland Group C compiler
   9854 	  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'
   9855 	  tmp_addflag=' $pic_flag'
   9856 	  ;;
   9857 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9858 					# Portland Group f77 and f90 compilers
   9859 	  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'
   9860 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9861 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9862 	  tmp_addflag=' -i_dynamic' ;;
   9863 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9864 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9865 	ifc* | ifort*)			# Intel Fortran compiler
   9866 	  tmp_addflag=' -nofor_main' ;;
   9867 	lf95*)				# Lahey Fortran 8.1
   9868 	  whole_archive_flag_spec=
   9869 	  tmp_sharedflag='--shared' ;;
   9870         nagfor*)                        # NAGFOR 5.3
   9871           tmp_sharedflag='-Wl,-shared' ;;
   9872 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9873 	  tmp_sharedflag='-qmkshrobj'
   9874 	  tmp_addflag= ;;
   9875 	nvcc*)	# Cuda Compiler Driver 2.2
   9876 	  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'
   9877 	  compiler_needs_object=yes
   9878 	  ;;
   9879 	esac
   9880 	case `$CC -V 2>&1 | $SED 5q` in
   9881 	*Sun\ C*)			# Sun C 5.9
   9882 	  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'
   9883 	  compiler_needs_object=yes
   9884 	  tmp_sharedflag='-G' ;;
   9885 	*Sun\ F*)			# Sun Fortran 8.3
   9886 	  tmp_sharedflag='-G' ;;
   9887 	esac
   9888 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9889 
   9890         if test yes = "$supports_anon_versioning"; then
   9891           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9892             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9893             echo "local: *; };" >> $output_objdir/$libname.ver~
   9894             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9895         fi
   9896 
   9897 	case $cc_basename in
   9898 	tcc*)
   9899 	  export_dynamic_flag_spec='-rdynamic'
   9900 	  ;;
   9901 	xlf* | bgf* | bgxlf* | mpixlf*)
   9902 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9903 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9904 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9905 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9906 	  if test yes = "$supports_anon_versioning"; then
   9907 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9908               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9909               echo "local: *; };" >> $output_objdir/$libname.ver~
   9910               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9911 	  fi
   9912 	  ;;
   9913 	esac
   9914       else
   9915         ld_shlibs=no
   9916       fi
   9917       ;;
   9918 
   9919     netbsd*)
   9920       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9921 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9922 	wlarc=
   9923       else
   9924 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9925 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9926       fi
   9927       ;;
   9928 
   9929     solaris*)
   9930       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9931 	ld_shlibs=no
   9932 	cat <<_LT_EOF 1>&2
   9933 
   9934 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9935 *** create shared libraries on Solaris systems.  Therefore, libtool
   9936 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9937 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9938 *** your PATH or compiler configuration so that the native linker is
   9939 *** used, and then restart.
   9940 
   9941 _LT_EOF
   9942       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9943 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9944 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9945       else
   9946 	ld_shlibs=no
   9947       fi
   9948       ;;
   9949 
   9950     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9951       case `$LD -v 2>&1` in
   9952         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9953 	ld_shlibs=no
   9954 	cat <<_LT_EOF 1>&2
   9955 
   9956 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9957 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9958 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9959 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9960 *** your PATH or compiler configuration so that the native linker is
   9961 *** used, and then restart.
   9962 
   9963 _LT_EOF
   9964 	;;
   9965 	*)
   9966 	  # For security reasons, it is highly recommended that you always
   9967 	  # use absolute paths for naming shared libraries, and exclude the
   9968 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9969 	  # requires that you compile everything twice, which is a pain.
   9970 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9971 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9972 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9973 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9974 	  else
   9975 	    ld_shlibs=no
   9976 	  fi
   9977 	;;
   9978       esac
   9979       ;;
   9980 
   9981     sunos4*)
   9982       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9983       wlarc=
   9984       hardcode_direct=yes
   9985       hardcode_shlibpath_var=no
   9986       ;;
   9987 
   9988     *)
   9989       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9990 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9991 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9992       else
   9993 	ld_shlibs=no
   9994       fi
   9995       ;;
   9996     esac
   9997 
   9998     if test no = "$ld_shlibs"; then
   9999       runpath_var=
   10000       hardcode_libdir_flag_spec=
   10001       export_dynamic_flag_spec=
   10002       whole_archive_flag_spec=
   10003     fi
   10004   else
   10005     # PORTME fill in a description of your system's linker (not GNU ld)
   10006     case $host_os in
   10007     aix3*)
   10008       allow_undefined_flag=unsupported
   10009       always_export_symbols=yes
   10010       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'
   10011       # Note: this linker hardcodes the directories in LIBPATH if there
   10012       # are no directories specified by -L.
   10013       hardcode_minus_L=yes
   10014       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10015 	# Neither direct hardcoding nor static linking is supported with a
   10016 	# broken collect2.
   10017 	hardcode_direct=unsupported
   10018       fi
   10019       ;;
   10020 
   10021     aix[4-9]*)
   10022       if test ia64 = "$host_cpu"; then
   10023 	# On IA64, the linker does run time linking by default, so we don't
   10024 	# have to do anything special.
   10025 	aix_use_runtimelinking=no
   10026 	exp_sym_flag='-Bexport'
   10027 	no_entry_flag=
   10028       else
   10029 	# If we're using GNU nm, then we don't want the "-C" option.
   10030 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10031 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10032 	# weak defined symbols like other global defined symbols, whereas
   10033 	# GNU nm marks them as "W".
   10034 	# While the 'weak' keyword is ignored in the Export File, we need
   10035 	# it in the Import File for the 'aix-soname' feature, so we have
   10036 	# to replace the "-B" option with "-P" for AIX nm.
   10037 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10038 	  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'
   10039 	else
   10040 	  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'
   10041 	fi
   10042 	aix_use_runtimelinking=no
   10043 
   10044 	# Test if we are trying to use run time linking or normal
   10045 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10046 	# have runtime linking enabled, and use it for executables.
   10047 	# For shared libraries, we enable/disable runtime linking
   10048 	# depending on the kind of the shared library created -
   10049 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10050 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10051 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10052 	#            lib.a           static archive
   10053 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10054 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10055 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10056 	#            lib.a(lib.so.V) shared, rtl:no
   10057 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10058 	#            lib.a           static archive
   10059 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10060 	  for ld_flag in $LDFLAGS; do
   10061 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10062 	    aix_use_runtimelinking=yes
   10063 	    break
   10064 	  fi
   10065 	  done
   10066 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10067 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10068 	    # so we don't have lib.a shared libs to link our executables.
   10069 	    # We have to force runtime linking in this case.
   10070 	    aix_use_runtimelinking=yes
   10071 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10072 	  fi
   10073 	  ;;
   10074 	esac
   10075 
   10076 	exp_sym_flag='-bexport'
   10077 	no_entry_flag='-bnoentry'
   10078       fi
   10079 
   10080       # When large executables or shared objects are built, AIX ld can
   10081       # have problems creating the table of contents.  If linking a library
   10082       # or program results in "error TOC overflow" add -mminimal-toc to
   10083       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10084       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10085 
   10086       archive_cmds=''
   10087       hardcode_direct=yes
   10088       hardcode_direct_absolute=yes
   10089       hardcode_libdir_separator=':'
   10090       link_all_deplibs=yes
   10091       file_list_spec='$wl-f,'
   10092       case $with_aix_soname,$aix_use_runtimelinking in
   10093       aix,*) ;; # traditional, no import file
   10094       svr4,* | *,yes) # use import file
   10095 	# The Import File defines what to hardcode.
   10096 	hardcode_direct=no
   10097 	hardcode_direct_absolute=no
   10098 	;;
   10099       esac
   10100 
   10101       if test yes = "$GCC"; then
   10102 	case $host_os in aix4.[012]|aix4.[012].*)
   10103 	# We only want to do this on AIX 4.2 and lower, the check
   10104 	# below for broken collect2 doesn't work under 4.3+
   10105 	  collect2name=`$CC -print-prog-name=collect2`
   10106 	  if test -f "$collect2name" &&
   10107 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10108 	  then
   10109 	  # We have reworked collect2
   10110 	  :
   10111 	  else
   10112 	  # We have old collect2
   10113 	  hardcode_direct=unsupported
   10114 	  # It fails to find uninstalled libraries when the uninstalled
   10115 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10116 	  # to unsupported forces relinking
   10117 	  hardcode_minus_L=yes
   10118 	  hardcode_libdir_flag_spec='-L$libdir'
   10119 	  hardcode_libdir_separator=
   10120 	  fi
   10121 	  ;;
   10122 	esac
   10123 	shared_flag='-shared'
   10124 	if test yes = "$aix_use_runtimelinking"; then
   10125 	  shared_flag="$shared_flag "'$wl-G'
   10126 	fi
   10127 	# Need to ensure runtime linking is disabled for the traditional
   10128 	# shared library, or the linker may eventually find shared libraries
   10129 	# /with/ Import File - we do not want to mix them.
   10130 	shared_flag_aix='-shared'
   10131 	shared_flag_svr4='-shared $wl-G'
   10132       else
   10133 	# not using gcc
   10134 	if test ia64 = "$host_cpu"; then
   10135 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10136 	# chokes on -Wl,-G. The following line is correct:
   10137 	  shared_flag='-G'
   10138 	else
   10139 	  if test yes = "$aix_use_runtimelinking"; then
   10140 	    shared_flag='$wl-G'
   10141 	  else
   10142 	    shared_flag='$wl-bM:SRE'
   10143 	  fi
   10144 	  shared_flag_aix='$wl-bM:SRE'
   10145 	  shared_flag_svr4='$wl-G'
   10146 	fi
   10147       fi
   10148 
   10149       export_dynamic_flag_spec='$wl-bexpall'
   10150       # It seems that -bexpall does not export symbols beginning with
   10151       # underscore (_), so it is better to generate a list of symbols to export.
   10152       always_export_symbols=yes
   10153       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10154 	# Warning - without using the other runtime loading flags (-brtl),
   10155 	# -berok will link without error, but may produce a broken library.
   10156 	allow_undefined_flag='-berok'
   10157         # Determine the default libpath from the value encoded in an
   10158         # empty executable.
   10159         if test set = "${lt_cv_aix_libpath+set}"; then
   10160   aix_libpath=$lt_cv_aix_libpath
   10161 else
   10162   if test ${lt_cv_aix_libpath_+y}
   10163 then :
   10164   printf %s "(cached) " >&6
   10165 else $as_nop
   10166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10167 /* end confdefs.h.  */
   10168 
   10169 int
   10170 main (void)
   10171 {
   10172 
   10173   ;
   10174   return 0;
   10175 }
   10176 _ACEOF
   10177 if ac_fn_c_try_link "$LINENO"
   10178 then :
   10179 
   10180   lt_aix_libpath_sed='
   10181       /Import File Strings/,/^$/ {
   10182 	  /^0/ {
   10183 	      s/^0  *\([^ ]*\) *$/\1/
   10184 	      p
   10185 	  }
   10186       }'
   10187   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10188   # Check for a 64-bit object if we didn't find anything.
   10189   if test -z "$lt_cv_aix_libpath_"; then
   10190     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10191   fi
   10192 fi
   10193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10194     conftest$ac_exeext conftest.$ac_ext
   10195   if test -z "$lt_cv_aix_libpath_"; then
   10196     lt_cv_aix_libpath_=/usr/lib:/lib
   10197   fi
   10198 
   10199 fi
   10200 
   10201   aix_libpath=$lt_cv_aix_libpath_
   10202 fi
   10203 
   10204         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10205         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
   10206       else
   10207 	if test ia64 = "$host_cpu"; then
   10208 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10209 	  allow_undefined_flag="-z nodefs"
   10210 	  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"
   10211 	else
   10212 	 # Determine the default libpath from the value encoded in an
   10213 	 # empty executable.
   10214 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10215   aix_libpath=$lt_cv_aix_libpath
   10216 else
   10217   if test ${lt_cv_aix_libpath_+y}
   10218 then :
   10219   printf %s "(cached) " >&6
   10220 else $as_nop
   10221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10222 /* end confdefs.h.  */
   10223 
   10224 int
   10225 main (void)
   10226 {
   10227 
   10228   ;
   10229   return 0;
   10230 }
   10231 _ACEOF
   10232 if ac_fn_c_try_link "$LINENO"
   10233 then :
   10234 
   10235   lt_aix_libpath_sed='
   10236       /Import File Strings/,/^$/ {
   10237 	  /^0/ {
   10238 	      s/^0  *\([^ ]*\) *$/\1/
   10239 	      p
   10240 	  }
   10241       }'
   10242   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10243   # Check for a 64-bit object if we didn't find anything.
   10244   if test -z "$lt_cv_aix_libpath_"; then
   10245     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10246   fi
   10247 fi
   10248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10249     conftest$ac_exeext conftest.$ac_ext
   10250   if test -z "$lt_cv_aix_libpath_"; then
   10251     lt_cv_aix_libpath_=/usr/lib:/lib
   10252   fi
   10253 
   10254 fi
   10255 
   10256   aix_libpath=$lt_cv_aix_libpath_
   10257 fi
   10258 
   10259 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10260 	  # Warning - without using the other run time loading flags,
   10261 	  # -berok will link without error, but may produce a broken library.
   10262 	  no_undefined_flag=' $wl-bernotok'
   10263 	  allow_undefined_flag=' $wl-berok'
   10264 	  if test yes = "$with_gnu_ld"; then
   10265 	    # We only use this code for GNU lds that support --whole-archive.
   10266 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10267 	  else
   10268 	    # Exported symbols can be pulled into shared objects from archives
   10269 	    whole_archive_flag_spec='$convenience'
   10270 	  fi
   10271 	  archive_cmds_need_lc=yes
   10272 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10273 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10274 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10275 	  if test svr4 != "$with_aix_soname"; then
   10276 	    # This is similar to how AIX traditionally builds its shared libraries.
   10277 	    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'
   10278 	  fi
   10279 	  if test aix != "$with_aix_soname"; then
   10280 	    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'
   10281 	  else
   10282 	    # used by -dlpreopen to get the symbols
   10283 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10284 	  fi
   10285 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10286 	fi
   10287       fi
   10288       ;;
   10289 
   10290     amigaos*)
   10291       case $host_cpu in
   10292       powerpc)
   10293             # see comment about AmigaOS4 .so support
   10294             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10295             archive_expsym_cmds=''
   10296         ;;
   10297       m68k)
   10298             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)'
   10299             hardcode_libdir_flag_spec='-L$libdir'
   10300             hardcode_minus_L=yes
   10301         ;;
   10302       esac
   10303       ;;
   10304 
   10305     bsdi[45]*)
   10306       export_dynamic_flag_spec=-rdynamic
   10307       ;;
   10308 
   10309     cygwin* | mingw* | pw32* | cegcc*)
   10310       # When not using gcc, we currently assume that we are using
   10311       # Microsoft Visual C++ or Intel C++ Compiler.
   10312       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10313       # no search path for DLLs.
   10314       case $cc_basename in
   10315       cl* | icl*)
   10316 	# Native MSVC or ICC
   10317 	hardcode_libdir_flag_spec=' '
   10318 	allow_undefined_flag=unsupported
   10319 	always_export_symbols=yes
   10320 	file_list_spec='@'
   10321 	# Tell ltmain to make .lib files, not .a files.
   10322 	libext=lib
   10323 	# Tell ltmain to make .dll files, not .so files.
   10324 	shrext_cmds=.dll
   10325 	# FIXME: Setting linknames here is a bad hack.
   10326 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10327 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10328             cp "$export_symbols" "$output_objdir/$soname.def";
   10329             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10330           else
   10331             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10332           fi~
   10333           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10334           linknames='
   10335 	# The linker will not automatically build a static lib if we build a DLL.
   10336 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10337 	enable_shared_with_static_runtimes=yes
   10338 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10339 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10340 	# Don't use ranlib
   10341 	old_postinstall_cmds='chmod 644 $oldlib'
   10342 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10343           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10344           case $lt_outputfile in
   10345             *.exe|*.EXE) ;;
   10346             *)
   10347               lt_outputfile=$lt_outputfile.exe
   10348               lt_tool_outputfile=$lt_tool_outputfile.exe
   10349               ;;
   10350           esac~
   10351           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10352             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10353             $RM "$lt_outputfile.manifest";
   10354           fi'
   10355 	;;
   10356       *)
   10357 	# Assume MSVC and ICC wrapper
   10358 	hardcode_libdir_flag_spec=' '
   10359 	allow_undefined_flag=unsupported
   10360 	# Tell ltmain to make .lib files, not .a files.
   10361 	libext=lib
   10362 	# Tell ltmain to make .dll files, not .so files.
   10363 	shrext_cmds=.dll
   10364 	# FIXME: Setting linknames here is a bad hack.
   10365 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10366 	# The linker will automatically build a .lib file if we build a DLL.
   10367 	old_archive_from_new_cmds='true'
   10368 	# FIXME: Should let the user specify the lib program.
   10369 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10370 	enable_shared_with_static_runtimes=yes
   10371 	;;
   10372       esac
   10373       ;;
   10374 
   10375     darwin* | rhapsody*)
   10376 
   10377 
   10378   archive_cmds_need_lc=no
   10379   hardcode_direct=no
   10380   hardcode_automatic=yes
   10381   hardcode_shlibpath_var=unsupported
   10382   if test yes = "$lt_cv_ld_force_load"; then
   10383     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\"`'
   10384 
   10385   else
   10386     whole_archive_flag_spec=''
   10387   fi
   10388   link_all_deplibs=yes
   10389   allow_undefined_flag=$_lt_dar_allow_undefined
   10390   case $cc_basename in
   10391      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10392      *) _lt_dar_can_shared=$GCC ;;
   10393   esac
   10394   if test yes = "$_lt_dar_can_shared"; then
   10395     output_verbose_link_cmd=func_echo_all
   10396     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10397     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10398     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"
   10399     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"
   10400 
   10401   else
   10402   ld_shlibs=no
   10403   fi
   10404 
   10405       ;;
   10406 
   10407     dgux*)
   10408       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10409       hardcode_libdir_flag_spec='-L$libdir'
   10410       hardcode_shlibpath_var=no
   10411       ;;
   10412 
   10413     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10414     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10415     # does not break anything, and helps significantly (at the cost of a little
   10416     # extra space).
   10417     freebsd2.2*)
   10418       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10419       hardcode_libdir_flag_spec='-R$libdir'
   10420       hardcode_direct=yes
   10421       hardcode_shlibpath_var=no
   10422       ;;
   10423 
   10424     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10425     freebsd2.*)
   10426       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10427       hardcode_direct=yes
   10428       hardcode_minus_L=yes
   10429       hardcode_shlibpath_var=no
   10430       ;;
   10431 
   10432     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10433     freebsd* | dragonfly* | midnightbsd*)
   10434       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10435       hardcode_libdir_flag_spec='-R$libdir'
   10436       hardcode_direct=yes
   10437       hardcode_shlibpath_var=no
   10438       ;;
   10439 
   10440     hpux9*)
   10441       if test yes = "$GCC"; then
   10442 	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'
   10443       else
   10444 	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'
   10445       fi
   10446       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10447       hardcode_libdir_separator=:
   10448       hardcode_direct=yes
   10449 
   10450       # hardcode_minus_L: Not really in the search PATH,
   10451       # but as the default location of the library.
   10452       hardcode_minus_L=yes
   10453       export_dynamic_flag_spec='$wl-E'
   10454       ;;
   10455 
   10456     hpux10*)
   10457       if test yes,no = "$GCC,$with_gnu_ld"; then
   10458 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10459       else
   10460 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10461       fi
   10462       if test no = "$with_gnu_ld"; then
   10463 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10464 	hardcode_libdir_separator=:
   10465 	hardcode_direct=yes
   10466 	hardcode_direct_absolute=yes
   10467 	export_dynamic_flag_spec='$wl-E'
   10468 	# hardcode_minus_L: Not really in the search PATH,
   10469 	# but as the default location of the library.
   10470 	hardcode_minus_L=yes
   10471       fi
   10472       ;;
   10473 
   10474     hpux11*)
   10475       if test yes,no = "$GCC,$with_gnu_ld"; then
   10476 	case $host_cpu in
   10477 	hppa*64*)
   10478 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10479 	  ;;
   10480 	ia64*)
   10481 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10482 	  ;;
   10483 	*)
   10484 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10485 	  ;;
   10486 	esac
   10487       else
   10488 	case $host_cpu in
   10489 	hppa*64*)
   10490 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10491 	  ;;
   10492 	ia64*)
   10493 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10494 	  ;;
   10495 	*)
   10496 
   10497 	  # Older versions of the 11.00 compiler do not understand -b yet
   10498 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10499 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10500 printf %s "checking if $CC understands -b... " >&6; }
   10501 if test ${lt_cv_prog_compiler__b+y}
   10502 then :
   10503   printf %s "(cached) " >&6
   10504 else $as_nop
   10505   lt_cv_prog_compiler__b=no
   10506    save_LDFLAGS=$LDFLAGS
   10507    LDFLAGS="$LDFLAGS -b"
   10508    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10509    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10510      # The linker can only warn and ignore the option if not recognized
   10511      # So say no if there are warnings
   10512      if test -s conftest.err; then
   10513        # Append any errors to the config.log.
   10514        cat conftest.err 1>&5
   10515        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10516        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10517        if diff conftest.exp conftest.er2 >/dev/null; then
   10518          lt_cv_prog_compiler__b=yes
   10519        fi
   10520      else
   10521        lt_cv_prog_compiler__b=yes
   10522      fi
   10523    fi
   10524    $RM -r conftest*
   10525    LDFLAGS=$save_LDFLAGS
   10526 
   10527 fi
   10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10529 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10530 
   10531 if test yes = "$lt_cv_prog_compiler__b"; then
   10532     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10533 else
   10534     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10535 fi
   10536 
   10537 	  ;;
   10538 	esac
   10539       fi
   10540       if test no = "$with_gnu_ld"; then
   10541 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10542 	hardcode_libdir_separator=:
   10543 
   10544 	case $host_cpu in
   10545 	hppa*64*|ia64*)
   10546 	  hardcode_direct=no
   10547 	  hardcode_shlibpath_var=no
   10548 	  ;;
   10549 	*)
   10550 	  hardcode_direct=yes
   10551 	  hardcode_direct_absolute=yes
   10552 	  export_dynamic_flag_spec='$wl-E'
   10553 
   10554 	  # hardcode_minus_L: Not really in the search PATH,
   10555 	  # but as the default location of the library.
   10556 	  hardcode_minus_L=yes
   10557 	  ;;
   10558 	esac
   10559       fi
   10560       ;;
   10561 
   10562     irix5* | irix6* | nonstopux*)
   10563       if test yes = "$GCC"; then
   10564 	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'
   10565 	# Try to use the -exported_symbol ld option, if it does not
   10566 	# work, assume that -exports_file does not work either and
   10567 	# implicitly export all symbols.
   10568 	# This should be the same for all languages, so no per-tag cache variable.
   10569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10570 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10571 if test ${lt_cv_irix_exported_symbol+y}
   10572 then :
   10573   printf %s "(cached) " >&6
   10574 else $as_nop
   10575   save_LDFLAGS=$LDFLAGS
   10576 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10577 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10578 /* end confdefs.h.  */
   10579 int foo (void) { return 0; }
   10580 _ACEOF
   10581 if ac_fn_c_try_link "$LINENO"
   10582 then :
   10583   lt_cv_irix_exported_symbol=yes
   10584 else $as_nop
   10585   lt_cv_irix_exported_symbol=no
   10586 fi
   10587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10588     conftest$ac_exeext conftest.$ac_ext
   10589            LDFLAGS=$save_LDFLAGS
   10590 fi
   10591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10592 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10593 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10594           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'
   10595 	fi
   10596       else
   10597 	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'
   10598 	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'
   10599       fi
   10600       archive_cmds_need_lc='no'
   10601       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10602       hardcode_libdir_separator=:
   10603       inherit_rpath=yes
   10604       link_all_deplibs=yes
   10605       ;;
   10606 
   10607     linux*)
   10608       case $cc_basename in
   10609       tcc*)
   10610 	# Fabrice Bellard et al's Tiny C Compiler
   10611 	ld_shlibs=yes
   10612 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10613 	;;
   10614       esac
   10615       ;;
   10616 
   10617     netbsd*)
   10618       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10619 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10620       else
   10621 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10622       fi
   10623       hardcode_libdir_flag_spec='-R$libdir'
   10624       hardcode_direct=yes
   10625       hardcode_shlibpath_var=no
   10626       ;;
   10627 
   10628     newsos6)
   10629       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10630       hardcode_direct=yes
   10631       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10632       hardcode_libdir_separator=:
   10633       hardcode_shlibpath_var=no
   10634       ;;
   10635 
   10636     *nto* | *qnx*)
   10637       ;;
   10638 
   10639     openbsd* | bitrig*)
   10640       if test -f /usr/libexec/ld.so; then
   10641 	hardcode_direct=yes
   10642 	hardcode_shlibpath_var=no
   10643 	hardcode_direct_absolute=yes
   10644 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10645 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10646 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10647 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10648 	  export_dynamic_flag_spec='$wl-E'
   10649 	else
   10650 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10651 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10652 	fi
   10653       else
   10654 	ld_shlibs=no
   10655       fi
   10656       ;;
   10657 
   10658     os2*)
   10659       hardcode_libdir_flag_spec='-L$libdir'
   10660       hardcode_minus_L=yes
   10661       allow_undefined_flag=unsupported
   10662       shrext_cmds=.dll
   10663       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10664 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10665 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10666 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10667 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10668 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10669 	emximp -o $lib $output_objdir/$libname.def'
   10670       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10671 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10672 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10673 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10674 	prefix_cmds="$SED"~
   10675 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10676 	  prefix_cmds="$prefix_cmds -e 1d";
   10677 	fi~
   10678 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10679 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10680 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10681 	emximp -o $lib $output_objdir/$libname.def'
   10682       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10683       enable_shared_with_static_runtimes=yes
   10684       file_list_spec='@'
   10685       ;;
   10686 
   10687     osf3*)
   10688       if test yes = "$GCC"; then
   10689 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10690 	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'
   10691       else
   10692 	allow_undefined_flag=' -expect_unresolved \*'
   10693 	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'
   10694       fi
   10695       archive_cmds_need_lc='no'
   10696       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10697       hardcode_libdir_separator=:
   10698       ;;
   10699 
   10700     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10701       if test yes = "$GCC"; then
   10702 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10703 	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'
   10704 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10705       else
   10706 	allow_undefined_flag=' -expect_unresolved \*'
   10707 	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'
   10708 	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~
   10709           $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'
   10710 
   10711 	# Both c and cxx compiler support -rpath directly
   10712 	hardcode_libdir_flag_spec='-rpath $libdir'
   10713       fi
   10714       archive_cmds_need_lc='no'
   10715       hardcode_libdir_separator=:
   10716       ;;
   10717 
   10718     solaris*)
   10719       no_undefined_flag=' -z defs'
   10720       if test yes = "$GCC"; then
   10721 	wlarc='$wl'
   10722 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10723 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10724           $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'
   10725       else
   10726 	case `$CC -V 2>&1` in
   10727 	*"Compilers 5.0"*)
   10728 	  wlarc=''
   10729 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10730 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10731             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10732 	  ;;
   10733 	*)
   10734 	  wlarc='$wl'
   10735 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10736 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10737             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10738 	  ;;
   10739 	esac
   10740       fi
   10741       hardcode_libdir_flag_spec='-R$libdir'
   10742       hardcode_shlibpath_var=no
   10743       case $host_os in
   10744       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10745       *)
   10746 	# The compiler driver will combine and reorder linker options,
   10747 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10748 	# but is careful enough not to reorder.
   10749 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10750 	if test yes = "$GCC"; then
   10751 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10752 	else
   10753 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10754 	fi
   10755 	;;
   10756       esac
   10757       link_all_deplibs=yes
   10758       ;;
   10759 
   10760     sunos4*)
   10761       if test sequent = "$host_vendor"; then
   10762 	# Use $CC to link under sequent, because it throws in some extra .o
   10763 	# files that make .init and .fini sections work.
   10764 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10765       else
   10766 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10767       fi
   10768       hardcode_libdir_flag_spec='-L$libdir'
   10769       hardcode_direct=yes
   10770       hardcode_minus_L=yes
   10771       hardcode_shlibpath_var=no
   10772       ;;
   10773 
   10774     sysv4)
   10775       case $host_vendor in
   10776 	sni)
   10777 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10778 	  hardcode_direct=yes # is this really true???
   10779 	;;
   10780 	siemens)
   10781 	  ## LD is ld it makes a PLAMLIB
   10782 	  ## CC just makes a GrossModule.
   10783 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10784 	  reload_cmds='$CC -r -o $output$reload_objs'
   10785 	  hardcode_direct=no
   10786         ;;
   10787 	motorola)
   10788 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10789 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10790 	;;
   10791       esac
   10792       runpath_var='LD_RUN_PATH'
   10793       hardcode_shlibpath_var=no
   10794       ;;
   10795 
   10796     sysv4.3*)
   10797       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10798       hardcode_shlibpath_var=no
   10799       export_dynamic_flag_spec='-Bexport'
   10800       ;;
   10801 
   10802     sysv4*MP*)
   10803       if test -d /usr/nec; then
   10804 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10805 	hardcode_shlibpath_var=no
   10806 	runpath_var=LD_RUN_PATH
   10807 	hardcode_runpath_var=yes
   10808 	ld_shlibs=yes
   10809       fi
   10810       ;;
   10811 
   10812     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10813       no_undefined_flag='$wl-z,text'
   10814       archive_cmds_need_lc=no
   10815       hardcode_shlibpath_var=no
   10816       runpath_var='LD_RUN_PATH'
   10817 
   10818       if test yes = "$GCC"; then
   10819 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10820 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10821       else
   10822 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10823 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10824       fi
   10825       ;;
   10826 
   10827     sysv5* | sco3.2v5* | sco5v6*)
   10828       # Note: We CANNOT use -z defs as we might desire, because we do not
   10829       # link with -lc, and that would cause any symbols used from libc to
   10830       # always be unresolved, which means just about no library would
   10831       # ever link correctly.  If we're not using GNU ld we use -z text
   10832       # though, which does catch some bad symbols but isn't as heavy-handed
   10833       # as -z defs.
   10834       no_undefined_flag='$wl-z,text'
   10835       allow_undefined_flag='$wl-z,nodefs'
   10836       archive_cmds_need_lc=no
   10837       hardcode_shlibpath_var=no
   10838       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10839       hardcode_libdir_separator=':'
   10840       link_all_deplibs=yes
   10841       export_dynamic_flag_spec='$wl-Bexport'
   10842       runpath_var='LD_RUN_PATH'
   10843 
   10844       if test yes = "$GCC"; then
   10845 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10846 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10847       else
   10848 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10849 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10850       fi
   10851       ;;
   10852 
   10853     uts4*)
   10854       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10855       hardcode_libdir_flag_spec='-L$libdir'
   10856       hardcode_shlibpath_var=no
   10857       ;;
   10858 
   10859     *)
   10860       ld_shlibs=no
   10861       ;;
   10862     esac
   10863 
   10864     if test sni = "$host_vendor"; then
   10865       case $host in
   10866       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10867 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10868 	;;
   10869       esac
   10870     fi
   10871   fi
   10872 
   10873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10874 printf "%s\n" "$ld_shlibs" >&6; }
   10875 test no = "$ld_shlibs" && can_build_shared=no
   10876 
   10877 with_gnu_ld=$with_gnu_ld
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 #
   10894 # Do we need to explicitly link libc?
   10895 #
   10896 case "x$archive_cmds_need_lc" in
   10897 x|xyes)
   10898   # Assume -lc should be added
   10899   archive_cmds_need_lc=yes
   10900 
   10901   if test yes,yes = "$GCC,$enable_shared"; then
   10902     case $archive_cmds in
   10903     *'~'*)
   10904       # FIXME: we may have to deal with multi-command sequences.
   10905       ;;
   10906     '$CC '*)
   10907       # Test whether the compiler implicitly links with -lc since on some
   10908       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10909       # to ld, don't add -lc before -lgcc.
   10910       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10911 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10912 if test ${lt_cv_archive_cmds_need_lc+y}
   10913 then :
   10914   printf %s "(cached) " >&6
   10915 else $as_nop
   10916   $RM conftest*
   10917 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10918 
   10919 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10920   (eval $ac_compile) 2>&5
   10921   ac_status=$?
   10922   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10923   test $ac_status = 0; } 2>conftest.err; then
   10924 	  soname=conftest
   10925 	  lib=conftest
   10926 	  libobjs=conftest.$ac_objext
   10927 	  deplibs=
   10928 	  wl=$lt_prog_compiler_wl
   10929 	  pic_flag=$lt_prog_compiler_pic
   10930 	  compiler_flags=-v
   10931 	  linker_flags=-v
   10932 	  verstring=
   10933 	  output_objdir=.
   10934 	  libname=conftest
   10935 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10936 	  allow_undefined_flag=
   10937 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10938   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10939   ac_status=$?
   10940   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10941   test $ac_status = 0; }
   10942 	  then
   10943 	    lt_cv_archive_cmds_need_lc=no
   10944 	  else
   10945 	    lt_cv_archive_cmds_need_lc=yes
   10946 	  fi
   10947 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10948 	else
   10949 	  cat conftest.err 1>&5
   10950 	fi
   10951 	$RM conftest*
   10952 
   10953 fi
   10954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10955 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10956       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10957       ;;
   10958     esac
   10959   fi
   10960   ;;
   10961 esac
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11115 printf %s "checking dynamic linker characteristics... " >&6; }
   11116 
   11117 if test yes = "$GCC"; then
   11118   case $host_os in
   11119     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11120     *) lt_awk_arg='/^libraries:/' ;;
   11121   esac
   11122   case $host_os in
   11123     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11124     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11125   esac
   11126   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11127   case $lt_search_path_spec in
   11128   *\;*)
   11129     # if the path contains ";" then we assume it to be the separator
   11130     # otherwise default to the standard path separator (i.e. ":") - it is
   11131     # assumed that no part of a normal pathname contains ";" but that should
   11132     # okay in the real world where ";" in dirpaths is itself problematic.
   11133     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11134     ;;
   11135   *)
   11136     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11137     ;;
   11138   esac
   11139   # Ok, now we have the path, separated by spaces, we can step through it
   11140   # and add multilib dir if necessary...
   11141   lt_tmp_lt_search_path_spec=
   11142   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11143   # ...but if some path component already ends with the multilib dir we assume
   11144   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11145   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11146   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11147     lt_multi_os_dir=
   11148     ;;
   11149   esac
   11150   for lt_sys_path in $lt_search_path_spec; do
   11151     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11152       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11153     elif test -n "$lt_multi_os_dir"; then
   11154       test -d "$lt_sys_path" && \
   11155 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11156     fi
   11157   done
   11158   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11159 BEGIN {RS = " "; FS = "/|\n";} {
   11160   lt_foo = "";
   11161   lt_count = 0;
   11162   for (lt_i = NF; lt_i > 0; lt_i--) {
   11163     if ($lt_i != "" && $lt_i != ".") {
   11164       if ($lt_i == "..") {
   11165         lt_count++;
   11166       } else {
   11167         if (lt_count == 0) {
   11168           lt_foo = "/" $lt_i lt_foo;
   11169         } else {
   11170           lt_count--;
   11171         }
   11172       }
   11173     }
   11174   }
   11175   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11176   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11177 }'`
   11178   # AWK program above erroneously prepends '/' to C:/dos/paths
   11179   # for these hosts.
   11180   case $host_os in
   11181     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11182       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11183   esac
   11184   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11185 else
   11186   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11187 fi
   11188 library_names_spec=
   11189 libname_spec='lib$name'
   11190 soname_spec=
   11191 shrext_cmds=.so
   11192 postinstall_cmds=
   11193 postuninstall_cmds=
   11194 finish_cmds=
   11195 finish_eval=
   11196 shlibpath_var=
   11197 shlibpath_overrides_runpath=unknown
   11198 version_type=none
   11199 dynamic_linker="$host_os ld.so"
   11200 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11201 need_lib_prefix=unknown
   11202 hardcode_into_libs=no
   11203 
   11204 # when you set need_version to no, make sure it does not cause -set_version
   11205 # flags to be left without arguments
   11206 need_version=unknown
   11207 
   11208 
   11209 
   11210 case $host_os in
   11211 aix3*)
   11212   version_type=linux # correct to gnu/linux during the next big refactor
   11213   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11214   shlibpath_var=LIBPATH
   11215 
   11216   # AIX 3 has no versioning support, so we append a major version to the name.
   11217   soname_spec='$libname$release$shared_ext$major'
   11218   ;;
   11219 
   11220 aix[4-9]*)
   11221   version_type=linux # correct to gnu/linux during the next big refactor
   11222   need_lib_prefix=no
   11223   need_version=no
   11224   hardcode_into_libs=yes
   11225   if test ia64 = "$host_cpu"; then
   11226     # AIX 5 supports IA64
   11227     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11228     shlibpath_var=LD_LIBRARY_PATH
   11229   else
   11230     # With GCC up to 2.95.x, collect2 would create an import file
   11231     # for dependence libraries.  The import file would start with
   11232     # the line '#! .'.  This would cause the generated library to
   11233     # depend on '.', always an invalid library.  This was fixed in
   11234     # development snapshots of GCC prior to 3.0.
   11235     case $host_os in
   11236       aix4 | aix4.[01] | aix4.[01].*)
   11237       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11238 	   echo ' yes '
   11239 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11240 	:
   11241       else
   11242 	can_build_shared=no
   11243       fi
   11244       ;;
   11245     esac
   11246     # Using Import Files as archive members, it is possible to support
   11247     # filename-based versioning of shared library archives on AIX. While
   11248     # this would work for both with and without runtime linking, it will
   11249     # prevent static linking of such archives. So we do filename-based
   11250     # shared library versioning with .so extension only, which is used
   11251     # when both runtime linking and shared linking is enabled.
   11252     # Unfortunately, runtime linking may impact performance, so we do
   11253     # not want this to be the default eventually. Also, we use the
   11254     # versioned .so libs for executables only if there is the -brtl
   11255     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11256     # To allow for filename-based versioning support, we need to create
   11257     # libNAME.so.V as an archive file, containing:
   11258     # *) an Import File, referring to the versioned filename of the
   11259     #    archive as well as the shared archive member, telling the
   11260     #    bitwidth (32 or 64) of that shared object, and providing the
   11261     #    list of exported symbols of that shared object, eventually
   11262     #    decorated with the 'weak' keyword
   11263     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11264     #    it being seen by the linker.
   11265     # At run time we better use the real file rather than another symlink,
   11266     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11267 
   11268     case $with_aix_soname,$aix_use_runtimelinking in
   11269     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11270     # soname into executable. Probably we can add versioning support to
   11271     # collect2, so additional links can be useful in future.
   11272     aix,yes) # traditional libtool
   11273       dynamic_linker='AIX unversionable lib.so'
   11274       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11275       # instead of lib<name>.a to let people know that these are not
   11276       # typical AIX shared libraries.
   11277       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11278       ;;
   11279     aix,no) # traditional AIX only
   11280       dynamic_linker='AIX lib.a(lib.so.V)'
   11281       # We preserve .a as extension for shared libraries through AIX4.2
   11282       # and later when we are not doing run time linking.
   11283       library_names_spec='$libname$release.a $libname.a'
   11284       soname_spec='$libname$release$shared_ext$major'
   11285       ;;
   11286     svr4,*) # full svr4 only
   11287       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11288       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11289       # We do not specify a path in Import Files, so LIBPATH fires.
   11290       shlibpath_overrides_runpath=yes
   11291       ;;
   11292     *,yes) # both, prefer svr4
   11293       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11294       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11295       # unpreferred sharedlib libNAME.a needs extra handling
   11296       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"'
   11297       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"'
   11298       # We do not specify a path in Import Files, so LIBPATH fires.
   11299       shlibpath_overrides_runpath=yes
   11300       ;;
   11301     *,no) # both, prefer aix
   11302       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11303       library_names_spec='$libname$release.a $libname.a'
   11304       soname_spec='$libname$release$shared_ext$major'
   11305       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11306       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)'
   11307       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"'
   11308       ;;
   11309     esac
   11310     shlibpath_var=LIBPATH
   11311   fi
   11312   ;;
   11313 
   11314 amigaos*)
   11315   case $host_cpu in
   11316   powerpc)
   11317     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11318     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11319     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11320     ;;
   11321   m68k)
   11322     library_names_spec='$libname.ixlibrary $libname.a'
   11323     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11324     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'
   11325     ;;
   11326   esac
   11327   ;;
   11328 
   11329 beos*)
   11330   library_names_spec='$libname$shared_ext'
   11331   dynamic_linker="$host_os ld.so"
   11332   shlibpath_var=LIBRARY_PATH
   11333   ;;
   11334 
   11335 bsdi[45]*)
   11336   version_type=linux # correct to gnu/linux during the next big refactor
   11337   need_version=no
   11338   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11339   soname_spec='$libname$release$shared_ext$major'
   11340   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11341   shlibpath_var=LD_LIBRARY_PATH
   11342   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11343   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11344   # the default ld.so.conf also contains /usr/contrib/lib and
   11345   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11346   # libtool to hard-code these into programs
   11347   ;;
   11348 
   11349 cygwin* | mingw* | pw32* | cegcc*)
   11350   version_type=windows
   11351   shrext_cmds=.dll
   11352   need_version=no
   11353   need_lib_prefix=no
   11354 
   11355   case $GCC,$cc_basename in
   11356   yes,*)
   11357     # gcc
   11358     library_names_spec='$libname.dll.a'
   11359     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11360     postinstall_cmds='base_file=`basename \$file`~
   11361       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11362       dldir=$destdir/`dirname \$dlpath`~
   11363       test -d \$dldir || mkdir -p \$dldir~
   11364       $install_prog $dir/$dlname \$dldir/$dlname~
   11365       chmod a+x \$dldir/$dlname~
   11366       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11367         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11368       fi'
   11369     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11370       dlpath=$dir/\$dldll~
   11371        $RM \$dlpath'
   11372     shlibpath_overrides_runpath=yes
   11373 
   11374     case $host_os in
   11375     cygwin*)
   11376       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11377       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11378 
   11379       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11380       ;;
   11381     mingw* | cegcc*)
   11382       # MinGW DLLs use traditional 'lib' prefix
   11383       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11384       ;;
   11385     pw32*)
   11386       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11387       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11388       ;;
   11389     esac
   11390     dynamic_linker='Win32 ld.exe'
   11391     ;;
   11392 
   11393   *,cl* | *,icl*)
   11394     # Native MSVC or ICC
   11395     libname_spec='$name'
   11396     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11397     library_names_spec='$libname.dll.lib'
   11398 
   11399     case $build_os in
   11400     mingw*)
   11401       sys_lib_search_path_spec=
   11402       lt_save_ifs=$IFS
   11403       IFS=';'
   11404       for lt_path in $LIB
   11405       do
   11406         IFS=$lt_save_ifs
   11407         # Let DOS variable expansion print the short 8.3 style file name.
   11408         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11409         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11410       done
   11411       IFS=$lt_save_ifs
   11412       # Convert to MSYS style.
   11413       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11414       ;;
   11415     cygwin*)
   11416       # Convert to unix form, then to dos form, then back to unix form
   11417       # but this time dos style (no spaces!) so that the unix form looks
   11418       # like /cygdrive/c/PROGRA~1:/cygdr...
   11419       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11420       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11421       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11422       ;;
   11423     *)
   11424       sys_lib_search_path_spec=$LIB
   11425       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11426         # It is most probably a Windows format PATH.
   11427         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11428       else
   11429         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11430       fi
   11431       # FIXME: find the short name or the path components, as spaces are
   11432       # common. (e.g. "Program Files" -> "PROGRA~1")
   11433       ;;
   11434     esac
   11435 
   11436     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11437     postinstall_cmds='base_file=`basename \$file`~
   11438       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11439       dldir=$destdir/`dirname \$dlpath`~
   11440       test -d \$dldir || mkdir -p \$dldir~
   11441       $install_prog $dir/$dlname \$dldir/$dlname'
   11442     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11443       dlpath=$dir/\$dldll~
   11444        $RM \$dlpath'
   11445     shlibpath_overrides_runpath=yes
   11446     dynamic_linker='Win32 link.exe'
   11447     ;;
   11448 
   11449   *)
   11450     # Assume MSVC and ICC wrapper
   11451     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11452     dynamic_linker='Win32 ld.exe'
   11453     ;;
   11454   esac
   11455   # FIXME: first we should search . and the directory the executable is in
   11456   shlibpath_var=PATH
   11457   ;;
   11458 
   11459 darwin* | rhapsody*)
   11460   dynamic_linker="$host_os dyld"
   11461   version_type=darwin
   11462   need_lib_prefix=no
   11463   need_version=no
   11464   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11465   soname_spec='$libname$release$major$shared_ext'
   11466   shlibpath_overrides_runpath=yes
   11467   shlibpath_var=DYLD_LIBRARY_PATH
   11468   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11469 
   11470   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11471   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11472   ;;
   11473 
   11474 dgux*)
   11475   version_type=linux # correct to gnu/linux during the next big refactor
   11476   need_lib_prefix=no
   11477   need_version=no
   11478   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11479   soname_spec='$libname$release$shared_ext$major'
   11480   shlibpath_var=LD_LIBRARY_PATH
   11481   ;;
   11482 
   11483 freebsd* | dragonfly* | midnightbsd*)
   11484   # DragonFly does not have aout.  When/if they implement a new
   11485   # versioning mechanism, adjust this.
   11486   if test -x /usr/bin/objformat; then
   11487     objformat=`/usr/bin/objformat`
   11488   else
   11489     case $host_os in
   11490     freebsd[23].*) objformat=aout ;;
   11491     *) objformat=elf ;;
   11492     esac
   11493   fi
   11494   version_type=freebsd-$objformat
   11495   case $version_type in
   11496     freebsd-elf*)
   11497       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11498       soname_spec='$libname$release$shared_ext$major'
   11499       need_version=no
   11500       need_lib_prefix=no
   11501       ;;
   11502     freebsd-*)
   11503       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11504       need_version=yes
   11505       ;;
   11506   esac
   11507   shlibpath_var=LD_LIBRARY_PATH
   11508   case $host_os in
   11509   freebsd2.*)
   11510     shlibpath_overrides_runpath=yes
   11511     ;;
   11512   freebsd3.[01]* | freebsdelf3.[01]*)
   11513     shlibpath_overrides_runpath=yes
   11514     hardcode_into_libs=yes
   11515     ;;
   11516   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11517   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11518     shlibpath_overrides_runpath=no
   11519     hardcode_into_libs=yes
   11520     ;;
   11521   *) # from 4.6 on, and DragonFly
   11522     shlibpath_overrides_runpath=yes
   11523     hardcode_into_libs=yes
   11524     ;;
   11525   esac
   11526   ;;
   11527 
   11528 haiku*)
   11529   version_type=linux # correct to gnu/linux during the next big refactor
   11530   need_lib_prefix=no
   11531   need_version=no
   11532   dynamic_linker="$host_os runtime_loader"
   11533   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11534   soname_spec='$libname$release$shared_ext$major'
   11535   shlibpath_var=LIBRARY_PATH
   11536   shlibpath_overrides_runpath=no
   11537   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11538   hardcode_into_libs=yes
   11539   ;;
   11540 
   11541 hpux9* | hpux10* | hpux11*)
   11542   # Give a soname corresponding to the major version so that dld.sl refuses to
   11543   # link against other versions.
   11544   version_type=sunos
   11545   need_lib_prefix=no
   11546   need_version=no
   11547   case $host_cpu in
   11548   ia64*)
   11549     shrext_cmds='.so'
   11550     hardcode_into_libs=yes
   11551     dynamic_linker="$host_os dld.so"
   11552     shlibpath_var=LD_LIBRARY_PATH
   11553     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11554     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11555     soname_spec='$libname$release$shared_ext$major'
   11556     if test 32 = "$HPUX_IA64_MODE"; then
   11557       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11558       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11559     else
   11560       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11561       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11562     fi
   11563     ;;
   11564   hppa*64*)
   11565     shrext_cmds='.sl'
   11566     hardcode_into_libs=yes
   11567     dynamic_linker="$host_os dld.sl"
   11568     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11569     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11570     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11571     soname_spec='$libname$release$shared_ext$major'
   11572     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11573     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11574     ;;
   11575   *)
   11576     shrext_cmds='.sl'
   11577     dynamic_linker="$host_os dld.sl"
   11578     shlibpath_var=SHLIB_PATH
   11579     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11580     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11581     soname_spec='$libname$release$shared_ext$major'
   11582     ;;
   11583   esac
   11584   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11585   postinstall_cmds='chmod 555 $lib'
   11586   # or fails outright, so override atomically:
   11587   install_override_mode=555
   11588   ;;
   11589 
   11590 interix[3-9]*)
   11591   version_type=linux # correct to gnu/linux during the next big refactor
   11592   need_lib_prefix=no
   11593   need_version=no
   11594   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11595   soname_spec='$libname$release$shared_ext$major'
   11596   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11597   shlibpath_var=LD_LIBRARY_PATH
   11598   shlibpath_overrides_runpath=no
   11599   hardcode_into_libs=yes
   11600   ;;
   11601 
   11602 irix5* | irix6* | nonstopux*)
   11603   case $host_os in
   11604     nonstopux*) version_type=nonstopux ;;
   11605     *)
   11606 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11607 		version_type=linux # correct to gnu/linux during the next big refactor
   11608 	else
   11609 		version_type=irix
   11610 	fi ;;
   11611   esac
   11612   need_lib_prefix=no
   11613   need_version=no
   11614   soname_spec='$libname$release$shared_ext$major'
   11615   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11616   case $host_os in
   11617   irix5* | nonstopux*)
   11618     libsuff= shlibsuff=
   11619     ;;
   11620   *)
   11621     case $LD in # libtool.m4 will add one of these switches to LD
   11622     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11623       libsuff= shlibsuff= libmagic=32-bit;;
   11624     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11625       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11626     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11627       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11628     *) libsuff= shlibsuff= libmagic=never-match;;
   11629     esac
   11630     ;;
   11631   esac
   11632   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11633   shlibpath_overrides_runpath=no
   11634   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11635   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11636   hardcode_into_libs=yes
   11637   ;;
   11638 
   11639 # No shared lib support for Linux oldld, aout, or coff.
   11640 linux*oldld* | linux*aout* | linux*coff*)
   11641   dynamic_linker=no
   11642   ;;
   11643 
   11644 linux*android*)
   11645   version_type=none # Android doesn't support versioned libraries.
   11646   need_lib_prefix=no
   11647   need_version=no
   11648   library_names_spec='$libname$release$shared_ext'
   11649   soname_spec='$libname$release$shared_ext'
   11650   finish_cmds=
   11651   shlibpath_var=LD_LIBRARY_PATH
   11652   shlibpath_overrides_runpath=yes
   11653 
   11654   # This implies no fast_install, which is unacceptable.
   11655   # Some rework will be needed to allow for fast_install
   11656   # before this can be enabled.
   11657   hardcode_into_libs=yes
   11658 
   11659   dynamic_linker='Android linker'
   11660   # Don't embed -rpath directories since the linker doesn't support them.
   11661   hardcode_libdir_flag_spec='-L$libdir'
   11662   ;;
   11663 
   11664 # This must be glibc/ELF.
   11665 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11666   version_type=linux # correct to gnu/linux during the next big refactor
   11667   need_lib_prefix=no
   11668   need_version=no
   11669   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11670   soname_spec='$libname$release$shared_ext$major'
   11671   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11672   shlibpath_var=LD_LIBRARY_PATH
   11673   shlibpath_overrides_runpath=no
   11674 
   11675   # Some binutils ld are patched to set DT_RUNPATH
   11676   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11677 then :
   11678   printf %s "(cached) " >&6
   11679 else $as_nop
   11680   lt_cv_shlibpath_overrides_runpath=no
   11681     save_LDFLAGS=$LDFLAGS
   11682     save_libdir=$libdir
   11683     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11684 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11685     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11686 /* end confdefs.h.  */
   11687 
   11688 int
   11689 main (void)
   11690 {
   11691 
   11692   ;
   11693   return 0;
   11694 }
   11695 _ACEOF
   11696 if ac_fn_c_try_link "$LINENO"
   11697 then :
   11698   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11699 then :
   11700   lt_cv_shlibpath_overrides_runpath=yes
   11701 fi
   11702 fi
   11703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11704     conftest$ac_exeext conftest.$ac_ext
   11705     LDFLAGS=$save_LDFLAGS
   11706     libdir=$save_libdir
   11707 
   11708 fi
   11709 
   11710   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11711 
   11712   # This implies no fast_install, which is unacceptable.
   11713   # Some rework will be needed to allow for fast_install
   11714   # before this can be enabled.
   11715   hardcode_into_libs=yes
   11716 
   11717   # Ideally, we could use ldconfig to report *all* directores which are
   11718   # searched for libraries, however this is still not possible.  Aside from not
   11719   # being certain /sbin/ldconfig is available, command
   11720   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11721   # even though it is searched at run-time.  Try to do the best guess by
   11722   # appending ld.so.conf contents (and includes) to the search path.
   11723   if test -f /etc/ld.so.conf; then
   11724     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' ' '`
   11725     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11726   fi
   11727 
   11728   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11729   # powerpc, because MkLinux only supported shared libraries with the
   11730   # GNU dynamic linker.  Since this was broken with cross compilers,
   11731   # most powerpc-linux boxes support dynamic linking these days and
   11732   # people can always --disable-shared, the test was removed, and we
   11733   # assume the GNU/Linux dynamic linker is in use.
   11734   dynamic_linker='GNU/Linux ld.so'
   11735   ;;
   11736 
   11737 netbsd*)
   11738   version_type=sunos
   11739   need_lib_prefix=no
   11740   need_version=no
   11741   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11742     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11743     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11744     dynamic_linker='NetBSD (a.out) ld.so'
   11745   else
   11746     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11747     soname_spec='$libname$release$shared_ext$major'
   11748     dynamic_linker='NetBSD ld.elf_so'
   11749   fi
   11750   shlibpath_var=LD_LIBRARY_PATH
   11751   shlibpath_overrides_runpath=yes
   11752   hardcode_into_libs=yes
   11753   ;;
   11754 
   11755 newsos6)
   11756   version_type=linux # correct to gnu/linux during the next big refactor
   11757   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11758   shlibpath_var=LD_LIBRARY_PATH
   11759   shlibpath_overrides_runpath=yes
   11760   ;;
   11761 
   11762 *nto* | *qnx*)
   11763   version_type=qnx
   11764   need_lib_prefix=no
   11765   need_version=no
   11766   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11767   soname_spec='$libname$release$shared_ext$major'
   11768   shlibpath_var=LD_LIBRARY_PATH
   11769   shlibpath_overrides_runpath=no
   11770   hardcode_into_libs=yes
   11771   dynamic_linker='ldqnx.so'
   11772   ;;
   11773 
   11774 openbsd* | bitrig*)
   11775   version_type=sunos
   11776   sys_lib_dlsearch_path_spec=/usr/lib
   11777   need_lib_prefix=no
   11778   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11779     need_version=no
   11780   else
   11781     need_version=yes
   11782   fi
   11783   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11784   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11785   shlibpath_var=LD_LIBRARY_PATH
   11786   shlibpath_overrides_runpath=yes
   11787   ;;
   11788 
   11789 os2*)
   11790   libname_spec='$name'
   11791   version_type=windows
   11792   shrext_cmds=.dll
   11793   need_version=no
   11794   need_lib_prefix=no
   11795   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11796   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11797     v=$($ECHO $release$versuffix | tr -d .-);
   11798     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11799     $ECHO $n$v`$shared_ext'
   11800   library_names_spec='${libname}_dll.$libext'
   11801   dynamic_linker='OS/2 ld.exe'
   11802   shlibpath_var=BEGINLIBPATH
   11803   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11804   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11805   postinstall_cmds='base_file=`basename \$file`~
   11806     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11807     dldir=$destdir/`dirname \$dlpath`~
   11808     test -d \$dldir || mkdir -p \$dldir~
   11809     $install_prog $dir/$dlname \$dldir/$dlname~
   11810     chmod a+x \$dldir/$dlname~
   11811     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11812       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11813     fi'
   11814   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11815     dlpath=$dir/\$dldll~
   11816     $RM \$dlpath'
   11817   ;;
   11818 
   11819 osf3* | osf4* | osf5*)
   11820   version_type=osf
   11821   need_lib_prefix=no
   11822   need_version=no
   11823   soname_spec='$libname$release$shared_ext$major'
   11824   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11825   shlibpath_var=LD_LIBRARY_PATH
   11826   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11827   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11828   ;;
   11829 
   11830 rdos*)
   11831   dynamic_linker=no
   11832   ;;
   11833 
   11834 solaris*)
   11835   version_type=linux # correct to gnu/linux during the next big refactor
   11836   need_lib_prefix=no
   11837   need_version=no
   11838   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11839   soname_spec='$libname$release$shared_ext$major'
   11840   shlibpath_var=LD_LIBRARY_PATH
   11841   shlibpath_overrides_runpath=yes
   11842   hardcode_into_libs=yes
   11843   # ldd complains unless libraries are executable
   11844   postinstall_cmds='chmod +x $lib'
   11845   ;;
   11846 
   11847 sunos4*)
   11848   version_type=sunos
   11849   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11850   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11851   shlibpath_var=LD_LIBRARY_PATH
   11852   shlibpath_overrides_runpath=yes
   11853   if test yes = "$with_gnu_ld"; then
   11854     need_lib_prefix=no
   11855   fi
   11856   need_version=yes
   11857   ;;
   11858 
   11859 sysv4 | sysv4.3*)
   11860   version_type=linux # correct to gnu/linux during the next big refactor
   11861   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11862   soname_spec='$libname$release$shared_ext$major'
   11863   shlibpath_var=LD_LIBRARY_PATH
   11864   case $host_vendor in
   11865     sni)
   11866       shlibpath_overrides_runpath=no
   11867       need_lib_prefix=no
   11868       runpath_var=LD_RUN_PATH
   11869       ;;
   11870     siemens)
   11871       need_lib_prefix=no
   11872       ;;
   11873     motorola)
   11874       need_lib_prefix=no
   11875       need_version=no
   11876       shlibpath_overrides_runpath=no
   11877       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11878       ;;
   11879   esac
   11880   ;;
   11881 
   11882 sysv4*MP*)
   11883   if test -d /usr/nec; then
   11884     version_type=linux # correct to gnu/linux during the next big refactor
   11885     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11886     soname_spec='$libname$shared_ext.$major'
   11887     shlibpath_var=LD_LIBRARY_PATH
   11888   fi
   11889   ;;
   11890 
   11891 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11892   version_type=sco
   11893   need_lib_prefix=no
   11894   need_version=no
   11895   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11896   soname_spec='$libname$release$shared_ext$major'
   11897   shlibpath_var=LD_LIBRARY_PATH
   11898   shlibpath_overrides_runpath=yes
   11899   hardcode_into_libs=yes
   11900   if test yes = "$with_gnu_ld"; then
   11901     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11902   else
   11903     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11904     case $host_os in
   11905       sco3.2v5*)
   11906         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11907 	;;
   11908     esac
   11909   fi
   11910   sys_lib_dlsearch_path_spec='/usr/lib'
   11911   ;;
   11912 
   11913 tpf*)
   11914   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11915   version_type=linux # correct to gnu/linux during the next big refactor
   11916   need_lib_prefix=no
   11917   need_version=no
   11918   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11919   shlibpath_var=LD_LIBRARY_PATH
   11920   shlibpath_overrides_runpath=no
   11921   hardcode_into_libs=yes
   11922   ;;
   11923 
   11924 uts4*)
   11925   version_type=linux # correct to gnu/linux during the next big refactor
   11926   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11927   soname_spec='$libname$release$shared_ext$major'
   11928   shlibpath_var=LD_LIBRARY_PATH
   11929   ;;
   11930 
   11931 *)
   11932   dynamic_linker=no
   11933   ;;
   11934 esac
   11935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11936 printf "%s\n" "$dynamic_linker" >&6; }
   11937 test no = "$dynamic_linker" && can_build_shared=no
   11938 
   11939 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11940 if test yes = "$GCC"; then
   11941   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11942 fi
   11943 
   11944 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11945   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11946 fi
   11947 
   11948 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11949   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11950 fi
   11951 
   11952 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11953 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11954 
   11955 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11956 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11957 
   11958 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11959 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12058 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12059 hardcode_action=
   12060 if test -n "$hardcode_libdir_flag_spec" ||
   12061    test -n "$runpath_var" ||
   12062    test yes = "$hardcode_automatic"; then
   12063 
   12064   # We can hardcode non-existent directories.
   12065   if test no != "$hardcode_direct" &&
   12066      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12067      # have to relink, otherwise we might link with an installed library
   12068      # when we should be linking with a yet-to-be-installed one
   12069      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12070      test no != "$hardcode_minus_L"; then
   12071     # Linking always hardcodes the temporary library directory.
   12072     hardcode_action=relink
   12073   else
   12074     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12075     hardcode_action=immediate
   12076   fi
   12077 else
   12078   # We cannot hardcode anything, or else we can only hardcode existing
   12079   # directories.
   12080   hardcode_action=unsupported
   12081 fi
   12082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12083 printf "%s\n" "$hardcode_action" >&6; }
   12084 
   12085 if test relink = "$hardcode_action" ||
   12086    test yes = "$inherit_rpath"; then
   12087   # Fast installation is not supported
   12088   enable_fast_install=no
   12089 elif test yes = "$shlibpath_overrides_runpath" ||
   12090      test no = "$enable_shared"; then
   12091   # Fast installation is not necessary
   12092   enable_fast_install=needless
   12093 fi
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100   if test yes != "$enable_dlopen"; then
   12101   enable_dlopen=unknown
   12102   enable_dlopen_self=unknown
   12103   enable_dlopen_self_static=unknown
   12104 else
   12105   lt_cv_dlopen=no
   12106   lt_cv_dlopen_libs=
   12107 
   12108   case $host_os in
   12109   beos*)
   12110     lt_cv_dlopen=load_add_on
   12111     lt_cv_dlopen_libs=
   12112     lt_cv_dlopen_self=yes
   12113     ;;
   12114 
   12115   mingw* | pw32* | cegcc*)
   12116     lt_cv_dlopen=LoadLibrary
   12117     lt_cv_dlopen_libs=
   12118     ;;
   12119 
   12120   cygwin*)
   12121     lt_cv_dlopen=dlopen
   12122     lt_cv_dlopen_libs=
   12123     ;;
   12124 
   12125   darwin*)
   12126     # if libdl is installed we need to link against it
   12127     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12128 printf %s "checking for dlopen in -ldl... " >&6; }
   12129 if test ${ac_cv_lib_dl_dlopen+y}
   12130 then :
   12131   printf %s "(cached) " >&6
   12132 else $as_nop
   12133   ac_check_lib_save_LIBS=$LIBS
   12134 LIBS="-ldl  $LIBS"
   12135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12136 /* end confdefs.h.  */
   12137 
   12138 /* Override any GCC internal prototype to avoid an error.
   12139    Use char because int might match the return type of a GCC
   12140    builtin and then its argument prototype would still apply.  */
   12141 char dlopen ();
   12142 int
   12143 main (void)
   12144 {
   12145 return dlopen ();
   12146   ;
   12147   return 0;
   12148 }
   12149 _ACEOF
   12150 if ac_fn_c_try_link "$LINENO"
   12151 then :
   12152   ac_cv_lib_dl_dlopen=yes
   12153 else $as_nop
   12154   ac_cv_lib_dl_dlopen=no
   12155 fi
   12156 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12157     conftest$ac_exeext conftest.$ac_ext
   12158 LIBS=$ac_check_lib_save_LIBS
   12159 fi
   12160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12161 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12162 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12163 then :
   12164   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12165 else $as_nop
   12166 
   12167     lt_cv_dlopen=dyld
   12168     lt_cv_dlopen_libs=
   12169     lt_cv_dlopen_self=yes
   12170 
   12171 fi
   12172 
   12173     ;;
   12174 
   12175   tpf*)
   12176     # Don't try to run any link tests for TPF.  We know it's impossible
   12177     # because TPF is a cross-compiler, and we know how we open DSOs.
   12178     lt_cv_dlopen=dlopen
   12179     lt_cv_dlopen_libs=
   12180     lt_cv_dlopen_self=no
   12181     ;;
   12182 
   12183   *)
   12184     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12185 if test "x$ac_cv_func_shl_load" = xyes
   12186 then :
   12187   lt_cv_dlopen=shl_load
   12188 else $as_nop
   12189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12190 printf %s "checking for shl_load in -ldld... " >&6; }
   12191 if test ${ac_cv_lib_dld_shl_load+y}
   12192 then :
   12193   printf %s "(cached) " >&6
   12194 else $as_nop
   12195   ac_check_lib_save_LIBS=$LIBS
   12196 LIBS="-ldld  $LIBS"
   12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12198 /* end confdefs.h.  */
   12199 
   12200 /* Override any GCC internal prototype to avoid an error.
   12201    Use char because int might match the return type of a GCC
   12202    builtin and then its argument prototype would still apply.  */
   12203 char shl_load ();
   12204 int
   12205 main (void)
   12206 {
   12207 return shl_load ();
   12208   ;
   12209   return 0;
   12210 }
   12211 _ACEOF
   12212 if ac_fn_c_try_link "$LINENO"
   12213 then :
   12214   ac_cv_lib_dld_shl_load=yes
   12215 else $as_nop
   12216   ac_cv_lib_dld_shl_load=no
   12217 fi
   12218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12219     conftest$ac_exeext conftest.$ac_ext
   12220 LIBS=$ac_check_lib_save_LIBS
   12221 fi
   12222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12223 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12224 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12225 then :
   12226   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12227 else $as_nop
   12228   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12229 if test "x$ac_cv_func_dlopen" = xyes
   12230 then :
   12231   lt_cv_dlopen=dlopen
   12232 else $as_nop
   12233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12234 printf %s "checking for dlopen in -ldl... " >&6; }
   12235 if test ${ac_cv_lib_dl_dlopen+y}
   12236 then :
   12237   printf %s "(cached) " >&6
   12238 else $as_nop
   12239   ac_check_lib_save_LIBS=$LIBS
   12240 LIBS="-ldl  $LIBS"
   12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12242 /* end confdefs.h.  */
   12243 
   12244 /* Override any GCC internal prototype to avoid an error.
   12245    Use char because int might match the return type of a GCC
   12246    builtin and then its argument prototype would still apply.  */
   12247 char dlopen ();
   12248 int
   12249 main (void)
   12250 {
   12251 return dlopen ();
   12252   ;
   12253   return 0;
   12254 }
   12255 _ACEOF
   12256 if ac_fn_c_try_link "$LINENO"
   12257 then :
   12258   ac_cv_lib_dl_dlopen=yes
   12259 else $as_nop
   12260   ac_cv_lib_dl_dlopen=no
   12261 fi
   12262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12263     conftest$ac_exeext conftest.$ac_ext
   12264 LIBS=$ac_check_lib_save_LIBS
   12265 fi
   12266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12267 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12268 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12269 then :
   12270   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12271 else $as_nop
   12272   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12273 printf %s "checking for dlopen in -lsvld... " >&6; }
   12274 if test ${ac_cv_lib_svld_dlopen+y}
   12275 then :
   12276   printf %s "(cached) " >&6
   12277 else $as_nop
   12278   ac_check_lib_save_LIBS=$LIBS
   12279 LIBS="-lsvld  $LIBS"
   12280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12281 /* end confdefs.h.  */
   12282 
   12283 /* Override any GCC internal prototype to avoid an error.
   12284    Use char because int might match the return type of a GCC
   12285    builtin and then its argument prototype would still apply.  */
   12286 char dlopen ();
   12287 int
   12288 main (void)
   12289 {
   12290 return dlopen ();
   12291   ;
   12292   return 0;
   12293 }
   12294 _ACEOF
   12295 if ac_fn_c_try_link "$LINENO"
   12296 then :
   12297   ac_cv_lib_svld_dlopen=yes
   12298 else $as_nop
   12299   ac_cv_lib_svld_dlopen=no
   12300 fi
   12301 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12302     conftest$ac_exeext conftest.$ac_ext
   12303 LIBS=$ac_check_lib_save_LIBS
   12304 fi
   12305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12306 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12307 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12308 then :
   12309   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12310 else $as_nop
   12311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12312 printf %s "checking for dld_link in -ldld... " >&6; }
   12313 if test ${ac_cv_lib_dld_dld_link+y}
   12314 then :
   12315   printf %s "(cached) " >&6
   12316 else $as_nop
   12317   ac_check_lib_save_LIBS=$LIBS
   12318 LIBS="-ldld  $LIBS"
   12319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12320 /* end confdefs.h.  */
   12321 
   12322 /* Override any GCC internal prototype to avoid an error.
   12323    Use char because int might match the return type of a GCC
   12324    builtin and then its argument prototype would still apply.  */
   12325 char dld_link ();
   12326 int
   12327 main (void)
   12328 {
   12329 return dld_link ();
   12330   ;
   12331   return 0;
   12332 }
   12333 _ACEOF
   12334 if ac_fn_c_try_link "$LINENO"
   12335 then :
   12336   ac_cv_lib_dld_dld_link=yes
   12337 else $as_nop
   12338   ac_cv_lib_dld_dld_link=no
   12339 fi
   12340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12341     conftest$ac_exeext conftest.$ac_ext
   12342 LIBS=$ac_check_lib_save_LIBS
   12343 fi
   12344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12345 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12346 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12347 then :
   12348   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12349 fi
   12350 
   12351 
   12352 fi
   12353 
   12354 
   12355 fi
   12356 
   12357 
   12358 fi
   12359 
   12360 
   12361 fi
   12362 
   12363 
   12364 fi
   12365 
   12366     ;;
   12367   esac
   12368 
   12369   if test no = "$lt_cv_dlopen"; then
   12370     enable_dlopen=no
   12371   else
   12372     enable_dlopen=yes
   12373   fi
   12374 
   12375   case $lt_cv_dlopen in
   12376   dlopen)
   12377     save_CPPFLAGS=$CPPFLAGS
   12378     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12379 
   12380     save_LDFLAGS=$LDFLAGS
   12381     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12382 
   12383     save_LIBS=$LIBS
   12384     LIBS="$lt_cv_dlopen_libs $LIBS"
   12385 
   12386     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12387 printf %s "checking whether a program can dlopen itself... " >&6; }
   12388 if test ${lt_cv_dlopen_self+y}
   12389 then :
   12390   printf %s "(cached) " >&6
   12391 else $as_nop
   12392   	  if test yes = "$cross_compiling"; then :
   12393   lt_cv_dlopen_self=cross
   12394 else
   12395   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12396   lt_status=$lt_dlunknown
   12397   cat > conftest.$ac_ext <<_LT_EOF
   12398 #line $LINENO "configure"
   12399 #include "confdefs.h"
   12400 
   12401 #if HAVE_DLFCN_H
   12402 #include <dlfcn.h>
   12403 #endif
   12404 
   12405 #include <stdio.h>
   12406 
   12407 #ifdef RTLD_GLOBAL
   12408 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12409 #else
   12410 #  ifdef DL_GLOBAL
   12411 #    define LT_DLGLOBAL		DL_GLOBAL
   12412 #  else
   12413 #    define LT_DLGLOBAL		0
   12414 #  endif
   12415 #endif
   12416 
   12417 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12418    find out it does not work in some platform. */
   12419 #ifndef LT_DLLAZY_OR_NOW
   12420 #  ifdef RTLD_LAZY
   12421 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12422 #  else
   12423 #    ifdef DL_LAZY
   12424 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12425 #    else
   12426 #      ifdef RTLD_NOW
   12427 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12428 #      else
   12429 #        ifdef DL_NOW
   12430 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12431 #        else
   12432 #          define LT_DLLAZY_OR_NOW	0
   12433 #        endif
   12434 #      endif
   12435 #    endif
   12436 #  endif
   12437 #endif
   12438 
   12439 /* When -fvisibility=hidden is used, assume the code has been annotated
   12440    correspondingly for the symbols needed.  */
   12441 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12442 int fnord () __attribute__((visibility("default")));
   12443 #endif
   12444 
   12445 int fnord () { return 42; }
   12446 int main ()
   12447 {
   12448   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12449   int status = $lt_dlunknown;
   12450 
   12451   if (self)
   12452     {
   12453       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12454       else
   12455         {
   12456 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12457           else puts (dlerror ());
   12458 	}
   12459       /* dlclose (self); */
   12460     }
   12461   else
   12462     puts (dlerror ());
   12463 
   12464   return status;
   12465 }
   12466 _LT_EOF
   12467   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12468   (eval $ac_link) 2>&5
   12469   ac_status=$?
   12470   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12471   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12472     (./conftest; exit; ) >&5 2>/dev/null
   12473     lt_status=$?
   12474     case x$lt_status in
   12475       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12476       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12477       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12478     esac
   12479   else :
   12480     # compilation failed
   12481     lt_cv_dlopen_self=no
   12482   fi
   12483 fi
   12484 rm -fr conftest*
   12485 
   12486 
   12487 fi
   12488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12489 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12490 
   12491     if test yes = "$lt_cv_dlopen_self"; then
   12492       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12493       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12494 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12495 if test ${lt_cv_dlopen_self_static+y}
   12496 then :
   12497   printf %s "(cached) " >&6
   12498 else $as_nop
   12499   	  if test yes = "$cross_compiling"; then :
   12500   lt_cv_dlopen_self_static=cross
   12501 else
   12502   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12503   lt_status=$lt_dlunknown
   12504   cat > conftest.$ac_ext <<_LT_EOF
   12505 #line $LINENO "configure"
   12506 #include "confdefs.h"
   12507 
   12508 #if HAVE_DLFCN_H
   12509 #include <dlfcn.h>
   12510 #endif
   12511 
   12512 #include <stdio.h>
   12513 
   12514 #ifdef RTLD_GLOBAL
   12515 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12516 #else
   12517 #  ifdef DL_GLOBAL
   12518 #    define LT_DLGLOBAL		DL_GLOBAL
   12519 #  else
   12520 #    define LT_DLGLOBAL		0
   12521 #  endif
   12522 #endif
   12523 
   12524 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12525    find out it does not work in some platform. */
   12526 #ifndef LT_DLLAZY_OR_NOW
   12527 #  ifdef RTLD_LAZY
   12528 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12529 #  else
   12530 #    ifdef DL_LAZY
   12531 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12532 #    else
   12533 #      ifdef RTLD_NOW
   12534 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12535 #      else
   12536 #        ifdef DL_NOW
   12537 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12538 #        else
   12539 #          define LT_DLLAZY_OR_NOW	0
   12540 #        endif
   12541 #      endif
   12542 #    endif
   12543 #  endif
   12544 #endif
   12545 
   12546 /* When -fvisibility=hidden is used, assume the code has been annotated
   12547    correspondingly for the symbols needed.  */
   12548 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12549 int fnord () __attribute__((visibility("default")));
   12550 #endif
   12551 
   12552 int fnord () { return 42; }
   12553 int main ()
   12554 {
   12555   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12556   int status = $lt_dlunknown;
   12557 
   12558   if (self)
   12559     {
   12560       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12561       else
   12562         {
   12563 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12564           else puts (dlerror ());
   12565 	}
   12566       /* dlclose (self); */
   12567     }
   12568   else
   12569     puts (dlerror ());
   12570 
   12571   return status;
   12572 }
   12573 _LT_EOF
   12574   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12575   (eval $ac_link) 2>&5
   12576   ac_status=$?
   12577   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12578   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12579     (./conftest; exit; ) >&5 2>/dev/null
   12580     lt_status=$?
   12581     case x$lt_status in
   12582       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12583       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12584       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12585     esac
   12586   else :
   12587     # compilation failed
   12588     lt_cv_dlopen_self_static=no
   12589   fi
   12590 fi
   12591 rm -fr conftest*
   12592 
   12593 
   12594 fi
   12595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12596 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12597     fi
   12598 
   12599     CPPFLAGS=$save_CPPFLAGS
   12600     LDFLAGS=$save_LDFLAGS
   12601     LIBS=$save_LIBS
   12602     ;;
   12603   esac
   12604 
   12605   case $lt_cv_dlopen_self in
   12606   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12607   *) enable_dlopen_self=unknown ;;
   12608   esac
   12609 
   12610   case $lt_cv_dlopen_self_static in
   12611   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12612   *) enable_dlopen_self_static=unknown ;;
   12613   esac
   12614 fi
   12615 
   12616 
   12617 
   12618 
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 
   12627 
   12628 
   12629 
   12630 
   12631 
   12632 striplib=
   12633 old_striplib=
   12634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12635 printf %s "checking whether stripping libraries is possible... " >&6; }
   12636 if test -z "$STRIP"; then
   12637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12638 printf "%s\n" "no" >&6; }
   12639 else
   12640   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12641     old_striplib="$STRIP --strip-debug"
   12642     striplib="$STRIP --strip-unneeded"
   12643     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12644 printf "%s\n" "yes" >&6; }
   12645   else
   12646     case $host_os in
   12647     darwin*)
   12648       # FIXME - insert some real tests, host_os isn't really good enough
   12649       striplib="$STRIP -x"
   12650       old_striplib="$STRIP -S"
   12651       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12652 printf "%s\n" "yes" >&6; }
   12653       ;;
   12654     freebsd*)
   12655       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12656         old_striplib="$STRIP --strip-debug"
   12657         striplib="$STRIP --strip-unneeded"
   12658         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12659 printf "%s\n" "yes" >&6; }
   12660       else
   12661         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12662 printf "%s\n" "no" >&6; }
   12663       fi
   12664       ;;
   12665     *)
   12666       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12667 printf "%s\n" "no" >&6; }
   12668       ;;
   12669     esac
   12670   fi
   12671 fi
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684   # Report what library types will actually be built
   12685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12686 printf %s "checking if libtool supports shared libraries... " >&6; }
   12687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12688 printf "%s\n" "$can_build_shared" >&6; }
   12689 
   12690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12691 printf %s "checking whether to build shared libraries... " >&6; }
   12692   test no = "$can_build_shared" && enable_shared=no
   12693 
   12694   # On AIX, shared libraries and static libraries use the same namespace, and
   12695   # are all built from PIC.
   12696   case $host_os in
   12697   aix3*)
   12698     test yes = "$enable_shared" && enable_static=no
   12699     if test -n "$RANLIB"; then
   12700       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12701       postinstall_cmds='$RANLIB $lib'
   12702     fi
   12703     ;;
   12704 
   12705   aix[4-9]*)
   12706     if test ia64 != "$host_cpu"; then
   12707       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12708       yes,aix,yes) ;;			# shared object as lib.so file only
   12709       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12710       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12711       esac
   12712     fi
   12713     ;;
   12714   esac
   12715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12716 printf "%s\n" "$enable_shared" >&6; }
   12717 
   12718   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12719 printf %s "checking whether to build static libraries... " >&6; }
   12720   # Make sure either enable_shared or enable_static is yes.
   12721   test yes = "$enable_shared" || enable_static=yes
   12722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12723 printf "%s\n" "$enable_static" >&6; }
   12724 
   12725 
   12726 
   12727 
   12728 fi
   12729 ac_ext=c
   12730 ac_cpp='$CPP $CPPFLAGS'
   12731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12734 
   12735 CC=$lt_save_CC
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 
   12746 
   12747 
   12748 
   12749 
   12750 
   12751         ac_config_commands="$ac_config_commands libtool"
   12752 
   12753 
   12754 
   12755 
   12756 # Only expand once:
   12757 
   12758 
   12759 
   12760 # Require xorg-macros minimum of 1.12 for DocBook external references
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12773 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12774 if test ${ac_cv_c_undeclared_builtin_options+y}
   12775 then :
   12776   printf %s "(cached) " >&6
   12777 else $as_nop
   12778   ac_save_CFLAGS=$CFLAGS
   12779    ac_cv_c_undeclared_builtin_options='cannot detect'
   12780    for ac_arg in '' -fno-builtin; do
   12781      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12782      # This test program should *not* compile successfully.
   12783      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12784 /* end confdefs.h.  */
   12785 
   12786 int
   12787 main (void)
   12788 {
   12789 (void) strchr;
   12790   ;
   12791   return 0;
   12792 }
   12793 _ACEOF
   12794 if ac_fn_c_try_compile "$LINENO"
   12795 then :
   12796 
   12797 else $as_nop
   12798   # This test program should compile successfully.
   12799         # No library function is consistently available on
   12800         # freestanding implementations, so test against a dummy
   12801         # declaration.  Include always-available headers on the
   12802         # off chance that they somehow elicit warnings.
   12803         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12804 /* end confdefs.h.  */
   12805 #include <float.h>
   12806 #include <limits.h>
   12807 #include <stdarg.h>
   12808 #include <stddef.h>
   12809 extern void ac_decl (int, char *);
   12810 
   12811 int
   12812 main (void)
   12813 {
   12814 (void) ac_decl (0, (char *) 0);
   12815   (void) ac_decl;
   12816 
   12817   ;
   12818   return 0;
   12819 }
   12820 _ACEOF
   12821 if ac_fn_c_try_compile "$LINENO"
   12822 then :
   12823   if test x"$ac_arg" = x
   12824 then :
   12825   ac_cv_c_undeclared_builtin_options='none needed'
   12826 else $as_nop
   12827   ac_cv_c_undeclared_builtin_options=$ac_arg
   12828 fi
   12829           break
   12830 fi
   12831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12832 fi
   12833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12834     done
   12835     CFLAGS=$ac_save_CFLAGS
   12836 
   12837 fi
   12838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12839 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12840   case $ac_cv_c_undeclared_builtin_options in #(
   12841   'cannot detect') :
   12842     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12843 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12844 as_fn_error $? "cannot make $CC report undeclared builtins
   12845 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12846   'none needed') :
   12847     ac_c_undeclared_builtin_options='' ;; #(
   12848   *) :
   12849     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12850 esac
   12851 
   12852 
   12853 
   12854 
   12855 
   12856 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12857 if test "x$ac_cv_have_decl___clang__" = xyes
   12858 then :
   12859   CLANGCC="yes"
   12860 else $as_nop
   12861   CLANGCC="no"
   12862 fi
   12863 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12864 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12865 then :
   12866   INTELCC="yes"
   12867 else $as_nop
   12868   INTELCC="no"
   12869 fi
   12870 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12871 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12872 then :
   12873   SUNCC="yes"
   12874 else $as_nop
   12875   SUNCC="no"
   12876 fi
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12886 	if test -n "$ac_tool_prefix"; then
   12887   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12888 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12890 printf %s "checking for $ac_word... " >&6; }
   12891 if test ${ac_cv_path_PKG_CONFIG+y}
   12892 then :
   12893   printf %s "(cached) " >&6
   12894 else $as_nop
   12895   case $PKG_CONFIG in
   12896   [\\/]* | ?:[\\/]*)
   12897   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12898   ;;
   12899   *)
   12900   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12901 for as_dir in $PATH
   12902 do
   12903   IFS=$as_save_IFS
   12904   case $as_dir in #(((
   12905     '') as_dir=./ ;;
   12906     */) ;;
   12907     *) as_dir=$as_dir/ ;;
   12908   esac
   12909     for ac_exec_ext in '' $ac_executable_extensions; do
   12910   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12911     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12912     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12913     break 2
   12914   fi
   12915 done
   12916   done
   12917 IFS=$as_save_IFS
   12918 
   12919   ;;
   12920 esac
   12921 fi
   12922 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12923 if test -n "$PKG_CONFIG"; then
   12924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12925 printf "%s\n" "$PKG_CONFIG" >&6; }
   12926 else
   12927   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12928 printf "%s\n" "no" >&6; }
   12929 fi
   12930 
   12931 
   12932 fi
   12933 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12934   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12935   # Extract the first word of "pkg-config", so it can be a program name with args.
   12936 set dummy pkg-config; ac_word=$2
   12937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12938 printf %s "checking for $ac_word... " >&6; }
   12939 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12940 then :
   12941   printf %s "(cached) " >&6
   12942 else $as_nop
   12943   case $ac_pt_PKG_CONFIG in
   12944   [\\/]* | ?:[\\/]*)
   12945   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12946   ;;
   12947   *)
   12948   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12949 for as_dir in $PATH
   12950 do
   12951   IFS=$as_save_IFS
   12952   case $as_dir in #(((
   12953     '') as_dir=./ ;;
   12954     */) ;;
   12955     *) as_dir=$as_dir/ ;;
   12956   esac
   12957     for ac_exec_ext in '' $ac_executable_extensions; do
   12958   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12959     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12960     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12961     break 2
   12962   fi
   12963 done
   12964   done
   12965 IFS=$as_save_IFS
   12966 
   12967   ;;
   12968 esac
   12969 fi
   12970 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12971 if test -n "$ac_pt_PKG_CONFIG"; then
   12972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12973 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12974 else
   12975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12976 printf "%s\n" "no" >&6; }
   12977 fi
   12978 
   12979   if test "x$ac_pt_PKG_CONFIG" = x; then
   12980     PKG_CONFIG=""
   12981   else
   12982     case $cross_compiling:$ac_tool_warned in
   12983 yes:)
   12984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12985 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12986 ac_tool_warned=yes ;;
   12987 esac
   12988     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12989   fi
   12990 else
   12991   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12992 fi
   12993 
   12994 fi
   12995 if test -n "$PKG_CONFIG"; then
   12996 	_pkg_min_version=0.9.0
   12997 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12998 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12999 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13000 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13001 printf "%s\n" "yes" >&6; }
   13002 	else
   13003 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13004 printf "%s\n" "no" >&6; }
   13005 		PKG_CONFIG=""
   13006 	fi
   13007 fi
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 # Check whether --enable-selective-werror was given.
   13014 if test ${enable_selective_werror+y}
   13015 then :
   13016   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13017 else $as_nop
   13018   SELECTIVE_WERROR=yes
   13019 fi
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13026 if test "x$SUNCC" = "xyes"; then
   13027     BASE_CFLAGS="-v"
   13028 else
   13029     BASE_CFLAGS=""
   13030 fi
   13031 
   13032 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 
   13045 
   13046 xorg_testset_save_CFLAGS="$CFLAGS"
   13047 
   13048 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13049 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13051 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13052 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13053 then :
   13054   printf %s "(cached) " >&6
   13055 else $as_nop
   13056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13057 /* end confdefs.h.  */
   13058 int i;
   13059 _ACEOF
   13060 if ac_fn_c_try_compile "$LINENO"
   13061 then :
   13062   xorg_cv_cc_flag_unknown_warning_option=yes
   13063 else $as_nop
   13064   xorg_cv_cc_flag_unknown_warning_option=no
   13065 fi
   13066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13067 fi
   13068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13069 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13071 	CFLAGS="$xorg_testset_save_CFLAGS"
   13072 fi
   13073 
   13074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13077 	fi
   13078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13080 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13081 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13082 then :
   13083   printf %s "(cached) " >&6
   13084 else $as_nop
   13085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13086 /* end confdefs.h.  */
   13087 int i;
   13088 _ACEOF
   13089 if ac_fn_c_try_compile "$LINENO"
   13090 then :
   13091   xorg_cv_cc_flag_unused_command_line_argument=yes
   13092 else $as_nop
   13093   xorg_cv_cc_flag_unused_command_line_argument=no
   13094 fi
   13095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13096 fi
   13097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13098 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13099 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13100 	CFLAGS="$xorg_testset_save_CFLAGS"
   13101 fi
   13102 
   13103 found="no"
   13104 
   13105 	if test $found = "no" ; then
   13106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13108 		fi
   13109 
   13110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13112 		fi
   13113 
   13114 		CFLAGS="$CFLAGS -Wall"
   13115 
   13116 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13117 printf %s "checking if $CC supports -Wall... " >&6; }
   13118 		cacheid=xorg_cv_cc_flag__Wall
   13119 		if eval test \${$cacheid+y}
   13120 then :
   13121   printf %s "(cached) " >&6
   13122 else $as_nop
   13123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13124 /* end confdefs.h.  */
   13125 int i;
   13126 int
   13127 main (void)
   13128 {
   13129 
   13130   ;
   13131   return 0;
   13132 }
   13133 _ACEOF
   13134 if ac_fn_c_try_link "$LINENO"
   13135 then :
   13136   eval $cacheid=yes
   13137 else $as_nop
   13138   eval $cacheid=no
   13139 fi
   13140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13141     conftest$ac_exeext conftest.$ac_ext
   13142 fi
   13143 
   13144 
   13145 		CFLAGS="$xorg_testset_save_CFLAGS"
   13146 
   13147 		eval supported=\$$cacheid
   13148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13149 printf "%s\n" "$supported" >&6; }
   13150 		if test "$supported" = "yes" ; then
   13151 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13152 			found="yes"
   13153 		fi
   13154 	fi
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 
   13164 
   13165 
   13166 
   13167 
   13168 
   13169 
   13170 xorg_testset_save_CFLAGS="$CFLAGS"
   13171 
   13172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13175 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13176 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13177 then :
   13178   printf %s "(cached) " >&6
   13179 else $as_nop
   13180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13181 /* end confdefs.h.  */
   13182 int i;
   13183 _ACEOF
   13184 if ac_fn_c_try_compile "$LINENO"
   13185 then :
   13186   xorg_cv_cc_flag_unknown_warning_option=yes
   13187 else $as_nop
   13188   xorg_cv_cc_flag_unknown_warning_option=no
   13189 fi
   13190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13191 fi
   13192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13193 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13195 	CFLAGS="$xorg_testset_save_CFLAGS"
   13196 fi
   13197 
   13198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13201 	fi
   13202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13203 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13204 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13205 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13206 then :
   13207   printf %s "(cached) " >&6
   13208 else $as_nop
   13209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13210 /* end confdefs.h.  */
   13211 int i;
   13212 _ACEOF
   13213 if ac_fn_c_try_compile "$LINENO"
   13214 then :
   13215   xorg_cv_cc_flag_unused_command_line_argument=yes
   13216 else $as_nop
   13217   xorg_cv_cc_flag_unused_command_line_argument=no
   13218 fi
   13219 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13220 fi
   13221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13222 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13223 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13224 	CFLAGS="$xorg_testset_save_CFLAGS"
   13225 fi
   13226 
   13227 found="no"
   13228 
   13229 	if test $found = "no" ; then
   13230 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13232 		fi
   13233 
   13234 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13236 		fi
   13237 
   13238 		CFLAGS="$CFLAGS -Wpointer-arith"
   13239 
   13240 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13241 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13242 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13243 		if eval test \${$cacheid+y}
   13244 then :
   13245   printf %s "(cached) " >&6
   13246 else $as_nop
   13247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13248 /* end confdefs.h.  */
   13249 int i;
   13250 int
   13251 main (void)
   13252 {
   13253 
   13254   ;
   13255   return 0;
   13256 }
   13257 _ACEOF
   13258 if ac_fn_c_try_link "$LINENO"
   13259 then :
   13260   eval $cacheid=yes
   13261 else $as_nop
   13262   eval $cacheid=no
   13263 fi
   13264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13265     conftest$ac_exeext conftest.$ac_ext
   13266 fi
   13267 
   13268 
   13269 		CFLAGS="$xorg_testset_save_CFLAGS"
   13270 
   13271 		eval supported=\$$cacheid
   13272 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13273 printf "%s\n" "$supported" >&6; }
   13274 		if test "$supported" = "yes" ; then
   13275 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13276 			found="yes"
   13277 		fi
   13278 	fi
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 xorg_testset_save_CFLAGS="$CFLAGS"
   13295 
   13296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13299 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13300 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13301 then :
   13302   printf %s "(cached) " >&6
   13303 else $as_nop
   13304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13305 /* end confdefs.h.  */
   13306 int i;
   13307 _ACEOF
   13308 if ac_fn_c_try_compile "$LINENO"
   13309 then :
   13310   xorg_cv_cc_flag_unknown_warning_option=yes
   13311 else $as_nop
   13312   xorg_cv_cc_flag_unknown_warning_option=no
   13313 fi
   13314 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13315 fi
   13316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13317 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13319 	CFLAGS="$xorg_testset_save_CFLAGS"
   13320 fi
   13321 
   13322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13325 	fi
   13326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13327 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13328 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13329 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13330 then :
   13331   printf %s "(cached) " >&6
   13332 else $as_nop
   13333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13334 /* end confdefs.h.  */
   13335 int i;
   13336 _ACEOF
   13337 if ac_fn_c_try_compile "$LINENO"
   13338 then :
   13339   xorg_cv_cc_flag_unused_command_line_argument=yes
   13340 else $as_nop
   13341   xorg_cv_cc_flag_unused_command_line_argument=no
   13342 fi
   13343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13344 fi
   13345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13346 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13347 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13348 	CFLAGS="$xorg_testset_save_CFLAGS"
   13349 fi
   13350 
   13351 found="no"
   13352 
   13353 	if test $found = "no" ; then
   13354 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13355 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13356 		fi
   13357 
   13358 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13359 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13360 		fi
   13361 
   13362 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13363 
   13364 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13365 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13366 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13367 		if eval test \${$cacheid+y}
   13368 then :
   13369   printf %s "(cached) " >&6
   13370 else $as_nop
   13371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13372 /* end confdefs.h.  */
   13373 int i;
   13374 int
   13375 main (void)
   13376 {
   13377 
   13378   ;
   13379   return 0;
   13380 }
   13381 _ACEOF
   13382 if ac_fn_c_try_link "$LINENO"
   13383 then :
   13384   eval $cacheid=yes
   13385 else $as_nop
   13386   eval $cacheid=no
   13387 fi
   13388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13389     conftest$ac_exeext conftest.$ac_ext
   13390 fi
   13391 
   13392 
   13393 		CFLAGS="$xorg_testset_save_CFLAGS"
   13394 
   13395 		eval supported=\$$cacheid
   13396 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13397 printf "%s\n" "$supported" >&6; }
   13398 		if test "$supported" = "yes" ; then
   13399 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13400 			found="yes"
   13401 		fi
   13402 	fi
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 xorg_testset_save_CFLAGS="$CFLAGS"
   13419 
   13420 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13421 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13423 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13424 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13425 then :
   13426   printf %s "(cached) " >&6
   13427 else $as_nop
   13428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13429 /* end confdefs.h.  */
   13430 int i;
   13431 _ACEOF
   13432 if ac_fn_c_try_compile "$LINENO"
   13433 then :
   13434   xorg_cv_cc_flag_unknown_warning_option=yes
   13435 else $as_nop
   13436   xorg_cv_cc_flag_unknown_warning_option=no
   13437 fi
   13438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13439 fi
   13440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13441 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13442 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13443 	CFLAGS="$xorg_testset_save_CFLAGS"
   13444 fi
   13445 
   13446 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13447 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13448 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13449 	fi
   13450 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13451 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13452 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13453 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13454 then :
   13455   printf %s "(cached) " >&6
   13456 else $as_nop
   13457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13458 /* end confdefs.h.  */
   13459 int i;
   13460 _ACEOF
   13461 if ac_fn_c_try_compile "$LINENO"
   13462 then :
   13463   xorg_cv_cc_flag_unused_command_line_argument=yes
   13464 else $as_nop
   13465   xorg_cv_cc_flag_unused_command_line_argument=no
   13466 fi
   13467 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13468 fi
   13469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13470 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13471 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13472 	CFLAGS="$xorg_testset_save_CFLAGS"
   13473 fi
   13474 
   13475 found="no"
   13476 
   13477 	if test $found = "no" ; then
   13478 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13479 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13480 		fi
   13481 
   13482 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13483 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13484 		fi
   13485 
   13486 		CFLAGS="$CFLAGS -Wformat=2"
   13487 
   13488 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13489 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13490 		cacheid=xorg_cv_cc_flag__Wformat_2
   13491 		if eval test \${$cacheid+y}
   13492 then :
   13493   printf %s "(cached) " >&6
   13494 else $as_nop
   13495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13496 /* end confdefs.h.  */
   13497 int i;
   13498 int
   13499 main (void)
   13500 {
   13501 
   13502   ;
   13503   return 0;
   13504 }
   13505 _ACEOF
   13506 if ac_fn_c_try_link "$LINENO"
   13507 then :
   13508   eval $cacheid=yes
   13509 else $as_nop
   13510   eval $cacheid=no
   13511 fi
   13512 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13513     conftest$ac_exeext conftest.$ac_ext
   13514 fi
   13515 
   13516 
   13517 		CFLAGS="$xorg_testset_save_CFLAGS"
   13518 
   13519 		eval supported=\$$cacheid
   13520 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13521 printf "%s\n" "$supported" >&6; }
   13522 		if test "$supported" = "yes" ; then
   13523 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13524 			found="yes"
   13525 		fi
   13526 	fi
   13527 
   13528 	if test $found = "no" ; then
   13529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13531 		fi
   13532 
   13533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13535 		fi
   13536 
   13537 		CFLAGS="$CFLAGS -Wformat"
   13538 
   13539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13540 printf %s "checking if $CC supports -Wformat... " >&6; }
   13541 		cacheid=xorg_cv_cc_flag__Wformat
   13542 		if eval test \${$cacheid+y}
   13543 then :
   13544   printf %s "(cached) " >&6
   13545 else $as_nop
   13546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13547 /* end confdefs.h.  */
   13548 int i;
   13549 int
   13550 main (void)
   13551 {
   13552 
   13553   ;
   13554   return 0;
   13555 }
   13556 _ACEOF
   13557 if ac_fn_c_try_link "$LINENO"
   13558 then :
   13559   eval $cacheid=yes
   13560 else $as_nop
   13561   eval $cacheid=no
   13562 fi
   13563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13564     conftest$ac_exeext conftest.$ac_ext
   13565 fi
   13566 
   13567 
   13568 		CFLAGS="$xorg_testset_save_CFLAGS"
   13569 
   13570 		eval supported=\$$cacheid
   13571 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13572 printf "%s\n" "$supported" >&6; }
   13573 		if test "$supported" = "yes" ; then
   13574 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13575 			found="yes"
   13576 		fi
   13577 	fi
   13578 
   13579 
   13580 
   13581 
   13582 
   13583 
   13584 
   13585 
   13586 
   13587 
   13588 
   13589 
   13590 
   13591 
   13592 
   13593 
   13594 
   13595 xorg_testset_save_CFLAGS="$CFLAGS"
   13596 
   13597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13600 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13601 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13602 then :
   13603   printf %s "(cached) " >&6
   13604 else $as_nop
   13605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13606 /* end confdefs.h.  */
   13607 int i;
   13608 _ACEOF
   13609 if ac_fn_c_try_compile "$LINENO"
   13610 then :
   13611   xorg_cv_cc_flag_unknown_warning_option=yes
   13612 else $as_nop
   13613   xorg_cv_cc_flag_unknown_warning_option=no
   13614 fi
   13615 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13616 fi
   13617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13618 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13619 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13620 	CFLAGS="$xorg_testset_save_CFLAGS"
   13621 fi
   13622 
   13623 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13624 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13625 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13626 	fi
   13627 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13628 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13629 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13630 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13631 then :
   13632   printf %s "(cached) " >&6
   13633 else $as_nop
   13634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13635 /* end confdefs.h.  */
   13636 int i;
   13637 _ACEOF
   13638 if ac_fn_c_try_compile "$LINENO"
   13639 then :
   13640   xorg_cv_cc_flag_unused_command_line_argument=yes
   13641 else $as_nop
   13642   xorg_cv_cc_flag_unused_command_line_argument=no
   13643 fi
   13644 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13645 fi
   13646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13647 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13648 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13649 	CFLAGS="$xorg_testset_save_CFLAGS"
   13650 fi
   13651 
   13652 found="no"
   13653 
   13654 	if test $found = "no" ; then
   13655 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13656 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13657 		fi
   13658 
   13659 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13660 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13661 		fi
   13662 
   13663 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13664 
   13665 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13666 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13667 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13668 		if eval test \${$cacheid+y}
   13669 then :
   13670   printf %s "(cached) " >&6
   13671 else $as_nop
   13672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13673 /* end confdefs.h.  */
   13674 int i;
   13675 int
   13676 main (void)
   13677 {
   13678 
   13679   ;
   13680   return 0;
   13681 }
   13682 _ACEOF
   13683 if ac_fn_c_try_link "$LINENO"
   13684 then :
   13685   eval $cacheid=yes
   13686 else $as_nop
   13687   eval $cacheid=no
   13688 fi
   13689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13690     conftest$ac_exeext conftest.$ac_ext
   13691 fi
   13692 
   13693 
   13694 		CFLAGS="$xorg_testset_save_CFLAGS"
   13695 
   13696 		eval supported=\$$cacheid
   13697 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13698 printf "%s\n" "$supported" >&6; }
   13699 		if test "$supported" = "yes" ; then
   13700 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13701 			found="yes"
   13702 		fi
   13703 	fi
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 xorg_testset_save_CFLAGS="$CFLAGS"
   13720 
   13721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13723 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13724 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13725 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13726 then :
   13727   printf %s "(cached) " >&6
   13728 else $as_nop
   13729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13730 /* end confdefs.h.  */
   13731 int i;
   13732 _ACEOF
   13733 if ac_fn_c_try_compile "$LINENO"
   13734 then :
   13735   xorg_cv_cc_flag_unknown_warning_option=yes
   13736 else $as_nop
   13737   xorg_cv_cc_flag_unknown_warning_option=no
   13738 fi
   13739 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13740 fi
   13741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13742 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13744 	CFLAGS="$xorg_testset_save_CFLAGS"
   13745 fi
   13746 
   13747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13750 	fi
   13751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13752 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13753 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13754 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13755 then :
   13756   printf %s "(cached) " >&6
   13757 else $as_nop
   13758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13759 /* end confdefs.h.  */
   13760 int i;
   13761 _ACEOF
   13762 if ac_fn_c_try_compile "$LINENO"
   13763 then :
   13764   xorg_cv_cc_flag_unused_command_line_argument=yes
   13765 else $as_nop
   13766   xorg_cv_cc_flag_unused_command_line_argument=no
   13767 fi
   13768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13769 fi
   13770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13771 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13773 	CFLAGS="$xorg_testset_save_CFLAGS"
   13774 fi
   13775 
   13776 found="no"
   13777 
   13778 	if test $found = "no" ; then
   13779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13781 		fi
   13782 
   13783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13785 		fi
   13786 
   13787 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13788 
   13789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13790 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13791 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13792 		if eval test \${$cacheid+y}
   13793 then :
   13794   printf %s "(cached) " >&6
   13795 else $as_nop
   13796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13797 /* end confdefs.h.  */
   13798 int i;
   13799 int
   13800 main (void)
   13801 {
   13802 
   13803   ;
   13804   return 0;
   13805 }
   13806 _ACEOF
   13807 if ac_fn_c_try_link "$LINENO"
   13808 then :
   13809   eval $cacheid=yes
   13810 else $as_nop
   13811   eval $cacheid=no
   13812 fi
   13813 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13814     conftest$ac_exeext conftest.$ac_ext
   13815 fi
   13816 
   13817 
   13818 		CFLAGS="$xorg_testset_save_CFLAGS"
   13819 
   13820 		eval supported=\$$cacheid
   13821 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13822 printf "%s\n" "$supported" >&6; }
   13823 		if test "$supported" = "yes" ; then
   13824 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13825 			found="yes"
   13826 		fi
   13827 	fi
   13828 
   13829 
   13830 
   13831 
   13832 
   13833 
   13834 
   13835 
   13836 
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 xorg_testset_save_CFLAGS="$CFLAGS"
   13844 
   13845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13847 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13848 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13849 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13850 then :
   13851   printf %s "(cached) " >&6
   13852 else $as_nop
   13853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13854 /* end confdefs.h.  */
   13855 int i;
   13856 _ACEOF
   13857 if ac_fn_c_try_compile "$LINENO"
   13858 then :
   13859   xorg_cv_cc_flag_unknown_warning_option=yes
   13860 else $as_nop
   13861   xorg_cv_cc_flag_unknown_warning_option=no
   13862 fi
   13863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13864 fi
   13865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13866 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13868 	CFLAGS="$xorg_testset_save_CFLAGS"
   13869 fi
   13870 
   13871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13874 	fi
   13875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13876 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13877 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13878 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13879 then :
   13880   printf %s "(cached) " >&6
   13881 else $as_nop
   13882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13883 /* end confdefs.h.  */
   13884 int i;
   13885 _ACEOF
   13886 if ac_fn_c_try_compile "$LINENO"
   13887 then :
   13888   xorg_cv_cc_flag_unused_command_line_argument=yes
   13889 else $as_nop
   13890   xorg_cv_cc_flag_unused_command_line_argument=no
   13891 fi
   13892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13893 fi
   13894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13895 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13896 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13897 	CFLAGS="$xorg_testset_save_CFLAGS"
   13898 fi
   13899 
   13900 found="no"
   13901 
   13902 	if test $found = "no" ; then
   13903 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13904 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13905 		fi
   13906 
   13907 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13908 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13909 		fi
   13910 
   13911 		CFLAGS="$CFLAGS -Wnested-externs"
   13912 
   13913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13914 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13915 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13916 		if eval test \${$cacheid+y}
   13917 then :
   13918   printf %s "(cached) " >&6
   13919 else $as_nop
   13920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13921 /* end confdefs.h.  */
   13922 int i;
   13923 int
   13924 main (void)
   13925 {
   13926 
   13927   ;
   13928   return 0;
   13929 }
   13930 _ACEOF
   13931 if ac_fn_c_try_link "$LINENO"
   13932 then :
   13933   eval $cacheid=yes
   13934 else $as_nop
   13935   eval $cacheid=no
   13936 fi
   13937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13938     conftest$ac_exeext conftest.$ac_ext
   13939 fi
   13940 
   13941 
   13942 		CFLAGS="$xorg_testset_save_CFLAGS"
   13943 
   13944 		eval supported=\$$cacheid
   13945 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13946 printf "%s\n" "$supported" >&6; }
   13947 		if test "$supported" = "yes" ; then
   13948 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13949 			found="yes"
   13950 		fi
   13951 	fi
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 xorg_testset_save_CFLAGS="$CFLAGS"
   13968 
   13969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13972 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13973 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13974 then :
   13975   printf %s "(cached) " >&6
   13976 else $as_nop
   13977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13978 /* end confdefs.h.  */
   13979 int i;
   13980 _ACEOF
   13981 if ac_fn_c_try_compile "$LINENO"
   13982 then :
   13983   xorg_cv_cc_flag_unknown_warning_option=yes
   13984 else $as_nop
   13985   xorg_cv_cc_flag_unknown_warning_option=no
   13986 fi
   13987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13988 fi
   13989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13990 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13991 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13992 	CFLAGS="$xorg_testset_save_CFLAGS"
   13993 fi
   13994 
   13995 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13996 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13997 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13998 	fi
   13999 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14000 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14001 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14002 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14003 then :
   14004   printf %s "(cached) " >&6
   14005 else $as_nop
   14006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14007 /* end confdefs.h.  */
   14008 int i;
   14009 _ACEOF
   14010 if ac_fn_c_try_compile "$LINENO"
   14011 then :
   14012   xorg_cv_cc_flag_unused_command_line_argument=yes
   14013 else $as_nop
   14014   xorg_cv_cc_flag_unused_command_line_argument=no
   14015 fi
   14016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14017 fi
   14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14019 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14021 	CFLAGS="$xorg_testset_save_CFLAGS"
   14022 fi
   14023 
   14024 found="no"
   14025 
   14026 	if test $found = "no" ; then
   14027 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14029 		fi
   14030 
   14031 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14033 		fi
   14034 
   14035 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14036 
   14037 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14038 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14039 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14040 		if eval test \${$cacheid+y}
   14041 then :
   14042   printf %s "(cached) " >&6
   14043 else $as_nop
   14044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14045 /* end confdefs.h.  */
   14046 int i;
   14047 int
   14048 main (void)
   14049 {
   14050 
   14051   ;
   14052   return 0;
   14053 }
   14054 _ACEOF
   14055 if ac_fn_c_try_link "$LINENO"
   14056 then :
   14057   eval $cacheid=yes
   14058 else $as_nop
   14059   eval $cacheid=no
   14060 fi
   14061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14062     conftest$ac_exeext conftest.$ac_ext
   14063 fi
   14064 
   14065 
   14066 		CFLAGS="$xorg_testset_save_CFLAGS"
   14067 
   14068 		eval supported=\$$cacheid
   14069 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14070 printf "%s\n" "$supported" >&6; }
   14071 		if test "$supported" = "yes" ; then
   14072 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14073 			found="yes"
   14074 		fi
   14075 	fi
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 xorg_testset_save_CFLAGS="$CFLAGS"
   14092 
   14093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14096 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14097 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14098 then :
   14099   printf %s "(cached) " >&6
   14100 else $as_nop
   14101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14102 /* end confdefs.h.  */
   14103 int i;
   14104 _ACEOF
   14105 if ac_fn_c_try_compile "$LINENO"
   14106 then :
   14107   xorg_cv_cc_flag_unknown_warning_option=yes
   14108 else $as_nop
   14109   xorg_cv_cc_flag_unknown_warning_option=no
   14110 fi
   14111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14112 fi
   14113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14114 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14116 	CFLAGS="$xorg_testset_save_CFLAGS"
   14117 fi
   14118 
   14119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14122 	fi
   14123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14125 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14126 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14127 then :
   14128   printf %s "(cached) " >&6
   14129 else $as_nop
   14130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14131 /* end confdefs.h.  */
   14132 int i;
   14133 _ACEOF
   14134 if ac_fn_c_try_compile "$LINENO"
   14135 then :
   14136   xorg_cv_cc_flag_unused_command_line_argument=yes
   14137 else $as_nop
   14138   xorg_cv_cc_flag_unused_command_line_argument=no
   14139 fi
   14140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14141 fi
   14142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14143 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14145 	CFLAGS="$xorg_testset_save_CFLAGS"
   14146 fi
   14147 
   14148 found="no"
   14149 
   14150 	if test $found = "no" ; then
   14151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14153 		fi
   14154 
   14155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14157 		fi
   14158 
   14159 		CFLAGS="$CFLAGS -Wold-style-definition"
   14160 
   14161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14162 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14163 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14164 		if eval test \${$cacheid+y}
   14165 then :
   14166   printf %s "(cached) " >&6
   14167 else $as_nop
   14168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14169 /* end confdefs.h.  */
   14170 int i;
   14171 int
   14172 main (void)
   14173 {
   14174 
   14175   ;
   14176   return 0;
   14177 }
   14178 _ACEOF
   14179 if ac_fn_c_try_link "$LINENO"
   14180 then :
   14181   eval $cacheid=yes
   14182 else $as_nop
   14183   eval $cacheid=no
   14184 fi
   14185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14186     conftest$ac_exeext conftest.$ac_ext
   14187 fi
   14188 
   14189 
   14190 		CFLAGS="$xorg_testset_save_CFLAGS"
   14191 
   14192 		eval supported=\$$cacheid
   14193 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14194 printf "%s\n" "$supported" >&6; }
   14195 		if test "$supported" = "yes" ; then
   14196 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14197 			found="yes"
   14198 		fi
   14199 	fi
   14200 
   14201 	if test $found = "no" ; then
   14202 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14204 		fi
   14205 
   14206 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14208 		fi
   14209 
   14210 		CFLAGS="$CFLAGS -fd"
   14211 
   14212 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14213 printf %s "checking if $CC supports -fd... " >&6; }
   14214 		cacheid=xorg_cv_cc_flag__fd
   14215 		if eval test \${$cacheid+y}
   14216 then :
   14217   printf %s "(cached) " >&6
   14218 else $as_nop
   14219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14220 /* end confdefs.h.  */
   14221 int i;
   14222 int
   14223 main (void)
   14224 {
   14225 
   14226   ;
   14227   return 0;
   14228 }
   14229 _ACEOF
   14230 if ac_fn_c_try_link "$LINENO"
   14231 then :
   14232   eval $cacheid=yes
   14233 else $as_nop
   14234   eval $cacheid=no
   14235 fi
   14236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14237     conftest$ac_exeext conftest.$ac_ext
   14238 fi
   14239 
   14240 
   14241 		CFLAGS="$xorg_testset_save_CFLAGS"
   14242 
   14243 		eval supported=\$$cacheid
   14244 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14245 printf "%s\n" "$supported" >&6; }
   14246 		if test "$supported" = "yes" ; then
   14247 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14248 			found="yes"
   14249 		fi
   14250 	fi
   14251 
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 xorg_testset_save_CFLAGS="$CFLAGS"
   14267 
   14268 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14269 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14270 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14271 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14272 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14273 then :
   14274   printf %s "(cached) " >&6
   14275 else $as_nop
   14276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14277 /* end confdefs.h.  */
   14278 int i;
   14279 _ACEOF
   14280 if ac_fn_c_try_compile "$LINENO"
   14281 then :
   14282   xorg_cv_cc_flag_unknown_warning_option=yes
   14283 else $as_nop
   14284   xorg_cv_cc_flag_unknown_warning_option=no
   14285 fi
   14286 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14287 fi
   14288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14289 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14291 	CFLAGS="$xorg_testset_save_CFLAGS"
   14292 fi
   14293 
   14294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14297 	fi
   14298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14299 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14300 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14301 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14302 then :
   14303   printf %s "(cached) " >&6
   14304 else $as_nop
   14305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14306 /* end confdefs.h.  */
   14307 int i;
   14308 _ACEOF
   14309 if ac_fn_c_try_compile "$LINENO"
   14310 then :
   14311   xorg_cv_cc_flag_unused_command_line_argument=yes
   14312 else $as_nop
   14313   xorg_cv_cc_flag_unused_command_line_argument=no
   14314 fi
   14315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14316 fi
   14317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14318 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14320 	CFLAGS="$xorg_testset_save_CFLAGS"
   14321 fi
   14322 
   14323 found="no"
   14324 
   14325 	if test $found = "no" ; then
   14326 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14328 		fi
   14329 
   14330 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14332 		fi
   14333 
   14334 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14335 
   14336 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14337 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14338 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14339 		if eval test \${$cacheid+y}
   14340 then :
   14341   printf %s "(cached) " >&6
   14342 else $as_nop
   14343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14344 /* end confdefs.h.  */
   14345 int i;
   14346 int
   14347 main (void)
   14348 {
   14349 
   14350   ;
   14351   return 0;
   14352 }
   14353 _ACEOF
   14354 if ac_fn_c_try_link "$LINENO"
   14355 then :
   14356   eval $cacheid=yes
   14357 else $as_nop
   14358   eval $cacheid=no
   14359 fi
   14360 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14361     conftest$ac_exeext conftest.$ac_ext
   14362 fi
   14363 
   14364 
   14365 		CFLAGS="$xorg_testset_save_CFLAGS"
   14366 
   14367 		eval supported=\$$cacheid
   14368 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14369 printf "%s\n" "$supported" >&6; }
   14370 		if test "$supported" = "yes" ; then
   14371 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14372 			found="yes"
   14373 		fi
   14374 	fi
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 # This chunk adds additional warnings that could catch undesired effects.
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 xorg_testset_save_CFLAGS="$CFLAGS"
   14395 
   14396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14401 then :
   14402   printf %s "(cached) " >&6
   14403 else $as_nop
   14404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14405 /* end confdefs.h.  */
   14406 int i;
   14407 _ACEOF
   14408 if ac_fn_c_try_compile "$LINENO"
   14409 then :
   14410   xorg_cv_cc_flag_unknown_warning_option=yes
   14411 else $as_nop
   14412   xorg_cv_cc_flag_unknown_warning_option=no
   14413 fi
   14414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14415 fi
   14416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14417 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14419 	CFLAGS="$xorg_testset_save_CFLAGS"
   14420 fi
   14421 
   14422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14425 	fi
   14426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14427 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14428 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14429 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14430 then :
   14431   printf %s "(cached) " >&6
   14432 else $as_nop
   14433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14434 /* end confdefs.h.  */
   14435 int i;
   14436 _ACEOF
   14437 if ac_fn_c_try_compile "$LINENO"
   14438 then :
   14439   xorg_cv_cc_flag_unused_command_line_argument=yes
   14440 else $as_nop
   14441   xorg_cv_cc_flag_unused_command_line_argument=no
   14442 fi
   14443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14444 fi
   14445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14446 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14447 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14448 	CFLAGS="$xorg_testset_save_CFLAGS"
   14449 fi
   14450 
   14451 found="no"
   14452 
   14453 	if test $found = "no" ; then
   14454 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14455 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14456 		fi
   14457 
   14458 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14459 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14460 		fi
   14461 
   14462 		CFLAGS="$CFLAGS -Wunused"
   14463 
   14464 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14465 printf %s "checking if $CC supports -Wunused... " >&6; }
   14466 		cacheid=xorg_cv_cc_flag__Wunused
   14467 		if eval test \${$cacheid+y}
   14468 then :
   14469   printf %s "(cached) " >&6
   14470 else $as_nop
   14471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14472 /* end confdefs.h.  */
   14473 int i;
   14474 int
   14475 main (void)
   14476 {
   14477 
   14478   ;
   14479   return 0;
   14480 }
   14481 _ACEOF
   14482 if ac_fn_c_try_link "$LINENO"
   14483 then :
   14484   eval $cacheid=yes
   14485 else $as_nop
   14486   eval $cacheid=no
   14487 fi
   14488 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14489     conftest$ac_exeext conftest.$ac_ext
   14490 fi
   14491 
   14492 
   14493 		CFLAGS="$xorg_testset_save_CFLAGS"
   14494 
   14495 		eval supported=\$$cacheid
   14496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14497 printf "%s\n" "$supported" >&6; }
   14498 		if test "$supported" = "yes" ; then
   14499 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14500 			found="yes"
   14501 		fi
   14502 	fi
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 
   14511 
   14512 
   14513 
   14514 
   14515 
   14516 
   14517 
   14518 xorg_testset_save_CFLAGS="$CFLAGS"
   14519 
   14520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14523 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14524 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14525 then :
   14526   printf %s "(cached) " >&6
   14527 else $as_nop
   14528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14529 /* end confdefs.h.  */
   14530 int i;
   14531 _ACEOF
   14532 if ac_fn_c_try_compile "$LINENO"
   14533 then :
   14534   xorg_cv_cc_flag_unknown_warning_option=yes
   14535 else $as_nop
   14536   xorg_cv_cc_flag_unknown_warning_option=no
   14537 fi
   14538 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14539 fi
   14540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14541 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14542 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14543 	CFLAGS="$xorg_testset_save_CFLAGS"
   14544 fi
   14545 
   14546 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14547 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14548 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14549 	fi
   14550 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14551 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14552 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14553 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14554 then :
   14555   printf %s "(cached) " >&6
   14556 else $as_nop
   14557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14558 /* end confdefs.h.  */
   14559 int i;
   14560 _ACEOF
   14561 if ac_fn_c_try_compile "$LINENO"
   14562 then :
   14563   xorg_cv_cc_flag_unused_command_line_argument=yes
   14564 else $as_nop
   14565   xorg_cv_cc_flag_unused_command_line_argument=no
   14566 fi
   14567 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14568 fi
   14569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14570 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14572 	CFLAGS="$xorg_testset_save_CFLAGS"
   14573 fi
   14574 
   14575 found="no"
   14576 
   14577 	if test $found = "no" ; then
   14578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14580 		fi
   14581 
   14582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14584 		fi
   14585 
   14586 		CFLAGS="$CFLAGS -Wuninitialized"
   14587 
   14588 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14589 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14590 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14591 		if eval test \${$cacheid+y}
   14592 then :
   14593   printf %s "(cached) " >&6
   14594 else $as_nop
   14595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14596 /* end confdefs.h.  */
   14597 int i;
   14598 int
   14599 main (void)
   14600 {
   14601 
   14602   ;
   14603   return 0;
   14604 }
   14605 _ACEOF
   14606 if ac_fn_c_try_link "$LINENO"
   14607 then :
   14608   eval $cacheid=yes
   14609 else $as_nop
   14610   eval $cacheid=no
   14611 fi
   14612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14613     conftest$ac_exeext conftest.$ac_ext
   14614 fi
   14615 
   14616 
   14617 		CFLAGS="$xorg_testset_save_CFLAGS"
   14618 
   14619 		eval supported=\$$cacheid
   14620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14621 printf "%s\n" "$supported" >&6; }
   14622 		if test "$supported" = "yes" ; then
   14623 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14624 			found="yes"
   14625 		fi
   14626 	fi
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 xorg_testset_save_CFLAGS="$CFLAGS"
   14643 
   14644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14647 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14648 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14649 then :
   14650   printf %s "(cached) " >&6
   14651 else $as_nop
   14652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14653 /* end confdefs.h.  */
   14654 int i;
   14655 _ACEOF
   14656 if ac_fn_c_try_compile "$LINENO"
   14657 then :
   14658   xorg_cv_cc_flag_unknown_warning_option=yes
   14659 else $as_nop
   14660   xorg_cv_cc_flag_unknown_warning_option=no
   14661 fi
   14662 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14663 fi
   14664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14665 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14666 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14667 	CFLAGS="$xorg_testset_save_CFLAGS"
   14668 fi
   14669 
   14670 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14671 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14672 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14673 	fi
   14674 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14675 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14676 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14677 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14678 then :
   14679   printf %s "(cached) " >&6
   14680 else $as_nop
   14681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14682 /* end confdefs.h.  */
   14683 int i;
   14684 _ACEOF
   14685 if ac_fn_c_try_compile "$LINENO"
   14686 then :
   14687   xorg_cv_cc_flag_unused_command_line_argument=yes
   14688 else $as_nop
   14689   xorg_cv_cc_flag_unused_command_line_argument=no
   14690 fi
   14691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14692 fi
   14693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14694 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14695 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14696 	CFLAGS="$xorg_testset_save_CFLAGS"
   14697 fi
   14698 
   14699 found="no"
   14700 
   14701 	if test $found = "no" ; then
   14702 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14703 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14704 		fi
   14705 
   14706 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14707 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14708 		fi
   14709 
   14710 		CFLAGS="$CFLAGS -Wshadow"
   14711 
   14712 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14713 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14714 		cacheid=xorg_cv_cc_flag__Wshadow
   14715 		if eval test \${$cacheid+y}
   14716 then :
   14717   printf %s "(cached) " >&6
   14718 else $as_nop
   14719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14720 /* end confdefs.h.  */
   14721 int i;
   14722 int
   14723 main (void)
   14724 {
   14725 
   14726   ;
   14727   return 0;
   14728 }
   14729 _ACEOF
   14730 if ac_fn_c_try_link "$LINENO"
   14731 then :
   14732   eval $cacheid=yes
   14733 else $as_nop
   14734   eval $cacheid=no
   14735 fi
   14736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14737     conftest$ac_exeext conftest.$ac_ext
   14738 fi
   14739 
   14740 
   14741 		CFLAGS="$xorg_testset_save_CFLAGS"
   14742 
   14743 		eval supported=\$$cacheid
   14744 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14745 printf "%s\n" "$supported" >&6; }
   14746 		if test "$supported" = "yes" ; then
   14747 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14748 			found="yes"
   14749 		fi
   14750 	fi
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 
   14763 
   14764 
   14765 
   14766 xorg_testset_save_CFLAGS="$CFLAGS"
   14767 
   14768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14770 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14771 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14772 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14773 then :
   14774   printf %s "(cached) " >&6
   14775 else $as_nop
   14776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14777 /* end confdefs.h.  */
   14778 int i;
   14779 _ACEOF
   14780 if ac_fn_c_try_compile "$LINENO"
   14781 then :
   14782   xorg_cv_cc_flag_unknown_warning_option=yes
   14783 else $as_nop
   14784   xorg_cv_cc_flag_unknown_warning_option=no
   14785 fi
   14786 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14787 fi
   14788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14789 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14791 	CFLAGS="$xorg_testset_save_CFLAGS"
   14792 fi
   14793 
   14794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14797 	fi
   14798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14800 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14801 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14802 then :
   14803   printf %s "(cached) " >&6
   14804 else $as_nop
   14805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14806 /* end confdefs.h.  */
   14807 int i;
   14808 _ACEOF
   14809 if ac_fn_c_try_compile "$LINENO"
   14810 then :
   14811   xorg_cv_cc_flag_unused_command_line_argument=yes
   14812 else $as_nop
   14813   xorg_cv_cc_flag_unused_command_line_argument=no
   14814 fi
   14815 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14816 fi
   14817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14818 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14819 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14820 	CFLAGS="$xorg_testset_save_CFLAGS"
   14821 fi
   14822 
   14823 found="no"
   14824 
   14825 	if test $found = "no" ; then
   14826 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14827 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14828 		fi
   14829 
   14830 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14831 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14832 		fi
   14833 
   14834 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14835 
   14836 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14837 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14838 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14839 		if eval test \${$cacheid+y}
   14840 then :
   14841   printf %s "(cached) " >&6
   14842 else $as_nop
   14843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14844 /* end confdefs.h.  */
   14845 int i;
   14846 int
   14847 main (void)
   14848 {
   14849 
   14850   ;
   14851   return 0;
   14852 }
   14853 _ACEOF
   14854 if ac_fn_c_try_link "$LINENO"
   14855 then :
   14856   eval $cacheid=yes
   14857 else $as_nop
   14858   eval $cacheid=no
   14859 fi
   14860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14861     conftest$ac_exeext conftest.$ac_ext
   14862 fi
   14863 
   14864 
   14865 		CFLAGS="$xorg_testset_save_CFLAGS"
   14866 
   14867 		eval supported=\$$cacheid
   14868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14869 printf "%s\n" "$supported" >&6; }
   14870 		if test "$supported" = "yes" ; then
   14871 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14872 			found="yes"
   14873 		fi
   14874 	fi
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 xorg_testset_save_CFLAGS="$CFLAGS"
   14891 
   14892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14894 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14895 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14896 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14897 then :
   14898   printf %s "(cached) " >&6
   14899 else $as_nop
   14900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14901 /* end confdefs.h.  */
   14902 int i;
   14903 _ACEOF
   14904 if ac_fn_c_try_compile "$LINENO"
   14905 then :
   14906   xorg_cv_cc_flag_unknown_warning_option=yes
   14907 else $as_nop
   14908   xorg_cv_cc_flag_unknown_warning_option=no
   14909 fi
   14910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14911 fi
   14912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14913 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14915 	CFLAGS="$xorg_testset_save_CFLAGS"
   14916 fi
   14917 
   14918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14921 	fi
   14922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14924 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14925 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14926 then :
   14927   printf %s "(cached) " >&6
   14928 else $as_nop
   14929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14930 /* end confdefs.h.  */
   14931 int i;
   14932 _ACEOF
   14933 if ac_fn_c_try_compile "$LINENO"
   14934 then :
   14935   xorg_cv_cc_flag_unused_command_line_argument=yes
   14936 else $as_nop
   14937   xorg_cv_cc_flag_unused_command_line_argument=no
   14938 fi
   14939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14940 fi
   14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14942 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14943 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14944 	CFLAGS="$xorg_testset_save_CFLAGS"
   14945 fi
   14946 
   14947 found="no"
   14948 
   14949 	if test $found = "no" ; then
   14950 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14951 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14952 		fi
   14953 
   14954 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14955 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14956 		fi
   14957 
   14958 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14959 
   14960 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14961 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14962 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14963 		if eval test \${$cacheid+y}
   14964 then :
   14965   printf %s "(cached) " >&6
   14966 else $as_nop
   14967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14968 /* end confdefs.h.  */
   14969 int i;
   14970 int
   14971 main (void)
   14972 {
   14973 
   14974   ;
   14975   return 0;
   14976 }
   14977 _ACEOF
   14978 if ac_fn_c_try_link "$LINENO"
   14979 then :
   14980   eval $cacheid=yes
   14981 else $as_nop
   14982   eval $cacheid=no
   14983 fi
   14984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14985     conftest$ac_exeext conftest.$ac_ext
   14986 fi
   14987 
   14988 
   14989 		CFLAGS="$xorg_testset_save_CFLAGS"
   14990 
   14991 		eval supported=\$$cacheid
   14992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14993 printf "%s\n" "$supported" >&6; }
   14994 		if test "$supported" = "yes" ; then
   14995 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14996 			found="yes"
   14997 		fi
   14998 	fi
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 xorg_testset_save_CFLAGS="$CFLAGS"
   15015 
   15016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15019 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15020 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15021 then :
   15022   printf %s "(cached) " >&6
   15023 else $as_nop
   15024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15025 /* end confdefs.h.  */
   15026 int i;
   15027 _ACEOF
   15028 if ac_fn_c_try_compile "$LINENO"
   15029 then :
   15030   xorg_cv_cc_flag_unknown_warning_option=yes
   15031 else $as_nop
   15032   xorg_cv_cc_flag_unknown_warning_option=no
   15033 fi
   15034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15035 fi
   15036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15037 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15038 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15039 	CFLAGS="$xorg_testset_save_CFLAGS"
   15040 fi
   15041 
   15042 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15043 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15044 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15045 	fi
   15046 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15048 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15049 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15050 then :
   15051   printf %s "(cached) " >&6
   15052 else $as_nop
   15053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15054 /* end confdefs.h.  */
   15055 int i;
   15056 _ACEOF
   15057 if ac_fn_c_try_compile "$LINENO"
   15058 then :
   15059   xorg_cv_cc_flag_unused_command_line_argument=yes
   15060 else $as_nop
   15061   xorg_cv_cc_flag_unused_command_line_argument=no
   15062 fi
   15063 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15064 fi
   15065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15066 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15068 	CFLAGS="$xorg_testset_save_CFLAGS"
   15069 fi
   15070 
   15071 found="no"
   15072 
   15073 	if test $found = "no" ; then
   15074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15076 		fi
   15077 
   15078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15080 		fi
   15081 
   15082 		CFLAGS="$CFLAGS -Wredundant-decls"
   15083 
   15084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15085 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15086 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15087 		if eval test \${$cacheid+y}
   15088 then :
   15089   printf %s "(cached) " >&6
   15090 else $as_nop
   15091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15092 /* end confdefs.h.  */
   15093 int i;
   15094 int
   15095 main (void)
   15096 {
   15097 
   15098   ;
   15099   return 0;
   15100 }
   15101 _ACEOF
   15102 if ac_fn_c_try_link "$LINENO"
   15103 then :
   15104   eval $cacheid=yes
   15105 else $as_nop
   15106   eval $cacheid=no
   15107 fi
   15108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15109     conftest$ac_exeext conftest.$ac_ext
   15110 fi
   15111 
   15112 
   15113 		CFLAGS="$xorg_testset_save_CFLAGS"
   15114 
   15115 		eval supported=\$$cacheid
   15116 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15117 printf "%s\n" "$supported" >&6; }
   15118 		if test "$supported" = "yes" ; then
   15119 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15120 			found="yes"
   15121 		fi
   15122 	fi
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 xorg_testset_save_CFLAGS="$CFLAGS"
   15139 
   15140 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15141 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15142 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15143 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15144 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15145 then :
   15146   printf %s "(cached) " >&6
   15147 else $as_nop
   15148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15149 /* end confdefs.h.  */
   15150 int i;
   15151 _ACEOF
   15152 if ac_fn_c_try_compile "$LINENO"
   15153 then :
   15154   xorg_cv_cc_flag_unknown_warning_option=yes
   15155 else $as_nop
   15156   xorg_cv_cc_flag_unknown_warning_option=no
   15157 fi
   15158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15159 fi
   15160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15161 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15162 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15163 	CFLAGS="$xorg_testset_save_CFLAGS"
   15164 fi
   15165 
   15166 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15167 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15168 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15169 	fi
   15170 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15171 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15172 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15173 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15174 then :
   15175   printf %s "(cached) " >&6
   15176 else $as_nop
   15177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15178 /* end confdefs.h.  */
   15179 int i;
   15180 _ACEOF
   15181 if ac_fn_c_try_compile "$LINENO"
   15182 then :
   15183   xorg_cv_cc_flag_unused_command_line_argument=yes
   15184 else $as_nop
   15185   xorg_cv_cc_flag_unused_command_line_argument=no
   15186 fi
   15187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15188 fi
   15189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15190 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15192 	CFLAGS="$xorg_testset_save_CFLAGS"
   15193 fi
   15194 
   15195 found="no"
   15196 
   15197 	if test $found = "no" ; then
   15198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15200 		fi
   15201 
   15202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15204 		fi
   15205 
   15206 		CFLAGS="$CFLAGS -Wlogical-op"
   15207 
   15208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15209 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15210 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15211 		if eval test \${$cacheid+y}
   15212 then :
   15213   printf %s "(cached) " >&6
   15214 else $as_nop
   15215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15216 /* end confdefs.h.  */
   15217 int i;
   15218 int
   15219 main (void)
   15220 {
   15221 
   15222   ;
   15223   return 0;
   15224 }
   15225 _ACEOF
   15226 if ac_fn_c_try_link "$LINENO"
   15227 then :
   15228   eval $cacheid=yes
   15229 else $as_nop
   15230   eval $cacheid=no
   15231 fi
   15232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15233     conftest$ac_exeext conftest.$ac_ext
   15234 fi
   15235 
   15236 
   15237 		CFLAGS="$xorg_testset_save_CFLAGS"
   15238 
   15239 		eval supported=\$$cacheid
   15240 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15241 printf "%s\n" "$supported" >&6; }
   15242 		if test "$supported" = "yes" ; then
   15243 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15244 			found="yes"
   15245 		fi
   15246 	fi
   15247 
   15248 
   15249 
   15250 # These are currently disabled because they are noisy.  They will be enabled
   15251 # in the future once the codebase is sufficiently modernized to silence
   15252 # them.  For now, I don't want them to drown out the other warnings.
   15253 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15254 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15255 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15256 
   15257 # Turn some warnings into errors, so we don't accidentally get successful builds
   15258 # when there are problems that should be fixed.
   15259 
   15260 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 xorg_testset_save_CFLAGS="$CFLAGS"
   15275 
   15276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15279 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15280 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15281 then :
   15282   printf %s "(cached) " >&6
   15283 else $as_nop
   15284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15285 /* end confdefs.h.  */
   15286 int i;
   15287 _ACEOF
   15288 if ac_fn_c_try_compile "$LINENO"
   15289 then :
   15290   xorg_cv_cc_flag_unknown_warning_option=yes
   15291 else $as_nop
   15292   xorg_cv_cc_flag_unknown_warning_option=no
   15293 fi
   15294 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15295 fi
   15296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15297 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15298 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15299 	CFLAGS="$xorg_testset_save_CFLAGS"
   15300 fi
   15301 
   15302 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15303 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15304 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15305 	fi
   15306 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15307 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15308 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15309 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15310 then :
   15311   printf %s "(cached) " >&6
   15312 else $as_nop
   15313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15314 /* end confdefs.h.  */
   15315 int i;
   15316 _ACEOF
   15317 if ac_fn_c_try_compile "$LINENO"
   15318 then :
   15319   xorg_cv_cc_flag_unused_command_line_argument=yes
   15320 else $as_nop
   15321   xorg_cv_cc_flag_unused_command_line_argument=no
   15322 fi
   15323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15324 fi
   15325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15326 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15328 	CFLAGS="$xorg_testset_save_CFLAGS"
   15329 fi
   15330 
   15331 found="no"
   15332 
   15333 	if test $found = "no" ; then
   15334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15336 		fi
   15337 
   15338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15340 		fi
   15341 
   15342 		CFLAGS="$CFLAGS -Werror=implicit"
   15343 
   15344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15345 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15346 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15347 		if eval test \${$cacheid+y}
   15348 then :
   15349   printf %s "(cached) " >&6
   15350 else $as_nop
   15351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15352 /* end confdefs.h.  */
   15353 int i;
   15354 int
   15355 main (void)
   15356 {
   15357 
   15358   ;
   15359   return 0;
   15360 }
   15361 _ACEOF
   15362 if ac_fn_c_try_link "$LINENO"
   15363 then :
   15364   eval $cacheid=yes
   15365 else $as_nop
   15366   eval $cacheid=no
   15367 fi
   15368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15369     conftest$ac_exeext conftest.$ac_ext
   15370 fi
   15371 
   15372 
   15373 		CFLAGS="$xorg_testset_save_CFLAGS"
   15374 
   15375 		eval supported=\$$cacheid
   15376 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15377 printf "%s\n" "$supported" >&6; }
   15378 		if test "$supported" = "yes" ; then
   15379 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15380 			found="yes"
   15381 		fi
   15382 	fi
   15383 
   15384 	if test $found = "no" ; then
   15385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15387 		fi
   15388 
   15389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15391 		fi
   15392 
   15393 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15394 
   15395 		{ 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
   15396 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15397 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15398 		if eval test \${$cacheid+y}
   15399 then :
   15400   printf %s "(cached) " >&6
   15401 else $as_nop
   15402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15403 /* end confdefs.h.  */
   15404 int i;
   15405 int
   15406 main (void)
   15407 {
   15408 
   15409   ;
   15410   return 0;
   15411 }
   15412 _ACEOF
   15413 if ac_fn_c_try_link "$LINENO"
   15414 then :
   15415   eval $cacheid=yes
   15416 else $as_nop
   15417   eval $cacheid=no
   15418 fi
   15419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15420     conftest$ac_exeext conftest.$ac_ext
   15421 fi
   15422 
   15423 
   15424 		CFLAGS="$xorg_testset_save_CFLAGS"
   15425 
   15426 		eval supported=\$$cacheid
   15427 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15428 printf "%s\n" "$supported" >&6; }
   15429 		if test "$supported" = "yes" ; then
   15430 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15431 			found="yes"
   15432 		fi
   15433 	fi
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 
   15443 
   15444 
   15445 
   15446 
   15447 
   15448 
   15449 xorg_testset_save_CFLAGS="$CFLAGS"
   15450 
   15451 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15452 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15453 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15454 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15455 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15456 then :
   15457   printf %s "(cached) " >&6
   15458 else $as_nop
   15459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15460 /* end confdefs.h.  */
   15461 int i;
   15462 _ACEOF
   15463 if ac_fn_c_try_compile "$LINENO"
   15464 then :
   15465   xorg_cv_cc_flag_unknown_warning_option=yes
   15466 else $as_nop
   15467   xorg_cv_cc_flag_unknown_warning_option=no
   15468 fi
   15469 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15470 fi
   15471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15472 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15474 	CFLAGS="$xorg_testset_save_CFLAGS"
   15475 fi
   15476 
   15477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15480 	fi
   15481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15482 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15483 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15484 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15485 then :
   15486   printf %s "(cached) " >&6
   15487 else $as_nop
   15488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15489 /* end confdefs.h.  */
   15490 int i;
   15491 _ACEOF
   15492 if ac_fn_c_try_compile "$LINENO"
   15493 then :
   15494   xorg_cv_cc_flag_unused_command_line_argument=yes
   15495 else $as_nop
   15496   xorg_cv_cc_flag_unused_command_line_argument=no
   15497 fi
   15498 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15499 fi
   15500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15501 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15502 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15503 	CFLAGS="$xorg_testset_save_CFLAGS"
   15504 fi
   15505 
   15506 found="no"
   15507 
   15508 	if test $found = "no" ; then
   15509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15511 		fi
   15512 
   15513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15515 		fi
   15516 
   15517 		CFLAGS="$CFLAGS -Werror=nonnull"
   15518 
   15519 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15520 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15521 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15522 		if eval test \${$cacheid+y}
   15523 then :
   15524   printf %s "(cached) " >&6
   15525 else $as_nop
   15526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15527 /* end confdefs.h.  */
   15528 int i;
   15529 int
   15530 main (void)
   15531 {
   15532 
   15533   ;
   15534   return 0;
   15535 }
   15536 _ACEOF
   15537 if ac_fn_c_try_link "$LINENO"
   15538 then :
   15539   eval $cacheid=yes
   15540 else $as_nop
   15541   eval $cacheid=no
   15542 fi
   15543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15544     conftest$ac_exeext conftest.$ac_ext
   15545 fi
   15546 
   15547 
   15548 		CFLAGS="$xorg_testset_save_CFLAGS"
   15549 
   15550 		eval supported=\$$cacheid
   15551 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15552 printf "%s\n" "$supported" >&6; }
   15553 		if test "$supported" = "yes" ; then
   15554 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15555 			found="yes"
   15556 		fi
   15557 	fi
   15558 
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 
   15573 xorg_testset_save_CFLAGS="$CFLAGS"
   15574 
   15575 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15576 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15577 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15578 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15579 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15580 then :
   15581   printf %s "(cached) " >&6
   15582 else $as_nop
   15583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15584 /* end confdefs.h.  */
   15585 int i;
   15586 _ACEOF
   15587 if ac_fn_c_try_compile "$LINENO"
   15588 then :
   15589   xorg_cv_cc_flag_unknown_warning_option=yes
   15590 else $as_nop
   15591   xorg_cv_cc_flag_unknown_warning_option=no
   15592 fi
   15593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15594 fi
   15595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15596 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15598 	CFLAGS="$xorg_testset_save_CFLAGS"
   15599 fi
   15600 
   15601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15604 	fi
   15605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15606 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15607 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15608 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15609 then :
   15610   printf %s "(cached) " >&6
   15611 else $as_nop
   15612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15613 /* end confdefs.h.  */
   15614 int i;
   15615 _ACEOF
   15616 if ac_fn_c_try_compile "$LINENO"
   15617 then :
   15618   xorg_cv_cc_flag_unused_command_line_argument=yes
   15619 else $as_nop
   15620   xorg_cv_cc_flag_unused_command_line_argument=no
   15621 fi
   15622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15623 fi
   15624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15625 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15627 	CFLAGS="$xorg_testset_save_CFLAGS"
   15628 fi
   15629 
   15630 found="no"
   15631 
   15632 	if test $found = "no" ; then
   15633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15635 		fi
   15636 
   15637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15639 		fi
   15640 
   15641 		CFLAGS="$CFLAGS -Werror=init-self"
   15642 
   15643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15644 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15645 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15646 		if eval test \${$cacheid+y}
   15647 then :
   15648   printf %s "(cached) " >&6
   15649 else $as_nop
   15650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15651 /* end confdefs.h.  */
   15652 int i;
   15653 int
   15654 main (void)
   15655 {
   15656 
   15657   ;
   15658   return 0;
   15659 }
   15660 _ACEOF
   15661 if ac_fn_c_try_link "$LINENO"
   15662 then :
   15663   eval $cacheid=yes
   15664 else $as_nop
   15665   eval $cacheid=no
   15666 fi
   15667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15668     conftest$ac_exeext conftest.$ac_ext
   15669 fi
   15670 
   15671 
   15672 		CFLAGS="$xorg_testset_save_CFLAGS"
   15673 
   15674 		eval supported=\$$cacheid
   15675 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15676 printf "%s\n" "$supported" >&6; }
   15677 		if test "$supported" = "yes" ; then
   15678 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15679 			found="yes"
   15680 		fi
   15681 	fi
   15682 
   15683 
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 
   15691 
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 xorg_testset_save_CFLAGS="$CFLAGS"
   15698 
   15699 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15700 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15701 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15702 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15703 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15704 then :
   15705   printf %s "(cached) " >&6
   15706 else $as_nop
   15707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15708 /* end confdefs.h.  */
   15709 int i;
   15710 _ACEOF
   15711 if ac_fn_c_try_compile "$LINENO"
   15712 then :
   15713   xorg_cv_cc_flag_unknown_warning_option=yes
   15714 else $as_nop
   15715   xorg_cv_cc_flag_unknown_warning_option=no
   15716 fi
   15717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15718 fi
   15719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15720 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15721 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15722 	CFLAGS="$xorg_testset_save_CFLAGS"
   15723 fi
   15724 
   15725 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15726 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15728 	fi
   15729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15730 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15731 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15732 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15733 then :
   15734   printf %s "(cached) " >&6
   15735 else $as_nop
   15736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15737 /* end confdefs.h.  */
   15738 int i;
   15739 _ACEOF
   15740 if ac_fn_c_try_compile "$LINENO"
   15741 then :
   15742   xorg_cv_cc_flag_unused_command_line_argument=yes
   15743 else $as_nop
   15744   xorg_cv_cc_flag_unused_command_line_argument=no
   15745 fi
   15746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15747 fi
   15748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15749 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15750 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15751 	CFLAGS="$xorg_testset_save_CFLAGS"
   15752 fi
   15753 
   15754 found="no"
   15755 
   15756 	if test $found = "no" ; then
   15757 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15758 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15759 		fi
   15760 
   15761 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15762 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15763 		fi
   15764 
   15765 		CFLAGS="$CFLAGS -Werror=main"
   15766 
   15767 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15768 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15769 		cacheid=xorg_cv_cc_flag__Werror_main
   15770 		if eval test \${$cacheid+y}
   15771 then :
   15772   printf %s "(cached) " >&6
   15773 else $as_nop
   15774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15775 /* end confdefs.h.  */
   15776 int i;
   15777 int
   15778 main (void)
   15779 {
   15780 
   15781   ;
   15782   return 0;
   15783 }
   15784 _ACEOF
   15785 if ac_fn_c_try_link "$LINENO"
   15786 then :
   15787   eval $cacheid=yes
   15788 else $as_nop
   15789   eval $cacheid=no
   15790 fi
   15791 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15792     conftest$ac_exeext conftest.$ac_ext
   15793 fi
   15794 
   15795 
   15796 		CFLAGS="$xorg_testset_save_CFLAGS"
   15797 
   15798 		eval supported=\$$cacheid
   15799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15800 printf "%s\n" "$supported" >&6; }
   15801 		if test "$supported" = "yes" ; then
   15802 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15803 			found="yes"
   15804 		fi
   15805 	fi
   15806 
   15807 
   15808 
   15809 
   15810 
   15811 
   15812 
   15813 
   15814 
   15815 
   15816 
   15817 
   15818 
   15819 
   15820 
   15821 xorg_testset_save_CFLAGS="$CFLAGS"
   15822 
   15823 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15824 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15825 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15826 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15827 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15828 then :
   15829   printf %s "(cached) " >&6
   15830 else $as_nop
   15831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15832 /* end confdefs.h.  */
   15833 int i;
   15834 _ACEOF
   15835 if ac_fn_c_try_compile "$LINENO"
   15836 then :
   15837   xorg_cv_cc_flag_unknown_warning_option=yes
   15838 else $as_nop
   15839   xorg_cv_cc_flag_unknown_warning_option=no
   15840 fi
   15841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15842 fi
   15843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15844 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15846 	CFLAGS="$xorg_testset_save_CFLAGS"
   15847 fi
   15848 
   15849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15852 	fi
   15853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15854 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15855 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15856 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15857 then :
   15858   printf %s "(cached) " >&6
   15859 else $as_nop
   15860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15861 /* end confdefs.h.  */
   15862 int i;
   15863 _ACEOF
   15864 if ac_fn_c_try_compile "$LINENO"
   15865 then :
   15866   xorg_cv_cc_flag_unused_command_line_argument=yes
   15867 else $as_nop
   15868   xorg_cv_cc_flag_unused_command_line_argument=no
   15869 fi
   15870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15871 fi
   15872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15873 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15875 	CFLAGS="$xorg_testset_save_CFLAGS"
   15876 fi
   15877 
   15878 found="no"
   15879 
   15880 	if test $found = "no" ; then
   15881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15883 		fi
   15884 
   15885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15887 		fi
   15888 
   15889 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15890 
   15891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15892 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15893 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15894 		if eval test \${$cacheid+y}
   15895 then :
   15896   printf %s "(cached) " >&6
   15897 else $as_nop
   15898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15899 /* end confdefs.h.  */
   15900 int i;
   15901 int
   15902 main (void)
   15903 {
   15904 
   15905   ;
   15906   return 0;
   15907 }
   15908 _ACEOF
   15909 if ac_fn_c_try_link "$LINENO"
   15910 then :
   15911   eval $cacheid=yes
   15912 else $as_nop
   15913   eval $cacheid=no
   15914 fi
   15915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15916     conftest$ac_exeext conftest.$ac_ext
   15917 fi
   15918 
   15919 
   15920 		CFLAGS="$xorg_testset_save_CFLAGS"
   15921 
   15922 		eval supported=\$$cacheid
   15923 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15924 printf "%s\n" "$supported" >&6; }
   15925 		if test "$supported" = "yes" ; then
   15926 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15927 			found="yes"
   15928 		fi
   15929 	fi
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939 
   15940 
   15941 
   15942 
   15943 
   15944 
   15945 xorg_testset_save_CFLAGS="$CFLAGS"
   15946 
   15947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15952 then :
   15953   printf %s "(cached) " >&6
   15954 else $as_nop
   15955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15956 /* end confdefs.h.  */
   15957 int i;
   15958 _ACEOF
   15959 if ac_fn_c_try_compile "$LINENO"
   15960 then :
   15961   xorg_cv_cc_flag_unknown_warning_option=yes
   15962 else $as_nop
   15963   xorg_cv_cc_flag_unknown_warning_option=no
   15964 fi
   15965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15966 fi
   15967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15968 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15970 	CFLAGS="$xorg_testset_save_CFLAGS"
   15971 fi
   15972 
   15973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15976 	fi
   15977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15979 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15980 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15981 then :
   15982   printf %s "(cached) " >&6
   15983 else $as_nop
   15984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15985 /* end confdefs.h.  */
   15986 int i;
   15987 _ACEOF
   15988 if ac_fn_c_try_compile "$LINENO"
   15989 then :
   15990   xorg_cv_cc_flag_unused_command_line_argument=yes
   15991 else $as_nop
   15992   xorg_cv_cc_flag_unused_command_line_argument=no
   15993 fi
   15994 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15995 fi
   15996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15997 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15999 	CFLAGS="$xorg_testset_save_CFLAGS"
   16000 fi
   16001 
   16002 found="no"
   16003 
   16004 	if test $found = "no" ; then
   16005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16007 		fi
   16008 
   16009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16011 		fi
   16012 
   16013 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16014 
   16015 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16016 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16017 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16018 		if eval test \${$cacheid+y}
   16019 then :
   16020   printf %s "(cached) " >&6
   16021 else $as_nop
   16022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16023 /* end confdefs.h.  */
   16024 int i;
   16025 int
   16026 main (void)
   16027 {
   16028 
   16029   ;
   16030   return 0;
   16031 }
   16032 _ACEOF
   16033 if ac_fn_c_try_link "$LINENO"
   16034 then :
   16035   eval $cacheid=yes
   16036 else $as_nop
   16037   eval $cacheid=no
   16038 fi
   16039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16040     conftest$ac_exeext conftest.$ac_ext
   16041 fi
   16042 
   16043 
   16044 		CFLAGS="$xorg_testset_save_CFLAGS"
   16045 
   16046 		eval supported=\$$cacheid
   16047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16048 printf "%s\n" "$supported" >&6; }
   16049 		if test "$supported" = "yes" ; then
   16050 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16051 			found="yes"
   16052 		fi
   16053 	fi
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 xorg_testset_save_CFLAGS="$CFLAGS"
   16070 
   16071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16076 then :
   16077   printf %s "(cached) " >&6
   16078 else $as_nop
   16079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16080 /* end confdefs.h.  */
   16081 int i;
   16082 _ACEOF
   16083 if ac_fn_c_try_compile "$LINENO"
   16084 then :
   16085   xorg_cv_cc_flag_unknown_warning_option=yes
   16086 else $as_nop
   16087   xorg_cv_cc_flag_unknown_warning_option=no
   16088 fi
   16089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16090 fi
   16091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16092 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16094 	CFLAGS="$xorg_testset_save_CFLAGS"
   16095 fi
   16096 
   16097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16100 	fi
   16101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16102 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16103 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16104 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16105 then :
   16106   printf %s "(cached) " >&6
   16107 else $as_nop
   16108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16109 /* end confdefs.h.  */
   16110 int i;
   16111 _ACEOF
   16112 if ac_fn_c_try_compile "$LINENO"
   16113 then :
   16114   xorg_cv_cc_flag_unused_command_line_argument=yes
   16115 else $as_nop
   16116   xorg_cv_cc_flag_unused_command_line_argument=no
   16117 fi
   16118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16119 fi
   16120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16121 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16123 	CFLAGS="$xorg_testset_save_CFLAGS"
   16124 fi
   16125 
   16126 found="no"
   16127 
   16128 	if test $found = "no" ; then
   16129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16131 		fi
   16132 
   16133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16135 		fi
   16136 
   16137 		CFLAGS="$CFLAGS -Werror=return-type"
   16138 
   16139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16140 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16141 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16142 		if eval test \${$cacheid+y}
   16143 then :
   16144   printf %s "(cached) " >&6
   16145 else $as_nop
   16146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16147 /* end confdefs.h.  */
   16148 int i;
   16149 int
   16150 main (void)
   16151 {
   16152 
   16153   ;
   16154   return 0;
   16155 }
   16156 _ACEOF
   16157 if ac_fn_c_try_link "$LINENO"
   16158 then :
   16159   eval $cacheid=yes
   16160 else $as_nop
   16161   eval $cacheid=no
   16162 fi
   16163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16164     conftest$ac_exeext conftest.$ac_ext
   16165 fi
   16166 
   16167 
   16168 		CFLAGS="$xorg_testset_save_CFLAGS"
   16169 
   16170 		eval supported=\$$cacheid
   16171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16172 printf "%s\n" "$supported" >&6; }
   16173 		if test "$supported" = "yes" ; then
   16174 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16175 			found="yes"
   16176 		fi
   16177 	fi
   16178 
   16179 	if test $found = "no" ; then
   16180 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16182 		fi
   16183 
   16184 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16186 		fi
   16187 
   16188 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16189 
   16190 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16191 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16192 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16193 		if eval test \${$cacheid+y}
   16194 then :
   16195   printf %s "(cached) " >&6
   16196 else $as_nop
   16197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16198 /* end confdefs.h.  */
   16199 int i;
   16200 int
   16201 main (void)
   16202 {
   16203 
   16204   ;
   16205   return 0;
   16206 }
   16207 _ACEOF
   16208 if ac_fn_c_try_link "$LINENO"
   16209 then :
   16210   eval $cacheid=yes
   16211 else $as_nop
   16212   eval $cacheid=no
   16213 fi
   16214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16215     conftest$ac_exeext conftest.$ac_ext
   16216 fi
   16217 
   16218 
   16219 		CFLAGS="$xorg_testset_save_CFLAGS"
   16220 
   16221 		eval supported=\$$cacheid
   16222 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16223 printf "%s\n" "$supported" >&6; }
   16224 		if test "$supported" = "yes" ; then
   16225 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16226 			found="yes"
   16227 		fi
   16228 	fi
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 
   16242 
   16243 
   16244 xorg_testset_save_CFLAGS="$CFLAGS"
   16245 
   16246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16248 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16249 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16250 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16251 then :
   16252   printf %s "(cached) " >&6
   16253 else $as_nop
   16254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16255 /* end confdefs.h.  */
   16256 int i;
   16257 _ACEOF
   16258 if ac_fn_c_try_compile "$LINENO"
   16259 then :
   16260   xorg_cv_cc_flag_unknown_warning_option=yes
   16261 else $as_nop
   16262   xorg_cv_cc_flag_unknown_warning_option=no
   16263 fi
   16264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16265 fi
   16266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16267 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16269 	CFLAGS="$xorg_testset_save_CFLAGS"
   16270 fi
   16271 
   16272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16275 	fi
   16276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16277 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16278 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16279 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16280 then :
   16281   printf %s "(cached) " >&6
   16282 else $as_nop
   16283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16284 /* end confdefs.h.  */
   16285 int i;
   16286 _ACEOF
   16287 if ac_fn_c_try_compile "$LINENO"
   16288 then :
   16289   xorg_cv_cc_flag_unused_command_line_argument=yes
   16290 else $as_nop
   16291   xorg_cv_cc_flag_unused_command_line_argument=no
   16292 fi
   16293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16294 fi
   16295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16296 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16297 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16298 	CFLAGS="$xorg_testset_save_CFLAGS"
   16299 fi
   16300 
   16301 found="no"
   16302 
   16303 	if test $found = "no" ; then
   16304 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16305 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16306 		fi
   16307 
   16308 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16309 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16310 		fi
   16311 
   16312 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16313 
   16314 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16315 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16316 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16317 		if eval test \${$cacheid+y}
   16318 then :
   16319   printf %s "(cached) " >&6
   16320 else $as_nop
   16321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16322 /* end confdefs.h.  */
   16323 int i;
   16324 int
   16325 main (void)
   16326 {
   16327 
   16328   ;
   16329   return 0;
   16330 }
   16331 _ACEOF
   16332 if ac_fn_c_try_link "$LINENO"
   16333 then :
   16334   eval $cacheid=yes
   16335 else $as_nop
   16336   eval $cacheid=no
   16337 fi
   16338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16339     conftest$ac_exeext conftest.$ac_ext
   16340 fi
   16341 
   16342 
   16343 		CFLAGS="$xorg_testset_save_CFLAGS"
   16344 
   16345 		eval supported=\$$cacheid
   16346 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16347 printf "%s\n" "$supported" >&6; }
   16348 		if test "$supported" = "yes" ; then
   16349 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16350 			found="yes"
   16351 		fi
   16352 	fi
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 
   16360 
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 
   16368 xorg_testset_save_CFLAGS="$CFLAGS"
   16369 
   16370 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16371 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16372 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16373 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16374 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16375 then :
   16376   printf %s "(cached) " >&6
   16377 else $as_nop
   16378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16379 /* end confdefs.h.  */
   16380 int i;
   16381 _ACEOF
   16382 if ac_fn_c_try_compile "$LINENO"
   16383 then :
   16384   xorg_cv_cc_flag_unknown_warning_option=yes
   16385 else $as_nop
   16386   xorg_cv_cc_flag_unknown_warning_option=no
   16387 fi
   16388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16389 fi
   16390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16391 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16392 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16393 	CFLAGS="$xorg_testset_save_CFLAGS"
   16394 fi
   16395 
   16396 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16397 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16398 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16399 	fi
   16400 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16401 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16402 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16403 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16404 then :
   16405   printf %s "(cached) " >&6
   16406 else $as_nop
   16407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16408 /* end confdefs.h.  */
   16409 int i;
   16410 _ACEOF
   16411 if ac_fn_c_try_compile "$LINENO"
   16412 then :
   16413   xorg_cv_cc_flag_unused_command_line_argument=yes
   16414 else $as_nop
   16415   xorg_cv_cc_flag_unused_command_line_argument=no
   16416 fi
   16417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16418 fi
   16419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16420 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16421 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16422 	CFLAGS="$xorg_testset_save_CFLAGS"
   16423 fi
   16424 
   16425 found="no"
   16426 
   16427 	if test $found = "no" ; then
   16428 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16429 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16430 		fi
   16431 
   16432 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16433 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16434 		fi
   16435 
   16436 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16437 
   16438 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16439 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16440 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16441 		if eval test \${$cacheid+y}
   16442 then :
   16443   printf %s "(cached) " >&6
   16444 else $as_nop
   16445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16446 /* end confdefs.h.  */
   16447 int i;
   16448 int
   16449 main (void)
   16450 {
   16451 
   16452   ;
   16453   return 0;
   16454 }
   16455 _ACEOF
   16456 if ac_fn_c_try_link "$LINENO"
   16457 then :
   16458   eval $cacheid=yes
   16459 else $as_nop
   16460   eval $cacheid=no
   16461 fi
   16462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16463     conftest$ac_exeext conftest.$ac_ext
   16464 fi
   16465 
   16466 
   16467 		CFLAGS="$xorg_testset_save_CFLAGS"
   16468 
   16469 		eval supported=\$$cacheid
   16470 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16471 printf "%s\n" "$supported" >&6; }
   16472 		if test "$supported" = "yes" ; then
   16473 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16474 			found="yes"
   16475 		fi
   16476 	fi
   16477 
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 
   16484 
   16485 
   16486 
   16487 
   16488 
   16489 
   16490 
   16491 
   16492 xorg_testset_save_CFLAGS="$CFLAGS"
   16493 
   16494 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16495 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16496 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16497 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16498 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16499 then :
   16500   printf %s "(cached) " >&6
   16501 else $as_nop
   16502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16503 /* end confdefs.h.  */
   16504 int i;
   16505 _ACEOF
   16506 if ac_fn_c_try_compile "$LINENO"
   16507 then :
   16508   xorg_cv_cc_flag_unknown_warning_option=yes
   16509 else $as_nop
   16510   xorg_cv_cc_flag_unknown_warning_option=no
   16511 fi
   16512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16513 fi
   16514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16515 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16517 	CFLAGS="$xorg_testset_save_CFLAGS"
   16518 fi
   16519 
   16520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16523 	fi
   16524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16525 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16526 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16527 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16528 then :
   16529   printf %s "(cached) " >&6
   16530 else $as_nop
   16531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16532 /* end confdefs.h.  */
   16533 int i;
   16534 _ACEOF
   16535 if ac_fn_c_try_compile "$LINENO"
   16536 then :
   16537   xorg_cv_cc_flag_unused_command_line_argument=yes
   16538 else $as_nop
   16539   xorg_cv_cc_flag_unused_command_line_argument=no
   16540 fi
   16541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16542 fi
   16543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16544 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16546 	CFLAGS="$xorg_testset_save_CFLAGS"
   16547 fi
   16548 
   16549 found="no"
   16550 
   16551 	if test $found = "no" ; then
   16552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16554 		fi
   16555 
   16556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16558 		fi
   16559 
   16560 		CFLAGS="$CFLAGS -Werror=write-strings"
   16561 
   16562 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16563 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16564 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16565 		if eval test \${$cacheid+y}
   16566 then :
   16567   printf %s "(cached) " >&6
   16568 else $as_nop
   16569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16570 /* end confdefs.h.  */
   16571 int i;
   16572 int
   16573 main (void)
   16574 {
   16575 
   16576   ;
   16577   return 0;
   16578 }
   16579 _ACEOF
   16580 if ac_fn_c_try_link "$LINENO"
   16581 then :
   16582   eval $cacheid=yes
   16583 else $as_nop
   16584   eval $cacheid=no
   16585 fi
   16586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16587     conftest$ac_exeext conftest.$ac_ext
   16588 fi
   16589 
   16590 
   16591 		CFLAGS="$xorg_testset_save_CFLAGS"
   16592 
   16593 		eval supported=\$$cacheid
   16594 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16595 printf "%s\n" "$supported" >&6; }
   16596 		if test "$supported" = "yes" ; then
   16597 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16598 			found="yes"
   16599 		fi
   16600 	fi
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 xorg_testset_save_CFLAGS="$CFLAGS"
   16617 
   16618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16620 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16621 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16622 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16623 then :
   16624   printf %s "(cached) " >&6
   16625 else $as_nop
   16626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16627 /* end confdefs.h.  */
   16628 int i;
   16629 _ACEOF
   16630 if ac_fn_c_try_compile "$LINENO"
   16631 then :
   16632   xorg_cv_cc_flag_unknown_warning_option=yes
   16633 else $as_nop
   16634   xorg_cv_cc_flag_unknown_warning_option=no
   16635 fi
   16636 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16637 fi
   16638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16639 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16641 	CFLAGS="$xorg_testset_save_CFLAGS"
   16642 fi
   16643 
   16644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16647 	fi
   16648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16649 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16650 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16651 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16652 then :
   16653   printf %s "(cached) " >&6
   16654 else $as_nop
   16655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16656 /* end confdefs.h.  */
   16657 int i;
   16658 _ACEOF
   16659 if ac_fn_c_try_compile "$LINENO"
   16660 then :
   16661   xorg_cv_cc_flag_unused_command_line_argument=yes
   16662 else $as_nop
   16663   xorg_cv_cc_flag_unused_command_line_argument=no
   16664 fi
   16665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16666 fi
   16667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16668 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16669 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16670 	CFLAGS="$xorg_testset_save_CFLAGS"
   16671 fi
   16672 
   16673 found="no"
   16674 
   16675 	if test $found = "no" ; then
   16676 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16678 		fi
   16679 
   16680 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16682 		fi
   16683 
   16684 		CFLAGS="$CFLAGS -Werror=address"
   16685 
   16686 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16687 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16688 		cacheid=xorg_cv_cc_flag__Werror_address
   16689 		if eval test \${$cacheid+y}
   16690 then :
   16691   printf %s "(cached) " >&6
   16692 else $as_nop
   16693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16694 /* end confdefs.h.  */
   16695 int i;
   16696 int
   16697 main (void)
   16698 {
   16699 
   16700   ;
   16701   return 0;
   16702 }
   16703 _ACEOF
   16704 if ac_fn_c_try_link "$LINENO"
   16705 then :
   16706   eval $cacheid=yes
   16707 else $as_nop
   16708   eval $cacheid=no
   16709 fi
   16710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16711     conftest$ac_exeext conftest.$ac_ext
   16712 fi
   16713 
   16714 
   16715 		CFLAGS="$xorg_testset_save_CFLAGS"
   16716 
   16717 		eval supported=\$$cacheid
   16718 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16719 printf "%s\n" "$supported" >&6; }
   16720 		if test "$supported" = "yes" ; then
   16721 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16722 			found="yes"
   16723 		fi
   16724 	fi
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 xorg_testset_save_CFLAGS="$CFLAGS"
   16741 
   16742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16744 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16745 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16746 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16747 then :
   16748   printf %s "(cached) " >&6
   16749 else $as_nop
   16750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16751 /* end confdefs.h.  */
   16752 int i;
   16753 _ACEOF
   16754 if ac_fn_c_try_compile "$LINENO"
   16755 then :
   16756   xorg_cv_cc_flag_unknown_warning_option=yes
   16757 else $as_nop
   16758   xorg_cv_cc_flag_unknown_warning_option=no
   16759 fi
   16760 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16761 fi
   16762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16763 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16765 	CFLAGS="$xorg_testset_save_CFLAGS"
   16766 fi
   16767 
   16768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16771 	fi
   16772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16774 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16775 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16776 then :
   16777   printf %s "(cached) " >&6
   16778 else $as_nop
   16779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16780 /* end confdefs.h.  */
   16781 int i;
   16782 _ACEOF
   16783 if ac_fn_c_try_compile "$LINENO"
   16784 then :
   16785   xorg_cv_cc_flag_unused_command_line_argument=yes
   16786 else $as_nop
   16787   xorg_cv_cc_flag_unused_command_line_argument=no
   16788 fi
   16789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16790 fi
   16791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16792 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16793 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16794 	CFLAGS="$xorg_testset_save_CFLAGS"
   16795 fi
   16796 
   16797 found="no"
   16798 
   16799 	if test $found = "no" ; then
   16800 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16802 		fi
   16803 
   16804 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16806 		fi
   16807 
   16808 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16809 
   16810 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16811 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16812 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16813 		if eval test \${$cacheid+y}
   16814 then :
   16815   printf %s "(cached) " >&6
   16816 else $as_nop
   16817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16818 /* end confdefs.h.  */
   16819 int i;
   16820 int
   16821 main (void)
   16822 {
   16823 
   16824   ;
   16825   return 0;
   16826 }
   16827 _ACEOF
   16828 if ac_fn_c_try_link "$LINENO"
   16829 then :
   16830   eval $cacheid=yes
   16831 else $as_nop
   16832   eval $cacheid=no
   16833 fi
   16834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16835     conftest$ac_exeext conftest.$ac_ext
   16836 fi
   16837 
   16838 
   16839 		CFLAGS="$xorg_testset_save_CFLAGS"
   16840 
   16841 		eval supported=\$$cacheid
   16842 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16843 printf "%s\n" "$supported" >&6; }
   16844 		if test "$supported" = "yes" ; then
   16845 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16846 			found="yes"
   16847 		fi
   16848 	fi
   16849 
   16850 	if test $found = "no" ; then
   16851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16853 		fi
   16854 
   16855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16857 		fi
   16858 
   16859 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16860 
   16861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16862 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16863 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16864 		if eval test \${$cacheid+y}
   16865 then :
   16866   printf %s "(cached) " >&6
   16867 else $as_nop
   16868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16869 /* end confdefs.h.  */
   16870 int i;
   16871 int
   16872 main (void)
   16873 {
   16874 
   16875   ;
   16876   return 0;
   16877 }
   16878 _ACEOF
   16879 if ac_fn_c_try_link "$LINENO"
   16880 then :
   16881   eval $cacheid=yes
   16882 else $as_nop
   16883   eval $cacheid=no
   16884 fi
   16885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16886     conftest$ac_exeext conftest.$ac_ext
   16887 fi
   16888 
   16889 
   16890 		CFLAGS="$xorg_testset_save_CFLAGS"
   16891 
   16892 		eval supported=\$$cacheid
   16893 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16894 printf "%s\n" "$supported" >&6; }
   16895 		if test "$supported" = "yes" ; then
   16896 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16897 			found="yes"
   16898 		fi
   16899 	fi
   16900 
   16901 
   16902 
   16903 
   16904 
   16905 
   16906 
   16907 
   16908 
   16909 
   16910 
   16911 
   16912 
   16913 
   16914 
   16915 xorg_testset_save_CFLAGS="$CFLAGS"
   16916 
   16917 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16918 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16919 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16920 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16921 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16922 then :
   16923   printf %s "(cached) " >&6
   16924 else $as_nop
   16925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16926 /* end confdefs.h.  */
   16927 int i;
   16928 _ACEOF
   16929 if ac_fn_c_try_compile "$LINENO"
   16930 then :
   16931   xorg_cv_cc_flag_unknown_warning_option=yes
   16932 else $as_nop
   16933   xorg_cv_cc_flag_unknown_warning_option=no
   16934 fi
   16935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16936 fi
   16937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16938 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16940 	CFLAGS="$xorg_testset_save_CFLAGS"
   16941 fi
   16942 
   16943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16946 	fi
   16947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16949 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16950 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16951 then :
   16952   printf %s "(cached) " >&6
   16953 else $as_nop
   16954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16955 /* end confdefs.h.  */
   16956 int i;
   16957 _ACEOF
   16958 if ac_fn_c_try_compile "$LINENO"
   16959 then :
   16960   xorg_cv_cc_flag_unused_command_line_argument=yes
   16961 else $as_nop
   16962   xorg_cv_cc_flag_unused_command_line_argument=no
   16963 fi
   16964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16965 fi
   16966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16967 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16969 	CFLAGS="$xorg_testset_save_CFLAGS"
   16970 fi
   16971 
   16972 found="no"
   16973 
   16974 	if test $found = "no" ; then
   16975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16977 		fi
   16978 
   16979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16981 		fi
   16982 
   16983 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16984 
   16985 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16986 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16987 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16988 		if eval test \${$cacheid+y}
   16989 then :
   16990   printf %s "(cached) " >&6
   16991 else $as_nop
   16992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16993 /* end confdefs.h.  */
   16994 int i;
   16995 int
   16996 main (void)
   16997 {
   16998 
   16999   ;
   17000   return 0;
   17001 }
   17002 _ACEOF
   17003 if ac_fn_c_try_link "$LINENO"
   17004 then :
   17005   eval $cacheid=yes
   17006 else $as_nop
   17007   eval $cacheid=no
   17008 fi
   17009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17010     conftest$ac_exeext conftest.$ac_ext
   17011 fi
   17012 
   17013 
   17014 		CFLAGS="$xorg_testset_save_CFLAGS"
   17015 
   17016 		eval supported=\$$cacheid
   17017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17018 printf "%s\n" "$supported" >&6; }
   17019 		if test "$supported" = "yes" ; then
   17020 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17021 			found="yes"
   17022 		fi
   17023 	fi
   17024 
   17025  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17026 else
   17027 { 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
   17028 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;}
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 xorg_testset_save_CFLAGS="$CFLAGS"
   17043 
   17044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17046 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17047 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17048 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17049 then :
   17050   printf %s "(cached) " >&6
   17051 else $as_nop
   17052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17053 /* end confdefs.h.  */
   17054 int i;
   17055 _ACEOF
   17056 if ac_fn_c_try_compile "$LINENO"
   17057 then :
   17058   xorg_cv_cc_flag_unknown_warning_option=yes
   17059 else $as_nop
   17060   xorg_cv_cc_flag_unknown_warning_option=no
   17061 fi
   17062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17063 fi
   17064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17065 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17066 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17067 	CFLAGS="$xorg_testset_save_CFLAGS"
   17068 fi
   17069 
   17070 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17071 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17072 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17073 	fi
   17074 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17075 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17076 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17077 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17078 then :
   17079   printf %s "(cached) " >&6
   17080 else $as_nop
   17081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17082 /* end confdefs.h.  */
   17083 int i;
   17084 _ACEOF
   17085 if ac_fn_c_try_compile "$LINENO"
   17086 then :
   17087   xorg_cv_cc_flag_unused_command_line_argument=yes
   17088 else $as_nop
   17089   xorg_cv_cc_flag_unused_command_line_argument=no
   17090 fi
   17091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17092 fi
   17093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17094 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17096 	CFLAGS="$xorg_testset_save_CFLAGS"
   17097 fi
   17098 
   17099 found="no"
   17100 
   17101 	if test $found = "no" ; then
   17102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17104 		fi
   17105 
   17106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17108 		fi
   17109 
   17110 		CFLAGS="$CFLAGS -Wimplicit"
   17111 
   17112 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17113 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17114 		cacheid=xorg_cv_cc_flag__Wimplicit
   17115 		if eval test \${$cacheid+y}
   17116 then :
   17117   printf %s "(cached) " >&6
   17118 else $as_nop
   17119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17120 /* end confdefs.h.  */
   17121 int i;
   17122 int
   17123 main (void)
   17124 {
   17125 
   17126   ;
   17127   return 0;
   17128 }
   17129 _ACEOF
   17130 if ac_fn_c_try_link "$LINENO"
   17131 then :
   17132   eval $cacheid=yes
   17133 else $as_nop
   17134   eval $cacheid=no
   17135 fi
   17136 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17137     conftest$ac_exeext conftest.$ac_ext
   17138 fi
   17139 
   17140 
   17141 		CFLAGS="$xorg_testset_save_CFLAGS"
   17142 
   17143 		eval supported=\$$cacheid
   17144 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17145 printf "%s\n" "$supported" >&6; }
   17146 		if test "$supported" = "yes" ; then
   17147 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17148 			found="yes"
   17149 		fi
   17150 	fi
   17151 
   17152 
   17153 
   17154 
   17155 
   17156 
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 xorg_testset_save_CFLAGS="$CFLAGS"
   17167 
   17168 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17169 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17170 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17171 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17172 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17173 then :
   17174   printf %s "(cached) " >&6
   17175 else $as_nop
   17176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17177 /* end confdefs.h.  */
   17178 int i;
   17179 _ACEOF
   17180 if ac_fn_c_try_compile "$LINENO"
   17181 then :
   17182   xorg_cv_cc_flag_unknown_warning_option=yes
   17183 else $as_nop
   17184   xorg_cv_cc_flag_unknown_warning_option=no
   17185 fi
   17186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17187 fi
   17188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17189 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17191 	CFLAGS="$xorg_testset_save_CFLAGS"
   17192 fi
   17193 
   17194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17197 	fi
   17198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17200 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17201 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17202 then :
   17203   printf %s "(cached) " >&6
   17204 else $as_nop
   17205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17206 /* end confdefs.h.  */
   17207 int i;
   17208 _ACEOF
   17209 if ac_fn_c_try_compile "$LINENO"
   17210 then :
   17211   xorg_cv_cc_flag_unused_command_line_argument=yes
   17212 else $as_nop
   17213   xorg_cv_cc_flag_unused_command_line_argument=no
   17214 fi
   17215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17216 fi
   17217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17218 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17220 	CFLAGS="$xorg_testset_save_CFLAGS"
   17221 fi
   17222 
   17223 found="no"
   17224 
   17225 	if test $found = "no" ; then
   17226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17228 		fi
   17229 
   17230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17232 		fi
   17233 
   17234 		CFLAGS="$CFLAGS -Wnonnull"
   17235 
   17236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17237 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17238 		cacheid=xorg_cv_cc_flag__Wnonnull
   17239 		if eval test \${$cacheid+y}
   17240 then :
   17241   printf %s "(cached) " >&6
   17242 else $as_nop
   17243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17244 /* end confdefs.h.  */
   17245 int i;
   17246 int
   17247 main (void)
   17248 {
   17249 
   17250   ;
   17251   return 0;
   17252 }
   17253 _ACEOF
   17254 if ac_fn_c_try_link "$LINENO"
   17255 then :
   17256   eval $cacheid=yes
   17257 else $as_nop
   17258   eval $cacheid=no
   17259 fi
   17260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17261     conftest$ac_exeext conftest.$ac_ext
   17262 fi
   17263 
   17264 
   17265 		CFLAGS="$xorg_testset_save_CFLAGS"
   17266 
   17267 		eval supported=\$$cacheid
   17268 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17269 printf "%s\n" "$supported" >&6; }
   17270 		if test "$supported" = "yes" ; then
   17271 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17272 			found="yes"
   17273 		fi
   17274 	fi
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 xorg_testset_save_CFLAGS="$CFLAGS"
   17291 
   17292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17294 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17295 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17296 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17297 then :
   17298   printf %s "(cached) " >&6
   17299 else $as_nop
   17300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17301 /* end confdefs.h.  */
   17302 int i;
   17303 _ACEOF
   17304 if ac_fn_c_try_compile "$LINENO"
   17305 then :
   17306   xorg_cv_cc_flag_unknown_warning_option=yes
   17307 else $as_nop
   17308   xorg_cv_cc_flag_unknown_warning_option=no
   17309 fi
   17310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17311 fi
   17312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17313 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17314 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17315 	CFLAGS="$xorg_testset_save_CFLAGS"
   17316 fi
   17317 
   17318 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17319 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17320 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17321 	fi
   17322 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17323 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17324 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17325 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17326 then :
   17327   printf %s "(cached) " >&6
   17328 else $as_nop
   17329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17330 /* end confdefs.h.  */
   17331 int i;
   17332 _ACEOF
   17333 if ac_fn_c_try_compile "$LINENO"
   17334 then :
   17335   xorg_cv_cc_flag_unused_command_line_argument=yes
   17336 else $as_nop
   17337   xorg_cv_cc_flag_unused_command_line_argument=no
   17338 fi
   17339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17340 fi
   17341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17342 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17344 	CFLAGS="$xorg_testset_save_CFLAGS"
   17345 fi
   17346 
   17347 found="no"
   17348 
   17349 	if test $found = "no" ; then
   17350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17352 		fi
   17353 
   17354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17356 		fi
   17357 
   17358 		CFLAGS="$CFLAGS -Winit-self"
   17359 
   17360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17361 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17362 		cacheid=xorg_cv_cc_flag__Winit_self
   17363 		if eval test \${$cacheid+y}
   17364 then :
   17365   printf %s "(cached) " >&6
   17366 else $as_nop
   17367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17368 /* end confdefs.h.  */
   17369 int i;
   17370 int
   17371 main (void)
   17372 {
   17373 
   17374   ;
   17375   return 0;
   17376 }
   17377 _ACEOF
   17378 if ac_fn_c_try_link "$LINENO"
   17379 then :
   17380   eval $cacheid=yes
   17381 else $as_nop
   17382   eval $cacheid=no
   17383 fi
   17384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17385     conftest$ac_exeext conftest.$ac_ext
   17386 fi
   17387 
   17388 
   17389 		CFLAGS="$xorg_testset_save_CFLAGS"
   17390 
   17391 		eval supported=\$$cacheid
   17392 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17393 printf "%s\n" "$supported" >&6; }
   17394 		if test "$supported" = "yes" ; then
   17395 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17396 			found="yes"
   17397 		fi
   17398 	fi
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 
   17412 
   17413 
   17414 xorg_testset_save_CFLAGS="$CFLAGS"
   17415 
   17416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17418 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17419 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17420 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17421 then :
   17422   printf %s "(cached) " >&6
   17423 else $as_nop
   17424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17425 /* end confdefs.h.  */
   17426 int i;
   17427 _ACEOF
   17428 if ac_fn_c_try_compile "$LINENO"
   17429 then :
   17430   xorg_cv_cc_flag_unknown_warning_option=yes
   17431 else $as_nop
   17432   xorg_cv_cc_flag_unknown_warning_option=no
   17433 fi
   17434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17435 fi
   17436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17437 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17438 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17439 	CFLAGS="$xorg_testset_save_CFLAGS"
   17440 fi
   17441 
   17442 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17443 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17444 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17445 	fi
   17446 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17447 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17448 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17449 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17450 then :
   17451   printf %s "(cached) " >&6
   17452 else $as_nop
   17453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17454 /* end confdefs.h.  */
   17455 int i;
   17456 _ACEOF
   17457 if ac_fn_c_try_compile "$LINENO"
   17458 then :
   17459   xorg_cv_cc_flag_unused_command_line_argument=yes
   17460 else $as_nop
   17461   xorg_cv_cc_flag_unused_command_line_argument=no
   17462 fi
   17463 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17464 fi
   17465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17466 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17467 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17468 	CFLAGS="$xorg_testset_save_CFLAGS"
   17469 fi
   17470 
   17471 found="no"
   17472 
   17473 	if test $found = "no" ; then
   17474 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17475 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17476 		fi
   17477 
   17478 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17479 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17480 		fi
   17481 
   17482 		CFLAGS="$CFLAGS -Wmain"
   17483 
   17484 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17485 printf %s "checking if $CC supports -Wmain... " >&6; }
   17486 		cacheid=xorg_cv_cc_flag__Wmain
   17487 		if eval test \${$cacheid+y}
   17488 then :
   17489   printf %s "(cached) " >&6
   17490 else $as_nop
   17491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17492 /* end confdefs.h.  */
   17493 int i;
   17494 int
   17495 main (void)
   17496 {
   17497 
   17498   ;
   17499   return 0;
   17500 }
   17501 _ACEOF
   17502 if ac_fn_c_try_link "$LINENO"
   17503 then :
   17504   eval $cacheid=yes
   17505 else $as_nop
   17506   eval $cacheid=no
   17507 fi
   17508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17509     conftest$ac_exeext conftest.$ac_ext
   17510 fi
   17511 
   17512 
   17513 		CFLAGS="$xorg_testset_save_CFLAGS"
   17514 
   17515 		eval supported=\$$cacheid
   17516 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17517 printf "%s\n" "$supported" >&6; }
   17518 		if test "$supported" = "yes" ; then
   17519 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17520 			found="yes"
   17521 		fi
   17522 	fi
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 
   17530 
   17531 
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 xorg_testset_save_CFLAGS="$CFLAGS"
   17539 
   17540 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17541 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17542 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17543 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17544 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17545 then :
   17546   printf %s "(cached) " >&6
   17547 else $as_nop
   17548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17549 /* end confdefs.h.  */
   17550 int i;
   17551 _ACEOF
   17552 if ac_fn_c_try_compile "$LINENO"
   17553 then :
   17554   xorg_cv_cc_flag_unknown_warning_option=yes
   17555 else $as_nop
   17556   xorg_cv_cc_flag_unknown_warning_option=no
   17557 fi
   17558 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17559 fi
   17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17561 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17562 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17563 	CFLAGS="$xorg_testset_save_CFLAGS"
   17564 fi
   17565 
   17566 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17567 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17569 	fi
   17570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17571 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17572 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17573 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17574 then :
   17575   printf %s "(cached) " >&6
   17576 else $as_nop
   17577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17578 /* end confdefs.h.  */
   17579 int i;
   17580 _ACEOF
   17581 if ac_fn_c_try_compile "$LINENO"
   17582 then :
   17583   xorg_cv_cc_flag_unused_command_line_argument=yes
   17584 else $as_nop
   17585   xorg_cv_cc_flag_unused_command_line_argument=no
   17586 fi
   17587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17588 fi
   17589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17590 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17591 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17592 	CFLAGS="$xorg_testset_save_CFLAGS"
   17593 fi
   17594 
   17595 found="no"
   17596 
   17597 	if test $found = "no" ; then
   17598 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17599 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17600 		fi
   17601 
   17602 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17603 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17604 		fi
   17605 
   17606 		CFLAGS="$CFLAGS -Wmissing-braces"
   17607 
   17608 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17609 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17610 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17611 		if eval test \${$cacheid+y}
   17612 then :
   17613   printf %s "(cached) " >&6
   17614 else $as_nop
   17615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17616 /* end confdefs.h.  */
   17617 int i;
   17618 int
   17619 main (void)
   17620 {
   17621 
   17622   ;
   17623   return 0;
   17624 }
   17625 _ACEOF
   17626 if ac_fn_c_try_link "$LINENO"
   17627 then :
   17628   eval $cacheid=yes
   17629 else $as_nop
   17630   eval $cacheid=no
   17631 fi
   17632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17633     conftest$ac_exeext conftest.$ac_ext
   17634 fi
   17635 
   17636 
   17637 		CFLAGS="$xorg_testset_save_CFLAGS"
   17638 
   17639 		eval supported=\$$cacheid
   17640 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17641 printf "%s\n" "$supported" >&6; }
   17642 		if test "$supported" = "yes" ; then
   17643 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17644 			found="yes"
   17645 		fi
   17646 	fi
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 
   17661 
   17662 xorg_testset_save_CFLAGS="$CFLAGS"
   17663 
   17664 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17665 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17666 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17667 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17668 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17669 then :
   17670   printf %s "(cached) " >&6
   17671 else $as_nop
   17672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17673 /* end confdefs.h.  */
   17674 int i;
   17675 _ACEOF
   17676 if ac_fn_c_try_compile "$LINENO"
   17677 then :
   17678   xorg_cv_cc_flag_unknown_warning_option=yes
   17679 else $as_nop
   17680   xorg_cv_cc_flag_unknown_warning_option=no
   17681 fi
   17682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17683 fi
   17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17685 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17686 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17687 	CFLAGS="$xorg_testset_save_CFLAGS"
   17688 fi
   17689 
   17690 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17691 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17692 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17693 	fi
   17694 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17696 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17697 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17698 then :
   17699   printf %s "(cached) " >&6
   17700 else $as_nop
   17701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17702 /* end confdefs.h.  */
   17703 int i;
   17704 _ACEOF
   17705 if ac_fn_c_try_compile "$LINENO"
   17706 then :
   17707   xorg_cv_cc_flag_unused_command_line_argument=yes
   17708 else $as_nop
   17709   xorg_cv_cc_flag_unused_command_line_argument=no
   17710 fi
   17711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17712 fi
   17713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17714 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17715 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17716 	CFLAGS="$xorg_testset_save_CFLAGS"
   17717 fi
   17718 
   17719 found="no"
   17720 
   17721 	if test $found = "no" ; then
   17722 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17723 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17724 		fi
   17725 
   17726 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17727 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17728 		fi
   17729 
   17730 		CFLAGS="$CFLAGS -Wsequence-point"
   17731 
   17732 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17733 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17734 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17735 		if eval test \${$cacheid+y}
   17736 then :
   17737   printf %s "(cached) " >&6
   17738 else $as_nop
   17739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17740 /* end confdefs.h.  */
   17741 int i;
   17742 int
   17743 main (void)
   17744 {
   17745 
   17746   ;
   17747   return 0;
   17748 }
   17749 _ACEOF
   17750 if ac_fn_c_try_link "$LINENO"
   17751 then :
   17752   eval $cacheid=yes
   17753 else $as_nop
   17754   eval $cacheid=no
   17755 fi
   17756 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17757     conftest$ac_exeext conftest.$ac_ext
   17758 fi
   17759 
   17760 
   17761 		CFLAGS="$xorg_testset_save_CFLAGS"
   17762 
   17763 		eval supported=\$$cacheid
   17764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17765 printf "%s\n" "$supported" >&6; }
   17766 		if test "$supported" = "yes" ; then
   17767 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17768 			found="yes"
   17769 		fi
   17770 	fi
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 xorg_testset_save_CFLAGS="$CFLAGS"
   17787 
   17788 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17789 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17791 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17792 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17793 then :
   17794   printf %s "(cached) " >&6
   17795 else $as_nop
   17796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17797 /* end confdefs.h.  */
   17798 int i;
   17799 _ACEOF
   17800 if ac_fn_c_try_compile "$LINENO"
   17801 then :
   17802   xorg_cv_cc_flag_unknown_warning_option=yes
   17803 else $as_nop
   17804   xorg_cv_cc_flag_unknown_warning_option=no
   17805 fi
   17806 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17807 fi
   17808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17809 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17811 	CFLAGS="$xorg_testset_save_CFLAGS"
   17812 fi
   17813 
   17814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17817 	fi
   17818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17820 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17821 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17822 then :
   17823   printf %s "(cached) " >&6
   17824 else $as_nop
   17825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17826 /* end confdefs.h.  */
   17827 int i;
   17828 _ACEOF
   17829 if ac_fn_c_try_compile "$LINENO"
   17830 then :
   17831   xorg_cv_cc_flag_unused_command_line_argument=yes
   17832 else $as_nop
   17833   xorg_cv_cc_flag_unused_command_line_argument=no
   17834 fi
   17835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17836 fi
   17837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17838 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17840 	CFLAGS="$xorg_testset_save_CFLAGS"
   17841 fi
   17842 
   17843 found="no"
   17844 
   17845 	if test $found = "no" ; then
   17846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17848 		fi
   17849 
   17850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17852 		fi
   17853 
   17854 		CFLAGS="$CFLAGS -Wreturn-type"
   17855 
   17856 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17857 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17858 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17859 		if eval test \${$cacheid+y}
   17860 then :
   17861   printf %s "(cached) " >&6
   17862 else $as_nop
   17863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17864 /* end confdefs.h.  */
   17865 int i;
   17866 int
   17867 main (void)
   17868 {
   17869 
   17870   ;
   17871   return 0;
   17872 }
   17873 _ACEOF
   17874 if ac_fn_c_try_link "$LINENO"
   17875 then :
   17876   eval $cacheid=yes
   17877 else $as_nop
   17878   eval $cacheid=no
   17879 fi
   17880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17881     conftest$ac_exeext conftest.$ac_ext
   17882 fi
   17883 
   17884 
   17885 		CFLAGS="$xorg_testset_save_CFLAGS"
   17886 
   17887 		eval supported=\$$cacheid
   17888 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17889 printf "%s\n" "$supported" >&6; }
   17890 		if test "$supported" = "yes" ; then
   17891 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17892 			found="yes"
   17893 		fi
   17894 	fi
   17895 
   17896 
   17897 
   17898 
   17899 
   17900 
   17901 
   17902 
   17903 
   17904 
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 xorg_testset_save_CFLAGS="$CFLAGS"
   17911 
   17912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17915 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17916 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17917 then :
   17918   printf %s "(cached) " >&6
   17919 else $as_nop
   17920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17921 /* end confdefs.h.  */
   17922 int i;
   17923 _ACEOF
   17924 if ac_fn_c_try_compile "$LINENO"
   17925 then :
   17926   xorg_cv_cc_flag_unknown_warning_option=yes
   17927 else $as_nop
   17928   xorg_cv_cc_flag_unknown_warning_option=no
   17929 fi
   17930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17931 fi
   17932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17933 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17935 	CFLAGS="$xorg_testset_save_CFLAGS"
   17936 fi
   17937 
   17938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17941 	fi
   17942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17944 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17945 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17946 then :
   17947   printf %s "(cached) " >&6
   17948 else $as_nop
   17949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17950 /* end confdefs.h.  */
   17951 int i;
   17952 _ACEOF
   17953 if ac_fn_c_try_compile "$LINENO"
   17954 then :
   17955   xorg_cv_cc_flag_unused_command_line_argument=yes
   17956 else $as_nop
   17957   xorg_cv_cc_flag_unused_command_line_argument=no
   17958 fi
   17959 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17960 fi
   17961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17962 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17964 	CFLAGS="$xorg_testset_save_CFLAGS"
   17965 fi
   17966 
   17967 found="no"
   17968 
   17969 	if test $found = "no" ; then
   17970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17972 		fi
   17973 
   17974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17976 		fi
   17977 
   17978 		CFLAGS="$CFLAGS -Wtrigraphs"
   17979 
   17980 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17981 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17982 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17983 		if eval test \${$cacheid+y}
   17984 then :
   17985   printf %s "(cached) " >&6
   17986 else $as_nop
   17987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17988 /* end confdefs.h.  */
   17989 int i;
   17990 int
   17991 main (void)
   17992 {
   17993 
   17994   ;
   17995   return 0;
   17996 }
   17997 _ACEOF
   17998 if ac_fn_c_try_link "$LINENO"
   17999 then :
   18000   eval $cacheid=yes
   18001 else $as_nop
   18002   eval $cacheid=no
   18003 fi
   18004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18005     conftest$ac_exeext conftest.$ac_ext
   18006 fi
   18007 
   18008 
   18009 		CFLAGS="$xorg_testset_save_CFLAGS"
   18010 
   18011 		eval supported=\$$cacheid
   18012 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18013 printf "%s\n" "$supported" >&6; }
   18014 		if test "$supported" = "yes" ; then
   18015 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18016 			found="yes"
   18017 		fi
   18018 	fi
   18019 
   18020 
   18021 
   18022 
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 
   18031 
   18032 
   18033 
   18034 xorg_testset_save_CFLAGS="$CFLAGS"
   18035 
   18036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18039 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18040 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18041 then :
   18042   printf %s "(cached) " >&6
   18043 else $as_nop
   18044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18045 /* end confdefs.h.  */
   18046 int i;
   18047 _ACEOF
   18048 if ac_fn_c_try_compile "$LINENO"
   18049 then :
   18050   xorg_cv_cc_flag_unknown_warning_option=yes
   18051 else $as_nop
   18052   xorg_cv_cc_flag_unknown_warning_option=no
   18053 fi
   18054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18055 fi
   18056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18057 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18059 	CFLAGS="$xorg_testset_save_CFLAGS"
   18060 fi
   18061 
   18062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18065 	fi
   18066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18067 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18068 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18069 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18070 then :
   18071   printf %s "(cached) " >&6
   18072 else $as_nop
   18073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18074 /* end confdefs.h.  */
   18075 int i;
   18076 _ACEOF
   18077 if ac_fn_c_try_compile "$LINENO"
   18078 then :
   18079   xorg_cv_cc_flag_unused_command_line_argument=yes
   18080 else $as_nop
   18081   xorg_cv_cc_flag_unused_command_line_argument=no
   18082 fi
   18083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18084 fi
   18085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18086 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18088 	CFLAGS="$xorg_testset_save_CFLAGS"
   18089 fi
   18090 
   18091 found="no"
   18092 
   18093 	if test $found = "no" ; then
   18094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18096 		fi
   18097 
   18098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18100 		fi
   18101 
   18102 		CFLAGS="$CFLAGS -Warray-bounds"
   18103 
   18104 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18105 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18106 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18107 		if eval test \${$cacheid+y}
   18108 then :
   18109   printf %s "(cached) " >&6
   18110 else $as_nop
   18111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18112 /* end confdefs.h.  */
   18113 int i;
   18114 int
   18115 main (void)
   18116 {
   18117 
   18118   ;
   18119   return 0;
   18120 }
   18121 _ACEOF
   18122 if ac_fn_c_try_link "$LINENO"
   18123 then :
   18124   eval $cacheid=yes
   18125 else $as_nop
   18126   eval $cacheid=no
   18127 fi
   18128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18129     conftest$ac_exeext conftest.$ac_ext
   18130 fi
   18131 
   18132 
   18133 		CFLAGS="$xorg_testset_save_CFLAGS"
   18134 
   18135 		eval supported=\$$cacheid
   18136 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18137 printf "%s\n" "$supported" >&6; }
   18138 		if test "$supported" = "yes" ; then
   18139 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18140 			found="yes"
   18141 		fi
   18142 	fi
   18143 
   18144 
   18145 
   18146 
   18147 
   18148 
   18149 
   18150 
   18151 
   18152 
   18153 
   18154 
   18155 
   18156 
   18157 
   18158 xorg_testset_save_CFLAGS="$CFLAGS"
   18159 
   18160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18163 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18164 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18165 then :
   18166   printf %s "(cached) " >&6
   18167 else $as_nop
   18168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18169 /* end confdefs.h.  */
   18170 int i;
   18171 _ACEOF
   18172 if ac_fn_c_try_compile "$LINENO"
   18173 then :
   18174   xorg_cv_cc_flag_unknown_warning_option=yes
   18175 else $as_nop
   18176   xorg_cv_cc_flag_unknown_warning_option=no
   18177 fi
   18178 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18179 fi
   18180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18181 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18183 	CFLAGS="$xorg_testset_save_CFLAGS"
   18184 fi
   18185 
   18186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18189 	fi
   18190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18192 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18193 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18194 then :
   18195   printf %s "(cached) " >&6
   18196 else $as_nop
   18197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18198 /* end confdefs.h.  */
   18199 int i;
   18200 _ACEOF
   18201 if ac_fn_c_try_compile "$LINENO"
   18202 then :
   18203   xorg_cv_cc_flag_unused_command_line_argument=yes
   18204 else $as_nop
   18205   xorg_cv_cc_flag_unused_command_line_argument=no
   18206 fi
   18207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18208 fi
   18209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18210 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18211 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18212 	CFLAGS="$xorg_testset_save_CFLAGS"
   18213 fi
   18214 
   18215 found="no"
   18216 
   18217 	if test $found = "no" ; then
   18218 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18219 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18220 		fi
   18221 
   18222 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18223 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18224 		fi
   18225 
   18226 		CFLAGS="$CFLAGS -Wwrite-strings"
   18227 
   18228 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18229 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18230 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18231 		if eval test \${$cacheid+y}
   18232 then :
   18233   printf %s "(cached) " >&6
   18234 else $as_nop
   18235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18236 /* end confdefs.h.  */
   18237 int i;
   18238 int
   18239 main (void)
   18240 {
   18241 
   18242   ;
   18243   return 0;
   18244 }
   18245 _ACEOF
   18246 if ac_fn_c_try_link "$LINENO"
   18247 then :
   18248   eval $cacheid=yes
   18249 else $as_nop
   18250   eval $cacheid=no
   18251 fi
   18252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18253     conftest$ac_exeext conftest.$ac_ext
   18254 fi
   18255 
   18256 
   18257 		CFLAGS="$xorg_testset_save_CFLAGS"
   18258 
   18259 		eval supported=\$$cacheid
   18260 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18261 printf "%s\n" "$supported" >&6; }
   18262 		if test "$supported" = "yes" ; then
   18263 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18264 			found="yes"
   18265 		fi
   18266 	fi
   18267 
   18268 
   18269 
   18270 
   18271 
   18272 
   18273 
   18274 
   18275 
   18276 
   18277 
   18278 
   18279 
   18280 
   18281 
   18282 xorg_testset_save_CFLAGS="$CFLAGS"
   18283 
   18284 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18285 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18286 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18287 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18288 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18289 then :
   18290   printf %s "(cached) " >&6
   18291 else $as_nop
   18292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18293 /* end confdefs.h.  */
   18294 int i;
   18295 _ACEOF
   18296 if ac_fn_c_try_compile "$LINENO"
   18297 then :
   18298   xorg_cv_cc_flag_unknown_warning_option=yes
   18299 else $as_nop
   18300   xorg_cv_cc_flag_unknown_warning_option=no
   18301 fi
   18302 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18303 fi
   18304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18305 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18307 	CFLAGS="$xorg_testset_save_CFLAGS"
   18308 fi
   18309 
   18310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18313 	fi
   18314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18315 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18316 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18317 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18318 then :
   18319   printf %s "(cached) " >&6
   18320 else $as_nop
   18321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18322 /* end confdefs.h.  */
   18323 int i;
   18324 _ACEOF
   18325 if ac_fn_c_try_compile "$LINENO"
   18326 then :
   18327   xorg_cv_cc_flag_unused_command_line_argument=yes
   18328 else $as_nop
   18329   xorg_cv_cc_flag_unused_command_line_argument=no
   18330 fi
   18331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18332 fi
   18333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18334 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18335 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18336 	CFLAGS="$xorg_testset_save_CFLAGS"
   18337 fi
   18338 
   18339 found="no"
   18340 
   18341 	if test $found = "no" ; then
   18342 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18343 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18344 		fi
   18345 
   18346 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18347 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18348 		fi
   18349 
   18350 		CFLAGS="$CFLAGS -Waddress"
   18351 
   18352 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18353 printf %s "checking if $CC supports -Waddress... " >&6; }
   18354 		cacheid=xorg_cv_cc_flag__Waddress
   18355 		if eval test \${$cacheid+y}
   18356 then :
   18357   printf %s "(cached) " >&6
   18358 else $as_nop
   18359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18360 /* end confdefs.h.  */
   18361 int i;
   18362 int
   18363 main (void)
   18364 {
   18365 
   18366   ;
   18367   return 0;
   18368 }
   18369 _ACEOF
   18370 if ac_fn_c_try_link "$LINENO"
   18371 then :
   18372   eval $cacheid=yes
   18373 else $as_nop
   18374   eval $cacheid=no
   18375 fi
   18376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18377     conftest$ac_exeext conftest.$ac_ext
   18378 fi
   18379 
   18380 
   18381 		CFLAGS="$xorg_testset_save_CFLAGS"
   18382 
   18383 		eval supported=\$$cacheid
   18384 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18385 printf "%s\n" "$supported" >&6; }
   18386 		if test "$supported" = "yes" ; then
   18387 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18388 			found="yes"
   18389 		fi
   18390 	fi
   18391 
   18392 
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 
   18402 
   18403 
   18404 
   18405 
   18406 xorg_testset_save_CFLAGS="$CFLAGS"
   18407 
   18408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18411 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18412 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18413 then :
   18414   printf %s "(cached) " >&6
   18415 else $as_nop
   18416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18417 /* end confdefs.h.  */
   18418 int i;
   18419 _ACEOF
   18420 if ac_fn_c_try_compile "$LINENO"
   18421 then :
   18422   xorg_cv_cc_flag_unknown_warning_option=yes
   18423 else $as_nop
   18424   xorg_cv_cc_flag_unknown_warning_option=no
   18425 fi
   18426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18427 fi
   18428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18429 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18431 	CFLAGS="$xorg_testset_save_CFLAGS"
   18432 fi
   18433 
   18434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18437 	fi
   18438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18439 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18440 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18441 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18442 then :
   18443   printf %s "(cached) " >&6
   18444 else $as_nop
   18445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18446 /* end confdefs.h.  */
   18447 int i;
   18448 _ACEOF
   18449 if ac_fn_c_try_compile "$LINENO"
   18450 then :
   18451   xorg_cv_cc_flag_unused_command_line_argument=yes
   18452 else $as_nop
   18453   xorg_cv_cc_flag_unused_command_line_argument=no
   18454 fi
   18455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18456 fi
   18457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18458 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18460 	CFLAGS="$xorg_testset_save_CFLAGS"
   18461 fi
   18462 
   18463 found="no"
   18464 
   18465 	if test $found = "no" ; then
   18466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18468 		fi
   18469 
   18470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18472 		fi
   18473 
   18474 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18475 
   18476 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18477 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18478 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18479 		if eval test \${$cacheid+y}
   18480 then :
   18481   printf %s "(cached) " >&6
   18482 else $as_nop
   18483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18484 /* end confdefs.h.  */
   18485 int i;
   18486 int
   18487 main (void)
   18488 {
   18489 
   18490   ;
   18491   return 0;
   18492 }
   18493 _ACEOF
   18494 if ac_fn_c_try_link "$LINENO"
   18495 then :
   18496   eval $cacheid=yes
   18497 else $as_nop
   18498   eval $cacheid=no
   18499 fi
   18500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18501     conftest$ac_exeext conftest.$ac_ext
   18502 fi
   18503 
   18504 
   18505 		CFLAGS="$xorg_testset_save_CFLAGS"
   18506 
   18507 		eval supported=\$$cacheid
   18508 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18509 printf "%s\n" "$supported" >&6; }
   18510 		if test "$supported" = "yes" ; then
   18511 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18512 			found="yes"
   18513 		fi
   18514 	fi
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 
   18523 
   18524 
   18525 
   18526 
   18527 
   18528 
   18529 
   18530 xorg_testset_save_CFLAGS="$CFLAGS"
   18531 
   18532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18535 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18536 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18537 then :
   18538   printf %s "(cached) " >&6
   18539 else $as_nop
   18540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18541 /* end confdefs.h.  */
   18542 int i;
   18543 _ACEOF
   18544 if ac_fn_c_try_compile "$LINENO"
   18545 then :
   18546   xorg_cv_cc_flag_unknown_warning_option=yes
   18547 else $as_nop
   18548   xorg_cv_cc_flag_unknown_warning_option=no
   18549 fi
   18550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18551 fi
   18552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18553 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18555 	CFLAGS="$xorg_testset_save_CFLAGS"
   18556 fi
   18557 
   18558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18561 	fi
   18562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18563 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18564 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18565 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18566 then :
   18567   printf %s "(cached) " >&6
   18568 else $as_nop
   18569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18570 /* end confdefs.h.  */
   18571 int i;
   18572 _ACEOF
   18573 if ac_fn_c_try_compile "$LINENO"
   18574 then :
   18575   xorg_cv_cc_flag_unused_command_line_argument=yes
   18576 else $as_nop
   18577   xorg_cv_cc_flag_unused_command_line_argument=no
   18578 fi
   18579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18580 fi
   18581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18582 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18583 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18584 	CFLAGS="$xorg_testset_save_CFLAGS"
   18585 fi
   18586 
   18587 found="no"
   18588 
   18589 	if test $found = "no" ; then
   18590 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18591 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18592 		fi
   18593 
   18594 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18595 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18596 		fi
   18597 
   18598 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18599 
   18600 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18601 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18602 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18603 		if eval test \${$cacheid+y}
   18604 then :
   18605   printf %s "(cached) " >&6
   18606 else $as_nop
   18607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18608 /* end confdefs.h.  */
   18609 int i;
   18610 int
   18611 main (void)
   18612 {
   18613 
   18614   ;
   18615   return 0;
   18616 }
   18617 _ACEOF
   18618 if ac_fn_c_try_link "$LINENO"
   18619 then :
   18620   eval $cacheid=yes
   18621 else $as_nop
   18622   eval $cacheid=no
   18623 fi
   18624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18625     conftest$ac_exeext conftest.$ac_ext
   18626 fi
   18627 
   18628 
   18629 		CFLAGS="$xorg_testset_save_CFLAGS"
   18630 
   18631 		eval supported=\$$cacheid
   18632 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18633 printf "%s\n" "$supported" >&6; }
   18634 		if test "$supported" = "yes" ; then
   18635 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18636 			found="yes"
   18637 		fi
   18638 	fi
   18639 
   18640 
   18641 fi
   18642 
   18643 
   18644 
   18645 
   18646 
   18647 
   18648 
   18649 		CWARNFLAGS="$BASE_CFLAGS"
   18650 		if  test "x$GCC" = xyes ; then
   18651 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18652 		fi
   18653 
   18654 
   18655 
   18656 
   18657 
   18658 
   18659 
   18660 
   18661 # Check whether --enable-strict-compilation was given.
   18662 if test ${enable_strict_compilation+y}
   18663 then :
   18664   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18665 else $as_nop
   18666   STRICT_COMPILE=no
   18667 fi
   18668 
   18669 
   18670 
   18671 
   18672 
   18673 
   18674 STRICT_CFLAGS=""
   18675 
   18676 
   18677 
   18678 
   18679 
   18680 
   18681 
   18682 
   18683 
   18684 
   18685 
   18686 
   18687 
   18688 xorg_testset_save_CFLAGS="$CFLAGS"
   18689 
   18690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18692 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18693 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18694 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18695 then :
   18696   printf %s "(cached) " >&6
   18697 else $as_nop
   18698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18699 /* end confdefs.h.  */
   18700 int i;
   18701 _ACEOF
   18702 if ac_fn_c_try_compile "$LINENO"
   18703 then :
   18704   xorg_cv_cc_flag_unknown_warning_option=yes
   18705 else $as_nop
   18706   xorg_cv_cc_flag_unknown_warning_option=no
   18707 fi
   18708 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18709 fi
   18710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18711 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18713 	CFLAGS="$xorg_testset_save_CFLAGS"
   18714 fi
   18715 
   18716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18719 	fi
   18720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18721 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18722 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18723 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18724 then :
   18725   printf %s "(cached) " >&6
   18726 else $as_nop
   18727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18728 /* end confdefs.h.  */
   18729 int i;
   18730 _ACEOF
   18731 if ac_fn_c_try_compile "$LINENO"
   18732 then :
   18733   xorg_cv_cc_flag_unused_command_line_argument=yes
   18734 else $as_nop
   18735   xorg_cv_cc_flag_unused_command_line_argument=no
   18736 fi
   18737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18738 fi
   18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18740 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18741 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18742 	CFLAGS="$xorg_testset_save_CFLAGS"
   18743 fi
   18744 
   18745 found="no"
   18746 
   18747 	if test $found = "no" ; then
   18748 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18749 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18750 		fi
   18751 
   18752 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18753 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18754 		fi
   18755 
   18756 		CFLAGS="$CFLAGS -pedantic"
   18757 
   18758 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18759 printf %s "checking if $CC supports -pedantic... " >&6; }
   18760 		cacheid=xorg_cv_cc_flag__pedantic
   18761 		if eval test \${$cacheid+y}
   18762 then :
   18763   printf %s "(cached) " >&6
   18764 else $as_nop
   18765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18766 /* end confdefs.h.  */
   18767 int i;
   18768 int
   18769 main (void)
   18770 {
   18771 
   18772   ;
   18773   return 0;
   18774 }
   18775 _ACEOF
   18776 if ac_fn_c_try_link "$LINENO"
   18777 then :
   18778   eval $cacheid=yes
   18779 else $as_nop
   18780   eval $cacheid=no
   18781 fi
   18782 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18783     conftest$ac_exeext conftest.$ac_ext
   18784 fi
   18785 
   18786 
   18787 		CFLAGS="$xorg_testset_save_CFLAGS"
   18788 
   18789 		eval supported=\$$cacheid
   18790 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18791 printf "%s\n" "$supported" >&6; }
   18792 		if test "$supported" = "yes" ; then
   18793 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18794 			found="yes"
   18795 		fi
   18796 	fi
   18797 
   18798 
   18799 
   18800 
   18801 
   18802 
   18803 
   18804 
   18805 
   18806 
   18807 
   18808 
   18809 
   18810 
   18811 
   18812 xorg_testset_save_CFLAGS="$CFLAGS"
   18813 
   18814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18816 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18817 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18818 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18819 then :
   18820   printf %s "(cached) " >&6
   18821 else $as_nop
   18822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18823 /* end confdefs.h.  */
   18824 int i;
   18825 _ACEOF
   18826 if ac_fn_c_try_compile "$LINENO"
   18827 then :
   18828   xorg_cv_cc_flag_unknown_warning_option=yes
   18829 else $as_nop
   18830   xorg_cv_cc_flag_unknown_warning_option=no
   18831 fi
   18832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18833 fi
   18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18835 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18837 	CFLAGS="$xorg_testset_save_CFLAGS"
   18838 fi
   18839 
   18840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18843 	fi
   18844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18845 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18846 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18847 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18848 then :
   18849   printf %s "(cached) " >&6
   18850 else $as_nop
   18851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18852 /* end confdefs.h.  */
   18853 int i;
   18854 _ACEOF
   18855 if ac_fn_c_try_compile "$LINENO"
   18856 then :
   18857   xorg_cv_cc_flag_unused_command_line_argument=yes
   18858 else $as_nop
   18859   xorg_cv_cc_flag_unused_command_line_argument=no
   18860 fi
   18861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18862 fi
   18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18864 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18866 	CFLAGS="$xorg_testset_save_CFLAGS"
   18867 fi
   18868 
   18869 found="no"
   18870 
   18871 	if test $found = "no" ; then
   18872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18874 		fi
   18875 
   18876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18878 		fi
   18879 
   18880 		CFLAGS="$CFLAGS -Werror"
   18881 
   18882 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18883 printf %s "checking if $CC supports -Werror... " >&6; }
   18884 		cacheid=xorg_cv_cc_flag__Werror
   18885 		if eval test \${$cacheid+y}
   18886 then :
   18887   printf %s "(cached) " >&6
   18888 else $as_nop
   18889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18890 /* end confdefs.h.  */
   18891 int i;
   18892 int
   18893 main (void)
   18894 {
   18895 
   18896   ;
   18897   return 0;
   18898 }
   18899 _ACEOF
   18900 if ac_fn_c_try_link "$LINENO"
   18901 then :
   18902   eval $cacheid=yes
   18903 else $as_nop
   18904   eval $cacheid=no
   18905 fi
   18906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18907     conftest$ac_exeext conftest.$ac_ext
   18908 fi
   18909 
   18910 
   18911 		CFLAGS="$xorg_testset_save_CFLAGS"
   18912 
   18913 		eval supported=\$$cacheid
   18914 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18915 printf "%s\n" "$supported" >&6; }
   18916 		if test "$supported" = "yes" ; then
   18917 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18918 			found="yes"
   18919 		fi
   18920 	fi
   18921 
   18922 	if test $found = "no" ; then
   18923 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18924 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18925 		fi
   18926 
   18927 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18928 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18929 		fi
   18930 
   18931 		CFLAGS="$CFLAGS -errwarn"
   18932 
   18933 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18934 printf %s "checking if $CC supports -errwarn... " >&6; }
   18935 		cacheid=xorg_cv_cc_flag__errwarn
   18936 		if eval test \${$cacheid+y}
   18937 then :
   18938   printf %s "(cached) " >&6
   18939 else $as_nop
   18940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18941 /* end confdefs.h.  */
   18942 int i;
   18943 int
   18944 main (void)
   18945 {
   18946 
   18947   ;
   18948   return 0;
   18949 }
   18950 _ACEOF
   18951 if ac_fn_c_try_link "$LINENO"
   18952 then :
   18953   eval $cacheid=yes
   18954 else $as_nop
   18955   eval $cacheid=no
   18956 fi
   18957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18958     conftest$ac_exeext conftest.$ac_ext
   18959 fi
   18960 
   18961 
   18962 		CFLAGS="$xorg_testset_save_CFLAGS"
   18963 
   18964 		eval supported=\$$cacheid
   18965 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18966 printf "%s\n" "$supported" >&6; }
   18967 		if test "$supported" = "yes" ; then
   18968 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18969 			found="yes"
   18970 		fi
   18971 	fi
   18972 
   18973 
   18974 
   18975 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18976 # activate it with -Werror, so we add it here explicitly.
   18977 
   18978 
   18979 
   18980 
   18981 
   18982 
   18983 
   18984 
   18985 
   18986 
   18987 
   18988 
   18989 
   18990 xorg_testset_save_CFLAGS="$CFLAGS"
   18991 
   18992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18997 then :
   18998   printf %s "(cached) " >&6
   18999 else $as_nop
   19000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19001 /* end confdefs.h.  */
   19002 int i;
   19003 _ACEOF
   19004 if ac_fn_c_try_compile "$LINENO"
   19005 then :
   19006   xorg_cv_cc_flag_unknown_warning_option=yes
   19007 else $as_nop
   19008   xorg_cv_cc_flag_unknown_warning_option=no
   19009 fi
   19010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19011 fi
   19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19013 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19015 	CFLAGS="$xorg_testset_save_CFLAGS"
   19016 fi
   19017 
   19018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19021 	fi
   19022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19026 then :
   19027   printf %s "(cached) " >&6
   19028 else $as_nop
   19029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19030 /* end confdefs.h.  */
   19031 int i;
   19032 _ACEOF
   19033 if ac_fn_c_try_compile "$LINENO"
   19034 then :
   19035   xorg_cv_cc_flag_unused_command_line_argument=yes
   19036 else $as_nop
   19037   xorg_cv_cc_flag_unused_command_line_argument=no
   19038 fi
   19039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19040 fi
   19041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19042 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19044 	CFLAGS="$xorg_testset_save_CFLAGS"
   19045 fi
   19046 
   19047 found="no"
   19048 
   19049 	if test $found = "no" ; then
   19050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19052 		fi
   19053 
   19054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19056 		fi
   19057 
   19058 		CFLAGS="$CFLAGS -Werror=attributes"
   19059 
   19060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19061 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19062 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19063 		if eval test \${$cacheid+y}
   19064 then :
   19065   printf %s "(cached) " >&6
   19066 else $as_nop
   19067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19068 /* end confdefs.h.  */
   19069 int i;
   19070 int
   19071 main (void)
   19072 {
   19073 
   19074   ;
   19075   return 0;
   19076 }
   19077 _ACEOF
   19078 if ac_fn_c_try_link "$LINENO"
   19079 then :
   19080   eval $cacheid=yes
   19081 else $as_nop
   19082   eval $cacheid=no
   19083 fi
   19084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19085     conftest$ac_exeext conftest.$ac_ext
   19086 fi
   19087 
   19088 
   19089 		CFLAGS="$xorg_testset_save_CFLAGS"
   19090 
   19091 		eval supported=\$$cacheid
   19092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19093 printf "%s\n" "$supported" >&6; }
   19094 		if test "$supported" = "yes" ; then
   19095 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19096 			found="yes"
   19097 		fi
   19098 	fi
   19099 
   19100 
   19101 
   19102 if test "x$STRICT_COMPILE" = "xyes"; then
   19103     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19104     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19105 fi
   19106 
   19107 
   19108 
   19109 
   19110 
   19111 
   19112 
   19113 
   19114 cat >>confdefs.h <<_ACEOF
   19115 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19116 _ACEOF
   19117 
   19118 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19119 	if test "x$PVM" = "x"; then
   19120 		PVM="0"
   19121 	fi
   19122 
   19123 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19124 
   19125 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19126 	if test "x$PVP" = "x"; then
   19127 		PVP="0"
   19128 	fi
   19129 
   19130 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19131 
   19132 
   19133 
   19134 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19135 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19136 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19137 touch \$(top_srcdir)/ChangeLog; \
   19138 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19139 
   19140 
   19141 
   19142 
   19143 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19144 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19145 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19146 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19147 touch \$(top_srcdir)/INSTALL; \
   19148 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19149 
   19150 
   19151 
   19152 
   19153 
   19154 
   19155 case $host_os in
   19156     solaris*)
   19157         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19158         # check for a man page file found in later versions that use
   19159         # traditional section numbers instead
   19160         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19161 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19162 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19163 then :
   19164   printf %s "(cached) " >&6
   19165 else $as_nop
   19166   test "$cross_compiling" = yes &&
   19167   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19168 if test -r "/usr/share/man/man7/attributes.7"; then
   19169   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19170 else
   19171   ac_cv_file__usr_share_man_man7_attributes_7=no
   19172 fi
   19173 fi
   19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19175 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19176 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19177 then :
   19178   SYSV_MAN_SECTIONS=false
   19179 else $as_nop
   19180   SYSV_MAN_SECTIONS=true
   19181 fi
   19182 
   19183         ;;
   19184     *) SYSV_MAN_SECTIONS=false ;;
   19185 esac
   19186 
   19187 if test x$APP_MAN_SUFFIX = x    ; then
   19188     APP_MAN_SUFFIX=1
   19189 fi
   19190 if test x$APP_MAN_DIR = x    ; then
   19191     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19192 fi
   19193 
   19194 if test x$LIB_MAN_SUFFIX = x    ; then
   19195     LIB_MAN_SUFFIX=3
   19196 fi
   19197 if test x$LIB_MAN_DIR = x    ; then
   19198     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19199 fi
   19200 
   19201 if test x$FILE_MAN_SUFFIX = x    ; then
   19202     case $SYSV_MAN_SECTIONS in
   19203 	true)				FILE_MAN_SUFFIX=4  ;;
   19204 	*)				FILE_MAN_SUFFIX=5  ;;
   19205     esac
   19206 fi
   19207 if test x$FILE_MAN_DIR = x    ; then
   19208     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19209 fi
   19210 
   19211 if test x$MISC_MAN_SUFFIX = x    ; then
   19212     case $SYSV_MAN_SECTIONS in
   19213 	true)				MISC_MAN_SUFFIX=5  ;;
   19214 	*)				MISC_MAN_SUFFIX=7  ;;
   19215     esac
   19216 fi
   19217 if test x$MISC_MAN_DIR = x    ; then
   19218     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19219 fi
   19220 
   19221 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19222     case $SYSV_MAN_SECTIONS in
   19223 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19224 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19225     esac
   19226 fi
   19227 if test x$DRIVER_MAN_DIR = x    ; then
   19228     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19229 fi
   19230 
   19231 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19232     case $SYSV_MAN_SECTIONS in
   19233 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19234 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19235     esac
   19236 fi
   19237 if test x$ADMIN_MAN_DIR = x    ; then
   19238     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19239 fi
   19240 
   19241 
   19242 
   19243 
   19244 
   19245 
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 
   19255 XORG_MAN_PAGE="X Version 11"
   19256 
   19257 MAN_SUBSTS="\
   19258 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19259 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19260 	-e 's|__xservername__|Xorg|g' \
   19261 	-e 's|__xconfigfile__|xorg.conf|g' \
   19262 	-e 's|__projectroot__|\$(prefix)|g' \
   19263 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19264 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19265 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19266 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19267 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19268 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19269 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19270 
   19271 
   19272 
   19273 # Check whether --enable-silent-rules was given.
   19274 if test ${enable_silent_rules+y}
   19275 then :
   19276   enableval=$enable_silent_rules;
   19277 fi
   19278 
   19279 case $enable_silent_rules in # (((
   19280   yes) AM_DEFAULT_VERBOSITY=0;;
   19281    no) AM_DEFAULT_VERBOSITY=1;;
   19282     *) AM_DEFAULT_VERBOSITY=0;;
   19283 esac
   19284 am_make=${MAKE-make}
   19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19286 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19287 if test ${am_cv_make_support_nested_variables+y}
   19288 then :
   19289   printf %s "(cached) " >&6
   19290 else $as_nop
   19291   if printf "%s\n" 'TRUE=$(BAR$(V))
   19292 BAR0=false
   19293 BAR1=true
   19294 V=1
   19295 am__doit:
   19296 	@$(TRUE)
   19297 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19298   am_cv_make_support_nested_variables=yes
   19299 else
   19300   am_cv_make_support_nested_variables=no
   19301 fi
   19302 fi
   19303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19304 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19305 if test $am_cv_make_support_nested_variables = yes; then
   19306     AM_V='$(V)'
   19307   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19308 else
   19309   AM_V=$AM_DEFAULT_VERBOSITY
   19310   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19311 fi
   19312 AM_BACKSLASH='\'
   19313 
   19314 
   19315 
   19316 
   19317 
   19318 # Check whether --enable-specs was given.
   19319 if test ${enable_specs+y}
   19320 then :
   19321   enableval=$enable_specs; build_specs=$enableval
   19322 else $as_nop
   19323   build_specs=yes
   19324 fi
   19325 
   19326 
   19327  if test x$build_specs = xyes; then
   19328   ENABLE_SPECS_TRUE=
   19329   ENABLE_SPECS_FALSE='#'
   19330 else
   19331   ENABLE_SPECS_TRUE='#'
   19332   ENABLE_SPECS_FALSE=
   19333 fi
   19334 
   19335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   19336 printf %s "checking whether to build functional specifications... " >&6; }
   19337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   19338 printf "%s\n" "$build_specs" >&6; }
   19339 
   19340 
   19341 
   19342 
   19343 
   19344 # Check whether --with-xmlto was given.
   19345 if test ${with_xmlto+y}
   19346 then :
   19347   withval=$with_xmlto; use_xmlto=$withval
   19348 else $as_nop
   19349   use_xmlto=auto
   19350 fi
   19351 
   19352 
   19353 
   19354 if test "x$use_xmlto" = x"auto"; then
   19355    # Extract the first word of "xmlto", so it can be a program name with args.
   19356 set dummy xmlto; ac_word=$2
   19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19358 printf %s "checking for $ac_word... " >&6; }
   19359 if test ${ac_cv_path_XMLTO+y}
   19360 then :
   19361   printf %s "(cached) " >&6
   19362 else $as_nop
   19363   case $XMLTO in
   19364   [\\/]* | ?:[\\/]*)
   19365   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19366   ;;
   19367   *)
   19368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19369 for as_dir in $PATH
   19370 do
   19371   IFS=$as_save_IFS
   19372   case $as_dir in #(((
   19373     '') as_dir=./ ;;
   19374     */) ;;
   19375     *) as_dir=$as_dir/ ;;
   19376   esac
   19377     for ac_exec_ext in '' $ac_executable_extensions; do
   19378   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19379     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19380     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19381     break 2
   19382   fi
   19383 done
   19384   done
   19385 IFS=$as_save_IFS
   19386 
   19387   ;;
   19388 esac
   19389 fi
   19390 XMLTO=$ac_cv_path_XMLTO
   19391 if test -n "$XMLTO"; then
   19392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19393 printf "%s\n" "$XMLTO" >&6; }
   19394 else
   19395   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19396 printf "%s\n" "no" >&6; }
   19397 fi
   19398 
   19399 
   19400    if test "x$XMLTO" = "x"; then
   19401         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   19402 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   19403 	have_xmlto=no
   19404    else
   19405         have_xmlto=yes
   19406    fi
   19407 elif test "x$use_xmlto" = x"yes" ; then
   19408    # Extract the first word of "xmlto", so it can be a program name with args.
   19409 set dummy xmlto; ac_word=$2
   19410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19411 printf %s "checking for $ac_word... " >&6; }
   19412 if test ${ac_cv_path_XMLTO+y}
   19413 then :
   19414   printf %s "(cached) " >&6
   19415 else $as_nop
   19416   case $XMLTO in
   19417   [\\/]* | ?:[\\/]*)
   19418   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   19419   ;;
   19420   *)
   19421   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19422 for as_dir in $PATH
   19423 do
   19424   IFS=$as_save_IFS
   19425   case $as_dir in #(((
   19426     '') as_dir=./ ;;
   19427     */) ;;
   19428     *) as_dir=$as_dir/ ;;
   19429   esac
   19430     for ac_exec_ext in '' $ac_executable_extensions; do
   19431   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19432     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   19433     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19434     break 2
   19435   fi
   19436 done
   19437   done
   19438 IFS=$as_save_IFS
   19439 
   19440   ;;
   19441 esac
   19442 fi
   19443 XMLTO=$ac_cv_path_XMLTO
   19444 if test -n "$XMLTO"; then
   19445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   19446 printf "%s\n" "$XMLTO" >&6; }
   19447 else
   19448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19449 printf "%s\n" "no" >&6; }
   19450 fi
   19451 
   19452 
   19453    if test "x$XMLTO" = "x"; then
   19454         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   19455    fi
   19456    have_xmlto=yes
   19457 elif test "x$use_xmlto" = x"no" ; then
   19458    if test "x$XMLTO" != "x"; then
   19459       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   19460 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   19461    fi
   19462    have_xmlto=no
   19463 else
   19464    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   19465 fi
   19466 
   19467 # Test for a minimum version of xmlto, if provided.
   19468 if test "$have_xmlto" = yes; then
   19469     # scrape the xmlto version
   19470     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   19471 printf %s "checking the xmlto version... " >&6; }
   19472     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   19473     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   19474 printf "%s\n" "$xmlto_version" >&6; }
   19475     as_arg_v1=$xmlto_version
   19476 as_arg_v2=0.0.22
   19477 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   19478 case $? in #(
   19479   1) :
   19480     if test "x$use_xmlto" = xauto; then
   19481             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   19482 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   19483             have_xmlto=no
   19484         else
   19485             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   19486         fi ;; #(
   19487   0) :
   19488      ;; #(
   19489   2) :
   19490      ;; #(
   19491   *) :
   19492      ;;
   19493 esac
   19494 fi
   19495 
   19496 # Test for the ability of xmlto to generate a text target
   19497 #
   19498 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   19499 # following test for empty XML docbook files.
   19500 # For compatibility reasons use the following empty XML docbook file and if
   19501 # it fails try it again with a non-empty XML file.
   19502 have_xmlto_text=no
   19503 cat > conftest.xml << "EOF"
   19504 EOF
   19505 if test "$have_xmlto" = yes
   19506 then :
   19507   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19508 then :
   19509   have_xmlto_text=yes
   19510 else $as_nop
   19511   # Try it again with a non-empty XML file.
   19512               cat > conftest.xml << "EOF"
   19513 <x></x>
   19514 EOF
   19515               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   19516 then :
   19517   have_xmlto_text=yes
   19518 else $as_nop
   19519   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   19520 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   19521 fi
   19522 fi
   19523 fi
   19524 rm -f conftest.xml
   19525  if test $have_xmlto_text = yes; then
   19526   HAVE_XMLTO_TEXT_TRUE=
   19527   HAVE_XMLTO_TEXT_FALSE='#'
   19528 else
   19529   HAVE_XMLTO_TEXT_TRUE='#'
   19530   HAVE_XMLTO_TEXT_FALSE=
   19531 fi
   19532 
   19533  if test "$have_xmlto" = yes; then
   19534   HAVE_XMLTO_TRUE=
   19535   HAVE_XMLTO_FALSE='#'
   19536 else
   19537   HAVE_XMLTO_TRUE='#'
   19538   HAVE_XMLTO_FALSE=
   19539 fi
   19540 
   19541 
   19542 
   19543 
   19544 
   19545 
   19546 # Check whether --with-fop was given.
   19547 if test ${with_fop+y}
   19548 then :
   19549   withval=$with_fop; use_fop=$withval
   19550 else $as_nop
   19551   use_fop=auto
   19552 fi
   19553 
   19554 
   19555 
   19556 if test "x$use_fop" = x"auto"; then
   19557    # Extract the first word of "fop", so it can be a program name with args.
   19558 set dummy fop; ac_word=$2
   19559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19560 printf %s "checking for $ac_word... " >&6; }
   19561 if test ${ac_cv_path_FOP+y}
   19562 then :
   19563   printf %s "(cached) " >&6
   19564 else $as_nop
   19565   case $FOP in
   19566   [\\/]* | ?:[\\/]*)
   19567   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19568   ;;
   19569   *)
   19570   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19571 for as_dir in $PATH
   19572 do
   19573   IFS=$as_save_IFS
   19574   case $as_dir in #(((
   19575     '') as_dir=./ ;;
   19576     */) ;;
   19577     *) as_dir=$as_dir/ ;;
   19578   esac
   19579     for ac_exec_ext in '' $ac_executable_extensions; do
   19580   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19581     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19582     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19583     break 2
   19584   fi
   19585 done
   19586   done
   19587 IFS=$as_save_IFS
   19588 
   19589   ;;
   19590 esac
   19591 fi
   19592 FOP=$ac_cv_path_FOP
   19593 if test -n "$FOP"; then
   19594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19595 printf "%s\n" "$FOP" >&6; }
   19596 else
   19597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19598 printf "%s\n" "no" >&6; }
   19599 fi
   19600 
   19601 
   19602    if test "x$FOP" = "x"; then
   19603         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   19604 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   19605 	have_fop=no
   19606    else
   19607         have_fop=yes
   19608    fi
   19609 elif test "x$use_fop" = x"yes" ; then
   19610    # Extract the first word of "fop", so it can be a program name with args.
   19611 set dummy fop; ac_word=$2
   19612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19613 printf %s "checking for $ac_word... " >&6; }
   19614 if test ${ac_cv_path_FOP+y}
   19615 then :
   19616   printf %s "(cached) " >&6
   19617 else $as_nop
   19618   case $FOP in
   19619   [\\/]* | ?:[\\/]*)
   19620   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   19621   ;;
   19622   *)
   19623   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19624 for as_dir in $PATH
   19625 do
   19626   IFS=$as_save_IFS
   19627   case $as_dir in #(((
   19628     '') as_dir=./ ;;
   19629     */) ;;
   19630     *) as_dir=$as_dir/ ;;
   19631   esac
   19632     for ac_exec_ext in '' $ac_executable_extensions; do
   19633   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19634     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   19635     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19636     break 2
   19637   fi
   19638 done
   19639   done
   19640 IFS=$as_save_IFS
   19641 
   19642   ;;
   19643 esac
   19644 fi
   19645 FOP=$ac_cv_path_FOP
   19646 if test -n "$FOP"; then
   19647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   19648 printf "%s\n" "$FOP" >&6; }
   19649 else
   19650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19651 printf "%s\n" "no" >&6; }
   19652 fi
   19653 
   19654 
   19655    if test "x$FOP" = "x"; then
   19656         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   19657    fi
   19658    have_fop=yes
   19659 elif test "x$use_fop" = x"no" ; then
   19660    if test "x$FOP" != "x"; then
   19661       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   19662 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   19663    fi
   19664    have_fop=no
   19665 else
   19666    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   19667 fi
   19668 
   19669 # Test for a minimum version of fop, if provided.
   19670 
   19671  if test "$have_fop" = yes; then
   19672   HAVE_FOP_TRUE=
   19673   HAVE_FOP_FALSE='#'
   19674 else
   19675   HAVE_FOP_TRUE='#'
   19676   HAVE_FOP_FALSE=
   19677 fi
   19678 
   19679 
   19680 
   19681 
   19682 # Preserves the interface, should it be implemented later
   19683 
   19684 
   19685 
   19686 # Check whether --with-xsltproc was given.
   19687 if test ${with_xsltproc+y}
   19688 then :
   19689   withval=$with_xsltproc; use_xsltproc=$withval
   19690 else $as_nop
   19691   use_xsltproc=auto
   19692 fi
   19693 
   19694 
   19695 
   19696 if test "x$use_xsltproc" = x"auto"; then
   19697    # Extract the first word of "xsltproc", so it can be a program name with args.
   19698 set dummy xsltproc; ac_word=$2
   19699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19700 printf %s "checking for $ac_word... " >&6; }
   19701 if test ${ac_cv_path_XSLTPROC+y}
   19702 then :
   19703   printf %s "(cached) " >&6
   19704 else $as_nop
   19705   case $XSLTPROC in
   19706   [\\/]* | ?:[\\/]*)
   19707   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19708   ;;
   19709   *)
   19710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19711 for as_dir in $PATH
   19712 do
   19713   IFS=$as_save_IFS
   19714   case $as_dir in #(((
   19715     '') as_dir=./ ;;
   19716     */) ;;
   19717     *) as_dir=$as_dir/ ;;
   19718   esac
   19719     for ac_exec_ext in '' $ac_executable_extensions; do
   19720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19721     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19722     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19723     break 2
   19724   fi
   19725 done
   19726   done
   19727 IFS=$as_save_IFS
   19728 
   19729   ;;
   19730 esac
   19731 fi
   19732 XSLTPROC=$ac_cv_path_XSLTPROC
   19733 if test -n "$XSLTPROC"; then
   19734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19735 printf "%s\n" "$XSLTPROC" >&6; }
   19736 else
   19737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19738 printf "%s\n" "no" >&6; }
   19739 fi
   19740 
   19741 
   19742    if test "x$XSLTPROC" = "x"; then
   19743         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   19744 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   19745 	have_xsltproc=no
   19746    else
   19747         have_xsltproc=yes
   19748    fi
   19749 elif test "x$use_xsltproc" = x"yes" ; then
   19750    # Extract the first word of "xsltproc", so it can be a program name with args.
   19751 set dummy xsltproc; ac_word=$2
   19752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19753 printf %s "checking for $ac_word... " >&6; }
   19754 if test ${ac_cv_path_XSLTPROC+y}
   19755 then :
   19756   printf %s "(cached) " >&6
   19757 else $as_nop
   19758   case $XSLTPROC in
   19759   [\\/]* | ?:[\\/]*)
   19760   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   19761   ;;
   19762   *)
   19763   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19764 for as_dir in $PATH
   19765 do
   19766   IFS=$as_save_IFS
   19767   case $as_dir in #(((
   19768     '') as_dir=./ ;;
   19769     */) ;;
   19770     *) as_dir=$as_dir/ ;;
   19771   esac
   19772     for ac_exec_ext in '' $ac_executable_extensions; do
   19773   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19774     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   19775     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19776     break 2
   19777   fi
   19778 done
   19779   done
   19780 IFS=$as_save_IFS
   19781 
   19782   ;;
   19783 esac
   19784 fi
   19785 XSLTPROC=$ac_cv_path_XSLTPROC
   19786 if test -n "$XSLTPROC"; then
   19787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   19788 printf "%s\n" "$XSLTPROC" >&6; }
   19789 else
   19790   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19791 printf "%s\n" "no" >&6; }
   19792 fi
   19793 
   19794 
   19795    if test "x$XSLTPROC" = "x"; then
   19796         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   19797    fi
   19798    have_xsltproc=yes
   19799 elif test "x$use_xsltproc" = x"no" ; then
   19800    if test "x$XSLTPROC" != "x"; then
   19801       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   19802 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   19803    fi
   19804    have_xsltproc=no
   19805 else
   19806    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   19807 fi
   19808 
   19809  if test "$have_xsltproc" = yes; then
   19810   HAVE_XSLTPROC_TRUE=
   19811   HAVE_XSLTPROC_FALSE='#'
   19812 else
   19813   HAVE_XSLTPROC_TRUE='#'
   19814   HAVE_XSLTPROC_FALSE=
   19815 fi
   19816 
   19817 
   19818 
   19819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   19820 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   19821 XORG_SGML_PATH=
   19822 if test -n "$PKG_CONFIG" && \
   19823     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   19824   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   19825   ac_status=$?
   19826   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19827   test $ac_status = 0; }; then
   19828   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   19829 else
   19830   :
   19831 
   19832 fi
   19833 
   19834 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   19835 # the path and the name of the doc stylesheet
   19836 if test "x$XORG_SGML_PATH" != "x" ; then
   19837    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   19838 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   19839    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   19840    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   19841 else
   19842    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19843 printf "%s\n" "no" >&6; }
   19844 fi
   19845 
   19846 
   19847 
   19848 
   19849  if test "x$XSL_STYLESHEET" != "x"; then
   19850   HAVE_STYLESHEETS_TRUE=
   19851   HAVE_STYLESHEETS_FALSE='#'
   19852 else
   19853   HAVE_STYLESHEETS_TRUE='#'
   19854   HAVE_STYLESHEETS_FALSE=
   19855 fi
   19856 
   19857 
   19858 
   19859 # Some compilers do not support per target -c and -o flags
   19860 
   19861 
   19862 # Checks for programs.
   19863 for ac_prog in gawk mawk nawk awk
   19864 do
   19865   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19866 set dummy $ac_prog; ac_word=$2
   19867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19868 printf %s "checking for $ac_word... " >&6; }
   19869 if test ${ac_cv_prog_AWK+y}
   19870 then :
   19871   printf %s "(cached) " >&6
   19872 else $as_nop
   19873   if test -n "$AWK"; then
   19874   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   19875 else
   19876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19877 for as_dir in $PATH
   19878 do
   19879   IFS=$as_save_IFS
   19880   case $as_dir in #(((
   19881     '') as_dir=./ ;;
   19882     */) ;;
   19883     *) as_dir=$as_dir/ ;;
   19884   esac
   19885     for ac_exec_ext in '' $ac_executable_extensions; do
   19886   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19887     ac_cv_prog_AWK="$ac_prog"
   19888     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19889     break 2
   19890   fi
   19891 done
   19892   done
   19893 IFS=$as_save_IFS
   19894 
   19895 fi
   19896 fi
   19897 AWK=$ac_cv_prog_AWK
   19898 if test -n "$AWK"; then
   19899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   19900 printf "%s\n" "$AWK" >&6; }
   19901 else
   19902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19903 printf "%s\n" "no" >&6; }
   19904 fi
   19905 
   19906 
   19907   test -n "$AWK" && break
   19908 done
   19909 
   19910 
   19911 # Need to call this explicitly since the first call to PKG_CHECK_MODULES
   19912 # is in an if statement, and later calls would break if it's skipped.
   19913 
   19914 
   19915 
   19916 
   19917 
   19918 
   19919 
   19920 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   19921 	if test -n "$ac_tool_prefix"; then
   19922   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   19923 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   19924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19925 printf %s "checking for $ac_word... " >&6; }
   19926 if test ${ac_cv_path_PKG_CONFIG+y}
   19927 then :
   19928   printf %s "(cached) " >&6
   19929 else $as_nop
   19930   case $PKG_CONFIG in
   19931   [\\/]* | ?:[\\/]*)
   19932   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   19933   ;;
   19934   *)
   19935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19936 for as_dir in $PATH
   19937 do
   19938   IFS=$as_save_IFS
   19939   case $as_dir in #(((
   19940     '') as_dir=./ ;;
   19941     */) ;;
   19942     *) as_dir=$as_dir/ ;;
   19943   esac
   19944     for ac_exec_ext in '' $ac_executable_extensions; do
   19945   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19946     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   19947     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19948     break 2
   19949   fi
   19950 done
   19951   done
   19952 IFS=$as_save_IFS
   19953 
   19954   ;;
   19955 esac
   19956 fi
   19957 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   19958 if test -n "$PKG_CONFIG"; then
   19959   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   19960 printf "%s\n" "$PKG_CONFIG" >&6; }
   19961 else
   19962   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19963 printf "%s\n" "no" >&6; }
   19964 fi
   19965 
   19966 
   19967 fi
   19968 if test -z "$ac_cv_path_PKG_CONFIG"; then
   19969   ac_pt_PKG_CONFIG=$PKG_CONFIG
   19970   # Extract the first word of "pkg-config", so it can be a program name with args.
   19971 set dummy pkg-config; ac_word=$2
   19972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19973 printf %s "checking for $ac_word... " >&6; }
   19974 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   19975 then :
   19976   printf %s "(cached) " >&6
   19977 else $as_nop
   19978   case $ac_pt_PKG_CONFIG in
   19979   [\\/]* | ?:[\\/]*)
   19980   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   19981   ;;
   19982   *)
   19983   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19984 for as_dir in $PATH
   19985 do
   19986   IFS=$as_save_IFS
   19987   case $as_dir in #(((
   19988     '') as_dir=./ ;;
   19989     */) ;;
   19990     *) as_dir=$as_dir/ ;;
   19991   esac
   19992     for ac_exec_ext in '' $ac_executable_extensions; do
   19993   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19994     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   19995     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19996     break 2
   19997   fi
   19998 done
   19999   done
   20000 IFS=$as_save_IFS
   20001 
   20002   ;;
   20003 esac
   20004 fi
   20005 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20006 if test -n "$ac_pt_PKG_CONFIG"; then
   20007   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   20008 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   20009 else
   20010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20011 printf "%s\n" "no" >&6; }
   20012 fi
   20013 
   20014   if test "x$ac_pt_PKG_CONFIG" = x; then
   20015     PKG_CONFIG=""
   20016   else
   20017     case $cross_compiling:$ac_tool_warned in
   20018 yes:)
   20019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   20020 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20021 ac_tool_warned=yes ;;
   20022 esac
   20023     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20024   fi
   20025 else
   20026   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20027 fi
   20028 
   20029 fi
   20030 if test -n "$PKG_CONFIG"; then
   20031 	_pkg_min_version=0.9.0
   20032 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   20033 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20034 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20035 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20036 printf "%s\n" "yes" >&6; }
   20037 	else
   20038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20039 printf "%s\n" "no" >&6; }
   20040 		PKG_CONFIG=""
   20041 	fi
   20042 fi
   20043 
   20044 #
   20045 # fix libtool to set SONAME to libXaw.so.$major
   20046 #
   20047 ac_config_commands="$ac_config_commands libtool_hack"
   20048 
   20049 
   20050 # OSX/Win32 rules are different.
   20051 platform_win32=no
   20052 platform_darwin=no
   20053 LIBEXT=so
   20054 case $host_os in
   20055     cygwin*|mingw*)
   20056 	LIBEXT=dll.a
   20057 	platform_win32=yes
   20058 	;;
   20059     darwin*)
   20060 	LIBEXT=dylib
   20061 	platform_darwin=yes
   20062 	;;
   20063 esac
   20064 
   20065  if test "x$platform_win32" = "xyes"; then
   20066   PLATFORM_WIN32_TRUE=
   20067   PLATFORM_WIN32_FALSE='#'
   20068 else
   20069   PLATFORM_WIN32_TRUE='#'
   20070   PLATFORM_WIN32_FALSE=
   20071 fi
   20072 
   20073  if test "x$platform_darwin" = "xyes"; then
   20074   PLATFORM_DARWIN_TRUE=
   20075   PLATFORM_DARWIN_FALSE='#'
   20076 else
   20077   PLATFORM_DARWIN_TRUE='#'
   20078   PLATFORM_DARWIN_FALSE=
   20079 fi
   20080 
   20081 
   20082 # Whether to build Xaw6
   20083 
   20084 # Check whether --enable-xaw6 was given.
   20085 if test ${enable_xaw6+y}
   20086 then :
   20087   enableval=$enable_xaw6; build_v6=$enableval
   20088 else $as_nop
   20089   build_v6=yes
   20090 fi
   20091 
   20092 
   20093 if test "x$build_v6" = xyes; then
   20094 
   20095 pkg_failed=no
   20096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XAW6" >&5
   20097 printf %s "checking for XAW6... " >&6; }
   20098 
   20099 if test -n "$XAW6_CFLAGS"; then
   20100     pkg_cv_XAW6_CFLAGS="$XAW6_CFLAGS"
   20101  elif test -n "$PKG_CONFIG"; then
   20102     if test -n "$PKG_CONFIG" && \
   20103     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\""; } >&5
   20104   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   20105   ac_status=$?
   20106   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20107   test $ac_status = 0; }; then
   20108   pkg_cv_XAW6_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   20109 		      test "x$?" != "x0" && pkg_failed=yes
   20110 else
   20111   pkg_failed=yes
   20112 fi
   20113  else
   20114     pkg_failed=untried
   20115 fi
   20116 if test -n "$XAW6_LIBS"; then
   20117     pkg_cv_XAW6_LIBS="$XAW6_LIBS"
   20118  elif test -n "$PKG_CONFIG"; then
   20119     if test -n "$PKG_CONFIG" && \
   20120     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\""; } >&5
   20121   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   20122   ac_status=$?
   20123   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20124   test $ac_status = 0; }; then
   20125   pkg_cv_XAW6_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   20126 		      test "x$?" != "x0" && pkg_failed=yes
   20127 else
   20128   pkg_failed=yes
   20129 fi
   20130  else
   20131     pkg_failed=untried
   20132 fi
   20133 
   20134 
   20135 
   20136 if test $pkg_failed = yes; then
   20137    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20138 printf "%s\n" "no" >&6; }
   20139 
   20140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20141         _pkg_short_errors_supported=yes
   20142 else
   20143         _pkg_short_errors_supported=no
   20144 fi
   20145         if test $_pkg_short_errors_supported = yes; then
   20146 	        XAW6_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11 xext xextproto xt xmu" 2>&1`
   20147         else
   20148 	        XAW6_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11 xext xextproto xt xmu" 2>&1`
   20149         fi
   20150 	# Put the nasty error message in config.log where it belongs
   20151 	echo "$XAW6_PKG_ERRORS" >&5
   20152 
   20153 	as_fn_error $? "Package requirements (xproto x11 xext xextproto xt xmu) were not met:
   20154 
   20155 $XAW6_PKG_ERRORS
   20156 
   20157 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20158 installed software in a non-standard prefix.
   20159 
   20160 Alternatively, you may set the environment variables XAW6_CFLAGS
   20161 and XAW6_LIBS to avoid the need to call pkg-config.
   20162 See the pkg-config man page for more details." "$LINENO" 5
   20163 elif test $pkg_failed = untried; then
   20164      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20165 printf "%s\n" "no" >&6; }
   20166 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20167 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20168 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20169 is in your PATH or set the PKG_CONFIG environment variable to the full
   20170 path to pkg-config.
   20171 
   20172 Alternatively, you may set the environment variables XAW6_CFLAGS
   20173 and XAW6_LIBS to avoid the need to call pkg-config.
   20174 See the pkg-config man page for more details.
   20175 
   20176 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20177 See \`config.log' for more details" "$LINENO" 5; }
   20178 else
   20179 	XAW6_CFLAGS=$pkg_cv_XAW6_CFLAGS
   20180 	XAW6_LIBS=$pkg_cv_XAW6_LIBS
   20181         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20182 printf "%s\n" "yes" >&6; }
   20183 
   20184 fi
   20185 fi
   20186 
   20187 
   20188 # Whether to build Xaw7
   20189 
   20190 # Check whether --enable-xaw7 was given.
   20191 if test ${enable_xaw7+y}
   20192 then :
   20193   enableval=$enable_xaw7; build_v7=$enableval
   20194 else $as_nop
   20195   build_v7=yes
   20196 fi
   20197 
   20198 
   20199 if test "x$build_v7" = xyes; then
   20200 
   20201 pkg_failed=no
   20202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XAW7" >&5
   20203 printf %s "checking for XAW7... " >&6; }
   20204 
   20205 if test -n "$XAW7_CFLAGS"; then
   20206     pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
   20207  elif test -n "$PKG_CONFIG"; then
   20208     if test -n "$PKG_CONFIG" && \
   20209     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\""; } >&5
   20210   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   20211   ac_status=$?
   20212   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20213   test $ac_status = 0; }; then
   20214   pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   20215 		      test "x$?" != "x0" && pkg_failed=yes
   20216 else
   20217   pkg_failed=yes
   20218 fi
   20219  else
   20220     pkg_failed=untried
   20221 fi
   20222 if test -n "$XAW7_LIBS"; then
   20223     pkg_cv_XAW7_LIBS="$XAW7_LIBS"
   20224  elif test -n "$PKG_CONFIG"; then
   20225     if test -n "$PKG_CONFIG" && \
   20226     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\""; } >&5
   20227   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   20228   ac_status=$?
   20229   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20230   test $ac_status = 0; }; then
   20231   pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   20232 		      test "x$?" != "x0" && pkg_failed=yes
   20233 else
   20234   pkg_failed=yes
   20235 fi
   20236  else
   20237     pkg_failed=untried
   20238 fi
   20239 
   20240 
   20241 
   20242 if test $pkg_failed = yes; then
   20243    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20244 printf "%s\n" "no" >&6; }
   20245 
   20246 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20247         _pkg_short_errors_supported=yes
   20248 else
   20249         _pkg_short_errors_supported=no
   20250 fi
   20251         if test $_pkg_short_errors_supported = yes; then
   20252 	        XAW7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   20253         else
   20254 	        XAW7_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   20255         fi
   20256 	# Put the nasty error message in config.log where it belongs
   20257 	echo "$XAW7_PKG_ERRORS" >&5
   20258 
   20259 	as_fn_error $? "Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
   20260 
   20261 $XAW7_PKG_ERRORS
   20262 
   20263 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20264 installed software in a non-standard prefix.
   20265 
   20266 Alternatively, you may set the environment variables XAW7_CFLAGS
   20267 and XAW7_LIBS to avoid the need to call pkg-config.
   20268 See the pkg-config man page for more details." "$LINENO" 5
   20269 elif test $pkg_failed = untried; then
   20270      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20271 printf "%s\n" "no" >&6; }
   20272 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20273 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20274 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20275 is in your PATH or set the PKG_CONFIG environment variable to the full
   20276 path to pkg-config.
   20277 
   20278 Alternatively, you may set the environment variables XAW7_CFLAGS
   20279 and XAW7_LIBS to avoid the need to call pkg-config.
   20280 See the pkg-config man page for more details.
   20281 
   20282 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20283 See \`config.log' for more details" "$LINENO" 5; }
   20284 else
   20285 	XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
   20286 	XAW7_LIBS=$pkg_cv_XAW7_LIBS
   20287         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20288 printf "%s\n" "yes" >&6; }
   20289 
   20290 fi
   20291 fi
   20292 
   20293 
   20294  if test x$build_v6 = xyes; then
   20295   BUILD_XAW6_TRUE=
   20296   BUILD_XAW6_FALSE='#'
   20297 else
   20298   BUILD_XAW6_TRUE='#'
   20299   BUILD_XAW6_FALSE=
   20300 fi
   20301 
   20302  if test x$build_v7 = xyes; then
   20303   BUILD_XAW7_TRUE=
   20304   BUILD_XAW7_FALSE='#'
   20305 else
   20306   BUILD_XAW7_TRUE='#'
   20307   BUILD_XAW7_FALSE=
   20308 fi
   20309 
   20310 
   20311 # Checks for header files.
   20312 ac_fn_c_check_header_compile "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
   20313 if test "x$ac_cv_header_wctype_h" = xyes
   20314 then :
   20315   printf "%s\n" "#define HAVE_WCTYPE_H 1" >>confdefs.h
   20316 
   20317 fi
   20318 ac_fn_c_check_header_compile "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
   20319 if test "x$ac_cv_header_wchar_h" = xyes
   20320 then :
   20321   printf "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h
   20322 
   20323 fi
   20324 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default"
   20325 if test "x$ac_cv_header_widec_h" = xyes
   20326 then :
   20327   printf "%s\n" "#define HAVE_WIDEC_H 1" >>confdefs.h
   20328 
   20329 fi
   20330 
   20331 
   20332 # Checks for functions
   20333 ac_fn_c_check_func "$LINENO" "iswalnum" "ac_cv_func_iswalnum"
   20334 if test "x$ac_cv_func_iswalnum" = xyes
   20335 then :
   20336   printf "%s\n" "#define HAVE_ISWALNUM 1" >>confdefs.h
   20337 
   20338 fi
   20339 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   20340 if test "x$ac_cv_func_getpagesize" = xyes
   20341 then :
   20342   printf "%s\n" "#define HAVE_GETPAGESIZE 1" >>confdefs.h
   20343 
   20344 fi
   20345 
   20346 
   20347 # Link with winsock if mingw target
   20348 case $host_os in
   20349 	*mingw*)
   20350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   20351 printf %s "checking for main in -lws2_32... " >&6; }
   20352 if test ${ac_cv_lib_ws2_32_main+y}
   20353 then :
   20354   printf %s "(cached) " >&6
   20355 else $as_nop
   20356   ac_check_lib_save_LIBS=$LIBS
   20357 LIBS="-lws2_32  $LIBS"
   20358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20359 /* end confdefs.h.  */
   20360 
   20361 
   20362 int
   20363 main (void)
   20364 {
   20365 return main ();
   20366   ;
   20367   return 0;
   20368 }
   20369 _ACEOF
   20370 if ac_fn_c_try_link "$LINENO"
   20371 then :
   20372   ac_cv_lib_ws2_32_main=yes
   20373 else $as_nop
   20374   ac_cv_lib_ws2_32_main=no
   20375 fi
   20376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20377     conftest$ac_exeext conftest.$ac_ext
   20378 LIBS=$ac_check_lib_save_LIBS
   20379 fi
   20380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   20381 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   20382 if test "x$ac_cv_lib_ws2_32_main" = xyes
   20383 then :
   20384   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   20385 
   20386   LIBS="-lws2_32 $LIBS"
   20387 
   20388 fi
   20389 
   20390 	;;
   20391 	*)
   20392 	;;
   20393 esac
   20394 
   20395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if C const-support is wanted" >&5
   20396 printf %s "checking if C const-support is wanted... " >&6; }
   20397 # Check whether --enable-const was given.
   20398 if test ${enable_const+y}
   20399 then :
   20400   enableval=$enable_const; USE_CONST="$enableval"
   20401 else $as_nop
   20402   USE_CONST="yes"
   20403 fi
   20404 
   20405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_CONST" >&5
   20406 printf "%s\n" "$USE_CONST" >&6; }
   20407 if test "x$USE_CONST" = "xyes" ; then
   20408 
   20409 printf "%s\n" "#define _CONST_X_STRING 1" >>confdefs.h
   20410 
   20411 fi
   20412 
   20413 ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile specs/Makefile specs/libXaw.ent src/Makefile"
   20414 
   20415 
   20416 if test "x$build_v6" = xyes; then
   20417    ac_config_files="$ac_config_files xaw6.pc"
   20418 
   20419 fi
   20420 
   20421 if test "x$build_v7" = xyes; then
   20422    ac_config_files="$ac_config_files xaw7.pc"
   20423 
   20424 fi
   20425 
   20426 cat >confcache <<\_ACEOF
   20427 # This file is a shell script that caches the results of configure
   20428 # tests run on this system so they can be shared between configure
   20429 # scripts and configure runs, see configure's option --config-cache.
   20430 # It is not useful on other systems.  If it contains results you don't
   20431 # want to keep, you may remove or edit it.
   20432 #
   20433 # config.status only pays attention to the cache file if you give it
   20434 # the --recheck option to rerun configure.
   20435 #
   20436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20438 # following values.
   20439 
   20440 _ACEOF
   20441 
   20442 # The following way of writing the cache mishandles newlines in values,
   20443 # but we know of no workaround that is simple, portable, and efficient.
   20444 # So, we kill variables containing newlines.
   20445 # Ultrix sh set writes to stderr and can't be redirected directly,
   20446 # and sets the high bit in the cache file unless we assign to the vars.
   20447 (
   20448   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20449     eval ac_val=\$$ac_var
   20450     case $ac_val in #(
   20451     *${as_nl}*)
   20452       case $ac_var in #(
   20453       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20454 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20455       esac
   20456       case $ac_var in #(
   20457       _ | IFS | as_nl) ;; #(
   20458       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20459       *) { eval $ac_var=; unset $ac_var;} ;;
   20460       esac ;;
   20461     esac
   20462   done
   20463 
   20464   (set) 2>&1 |
   20465     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20466     *${as_nl}ac_space=\ *)
   20467       # `set' does not quote correctly, so add quotes: double-quote
   20468       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20469       sed -n \
   20470 	"s/'/'\\\\''/g;
   20471 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20472       ;; #(
   20473     *)
   20474       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20475       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20476       ;;
   20477     esac |
   20478     sort
   20479 ) |
   20480   sed '
   20481      /^ac_cv_env_/b end
   20482      t clear
   20483      :clear
   20484      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20485      t end
   20486      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20487      :end' >>confcache
   20488 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20489   if test -w "$cache_file"; then
   20490     if test "x$cache_file" != "x/dev/null"; then
   20491       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20492 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20493       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20494 	cat confcache >"$cache_file"
   20495       else
   20496         case $cache_file in #(
   20497         */* | ?:*)
   20498 	  mv -f confcache "$cache_file"$$ &&
   20499 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20500         *)
   20501 	  mv -f confcache "$cache_file" ;;
   20502 	esac
   20503       fi
   20504     fi
   20505   else
   20506     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20507 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20508   fi
   20509 fi
   20510 rm -f confcache
   20511 
   20512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20513 # Let make expand exec_prefix.
   20514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20515 
   20516 DEFS=-DHAVE_CONFIG_H
   20517 
   20518 ac_libobjs=
   20519 ac_ltlibobjs=
   20520 U=
   20521 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20522   # 1. Remove the extension, and $U if already installed.
   20523   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20524   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20525   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20526   #    will be set to the directory where LIBOBJS objects are built.
   20527   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20528   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20529 done
   20530 LIBOBJS=$ac_libobjs
   20531 
   20532 LTLIBOBJS=$ac_ltlibobjs
   20533 
   20534 
   20535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20536 printf %s "checking that generated files are newer than configure... " >&6; }
   20537    if test -n "$am_sleep_pid"; then
   20538      # Hide warnings about reused PIDs.
   20539      wait $am_sleep_pid 2>/dev/null
   20540    fi
   20541    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20542 printf "%s\n" "done" >&6; }
   20543  if test -n "$EXEEXT"; then
   20544   am__EXEEXT_TRUE=
   20545   am__EXEEXT_FALSE='#'
   20546 else
   20547   am__EXEEXT_TRUE='#'
   20548   am__EXEEXT_FALSE=
   20549 fi
   20550 
   20551 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20552   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20554 fi
   20555 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20556   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20558 fi
   20559 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   20560   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   20561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20562 fi
   20563 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   20564   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   20565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20566 fi
   20567 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   20568   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   20569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20570 fi
   20571 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   20572   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   20573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20574 fi
   20575 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   20576   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   20577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20578 fi
   20579 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   20580   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   20581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20582 fi
   20583 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   20584   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
   20585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20586 fi
   20587 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
   20588   as_fn_error $? "conditional \"PLATFORM_DARWIN\" was never defined.
   20589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20590 fi
   20591 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   20592   as_fn_error $? "conditional \"BUILD_XAW6\" was never defined.
   20593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20594 fi
   20595 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   20596   as_fn_error $? "conditional \"BUILD_XAW7\" was never defined.
   20597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20598 fi
   20599 
   20600 : "${CONFIG_STATUS=./config.status}"
   20601 ac_write_fail=0
   20602 ac_clean_files_save=$ac_clean_files
   20603 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20605 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20606 as_write_fail=0
   20607 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20608 #! $SHELL
   20609 # Generated by $as_me.
   20610 # Run this file to recreate the current configuration.
   20611 # Compiler output produced by configure, useful for debugging
   20612 # configure, is in config.log if it exists.
   20613 
   20614 debug=false
   20615 ac_cs_recheck=false
   20616 ac_cs_silent=false
   20617 
   20618 SHELL=\${CONFIG_SHELL-$SHELL}
   20619 export SHELL
   20620 _ASEOF
   20621 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20622 ## -------------------- ##
   20623 ## M4sh Initialization. ##
   20624 ## -------------------- ##
   20625 
   20626 # Be more Bourne compatible
   20627 DUALCASE=1; export DUALCASE # for MKS sh
   20628 as_nop=:
   20629 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20630 then :
   20631   emulate sh
   20632   NULLCMD=:
   20633   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20634   # is contrary to our usage.  Disable this feature.
   20635   alias -g '${1+"$@"}'='"$@"'
   20636   setopt NO_GLOB_SUBST
   20637 else $as_nop
   20638   case `(set -o) 2>/dev/null` in #(
   20639   *posix*) :
   20640     set -o posix ;; #(
   20641   *) :
   20642      ;;
   20643 esac
   20644 fi
   20645 
   20646 
   20647 
   20648 # Reset variables that may have inherited troublesome values from
   20649 # the environment.
   20650 
   20651 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20652 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20653 # side effect of setting IFS to empty, thus disabling word splitting.)
   20654 # Quoting is to prevent editors from complaining about space-tab.
   20655 as_nl='
   20656 '
   20657 export as_nl
   20658 IFS=" ""	$as_nl"
   20659 
   20660 PS1='$ '
   20661 PS2='> '
   20662 PS4='+ '
   20663 
   20664 # Ensure predictable behavior from utilities with locale-dependent output.
   20665 LC_ALL=C
   20666 export LC_ALL
   20667 LANGUAGE=C
   20668 export LANGUAGE
   20669 
   20670 # We cannot yet rely on "unset" to work, but we need these variables
   20671 # to be unset--not just set to an empty or harmless value--now, to
   20672 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20673 # also avoids known problems related to "unset" and subshell syntax
   20674 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20675 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20676 do eval test \${$as_var+y} \
   20677   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20678 done
   20679 
   20680 # Ensure that fds 0, 1, and 2 are open.
   20681 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20682 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20683 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20684 
   20685 # The user is always right.
   20686 if ${PATH_SEPARATOR+false} :; then
   20687   PATH_SEPARATOR=:
   20688   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20689     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20690       PATH_SEPARATOR=';'
   20691   }
   20692 fi
   20693 
   20694 
   20695 # Find who we are.  Look in the path if we contain no directory separator.
   20696 as_myself=
   20697 case $0 in #((
   20698   *[\\/]* ) as_myself=$0 ;;
   20699   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20700 for as_dir in $PATH
   20701 do
   20702   IFS=$as_save_IFS
   20703   case $as_dir in #(((
   20704     '') as_dir=./ ;;
   20705     */) ;;
   20706     *) as_dir=$as_dir/ ;;
   20707   esac
   20708     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20709   done
   20710 IFS=$as_save_IFS
   20711 
   20712      ;;
   20713 esac
   20714 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20715 # in which case we are not to be found in the path.
   20716 if test "x$as_myself" = x; then
   20717   as_myself=$0
   20718 fi
   20719 if test ! -f "$as_myself"; then
   20720   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20721   exit 1
   20722 fi
   20723 
   20724 
   20725 
   20726 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20727 # ----------------------------------------
   20728 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20729 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20730 # script with STATUS, using 1 if that was 0.
   20731 as_fn_error ()
   20732 {
   20733   as_status=$1; test $as_status -eq 0 && as_status=1
   20734   if test "$4"; then
   20735     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20736     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20737   fi
   20738   printf "%s\n" "$as_me: error: $2" >&2
   20739   as_fn_exit $as_status
   20740 } # as_fn_error
   20741 
   20742 
   20743 
   20744 # as_fn_set_status STATUS
   20745 # -----------------------
   20746 # Set $? to STATUS, without forking.
   20747 as_fn_set_status ()
   20748 {
   20749   return $1
   20750 } # as_fn_set_status
   20751 
   20752 # as_fn_exit STATUS
   20753 # -----------------
   20754 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20755 as_fn_exit ()
   20756 {
   20757   set +e
   20758   as_fn_set_status $1
   20759   exit $1
   20760 } # as_fn_exit
   20761 
   20762 # as_fn_unset VAR
   20763 # ---------------
   20764 # Portably unset VAR.
   20765 as_fn_unset ()
   20766 {
   20767   { eval $1=; unset $1;}
   20768 }
   20769 as_unset=as_fn_unset
   20770 
   20771 # as_fn_append VAR VALUE
   20772 # ----------------------
   20773 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20774 # advantage of any shell optimizations that allow amortized linear growth over
   20775 # repeated appends, instead of the typical quadratic growth present in naive
   20776 # implementations.
   20777 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20778 then :
   20779   eval 'as_fn_append ()
   20780   {
   20781     eval $1+=\$2
   20782   }'
   20783 else $as_nop
   20784   as_fn_append ()
   20785   {
   20786     eval $1=\$$1\$2
   20787   }
   20788 fi # as_fn_append
   20789 
   20790 # as_fn_arith ARG...
   20791 # ------------------
   20792 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20793 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20794 # must be portable across $(()) and expr.
   20795 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20796 then :
   20797   eval 'as_fn_arith ()
   20798   {
   20799     as_val=$(( $* ))
   20800   }'
   20801 else $as_nop
   20802   as_fn_arith ()
   20803   {
   20804     as_val=`expr "$@" || test $? -eq 1`
   20805   }
   20806 fi # as_fn_arith
   20807 
   20808 
   20809 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20810    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20811   as_expr=expr
   20812 else
   20813   as_expr=false
   20814 fi
   20815 
   20816 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20817   as_basename=basename
   20818 else
   20819   as_basename=false
   20820 fi
   20821 
   20822 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20823   as_dirname=dirname
   20824 else
   20825   as_dirname=false
   20826 fi
   20827 
   20828 as_me=`$as_basename -- "$0" ||
   20829 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20830 	 X"$0" : 'X\(//\)$' \| \
   20831 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20832 printf "%s\n" X/"$0" |
   20833     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20834 	    s//\1/
   20835 	    q
   20836 	  }
   20837 	  /^X\/\(\/\/\)$/{
   20838 	    s//\1/
   20839 	    q
   20840 	  }
   20841 	  /^X\/\(\/\).*/{
   20842 	    s//\1/
   20843 	    q
   20844 	  }
   20845 	  s/.*/./; q'`
   20846 
   20847 # Avoid depending upon Character Ranges.
   20848 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20849 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20850 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20851 as_cr_digits='0123456789'
   20852 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20853 
   20854 
   20855 # Determine whether it's possible to make 'echo' print without a newline.
   20856 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20857 # for compatibility with existing Makefiles.
   20858 ECHO_C= ECHO_N= ECHO_T=
   20859 case `echo -n x` in #(((((
   20860 -n*)
   20861   case `echo 'xy\c'` in
   20862   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20863   xy)  ECHO_C='\c';;
   20864   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20865        ECHO_T='	';;
   20866   esac;;
   20867 *)
   20868   ECHO_N='-n';;
   20869 esac
   20870 
   20871 # For backward compatibility with old third-party macros, we provide
   20872 # the shell variables $as_echo and $as_echo_n.  New code should use
   20873 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20874 as_echo='printf %s\n'
   20875 as_echo_n='printf %s'
   20876 
   20877 rm -f conf$$ conf$$.exe conf$$.file
   20878 if test -d conf$$.dir; then
   20879   rm -f conf$$.dir/conf$$.file
   20880 else
   20881   rm -f conf$$.dir
   20882   mkdir conf$$.dir 2>/dev/null
   20883 fi
   20884 if (echo >conf$$.file) 2>/dev/null; then
   20885   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20886     as_ln_s='ln -s'
   20887     # ... but there are two gotchas:
   20888     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   20889     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   20890     # In both cases, we have to default to `cp -pR'.
   20891     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20892       as_ln_s='cp -pR'
   20893   elif ln conf$$.file conf$$ 2>/dev/null; then
   20894     as_ln_s=ln
   20895   else
   20896     as_ln_s='cp -pR'
   20897   fi
   20898 else
   20899   as_ln_s='cp -pR'
   20900 fi
   20901 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20902 rmdir conf$$.dir 2>/dev/null
   20903 
   20904 
   20905 # as_fn_mkdir_p
   20906 # -------------
   20907 # Create "$as_dir" as a directory, including parents if necessary.
   20908 as_fn_mkdir_p ()
   20909 {
   20910 
   20911   case $as_dir in #(
   20912   -*) as_dir=./$as_dir;;
   20913   esac
   20914   test -d "$as_dir" || eval $as_mkdir_p || {
   20915     as_dirs=
   20916     while :; do
   20917       case $as_dir in #(
   20918       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20919       *) as_qdir=$as_dir;;
   20920       esac
   20921       as_dirs="'$as_qdir' $as_dirs"
   20922       as_dir=`$as_dirname -- "$as_dir" ||
   20923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20924 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20925 	 X"$as_dir" : 'X\(//\)$' \| \
   20926 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20927 printf "%s\n" X"$as_dir" |
   20928     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20929 	    s//\1/
   20930 	    q
   20931 	  }
   20932 	  /^X\(\/\/\)[^/].*/{
   20933 	    s//\1/
   20934 	    q
   20935 	  }
   20936 	  /^X\(\/\/\)$/{
   20937 	    s//\1/
   20938 	    q
   20939 	  }
   20940 	  /^X\(\/\).*/{
   20941 	    s//\1/
   20942 	    q
   20943 	  }
   20944 	  s/.*/./; q'`
   20945       test -d "$as_dir" && break
   20946     done
   20947     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20948   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20949 
   20950 
   20951 } # as_fn_mkdir_p
   20952 if mkdir -p . 2>/dev/null; then
   20953   as_mkdir_p='mkdir -p "$as_dir"'
   20954 else
   20955   test -d ./-p && rmdir ./-p
   20956   as_mkdir_p=false
   20957 fi
   20958 
   20959 
   20960 # as_fn_executable_p FILE
   20961 # -----------------------
   20962 # Test if FILE is an executable regular file.
   20963 as_fn_executable_p ()
   20964 {
   20965   test -f "$1" && test -x "$1"
   20966 } # as_fn_executable_p
   20967 as_test_x='test -x'
   20968 as_executable_p=as_fn_executable_p
   20969 
   20970 # Sed expression to map a string onto a valid CPP name.
   20971 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20972 
   20973 # Sed expression to map a string onto a valid variable name.
   20974 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20975 
   20976 
   20977 exec 6>&1
   20978 ## ----------------------------------- ##
   20979 ## Main body of $CONFIG_STATUS script. ##
   20980 ## ----------------------------------- ##
   20981 _ASEOF
   20982 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20983 
   20984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20985 # Save the log message, to keep $0 and so on meaningful, and to
   20986 # report actual input values of CONFIG_FILES etc. instead of their
   20987 # values after options handling.
   20988 ac_log="
   20989 This file was extended by libXaw $as_me 1.0.15, which was
   20990 generated by GNU Autoconf 2.71.  Invocation command line was
   20991 
   20992   CONFIG_FILES    = $CONFIG_FILES
   20993   CONFIG_HEADERS  = $CONFIG_HEADERS
   20994   CONFIG_LINKS    = $CONFIG_LINKS
   20995   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20996   $ $0 $@
   20997 
   20998 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20999 "
   21000 
   21001 _ACEOF
   21002 
   21003 case $ac_config_files in *"
   21004 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21005 esac
   21006 
   21007 case $ac_config_headers in *"
   21008 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21009 esac
   21010 
   21011 
   21012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21013 # Files that config.status was made for.
   21014 config_files="$ac_config_files"
   21015 config_headers="$ac_config_headers"
   21016 config_commands="$ac_config_commands"
   21017 
   21018 _ACEOF
   21019 
   21020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21021 ac_cs_usage="\
   21022 \`$as_me' instantiates files and other configuration actions
   21023 from templates according to the current configuration.  Unless the files
   21024 and actions are specified as TAGs, all are instantiated by default.
   21025 
   21026 Usage: $0 [OPTION]... [TAG]...
   21027 
   21028   -h, --help       print this help, then exit
   21029   -V, --version    print version number and configuration settings, then exit
   21030       --config     print configuration, then exit
   21031   -q, --quiet, --silent
   21032                    do not print progress messages
   21033   -d, --debug      don't remove temporary files
   21034       --recheck    update $as_me by reconfiguring in the same conditions
   21035       --file=FILE[:TEMPLATE]
   21036                    instantiate the configuration file FILE
   21037       --header=FILE[:TEMPLATE]
   21038                    instantiate the configuration header FILE
   21039 
   21040 Configuration files:
   21041 $config_files
   21042 
   21043 Configuration headers:
   21044 $config_headers
   21045 
   21046 Configuration commands:
   21047 $config_commands
   21048 
   21049 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/issues>."
   21050 
   21051 _ACEOF
   21052 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21053 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21055 ac_cs_config='$ac_cs_config_escaped'
   21056 ac_cs_version="\\
   21057 libXaw config.status 1.0.15
   21058 configured by $0, generated by GNU Autoconf 2.71,
   21059   with options \\"\$ac_cs_config\\"
   21060 
   21061 Copyright (C) 2021 Free Software Foundation, Inc.
   21062 This config.status script is free software; the Free Software Foundation
   21063 gives unlimited permission to copy, distribute and modify it."
   21064 
   21065 ac_pwd='$ac_pwd'
   21066 srcdir='$srcdir'
   21067 INSTALL='$INSTALL'
   21068 MKDIR_P='$MKDIR_P'
   21069 AWK='$AWK'
   21070 test -n "\$AWK" || AWK=awk
   21071 _ACEOF
   21072 
   21073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21074 # The default lists apply if the user does not specify any file.
   21075 ac_need_defaults=:
   21076 while test $# != 0
   21077 do
   21078   case $1 in
   21079   --*=?*)
   21080     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21081     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21082     ac_shift=:
   21083     ;;
   21084   --*=)
   21085     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21086     ac_optarg=
   21087     ac_shift=:
   21088     ;;
   21089   *)
   21090     ac_option=$1
   21091     ac_optarg=$2
   21092     ac_shift=shift
   21093     ;;
   21094   esac
   21095 
   21096   case $ac_option in
   21097   # Handling of the options.
   21098   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21099     ac_cs_recheck=: ;;
   21100   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21101     printf "%s\n" "$ac_cs_version"; exit ;;
   21102   --config | --confi | --conf | --con | --co | --c )
   21103     printf "%s\n" "$ac_cs_config"; exit ;;
   21104   --debug | --debu | --deb | --de | --d | -d )
   21105     debug=: ;;
   21106   --file | --fil | --fi | --f )
   21107     $ac_shift
   21108     case $ac_optarg in
   21109     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21110     '') as_fn_error $? "missing file argument" ;;
   21111     esac
   21112     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21113     ac_need_defaults=false;;
   21114   --header | --heade | --head | --hea )
   21115     $ac_shift
   21116     case $ac_optarg in
   21117     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21118     esac
   21119     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21120     ac_need_defaults=false;;
   21121   --he | --h)
   21122     # Conflict between --help and --header
   21123     as_fn_error $? "ambiguous option: \`$1'
   21124 Try \`$0 --help' for more information.";;
   21125   --help | --hel | -h )
   21126     printf "%s\n" "$ac_cs_usage"; exit ;;
   21127   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21128   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21129     ac_cs_silent=: ;;
   21130 
   21131   # This is an error.
   21132   -*) as_fn_error $? "unrecognized option: \`$1'
   21133 Try \`$0 --help' for more information." ;;
   21134 
   21135   *) as_fn_append ac_config_targets " $1"
   21136      ac_need_defaults=false ;;
   21137 
   21138   esac
   21139   shift
   21140 done
   21141 
   21142 ac_configure_extra_args=
   21143 
   21144 if $ac_cs_silent; then
   21145   exec 6>/dev/null
   21146   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21147 fi
   21148 
   21149 _ACEOF
   21150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21151 if \$ac_cs_recheck; then
   21152   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21153   shift
   21154   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21155   CONFIG_SHELL='$SHELL'
   21156   export CONFIG_SHELL
   21157   exec "\$@"
   21158 fi
   21159 
   21160 _ACEOF
   21161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21162 exec 5>>config.log
   21163 {
   21164   echo
   21165   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21166 ## Running $as_me. ##
   21167 _ASBOX
   21168   printf "%s\n" "$ac_log"
   21169 } >&5
   21170 
   21171 _ACEOF
   21172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21173 #
   21174 # INIT-COMMANDS
   21175 #
   21176 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21177 
   21178 
   21179 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21180 # if CDPATH is set.
   21181 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21182 
   21183 sed_quote_subst='$sed_quote_subst'
   21184 double_quote_subst='$double_quote_subst'
   21185 delay_variable_subst='$delay_variable_subst'
   21186 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21187 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21188 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21189 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21190 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21191 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21192 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21193 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21194 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21195 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21196 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21197 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21198 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21199 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21200 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21201 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21202 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21203 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21204 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21205 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21206 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21207 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21208 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21209 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21210 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21211 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21212 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21213 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21214 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21215 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21216 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21217 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21218 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21219 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21220 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21221 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21222 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21223 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21224 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21225 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21226 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21227 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21228 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21229 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21230 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21231 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21232 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21233 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21234 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21235 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21236 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21237 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21238 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21239 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21240 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21241 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21242 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21243 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21244 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21245 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21246 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"`'
   21247 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21248 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21249 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21250 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21251 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21252 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21253 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21254 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21255 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21256 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21257 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21258 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21259 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21260 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21261 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21262 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21263 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21264 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21265 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21266 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21267 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21268 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21269 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21270 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21271 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21272 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21273 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21274 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21275 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21276 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21277 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21278 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21279 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21280 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21281 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21282 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21283 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21284 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21285 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21286 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21287 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21288 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21289 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21290 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21291 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21292 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21293 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21294 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21295 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21296 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21297 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21298 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21299 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21300 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21301 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21302 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21303 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21304 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21305 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21306 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21307 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21308 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21309 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21310 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21311 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21312 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21313 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21314 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21315 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21316 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21317 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21318 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21319 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21320 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21321 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21322 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21323 
   21324 LTCC='$LTCC'
   21325 LTCFLAGS='$LTCFLAGS'
   21326 compiler='$compiler_DEFAULT'
   21327 
   21328 # A function that is used when there is no print builtin or printf.
   21329 func_fallback_echo ()
   21330 {
   21331   eval 'cat <<_LTECHO_EOF
   21332 \$1
   21333 _LTECHO_EOF'
   21334 }
   21335 
   21336 # Quote evaled strings.
   21337 for var in SHELL \
   21338 ECHO \
   21339 PATH_SEPARATOR \
   21340 SED \
   21341 GREP \
   21342 EGREP \
   21343 FGREP \
   21344 LD \
   21345 NM \
   21346 LN_S \
   21347 lt_SP2NL \
   21348 lt_NL2SP \
   21349 reload_flag \
   21350 FILECMD \
   21351 OBJDUMP \
   21352 deplibs_check_method \
   21353 file_magic_cmd \
   21354 file_magic_glob \
   21355 want_nocaseglob \
   21356 DLLTOOL \
   21357 sharedlib_from_linklib_cmd \
   21358 AR \
   21359 archiver_list_spec \
   21360 STRIP \
   21361 RANLIB \
   21362 CC \
   21363 CFLAGS \
   21364 compiler \
   21365 lt_cv_sys_global_symbol_pipe \
   21366 lt_cv_sys_global_symbol_to_cdecl \
   21367 lt_cv_sys_global_symbol_to_import \
   21368 lt_cv_sys_global_symbol_to_c_name_address \
   21369 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21370 lt_cv_nm_interface \
   21371 nm_file_list_spec \
   21372 lt_cv_truncate_bin \
   21373 lt_prog_compiler_no_builtin_flag \
   21374 lt_prog_compiler_pic \
   21375 lt_prog_compiler_wl \
   21376 lt_prog_compiler_static \
   21377 lt_cv_prog_compiler_c_o \
   21378 need_locks \
   21379 MANIFEST_TOOL \
   21380 DSYMUTIL \
   21381 NMEDIT \
   21382 LIPO \
   21383 OTOOL \
   21384 OTOOL64 \
   21385 shrext_cmds \
   21386 export_dynamic_flag_spec \
   21387 whole_archive_flag_spec \
   21388 compiler_needs_object \
   21389 with_gnu_ld \
   21390 allow_undefined_flag \
   21391 no_undefined_flag \
   21392 hardcode_libdir_flag_spec \
   21393 hardcode_libdir_separator \
   21394 exclude_expsyms \
   21395 include_expsyms \
   21396 file_list_spec \
   21397 variables_saved_for_relink \
   21398 libname_spec \
   21399 library_names_spec \
   21400 soname_spec \
   21401 install_override_mode \
   21402 finish_eval \
   21403 old_striplib \
   21404 striplib; do
   21405     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21406     *[\\\\\\\`\\"\\\$]*)
   21407       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21408       ;;
   21409     *)
   21410       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21411       ;;
   21412     esac
   21413 done
   21414 
   21415 # Double-quote double-evaled strings.
   21416 for var in reload_cmds \
   21417 old_postinstall_cmds \
   21418 old_postuninstall_cmds \
   21419 old_archive_cmds \
   21420 extract_expsyms_cmds \
   21421 old_archive_from_new_cmds \
   21422 old_archive_from_expsyms_cmds \
   21423 archive_cmds \
   21424 archive_expsym_cmds \
   21425 module_cmds \
   21426 module_expsym_cmds \
   21427 export_symbols_cmds \
   21428 prelink_cmds \
   21429 postlink_cmds \
   21430 postinstall_cmds \
   21431 postuninstall_cmds \
   21432 finish_cmds \
   21433 sys_lib_search_path_spec \
   21434 configure_time_dlsearch_path \
   21435 configure_time_lt_sys_library_path; do
   21436     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21437     *[\\\\\\\`\\"\\\$]*)
   21438       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21439       ;;
   21440     *)
   21441       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21442       ;;
   21443     esac
   21444 done
   21445 
   21446 ac_aux_dir='$ac_aux_dir'
   21447 
   21448 # See if we are running on zsh, and set the options that allow our
   21449 # commands through without removal of \ escapes INIT.
   21450 if test -n "\${ZSH_VERSION+set}"; then
   21451    setopt NO_GLOB_SUBST
   21452 fi
   21453 
   21454 
   21455     PACKAGE='$PACKAGE'
   21456     VERSION='$VERSION'
   21457     RM='$RM'
   21458     ofile='$ofile'
   21459 
   21460 
   21461 
   21462 
   21463 _ACEOF
   21464 
   21465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21466 
   21467 # Handling of arguments.
   21468 for ac_config_target in $ac_config_targets
   21469 do
   21470   case $ac_config_target in
   21471     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21472     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21473     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21474     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   21475     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21476     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21477     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21478     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   21479     "specs/libXaw.ent") CONFIG_FILES="$CONFIG_FILES specs/libXaw.ent" ;;
   21480     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21481     "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
   21482     "xaw7.pc") CONFIG_FILES="$CONFIG_FILES xaw7.pc" ;;
   21483 
   21484   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21485   esac
   21486 done
   21487 
   21488 
   21489 # If the user did not use the arguments to specify the items to instantiate,
   21490 # then the envvar interface is used.  Set only those that are not.
   21491 # We use the long form for the default assignment because of an extremely
   21492 # bizarre bug on SunOS 4.1.3.
   21493 if $ac_need_defaults; then
   21494   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21495   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21496   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21497 fi
   21498 
   21499 # Have a temporary directory for convenience.  Make it in the build tree
   21500 # simply because there is no reason against having it here, and in addition,
   21501 # creating and moving files from /tmp can sometimes cause problems.
   21502 # Hook for its removal unless debugging.
   21503 # Note that there is a small window in which the directory will not be cleaned:
   21504 # after its creation but before its name has been assigned to `$tmp'.
   21505 $debug ||
   21506 {
   21507   tmp= ac_tmp=
   21508   trap 'exit_status=$?
   21509   : "${ac_tmp:=$tmp}"
   21510   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21511 ' 0
   21512   trap 'as_fn_exit 1' 1 2 13 15
   21513 }
   21514 # Create a (secure) tmp directory for tmp files.
   21515 
   21516 {
   21517   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21518   test -d "$tmp"
   21519 }  ||
   21520 {
   21521   tmp=./conf$$-$RANDOM
   21522   (umask 077 && mkdir "$tmp")
   21523 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21524 ac_tmp=$tmp
   21525 
   21526 # Set up the scripts for CONFIG_FILES section.
   21527 # No need to generate them if there are no CONFIG_FILES.
   21528 # This happens for instance with `./config.status config.h'.
   21529 if test -n "$CONFIG_FILES"; then
   21530 
   21531 
   21532 ac_cr=`echo X | tr X '\015'`
   21533 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21534 # But we know of no other shell where ac_cr would be empty at this
   21535 # point, so we can use a bashism as a fallback.
   21536 if test "x$ac_cr" = x; then
   21537   eval ac_cr=\$\'\\r\'
   21538 fi
   21539 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21540 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21541   ac_cs_awk_cr='\\r'
   21542 else
   21543   ac_cs_awk_cr=$ac_cr
   21544 fi
   21545 
   21546 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21547 _ACEOF
   21548 
   21549 
   21550 {
   21551   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21552   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21553   echo "_ACEOF"
   21554 } >conf$$subs.sh ||
   21555   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21556 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21557 ac_delim='%!_!# '
   21558 for ac_last_try in false false false false false :; do
   21559   . ./conf$$subs.sh ||
   21560     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21561 
   21562   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21563   if test $ac_delim_n = $ac_delim_num; then
   21564     break
   21565   elif $ac_last_try; then
   21566     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21567   else
   21568     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21569   fi
   21570 done
   21571 rm -f conf$$subs.sh
   21572 
   21573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21574 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21575 _ACEOF
   21576 sed -n '
   21577 h
   21578 s/^/S["/; s/!.*/"]=/
   21579 p
   21580 g
   21581 s/^[^!]*!//
   21582 :repl
   21583 t repl
   21584 s/'"$ac_delim"'$//
   21585 t delim
   21586 :nl
   21587 h
   21588 s/\(.\{148\}\)..*/\1/
   21589 t more1
   21590 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21591 p
   21592 n
   21593 b repl
   21594 :more1
   21595 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21596 p
   21597 g
   21598 s/.\{148\}//
   21599 t nl
   21600 :delim
   21601 h
   21602 s/\(.\{148\}\)..*/\1/
   21603 t more2
   21604 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21605 p
   21606 b
   21607 :more2
   21608 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21609 p
   21610 g
   21611 s/.\{148\}//
   21612 t delim
   21613 ' <conf$$subs.awk | sed '
   21614 /^[^""]/{
   21615   N
   21616   s/\n//
   21617 }
   21618 ' >>$CONFIG_STATUS || ac_write_fail=1
   21619 rm -f conf$$subs.awk
   21620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21621 _ACAWK
   21622 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21623   for (key in S) S_is_set[key] = 1
   21624   FS = ""
   21625 
   21626 }
   21627 {
   21628   line = $ 0
   21629   nfields = split(line, field, "@")
   21630   substed = 0
   21631   len = length(field[1])
   21632   for (i = 2; i < nfields; i++) {
   21633     key = field[i]
   21634     keylen = length(key)
   21635     if (S_is_set[key]) {
   21636       value = S[key]
   21637       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21638       len += length(value) + length(field[++i])
   21639       substed = 1
   21640     } else
   21641       len += 1 + keylen
   21642   }
   21643 
   21644   print line
   21645 }
   21646 
   21647 _ACAWK
   21648 _ACEOF
   21649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21650 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21651   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21652 else
   21653   cat
   21654 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21655   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21656 _ACEOF
   21657 
   21658 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21659 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21660 # trailing colons and then remove the whole line if VPATH becomes empty
   21661 # (actually we leave an empty line to preserve line numbers).
   21662 if test "x$srcdir" = x.; then
   21663   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21664 h
   21665 s///
   21666 s/^/:/
   21667 s/[	 ]*$/:/
   21668 s/:\$(srcdir):/:/g
   21669 s/:\${srcdir}:/:/g
   21670 s/:@srcdir@:/:/g
   21671 s/^:*//
   21672 s/:*$//
   21673 x
   21674 s/\(=[	 ]*\).*/\1/
   21675 G
   21676 s/\n//
   21677 s/^[^=]*=[	 ]*$//
   21678 }'
   21679 fi
   21680 
   21681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21682 fi # test -n "$CONFIG_FILES"
   21683 
   21684 # Set up the scripts for CONFIG_HEADERS section.
   21685 # No need to generate them if there are no CONFIG_HEADERS.
   21686 # This happens for instance with `./config.status Makefile'.
   21687 if test -n "$CONFIG_HEADERS"; then
   21688 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21689 BEGIN {
   21690 _ACEOF
   21691 
   21692 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21693 # here-document in config.status, that substitutes the proper values into
   21694 # config.h.in to produce config.h.
   21695 
   21696 # Create a delimiter string that does not exist in confdefs.h, to ease
   21697 # handling of long lines.
   21698 ac_delim='%!_!# '
   21699 for ac_last_try in false false :; do
   21700   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21701   if test -z "$ac_tt"; then
   21702     break
   21703   elif $ac_last_try; then
   21704     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21705   else
   21706     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21707   fi
   21708 done
   21709 
   21710 # For the awk script, D is an array of macro values keyed by name,
   21711 # likewise P contains macro parameters if any.  Preserve backslash
   21712 # newline sequences.
   21713 
   21714 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21715 sed -n '
   21716 s/.\{148\}/&'"$ac_delim"'/g
   21717 t rset
   21718 :rset
   21719 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21720 t def
   21721 d
   21722 :def
   21723 s/\\$//
   21724 t bsnl
   21725 s/["\\]/\\&/g
   21726 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21727 D["\1"]=" \3"/p
   21728 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21729 d
   21730 :bsnl
   21731 s/["\\]/\\&/g
   21732 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21733 D["\1"]=" \3\\\\\\n"\\/p
   21734 t cont
   21735 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21736 t cont
   21737 d
   21738 :cont
   21739 n
   21740 s/.\{148\}/&'"$ac_delim"'/g
   21741 t clear
   21742 :clear
   21743 s/\\$//
   21744 t bsnlc
   21745 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21746 d
   21747 :bsnlc
   21748 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21749 b cont
   21750 ' <confdefs.h | sed '
   21751 s/'"$ac_delim"'/"\\\
   21752 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21753 
   21754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21755   for (key in D) D_is_set[key] = 1
   21756   FS = ""
   21757 }
   21758 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21759   line = \$ 0
   21760   split(line, arg, " ")
   21761   if (arg[1] == "#") {
   21762     defundef = arg[2]
   21763     mac1 = arg[3]
   21764   } else {
   21765     defundef = substr(arg[1], 2)
   21766     mac1 = arg[2]
   21767   }
   21768   split(mac1, mac2, "(") #)
   21769   macro = mac2[1]
   21770   prefix = substr(line, 1, index(line, defundef) - 1)
   21771   if (D_is_set[macro]) {
   21772     # Preserve the white space surrounding the "#".
   21773     print prefix "define", macro P[macro] D[macro]
   21774     next
   21775   } else {
   21776     # Replace #undef with comments.  This is necessary, for example,
   21777     # in the case of _POSIX_SOURCE, which is predefined and required
   21778     # on some systems where configure will not decide to define it.
   21779     if (defundef == "undef") {
   21780       print "/*", prefix defundef, macro, "*/"
   21781       next
   21782     }
   21783   }
   21784 }
   21785 { print }
   21786 _ACAWK
   21787 _ACEOF
   21788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21789   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21790 fi # test -n "$CONFIG_HEADERS"
   21791 
   21792 
   21793 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21794 shift
   21795 for ac_tag
   21796 do
   21797   case $ac_tag in
   21798   :[FHLC]) ac_mode=$ac_tag; continue;;
   21799   esac
   21800   case $ac_mode$ac_tag in
   21801   :[FHL]*:*);;
   21802   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21803   :[FH]-) ac_tag=-:-;;
   21804   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21805   esac
   21806   ac_save_IFS=$IFS
   21807   IFS=:
   21808   set x $ac_tag
   21809   IFS=$ac_save_IFS
   21810   shift
   21811   ac_file=$1
   21812   shift
   21813 
   21814   case $ac_mode in
   21815   :L) ac_source=$1;;
   21816   :[FH])
   21817     ac_file_inputs=
   21818     for ac_f
   21819     do
   21820       case $ac_f in
   21821       -) ac_f="$ac_tmp/stdin";;
   21822       *) # Look for the file first in the build tree, then in the source tree
   21823 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21824 	 # because $ac_f cannot contain `:'.
   21825 	 test -f "$ac_f" ||
   21826 	   case $ac_f in
   21827 	   [\\/$]*) false;;
   21828 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21829 	   esac ||
   21830 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   21831       esac
   21832       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21833       as_fn_append ac_file_inputs " '$ac_f'"
   21834     done
   21835 
   21836     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21837     # use $as_me), people would be surprised to read:
   21838     #    /* config.h.  Generated by config.status.  */
   21839     configure_input='Generated from '`
   21840 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21841 	`' by configure.'
   21842     if test x"$ac_file" != x-; then
   21843       configure_input="$ac_file.  $configure_input"
   21844       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21845 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21846     fi
   21847     # Neutralize special characters interpreted by sed in replacement strings.
   21848     case $configure_input in #(
   21849     *\&* | *\|* | *\\* )
   21850        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21851        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21852     *) ac_sed_conf_input=$configure_input;;
   21853     esac
   21854 
   21855     case $ac_tag in
   21856     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21857       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21858     esac
   21859     ;;
   21860   esac
   21861 
   21862   ac_dir=`$as_dirname -- "$ac_file" ||
   21863 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21864 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21865 	 X"$ac_file" : 'X\(//\)$' \| \
   21866 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21867 printf "%s\n" X"$ac_file" |
   21868     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21869 	    s//\1/
   21870 	    q
   21871 	  }
   21872 	  /^X\(\/\/\)[^/].*/{
   21873 	    s//\1/
   21874 	    q
   21875 	  }
   21876 	  /^X\(\/\/\)$/{
   21877 	    s//\1/
   21878 	    q
   21879 	  }
   21880 	  /^X\(\/\).*/{
   21881 	    s//\1/
   21882 	    q
   21883 	  }
   21884 	  s/.*/./; q'`
   21885   as_dir="$ac_dir"; as_fn_mkdir_p
   21886   ac_builddir=.
   21887 
   21888 case "$ac_dir" in
   21889 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21890 *)
   21891   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21892   # A ".." for each directory in $ac_dir_suffix.
   21893   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21894   case $ac_top_builddir_sub in
   21895   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21896   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21897   esac ;;
   21898 esac
   21899 ac_abs_top_builddir=$ac_pwd
   21900 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21901 # for backward compatibility:
   21902 ac_top_builddir=$ac_top_build_prefix
   21903 
   21904 case $srcdir in
   21905   .)  # We are building in place.
   21906     ac_srcdir=.
   21907     ac_top_srcdir=$ac_top_builddir_sub
   21908     ac_abs_top_srcdir=$ac_pwd ;;
   21909   [\\/]* | ?:[\\/]* )  # Absolute name.
   21910     ac_srcdir=$srcdir$ac_dir_suffix;
   21911     ac_top_srcdir=$srcdir
   21912     ac_abs_top_srcdir=$srcdir ;;
   21913   *) # Relative name.
   21914     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21915     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21916     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21917 esac
   21918 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21919 
   21920 
   21921   case $ac_mode in
   21922   :F)
   21923   #
   21924   # CONFIG_FILE
   21925   #
   21926 
   21927   case $INSTALL in
   21928   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21929   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21930   esac
   21931   ac_MKDIR_P=$MKDIR_P
   21932   case $MKDIR_P in
   21933   [\\/$]* | ?:[\\/]* ) ;;
   21934   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21935   esac
   21936 _ACEOF
   21937 
   21938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21939 # If the template does not know about datarootdir, expand it.
   21940 # FIXME: This hack should be removed a few years after 2.60.
   21941 ac_datarootdir_hack=; ac_datarootdir_seen=
   21942 ac_sed_dataroot='
   21943 /datarootdir/ {
   21944   p
   21945   q
   21946 }
   21947 /@datadir@/p
   21948 /@docdir@/p
   21949 /@infodir@/p
   21950 /@localedir@/p
   21951 /@mandir@/p'
   21952 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21953 *datarootdir*) ac_datarootdir_seen=yes;;
   21954 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21955   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21956 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21957 _ACEOF
   21958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21959   ac_datarootdir_hack='
   21960   s&@datadir@&$datadir&g
   21961   s&@docdir@&$docdir&g
   21962   s&@infodir@&$infodir&g
   21963   s&@localedir@&$localedir&g
   21964   s&@mandir@&$mandir&g
   21965   s&\\\${datarootdir}&$datarootdir&g' ;;
   21966 esac
   21967 _ACEOF
   21968 
   21969 # Neutralize VPATH when `$srcdir' = `.'.
   21970 # Shell code in configure.ac might set extrasub.
   21971 # FIXME: do we really want to maintain this feature?
   21972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21973 ac_sed_extra="$ac_vpsub
   21974 $extrasub
   21975 _ACEOF
   21976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21977 :t
   21978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21979 s|@configure_input@|$ac_sed_conf_input|;t t
   21980 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21981 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21982 s&@srcdir@&$ac_srcdir&;t t
   21983 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21984 s&@top_srcdir@&$ac_top_srcdir&;t t
   21985 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21986 s&@builddir@&$ac_builddir&;t t
   21987 s&@abs_builddir@&$ac_abs_builddir&;t t
   21988 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21989 s&@INSTALL@&$ac_INSTALL&;t t
   21990 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21991 $ac_datarootdir_hack
   21992 "
   21993 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21994   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21995 
   21996 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21997   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21998   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21999       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22001 which seems to be undefined.  Please make sure it is defined" >&5
   22002 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22003 which seems to be undefined.  Please make sure it is defined" >&2;}
   22004 
   22005   rm -f "$ac_tmp/stdin"
   22006   case $ac_file in
   22007   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22008   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22009   esac \
   22010   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22011  ;;
   22012   :H)
   22013   #
   22014   # CONFIG_HEADER
   22015   #
   22016   if test x"$ac_file" != x-; then
   22017     {
   22018       printf "%s\n" "/* $configure_input  */" >&1 \
   22019       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22020     } >"$ac_tmp/config.h" \
   22021       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22022     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22023       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22024 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22025     else
   22026       rm -f "$ac_file"
   22027       mv "$ac_tmp/config.h" "$ac_file" \
   22028 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22029     fi
   22030   else
   22031     printf "%s\n" "/* $configure_input  */" >&1 \
   22032       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22033       || as_fn_error $? "could not create -" "$LINENO" 5
   22034   fi
   22035 # Compute "$ac_file"'s index in $config_headers.
   22036 _am_arg="$ac_file"
   22037 _am_stamp_count=1
   22038 for _am_header in $config_headers :; do
   22039   case $_am_header in
   22040     $_am_arg | $_am_arg:* )
   22041       break ;;
   22042     * )
   22043       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22044   esac
   22045 done
   22046 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22047 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22048 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22049 	 X"$_am_arg" : 'X\(//\)$' \| \
   22050 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22051 printf "%s\n" X"$_am_arg" |
   22052     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22053 	    s//\1/
   22054 	    q
   22055 	  }
   22056 	  /^X\(\/\/\)[^/].*/{
   22057 	    s//\1/
   22058 	    q
   22059 	  }
   22060 	  /^X\(\/\/\)$/{
   22061 	    s//\1/
   22062 	    q
   22063 	  }
   22064 	  /^X\(\/\).*/{
   22065 	    s//\1/
   22066 	    q
   22067 	  }
   22068 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22069  ;;
   22070 
   22071   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22072 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22073  ;;
   22074   esac
   22075 
   22076 
   22077   case $ac_file$ac_mode in
   22078     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22079   # Older Autoconf quotes --file arguments for eval, but not when files
   22080   # are listed without --file.  Let's play safe and only enable the eval
   22081   # if we detect the quoting.
   22082   # TODO: see whether this extra hack can be removed once we start
   22083   # requiring Autoconf 2.70 or later.
   22084   case $CONFIG_FILES in #(
   22085   *\'*) :
   22086     eval set x "$CONFIG_FILES" ;; #(
   22087   *) :
   22088     set x $CONFIG_FILES ;; #(
   22089   *) :
   22090      ;;
   22091 esac
   22092   shift
   22093   # Used to flag and report bootstrapping failures.
   22094   am_rc=0
   22095   for am_mf
   22096   do
   22097     # Strip MF so we end up with the name of the file.
   22098     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22099     # Check whether this is an Automake generated Makefile which includes
   22100     # dependency-tracking related rules and includes.
   22101     # Grep'ing the whole file directly is not great: AIX grep has a line
   22102     # limit of 2048, but all sed's we know have understand at least 4000.
   22103     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22104       || continue
   22105     am_dirpart=`$as_dirname -- "$am_mf" ||
   22106 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22107 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22108 	 X"$am_mf" : 'X\(//\)$' \| \
   22109 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22110 printf "%s\n" X"$am_mf" |
   22111     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22112 	    s//\1/
   22113 	    q
   22114 	  }
   22115 	  /^X\(\/\/\)[^/].*/{
   22116 	    s//\1/
   22117 	    q
   22118 	  }
   22119 	  /^X\(\/\/\)$/{
   22120 	    s//\1/
   22121 	    q
   22122 	  }
   22123 	  /^X\(\/\).*/{
   22124 	    s//\1/
   22125 	    q
   22126 	  }
   22127 	  s/.*/./; q'`
   22128     am_filepart=`$as_basename -- "$am_mf" ||
   22129 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22130 	 X"$am_mf" : 'X\(//\)$' \| \
   22131 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22132 printf "%s\n" X/"$am_mf" |
   22133     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22134 	    s//\1/
   22135 	    q
   22136 	  }
   22137 	  /^X\/\(\/\/\)$/{
   22138 	    s//\1/
   22139 	    q
   22140 	  }
   22141 	  /^X\/\(\/\).*/{
   22142 	    s//\1/
   22143 	    q
   22144 	  }
   22145 	  s/.*/./; q'`
   22146     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22147       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22148         | $MAKE -f - am--depfiles" >&5
   22149    (cd "$am_dirpart" \
   22150       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22151         | $MAKE -f - am--depfiles) >&5 2>&5
   22152    ac_status=$?
   22153    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22154    (exit $ac_status); } || am_rc=$?
   22155   done
   22156   if test $am_rc -ne 0; then
   22157     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22158 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22159 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22160     for automatic dependency tracking.  If GNU make was not used, consider
   22161     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22162     necessary).  You can also try re-running configure with the
   22163     '--disable-dependency-tracking' option to at least be able to build
   22164     the package (albeit without support for automatic dependency tracking).
   22165 See \`config.log' for more details" "$LINENO" 5; }
   22166   fi
   22167   { am_dirpart=; unset am_dirpart;}
   22168   { am_filepart=; unset am_filepart;}
   22169   { am_mf=; unset am_mf;}
   22170   { am_rc=; unset am_rc;}
   22171   rm -f conftest-deps.mk
   22172 }
   22173  ;;
   22174     "libtool":C)
   22175 
   22176     # See if we are running on zsh, and set the options that allow our
   22177     # commands through without removal of \ escapes.
   22178     if test -n "${ZSH_VERSION+set}"; then
   22179       setopt NO_GLOB_SUBST
   22180     fi
   22181 
   22182     cfgfile=${ofile}T
   22183     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22184     $RM "$cfgfile"
   22185 
   22186     cat <<_LT_EOF >> "$cfgfile"
   22187 #! $SHELL
   22188 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22189 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22190 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22191 
   22192 # Provide generalized library-building support services.
   22193 # Written by Gordon Matzigkeit, 1996
   22194 
   22195 # Copyright (C) 2014 Free Software Foundation, Inc.
   22196 # This is free software; see the source for copying conditions.  There is NO
   22197 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22198 
   22199 # GNU Libtool is free software; you can redistribute it and/or modify
   22200 # it under the terms of the GNU General Public License as published by
   22201 # the Free Software Foundation; either version 2 of of the License, or
   22202 # (at your option) any later version.
   22203 #
   22204 # As a special exception to the GNU General Public License, if you
   22205 # distribute this file as part of a program or library that is built
   22206 # using GNU Libtool, you may include this file under the  same
   22207 # distribution terms that you use for the rest of that program.
   22208 #
   22209 # GNU Libtool is distributed in the hope that it will be useful, but
   22210 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22211 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22212 # GNU General Public License for more details.
   22213 #
   22214 # You should have received a copy of the GNU General Public License
   22215 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22216 
   22217 
   22218 # The names of the tagged configurations supported by this script.
   22219 available_tags=''
   22220 
   22221 # Configured defaults for sys_lib_dlsearch_path munging.
   22222 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22223 
   22224 # ### BEGIN LIBTOOL CONFIG
   22225 
   22226 # Which release of libtool.m4 was used?
   22227 macro_version=$macro_version
   22228 macro_revision=$macro_revision
   22229 
   22230 # Whether or not to build shared libraries.
   22231 build_libtool_libs=$enable_shared
   22232 
   22233 # Whether or not to build static libraries.
   22234 build_old_libs=$enable_static
   22235 
   22236 # What type of objects to build.
   22237 pic_mode=$pic_mode
   22238 
   22239 # Whether or not to optimize for fast installation.
   22240 fast_install=$enable_fast_install
   22241 
   22242 # Shared archive member basename,for filename based shared library versioning on AIX.
   22243 shared_archive_member_spec=$shared_archive_member_spec
   22244 
   22245 # Shell to use when invoking shell scripts.
   22246 SHELL=$lt_SHELL
   22247 
   22248 # An echo program that protects backslashes.
   22249 ECHO=$lt_ECHO
   22250 
   22251 # The PATH separator for the build system.
   22252 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22253 
   22254 # The host system.
   22255 host_alias=$host_alias
   22256 host=$host
   22257 host_os=$host_os
   22258 
   22259 # The build system.
   22260 build_alias=$build_alias
   22261 build=$build
   22262 build_os=$build_os
   22263 
   22264 # A sed program that does not truncate output.
   22265 SED=$lt_SED
   22266 
   22267 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22268 Xsed="\$SED -e 1s/^X//"
   22269 
   22270 # A grep program that handles long lines.
   22271 GREP=$lt_GREP
   22272 
   22273 # An ERE matcher.
   22274 EGREP=$lt_EGREP
   22275 
   22276 # A literal string matcher.
   22277 FGREP=$lt_FGREP
   22278 
   22279 # A BSD- or MS-compatible name lister.
   22280 NM=$lt_NM
   22281 
   22282 # Whether we need soft or hard links.
   22283 LN_S=$lt_LN_S
   22284 
   22285 # What is the maximum length of a command?
   22286 max_cmd_len=$max_cmd_len
   22287 
   22288 # Object file suffix (normally "o").
   22289 objext=$ac_objext
   22290 
   22291 # Executable file suffix (normally "").
   22292 exeext=$exeext
   22293 
   22294 # whether the shell understands "unset".
   22295 lt_unset=$lt_unset
   22296 
   22297 # turn spaces into newlines.
   22298 SP2NL=$lt_lt_SP2NL
   22299 
   22300 # turn newlines into spaces.
   22301 NL2SP=$lt_lt_NL2SP
   22302 
   22303 # convert \$build file names to \$host format.
   22304 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22305 
   22306 # convert \$build files to toolchain format.
   22307 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22308 
   22309 # A file(cmd) program that detects file types.
   22310 FILECMD=$lt_FILECMD
   22311 
   22312 # An object symbol dumper.
   22313 OBJDUMP=$lt_OBJDUMP
   22314 
   22315 # Method to check whether dependent libraries are shared objects.
   22316 deplibs_check_method=$lt_deplibs_check_method
   22317 
   22318 # Command to use when deplibs_check_method = "file_magic".
   22319 file_magic_cmd=$lt_file_magic_cmd
   22320 
   22321 # How to find potential files when deplibs_check_method = "file_magic".
   22322 file_magic_glob=$lt_file_magic_glob
   22323 
   22324 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22325 want_nocaseglob=$lt_want_nocaseglob
   22326 
   22327 # DLL creation program.
   22328 DLLTOOL=$lt_DLLTOOL
   22329 
   22330 # Command to associate shared and link libraries.
   22331 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22332 
   22333 # The archiver.
   22334 AR=$lt_AR
   22335 
   22336 # Flags to create an archive (by configure).
   22337 lt_ar_flags=$lt_ar_flags
   22338 
   22339 # Flags to create an archive.
   22340 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22341 
   22342 # How to feed a file listing to the archiver.
   22343 archiver_list_spec=$lt_archiver_list_spec
   22344 
   22345 # A symbol stripping program.
   22346 STRIP=$lt_STRIP
   22347 
   22348 # Commands used to install an old-style archive.
   22349 RANLIB=$lt_RANLIB
   22350 old_postinstall_cmds=$lt_old_postinstall_cmds
   22351 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22352 
   22353 # Whether to use a lock for old archive extraction.
   22354 lock_old_archive_extraction=$lock_old_archive_extraction
   22355 
   22356 # A C compiler.
   22357 LTCC=$lt_CC
   22358 
   22359 # LTCC compiler flags.
   22360 LTCFLAGS=$lt_CFLAGS
   22361 
   22362 # Take the output of nm and produce a listing of raw symbols and C names.
   22363 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22364 
   22365 # Transform the output of nm in a proper C declaration.
   22366 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22367 
   22368 # Transform the output of nm into a list of symbols to manually relocate.
   22369 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22370 
   22371 # Transform the output of nm in a C name address pair.
   22372 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22373 
   22374 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22375 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22376 
   22377 # The name lister interface.
   22378 nm_interface=$lt_lt_cv_nm_interface
   22379 
   22380 # Specify filename containing input files for \$NM.
   22381 nm_file_list_spec=$lt_nm_file_list_spec
   22382 
   22383 # The root where to search for dependent libraries,and where our libraries should be installed.
   22384 lt_sysroot=$lt_sysroot
   22385 
   22386 # Command to truncate a binary pipe.
   22387 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22388 
   22389 # The name of the directory that contains temporary libtool files.
   22390 objdir=$objdir
   22391 
   22392 # Used to examine libraries when file_magic_cmd begins with "file".
   22393 MAGIC_CMD=$MAGIC_CMD
   22394 
   22395 # Must we lock files when doing compilation?
   22396 need_locks=$lt_need_locks
   22397 
   22398 # Manifest tool.
   22399 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22400 
   22401 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22402 DSYMUTIL=$lt_DSYMUTIL
   22403 
   22404 # Tool to change global to local symbols on Mac OS X.
   22405 NMEDIT=$lt_NMEDIT
   22406 
   22407 # Tool to manipulate fat objects and archives on Mac OS X.
   22408 LIPO=$lt_LIPO
   22409 
   22410 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22411 OTOOL=$lt_OTOOL
   22412 
   22413 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22414 OTOOL64=$lt_OTOOL64
   22415 
   22416 # Old archive suffix (normally "a").
   22417 libext=$libext
   22418 
   22419 # Shared library suffix (normally ".so").
   22420 shrext_cmds=$lt_shrext_cmds
   22421 
   22422 # The commands to extract the exported symbol list from a shared archive.
   22423 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22424 
   22425 # Variables whose values should be saved in libtool wrapper scripts and
   22426 # restored at link time.
   22427 variables_saved_for_relink=$lt_variables_saved_for_relink
   22428 
   22429 # Do we need the "lib" prefix for modules?
   22430 need_lib_prefix=$need_lib_prefix
   22431 
   22432 # Do we need a version for libraries?
   22433 need_version=$need_version
   22434 
   22435 # Library versioning type.
   22436 version_type=$version_type
   22437 
   22438 # Shared library runtime path variable.
   22439 runpath_var=$runpath_var
   22440 
   22441 # Shared library path variable.
   22442 shlibpath_var=$shlibpath_var
   22443 
   22444 # Is shlibpath searched before the hard-coded library search path?
   22445 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22446 
   22447 # Format of library name prefix.
   22448 libname_spec=$lt_libname_spec
   22449 
   22450 # List of archive names.  First name is the real one, the rest are links.
   22451 # The last name is the one that the linker finds with -lNAME
   22452 library_names_spec=$lt_library_names_spec
   22453 
   22454 # The coded name of the library, if different from the real name.
   22455 soname_spec=$lt_soname_spec
   22456 
   22457 # Permission mode override for installation of shared libraries.
   22458 install_override_mode=$lt_install_override_mode
   22459 
   22460 # Command to use after installation of a shared archive.
   22461 postinstall_cmds=$lt_postinstall_cmds
   22462 
   22463 # Command to use after uninstallation of a shared archive.
   22464 postuninstall_cmds=$lt_postuninstall_cmds
   22465 
   22466 # Commands used to finish a libtool library installation in a directory.
   22467 finish_cmds=$lt_finish_cmds
   22468 
   22469 # As "finish_cmds", except a single script fragment to be evaled but
   22470 # not shown.
   22471 finish_eval=$lt_finish_eval
   22472 
   22473 # Whether we should hardcode library paths into libraries.
   22474 hardcode_into_libs=$hardcode_into_libs
   22475 
   22476 # Compile-time system search path for libraries.
   22477 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22478 
   22479 # Detected run-time system search path for libraries.
   22480 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22481 
   22482 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22483 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22484 
   22485 # Whether dlopen is supported.
   22486 dlopen_support=$enable_dlopen
   22487 
   22488 # Whether dlopen of programs is supported.
   22489 dlopen_self=$enable_dlopen_self
   22490 
   22491 # Whether dlopen of statically linked programs is supported.
   22492 dlopen_self_static=$enable_dlopen_self_static
   22493 
   22494 # Commands to strip libraries.
   22495 old_striplib=$lt_old_striplib
   22496 striplib=$lt_striplib
   22497 
   22498 
   22499 # The linker used to build libraries.
   22500 LD=$lt_LD
   22501 
   22502 # How to create reloadable object files.
   22503 reload_flag=$lt_reload_flag
   22504 reload_cmds=$lt_reload_cmds
   22505 
   22506 # Commands used to build an old-style archive.
   22507 old_archive_cmds=$lt_old_archive_cmds
   22508 
   22509 # A language specific compiler.
   22510 CC=$lt_compiler
   22511 
   22512 # Is the compiler the GNU compiler?
   22513 with_gcc=$GCC
   22514 
   22515 # Compiler flag to turn off builtin functions.
   22516 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22517 
   22518 # Additional compiler flags for building library objects.
   22519 pic_flag=$lt_lt_prog_compiler_pic
   22520 
   22521 # How to pass a linker flag through the compiler.
   22522 wl=$lt_lt_prog_compiler_wl
   22523 
   22524 # Compiler flag to prevent dynamic linking.
   22525 link_static_flag=$lt_lt_prog_compiler_static
   22526 
   22527 # Does compiler simultaneously support -c and -o options?
   22528 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22529 
   22530 # Whether or not to add -lc for building shared libraries.
   22531 build_libtool_need_lc=$archive_cmds_need_lc
   22532 
   22533 # Whether or not to disallow shared libs when runtime libs are static.
   22534 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22535 
   22536 # Compiler flag to allow reflexive dlopens.
   22537 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22538 
   22539 # Compiler flag to generate shared objects directly from archives.
   22540 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22541 
   22542 # Whether the compiler copes with passing no objects directly.
   22543 compiler_needs_object=$lt_compiler_needs_object
   22544 
   22545 # Create an old-style archive from a shared archive.
   22546 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22547 
   22548 # Create a temporary old-style archive to link instead of a shared archive.
   22549 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22550 
   22551 # Commands used to build a shared archive.
   22552 archive_cmds=$lt_archive_cmds
   22553 archive_expsym_cmds=$lt_archive_expsym_cmds
   22554 
   22555 # Commands used to build a loadable module if different from building
   22556 # a shared archive.
   22557 module_cmds=$lt_module_cmds
   22558 module_expsym_cmds=$lt_module_expsym_cmds
   22559 
   22560 # Whether we are building with GNU ld or not.
   22561 with_gnu_ld=$lt_with_gnu_ld
   22562 
   22563 # Flag that allows shared libraries with undefined symbols to be built.
   22564 allow_undefined_flag=$lt_allow_undefined_flag
   22565 
   22566 # Flag that enforces no undefined symbols.
   22567 no_undefined_flag=$lt_no_undefined_flag
   22568 
   22569 # Flag to hardcode \$libdir into a binary during linking.
   22570 # This must work even if \$libdir does not exist
   22571 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22572 
   22573 # Whether we need a single "-rpath" flag with a separated argument.
   22574 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22575 
   22576 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22577 # DIR into the resulting binary.
   22578 hardcode_direct=$hardcode_direct
   22579 
   22580 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22581 # DIR into the resulting binary and the resulting library dependency is
   22582 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22583 # library is relocated.
   22584 hardcode_direct_absolute=$hardcode_direct_absolute
   22585 
   22586 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22587 # into the resulting binary.
   22588 hardcode_minus_L=$hardcode_minus_L
   22589 
   22590 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22591 # into the resulting binary.
   22592 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22593 
   22594 # Set to "yes" if building a shared library automatically hardcodes DIR
   22595 # into the library and all subsequent libraries and executables linked
   22596 # against it.
   22597 hardcode_automatic=$hardcode_automatic
   22598 
   22599 # Set to yes if linker adds runtime paths of dependent libraries
   22600 # to runtime path list.
   22601 inherit_rpath=$inherit_rpath
   22602 
   22603 # Whether libtool must link a program against all its dependency libraries.
   22604 link_all_deplibs=$link_all_deplibs
   22605 
   22606 # Set to "yes" if exported symbols are required.
   22607 always_export_symbols=$always_export_symbols
   22608 
   22609 # The commands to list exported symbols.
   22610 export_symbols_cmds=$lt_export_symbols_cmds
   22611 
   22612 # Symbols that should not be listed in the preloaded symbols.
   22613 exclude_expsyms=$lt_exclude_expsyms
   22614 
   22615 # Symbols that must always be exported.
   22616 include_expsyms=$lt_include_expsyms
   22617 
   22618 # Commands necessary for linking programs (against libraries) with templates.
   22619 prelink_cmds=$lt_prelink_cmds
   22620 
   22621 # Commands necessary for finishing linking programs.
   22622 postlink_cmds=$lt_postlink_cmds
   22623 
   22624 # Specify filename containing input files.
   22625 file_list_spec=$lt_file_list_spec
   22626 
   22627 # How to hardcode a shared library path into an executable.
   22628 hardcode_action=$hardcode_action
   22629 
   22630 # ### END LIBTOOL CONFIG
   22631 
   22632 _LT_EOF
   22633 
   22634     cat <<'_LT_EOF' >> "$cfgfile"
   22635 
   22636 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22637 
   22638 # func_munge_path_list VARIABLE PATH
   22639 # -----------------------------------
   22640 # VARIABLE is name of variable containing _space_ separated list of
   22641 # directories to be munged by the contents of PATH, which is string
   22642 # having a format:
   22643 # "DIR[:DIR]:"
   22644 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22645 # ":DIR[:DIR]"
   22646 #       string "DIR[ DIR]" will be appended to VARIABLE
   22647 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22648 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22649 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22650 # "DIR[:DIR]"
   22651 #       VARIABLE will be replaced by "DIR[ DIR]"
   22652 func_munge_path_list ()
   22653 {
   22654     case x$2 in
   22655     x)
   22656         ;;
   22657     *:)
   22658         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22659         ;;
   22660     x:*)
   22661         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22662         ;;
   22663     *::*)
   22664         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22665         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22666         ;;
   22667     *)
   22668         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22669         ;;
   22670     esac
   22671 }
   22672 
   22673 
   22674 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22675 func_cc_basename ()
   22676 {
   22677     for cc_temp in $*""; do
   22678       case $cc_temp in
   22679         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22680         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22681         \-*) ;;
   22682         *) break;;
   22683       esac
   22684     done
   22685     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22686 }
   22687 
   22688 
   22689 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22690 
   22691 _LT_EOF
   22692 
   22693   case $host_os in
   22694   aix3*)
   22695     cat <<\_LT_EOF >> "$cfgfile"
   22696 # AIX sometimes has problems with the GCC collect2 program.  For some
   22697 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22698 # vanish in a puff of smoke.
   22699 if test set != "${COLLECT_NAMES+set}"; then
   22700   COLLECT_NAMES=
   22701   export COLLECT_NAMES
   22702 fi
   22703 _LT_EOF
   22704     ;;
   22705   esac
   22706 
   22707 
   22708 
   22709 ltmain=$ac_aux_dir/ltmain.sh
   22710 
   22711 
   22712   # We use sed instead of cat because bash on DJGPP gets confused if
   22713   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22714   # text mode, it properly converts lines to CR/LF.  This bash problem
   22715   # is reportedly fixed, but why not run on old versions too?
   22716   $SED '$q' "$ltmain" >> "$cfgfile" \
   22717      || (rm -f "$cfgfile"; exit 1)
   22718 
   22719    mv -f "$cfgfile" "$ofile" ||
   22720     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22721   chmod +x "$ofile"
   22722 
   22723  ;;
   22724     "libtool_hack":C)
   22725 	cp -f libtool libtool_
   22726 	test -z "$SED" && SED=sed
   22727 	$SED '1,/^soname_spec/{
   22728 /^soname_spec/i\
   22729 # X.Org hack to match monolithic Xaw SONAME\
   22730 xorglibxawname="libXaw"
   22731 /^soname_spec/s/libname/xorglibxawname/
   22732 }' libtool_ > libtool
   22733 	rm -f libtool_
   22734  ;;
   22735 
   22736   esac
   22737 done # for ac_tag
   22738 
   22739 
   22740 as_fn_exit 0
   22741 _ACEOF
   22742 ac_clean_files=$ac_clean_files_save
   22743 
   22744 test $ac_write_fail = 0 ||
   22745   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22746 
   22747 
   22748 # configure is writing to config.log, and then calls config.status.
   22749 # config.status does its own redirection, appending to config.log.
   22750 # Unfortunately, on DOS this fails, as config.log is still kept open
   22751 # by configure, so config.status won't be able to write to it; its
   22752 # output is simply discarded.  So we exec the FD to /dev/null,
   22753 # effectively closing config.log, so it can be properly (re)opened and
   22754 # appended to by config.status.  When coming back to configure, we
   22755 # need to make the FD available again.
   22756 if test "$no_create" != yes; then
   22757   ac_cs_success=:
   22758   ac_config_status_args=
   22759   test "$silent" = yes &&
   22760     ac_config_status_args="$ac_config_status_args --quiet"
   22761   exec 5>/dev/null
   22762   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22763   exec 5>>config.log
   22764   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22765   # would make configure fail if this is the last instruction.
   22766   $ac_cs_success || as_fn_exit 1
   22767 fi
   22768 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22769   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22770 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22771 fi
   22772 
   22773 
   22774